[Spike] Investigate role of sync_to_gl flag and removal possibility
Problem
During the review of how SaaS trials are provisioned in the context of https://gitlab.com/gitlab-org/fulfillment-meta/-/issues/793, one thing stood out: the use of a flag named sync_to_gl
by Gitlab::HostedPlans::CreateTrialService
. Some questions:
- What's the role of this flag? It comes from GitLab in the request to CustomersDot.
- Why wouldn't we want the sync back to GitLab to happen right away (else logic in the code above) after provisioning a SaaS trial? Is that for sales-assisted trials (assuming there is such a thing)?
- Can we remove this flag and simplify the code?
Proposal
Investigate and answer the questions above (and others that may arise).
Result
TBD
Next steps (if any)
TBD
How will we measure success?
By answering the questions.