- > ```",2
-48388869,2020-06-18 20:05:33.202,"Follow-up from ""Improve order -> namespace resolution logic""","The following discussion from !1529 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1529#note_364083877):
-
- > **Suggestion (non-blocking)**: We could extract part of this into a method called `gitlab_namespace`. This method could do the lookup with the list service and return the one that matches the `gl_namespace_id`. The main advantage is easy reuse of the gitlab namespace.
- > ```
- > def gitlab_namespace
- > return nil if gl_namespace_id.blank?
- >
- > @gitlab_namespace ||= begin
- > namespaces = Gitlab::Namespace::ListService.new(customer).execute || []
- > # ""to_s"" the id from gitlab because we store ours as strings. :joy:
- > namespaces.find { |ns| ns.id.to_s == gl_namespace_id }
- > end
- > end
- > ```
- >
- > That would just leave this method much simpler, maybe something like:
- >
- > ```
- > def current_number_of_users
- > return 0 unless gitlab_namespace
- >
- > gitlab_namespace[:billable_members_count) || 0
- > end
- > ```
- >
- > Since this is not needed yet, I'm happy not doing it now. Mostly just mentioning it so that I can create a follow up issue for it. :smile:",3
-117519010,2022-10-25 08:41:47.990,FF use of Orders API for subscription update,"
-
-### Problem
-
-Now that [preview amendment using orders API](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4694) is merged, we can update the workflows to preview using the orders API using a feature flag to control its rollout.
-
-This issue integrates the use of Orders API in subscription update workflow.
-
-The following business scenarios need to be implemented:
-
-- Add CI minutes
-- Add seats
-- Add storage
-- Renew subscription
-- Renew subscription with true up
-- Renew subscription with upgrade
-
-### Proposal
-
-
-
-In `SelfService::Subscriptions::UpdateService`, invoke `Zuora::Orders::AmendmentManagerService` if the request is to preview and FF `use_orders_api_to_preview_amendment` is enabled.
-
-### Result
-
-Orders API is used to preview subscription update.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-117517212,2022-10-25 08:34:05.451,FF use of Orders API for subscription upgrade,"
-
-### Problem
-
-Now that [preview amendment using orders API](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4694) is merged, we can update the workflows to preview using the orders API using a feature flag to control its rollout.
-
-This issue integrates the use of Orders API in upgrade workflow.
-
-### Proposal
-
-
-
-In `Gitlab::UpgradeSubscriptionPlanService`, invoke `Zuora::Orders::AmendmentManagerService` if the request is to preview and FF `use_orders_api_to_preview_amendment` is enabled.
-
-### Result
-
-Orders API is used to preview subscription upgrade.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-117516175,2022-10-25 08:23:01.382,[Feature flag] Remove ignore_billable_field flag,Remove `ignore_billable_field` flag after successful [rollout](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4960),1
-117507893,2022-10-25 06:02:18.735,Transitioning from Amendment.Name in Auto renewal,"
-
-### Problem
-
-This issue pertains to setting `order.description` to `AutoRenew by CustomersDot` during Auto renewal when using Orders API (instead of `name`). This is required as we transition from Amend to Orders API.
-
-See more details on the motivation behind this change in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3784.
-
-### Proposal
-
-
-
-Params for auto renewal is generated by `AutoRenew::AmendmentParamsGenerator` service. Update `#run` method to set `order_description` when the FF `use_orders_api_auto_renew_workflow` is enabled. Default to `name` when FF is disabled.
-
-### Result
-
-With the implementation in this issue, the description will be set when Orders API is used for auto renewal.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-117482757,2022-10-24 19:06:37.952,"[Reseller] Update ""change linked namespace"" flow","## Problem
-
-Currently, it's possible that if the customer tries to change the linked namespace to a namespace with more seats in use than seats in the subscription, they will be asked to pay for the additional seats.
-
-We cannot allow this transaction in Customers Portal, since customer should be transacting through a Reseller.
-
-### How Support handles this today
-
-When support encounters this situation, they:
-
-1. Inform the customer that they have more users than purchased seats.
-2. Propose the following options:
- 1. Contact their purchase partner to purchase more seats.
- 2. Deal with overages at the end of the subscription term (via True-Ups).
- 3. Remove excess users.
-3. Depending on what option was selected, wait for the daily sync job to run and re-calculate the Billable users count.
-4. Link the subscription and confirm there are no overages recorded.
-
-## Proposal
-
-Update the `Change Linked Namespace` flow for a subscription that is purchased via a reseller.
-
-- **If they have more users in their group than purchased seats**, display a message about the overage and let the user know that they will be charged for the overage at the end of their subscription term. Allow them to associate the subscription to the namespace regardless of overages.
-- **If there is no overage** for a reseller customer, we will use the current flow (no changes needed).
-
-| Current ""Change linked namespace"" flow (No overage) | Current ""Change linked namespace"" flow (With overage) | Proposed reseller customer ""Change linked namespace"" flow (With overage) |
-| ------ | ------ | ------ |
-|  |  |  |
-
-### Design
-
-- Mockup in design section https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5015/designs/Change_linked_namespace_for_reseller_customers.png
-- [Figma file](https://www.figma.com/file/8qPxWBgTmLdOqSu9S1UbUx/Allow-customers-that-purchased-via-Reseller-to-access-Customers-Portal?node-id=2%3A29&t=ssRQtSMzrW04gs3t-1)
-
-#### Implementation plan
-
-| Step | Issue | MR/state |
-|------|-------|-----------------------------|
-| Create a `updated_namespace_change_flow` feature flag | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5015 | ~""workflow::complete"" |
-| Add a new component under the FF | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5015 | https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/6894 ~""workflow::complete"" |
-| Adjust the flow to work only for reseller customers | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5015 | https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/6980 https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/7181 ~""workflow::complete"" |
-| Rollout FF (staging) | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/6052 | TBD |
-| Make sure the related docs are updated | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5006 | :construction: |
-| Rollout FF (production) | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/6052 | TBD |
-| Clean up FF | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/6052 | :one: |
-
-## Result
-
-Customer knows how to proceed should they run into issues associating purchased subscription to a namespace.
-
-## Next steps (if any)
-
-## How will we measure success?",3
-117471019,2022-10-24 15:52:42.646,Update CDot's BaseTrialService to route trials to Workato,"
-
-### Problem
-
-We're removing Platypus from the Trial Lead workflow so that work will need to be done via other methods. Currently Customers Dot's `BaseTrialService` [posts the lead to Platypus after the lead is created](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/ceda41a8af626cecb659b2230b9e445646bb78ae/app/services/gitlab/base_trial_service.rb#L20).
-
-### Proposal
-
-
-
-There are two places to change:
- - In place of the `BaseTrialService`'s existing `create_platypus_lead` create a new `create_workato_lead` method utilizing the Sidekiq worker from gitlab-org/customers-gitlab-com#5012. This new method will want to take the same information as the existing method but hand it off to a local Sidekiq queue instead of Platypus.
- - In `TrialsController`, create a new method `create_hand_raise_workato_lead` to replace existing `create_hand_raise_platypus_lead`.
- - Introduce a new feature flag `switch_lead_creation_from_platypus_to_workato`
-
-### Result
-
-We're able to complete the full trial lead process without involving Platypus in the process.
-
-### Next steps (if any)
-
-Roll out the new method of posting Leads via a feature flag.
-
-### How will we measure success?
-
-We will consult with the Marketing Operations team to ensure that the newly posted data in Workato conforms to expectations and will work as expected for them in downstream processes.",2
-117470939,2022-10-24 15:51:09.627,Create a sidekiq worker to send trials to Workato,"
-
-### Problem
-
-We're working to remove Platypus from the trial creation pipeline, but want to retain Workato as part of the process. Currently Platypus handles trial lead storage via an [asynchronous Bull worker](https://gitlab.com/gitlab-com/business-technology/enterprise-apps/integrations/platypus/-/blob/master/apps/server/src/marketing/commands/new-lead.command.ts#L42) that disconnects the time needed to service the request from the customer facing HTTP flow, the worker also handles posting failures to slack and email as needed.
-
-### Proposal
-
-
-
-Create a Sidekiq worker to do the same tasks currently being done by the Bull worker within Playtups.
-
-### Result
-
-Customers Dot can now post new leads to Workato with the same level of error reporting currently available in Platypus.
-
-### How will we measure success?
-
-Leads can be successfully posted from Customers Dot.",1
-117470866,2022-10-24 15:49:57.213,Create Workato service within CDot,"
-
-### Problem
-
-Customers Dot is not currently able to communicate with Workato to post leads from trials.
-
-### Proposal
-
-
-
-Workato uses OAuth and a REST api, customers dot already includes gems for handling both of those methods of communication. We just need to take the pieces and assemble them into a service that will allow us to post leads to Workato in a practical convenient way. To do this we will create a service that will abstract secret handling and routing requests to the correct end point on Workato.
-
-The only method that we need to implement at present is POSTing to `https://apim.workato.com/marketo/lead`. There isn't solid documentation on fields available with that end point, however the [existing Platypus Service](https://gitlab.com/gitlab-com/business-technology/enterprise-apps/integrations/platypus/-/blob/master/apps/server/src/marketing/commands/new-lead.command.ts#L12) includes the names and types of all of the elements that we would want to include in our request.
-
-We also need to create a new `Workato::LogLeadService` to replace existing `Platypus::LogLeadService`
-
-### Result
-
-There is a convenient service available to help facilitate the implementation of other tickets under this epic.
-
-### How will we measure success?
-
-Work on gitlab-org/customers-gitlab-com#5013 is able to proceed.",3
-117294238,2022-10-21 07:44:46.911,[Reseller] Create feature flag to allow customers to login,"### Proposal
-Create a new feature flag to allow customers created via reseller flow to login.
-
-
-### Result
-Feature flag [created](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/175/edit) as `reseller_access`.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-117290828,2022-10-21 06:47:37.753,[Reseller] Update details in email sent out on purchasing/renewing SaaS subscription,"
-
-### Problem
-Currently the email which is sent out to customers on purchasing subscriptions via reseller flow mentions that they would not have access to the CustomersDot account. With https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5002, we would be allowing such customers to login to CustomersDot account.
-We should update the email body to change this communication.
-
-Current email sent -
-
-
-### Proposal
-
-Update email body to remove the part which mentions that customer will not have access to the CustomersDot portal. This should be behind the feature flag created in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5007.
-
-### Proposed email text
-
-_Anchor links remain the same as current implementation._
-
----
-
-**Subject: [GitLab Transactions] Set up your new subscription to get started**
-
----
-
-Hi Sharmad :wave:
-
-Thanks for purchasing a GitLab.com subscription. To set up your new subscription, you must link it to a group. Complete the following steps:
-
-1. Create your GitLab account.
- - If you're already registered, [sign in](link).
-1. Select the group for your subscription.
- - Create a new group or for an existing group, make sure you have the [Owner](link) role.
-1. Sign in to your Customers Portal account.
- - If this is your first purchase, we've sent you an email with instructions to set your password and access your account.
-1. Link your GitLab account and subscription.
- - [Link your GitLab user account to your Customers Portal account](link).
- - [Link the subscription to your namespace](link).
-1. [View your GitLab SaaS subscription](link) to confirm it's linked to a group.
-
-If you require assistance, contact GitLab support.
-
-Thanks,
-
-The GitLab Team
-
----
-
-### Result
-
-Reseller customer receives correct information about getting access to Customers Portal and provisioning their SaaS subscription.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-117267921,2022-10-20 18:11:34.357,"[SPIKE]: Investigate ""PaymentFormsController#show"" speed","From: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4918#note_1142253500
-
-### Problem
-`PaymentFormsController#show` fails to meet it's apdex requirements 70% of the time.
-
-### Context
-`PaymentFormsController#show` is currently set at `:default` urgency. This means it will fail apdex if requests take longer than 1 second. [Reference](https://docs.gitlab.com/ee/development/application_slis/rails_request_apdex.html#how-to-adjust-the-urgency)
-
-On average, these requests are taking longer than 1 second 70% of the time:
-
-
-### Results
-1. Find way to optimize endpoint so requests take less than 1 second.
-2. If not possible, decrease the urgency so we allow up to 5s.",2
-117227617,2022-10-20 09:51:05.588,Enable use of Orders API in Reconciliation workflow,"
-
-### Problem
-
-`ReconciliationService` currently uses [Amend API](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/1c7002a2ef484ff3db77db80be29a08785e1b339/app/services/reconciliation_service.rb#L101) to perform reconciliation. Update it to use Orders API instead.
-
-### Proposal
-
-
-
-Update `ReconciliationService#amend_subscription` to invoke `Zuora::Orders::AmendmentManagerService` with appropriate params when the FF `use_orders_api_reconciliation_workflow` is enabled.
-
-### Result
-
-Reconciliation is performed appropriately when Orders API is used.
-
-Verify: `contract_effective_date`, updated `quantity`.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-117146932,2022-10-19 06:27:05.585,New CustomersDot feature categorization,"## Proposal
-
-As part of [this MR](https://gitlab.com/gitlab-com/www-gitlab-com/-/merge_requests/112379), new feature categories have been added for the Fulfillment team.
-
-We then need to update the CustomersDot app accordingly so that it uses the new feature categories.
-
-## New categories
-
-Descriptions about these 12 categories can be found in [the `data/categories.yml` file](https://gitlab.com/gitlab-com/www-gitlab-com/blob/b7c70a880e1677eaf1526a69e5729b55a3cbfef7/data/categories.yml#L2516).
-
-For ~""group::purchase"":
- - `purchase`
-
-For ~""group::provision"":
- - `sm_provisioning`
- - `saas_provisioning`
-
-For ~""group::utilization"":
- - `subscription_usage_reports`
- - `subscription_cost_management`
-
-For ~""group::fulfillment platform"":
- - `fulfillment_infrastructure`
- - `fulfillment_developer_productivity`
- - `customersdot_application`
-
-For ~""group::billing and subscription management"":
- - `billing_and_payments`
- - `subscription_management`
-
-For ~""group::commerce integrations"":
- - `commerce_integrations`
-
-For ~""group::fulfillment admin tooling"":
- - `fulfillment_admin_tooling`
-
-
-## Feature Category tables
-
-The tables below have been copy-pasted from [this issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4859).
-
-## Controllers
-
-| Name | Current group / feature category | New feature category |
-| ------ | ------ | ------ |
-| `Admins::OmniauthCallbacksController` | ~""group::fulfillment platform"" | `customersdot_application` |
-| `Customers::OmniauthCallbacksController` | ~""group::fulfillment platform"" | `customersdot_application` |
-| `DeviseController` | ~""group::fulfillment platform"" | `customersdot_application` |
-| `EmailConfirmationsController` | ~""group::fulfillment platform"" | `customersdot_application` |
-| `Gitlab::NamespacesController` | ~""group::billing and subscription management"" | `subscription_management` |
-| `GraphqlController` | ~""group::not_owned"" | |
-| `InstanceReviewController` | ~""group::utilization"" | `subscription_usage_reports` |
-| `InstanceReviewSettingsController` | ~""group::utilization"" | `subscription_usage_reports` |
-| `InvoicesController` | ~""group::billing and subscription management"" | `billing_and_payments` |
-| `LicensesController` | ~""group::provision"" | `sm_provisioning` |
-| `MarketoController` | ~""group::fulfillment platform"" | `customersdot_application` |
-| `OrdersController` | ~""group::purchase"" | `purchase` |
-| `PaymentFormsController` | ~""group::purchase"" | `purchase` |
-| `PaymentMethodsController` | ~""group::billing and subscription management"" | `billing_and_payments` |
-| `PlansController` | ~""group::fulfillment platform"" | `customersdot_application` |
-| `CouponsController` | ~""group::purchase"" | `purchase` |
-| `RailsAdmin::ApplicationController` | ~""group::fulfillment platform"" | `fulfillment_admin_tooling` |
-| `RegistrationsController` | ~""group::fulfillment platform"" | `customersdot_application` |
-| `SessionsController` | ~""group::fulfillment platform"" | `customersdot_application` |
-| `SubscriptionUpgradesController` | ~""group::billing and subscription management"" | `subscription_management` |
-| `Subscriptions::CommunityProgramController` | ~""group::billing and subscription management"" | `subscription_management` |
-| `SubscriptionsController` | ~""group::not_owned"" | |
-| `TrialsController` | ~""group::not_owned"" | `saas_provisioning` |
-| `ZuoraCallbacksController` | ~""group::provision"" | `customersdot_application` |
-
-## Workers
-
-| Name | Current group / feature category | New feature category |
-| ------ | ------ | ------ |
-| `Platypus::CreateLeadWorker` | ~""group::commerce integrations"" | `commerce_integrations` |
-| `Platypus::MarkSubscriptionProvisionedWorker` | ~""group::commerce integrations"" | `commerce_integrations` |
-| `Salesforce::CreateAccountWorker` | ~""group::commerce integrations"" | `commerce_integrations` |
-| `Salesforce::CreateLeadWorker` | ~""group::commerce integrations"" | `commerce_integrations` |
-| `Salesforce::CreateOpportunityForUpcomingReconciliationWorker` | ~""group::commerce integrations"" | `commerce_integrations` |
-| `Salesforce::CreateOpportunityWorker` | ~""group::commerce integrations"" | `commerce_integrations` |
-| `Salesforce::CreateQuoteForReconciliationWorker` | ~""group::commerce integrations"" | `commerce_integrations` |
-| `Salesforce::FindOrCreateLeadWorker` | ~""group::commerce integrations"" | `commerce_integrations` |
-| `ZuoraCallout::BaseWorker` | ~""group::provision"" | `customersdot_application` |
-| `ZuoraCallout::OrderProcessedWorker` | ~""group::provision"" | `customersdot_application` |
-| `ZuoraCallout::SubscriptionTermStartWorker` | ~""group::provision"" | `customersdot_application` |
-| `CreateAmendmentWorker` | ~""group::billing and subscription management"" | `subscription_management` |
-| `SelfHostedUsageNotifier` | ~""group::utilization"" | `subscription_usage_reports` |
-| `SkipReconciliationWorker` | ~""group::billing and subscription management"" | `subscription_management` |
-| `UpdateGitlabPlanInfoWorker` | ~""group::provision"" | `saas_provisioning` |
-| `UpdateGitlabUpcomingReconciliationsWorker` | ~""group::billing and subscription management"" | `subscription_management` |
-| `UpdateSubscriptionEoaStarterBronzeOfferWorker` | ~""group::billing and subscription management"" | `subscription_management` |
-| `UpdateZuoraSubscriptionNamespaceDataWorker` | ~""group::provision"" | `saas_provisioning` |
-| `ZuoraCallbackWorker` | ~""group::provision"" | `customersdot_application` |
-
-## Jobs
-
-| Name | Current group / feature category | New feature category |
-| ------ | ------ | ------ |
-| `AutoRenew::UpcomingNotificationCronJob` | ~""group::billing and subscription management""| `subscription_management` |
-| `AutoRenew::UpcomingNotificationJob` | ~""group::billing and subscription management""| `subscription_management` |
-| `Gitlab::SyncMinutesJob` | ~""group::utilization"" | `subscription_usage_reports` |
-| `Gitlab::SyncOrderJob` | ~""group::provision"" | `saas_provisioning` |
-| `HealthCheckCron::CheckGitlabJob` | ~""group::fulfillment platform"" | `fulfillment_infrastructure` |
-| `HealthCheckCron::CheckZuoraJob` | ~""group::fulfillment platform"" | `fulfillment_infrastructure` |
-| `Quality::TestAccountCleanupCronJob` | ~""group::not_owned"" | `fulfillment_developer_productivity` |
-| `Reconciliations::SendSeatOverageNotificationJob` | ~""group::billing and subscription management""| `subscription_management` |
-| `AutoRenewCronJob` | ~""group::billing and subscription management""| `subscription_management` |
-| `AutoRenewJob` | ~""group::billing and subscription management""| `subscription_management` |
-| `BulkDownloadInvoiceJob` | ~""group::billing and subscription management"" | `billing_and_payments` |
-| `DownloadMonthlyInvoiceCronJob` | ~""group::billing and subscription management"" | `billing_and_payments` |
-| `ExpireOrderCronJob` | ~""group::billing and subscription management"" | `subscription_management` |
-| `ExpireOrderJob` | ~""group::billing and subscription management"" | `subscription_management` |
-| `OrphanedComSubscriptionEmailCronJob` | ~""group::fulfillment platform"" | `customersdot_application` |
-| `QueueReconciliationIntroEmailJob` | ~""group::billing and subscription management"" | `subscription_management` |
-| `ReconciliationCronJob` | ~""group::billing and subscription management"" | `subscription_management` |
-| `ReconciliationJob` | ~""group::billing and subscription management"" | `subscription_management` |
-| `RetryDeclinedReconciliationJob` | ~""group::billing and subscription management"" | `subscription_management` |
-| `SaasUpcomingReconciliationAlertJob` | ~""group::billing and subscription management""| `subscription_management` |
-| `SendUpcomingReconciliationEmailJob` | ~""group::billing and subscription management""| `subscription_management` |
-| `SubmitSeatUtilizationDataReminderCronJob` | ~""group::provision"" | `sm_provisioning` |
-| `SubmitSeatUtilizationDataReminderJob` | ~""group::provision"" | `sm_provisioning` |
-| `UnlinkedComSubscriptionNotificationJob` | ~""group::fulfillment platform"" | `customersdot_application` |
-| `UpcomingReconciliationNotificationCronJob` | ~""group::billing and subscription management"" | `subscription_management` |
-| `Zuora::*` | ~""group::not_owned"" | `customersdot_application` |",3
-116913715,2022-10-14 18:15:25.767,Rename Account model to BillingAccount,"### Background
-
-In today's [sync meeting](https://docs.google.com/document/d/1_YbxNCo3KXK1-KdIZTgSvmU9kIslYjQnFZAmmu1DSqQ/edit#heading=h.lif00r71v2kb), it was suggested that the `Account` model name could be improved by renaming to `BillingAccount`. This should avoid confusion in thinking an `Account` in CustomersDot is the same as a GitLab `Organization`.
-
-We also want to standardize naming across our Order to Cash systems in https://gitlab.com/groups/gitlab-org/-/epics/9018. Given this, we've identified the column name `BillingAccount.name` should be `BillingAccount.zuora_account_name` to avoid confusion.
-
-### Proposal
-
-Rename the `Account` model to `BillingAccount` avoid confusion. Given we are renaming `Account`, let's also rename `AccountMembership` as well.
-
-- Rename model `Account` to `BillingAccount`
- - Rename DB table `accounts` to `billing_accounts`
-- Rename model `AccountMembership` to `BillingAccountMembership`
- - Rename DB table `account_memberships` to `billing_account_memberships`
-
-Also rename the column `BillingAccount.name` to `BillingAccount.zuora_account_name`.",2
-116852923,2022-10-13 19:12:42.771,Investigate: `invoice.DMRC` mismatch during Renewal+Upgrade,"
-
-### Problem
-
-During Renewal + Upgrade, `DMRC` for the invoice's rate plan charge when triggered by Amendment vs Orders API is different.
-
-| | Amendment API | Orders API |
-|--|---------------|------------|
-| Subscription link | [Link](https://apisandbox.zuora.com/platform/subscriptions/8ad0877b83babdd00183ce8be0050f0d) | [Link](https://apisandbox.zuora.com/platform/subscriptions/8ad09c4b83bacd5d0183ce8563260443) |
-| Invoice Item ID | `8ad0877b83babdd00183ce8be0f40f29` | `8ad09c4b83bacd5d0183ce8565010532` |
-| Rate Plan Charge ID | `8ad0877b83babdd00183ce8be0440f1d` | `8ad09c4b83bacd5d0183ce8563af046f` |
-| DMRC | **0** | **1188** |
-
-**Steps to reproduce**:
-
-* Purchase a Premium Subscription
-* Login to CDot
-* In the subscription card, select 'Renew'
-* Select Ultimate plan, enter quantity and submit
-
-**Additional references**:
-
-* See tab two (`Renewal + Upgrade`) in [spreadsheet](https://docs.google.com/spreadsheets/d/1mydR5iZd4709tLkKRal30vE3Xad1dsxGOzCwhiwB7HQ/edit#gid=179256484) for full comparison
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-116844100,2022-10-13 15:48:56.857,[UX] Navigation for CDot to represent new User/BillingAccount data structure,"## Problem
-
-Right now a Customer record in CustomersDot represents a mixture of a physical user (Zuora Contact) and an Account (Zuora Customer Account). As discussed in https://gitlab.com/groups/gitlab-org/-/epics/8331+, this is a problem for a few reasons, leading to a variety of bugs. The ~""group::fulfillment platform"" team is working to correct this by introducing new data models to allow for Accounts and Account Memberships (and renaming Customers to Users to reduce confusion). Multiple Users in CDot should be able to be associated with a BillingAccount. On the flip side, one User record should be able to be associated with multiple BillingAccount (through BillingAccountMemberships).
-
-The UI for CustomersDot currently only supports one User per BillingAccount and one BillingAccount per User. As we work on updating the data structure, we need to think about IA and navigational changes to allow an Account to have multiple billing managers and a User to have multiple BillingAccountMemberships.
-
-## Proposal
-
-Explore how the new data structure will impact the IA and navigation of CDot.
-
-- How/where do Users manage their personal user data vs data associated with an BillingAccount(s)?
-- How/where do Users associate additional Customers with an BillingAccount?
-- If a User has multiple BillingAccount memberships, how does the choose which BillingAccount they are managing before the normal operations and features are shown, like Managing Purchases or Editing Account information?
-
-While the output of this issue will be the final design/specs of the navigation for a customer with a single BillingAccount only, this issue will also explore, design, and validate navigation for customers with _multiple_ BillingAccounts (because we want to make sure that the navigation will scale to that use case).
-
-### Information architecture
-
-
Click to expand
-
-I wanted to understand how the new User/BillingAccount data architecture and IA will impact CDot navigation.
-
-:art: [Figma file](https://www.figma.com/file/6eubaRn3G9YP5PmVsHijlr/Navigation-for-CDot-to-represent-new-Customer%2FAccount-data-structure?node-id=0%3A1) for the explorations
-
-#### Process
-
-To start, I did a site map of the current state of CDot. I wanted to understand which information that currently lives under the User model will be moving to the BillingAccount model. Based on information in this [thread](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4799#note_1100958075) and https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4799 and https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4793, I highlighted all affected information/pages in blue.
-
-
-
-From there, I started reorganizing and grouping the information, making a clearer distinction between what information lives on the User model and what information lives on the BillingAccount model. The team has already ironed out these details as part of spike/exploration work in https://gitlab.com/groups/gitlab-org/-/epics/8331, so this is really just a visualization of that work and thinking through how a user might access it and interact with it.
-
-
-
-Because it's important to think about the navigation and IA holistically, the site map is based on the end state of https://gitlab.com/groups/gitlab-org/-/epics/8331+. However, I also wanted to think about how this work breaks down and how it fits into the iterations that we've outlined in that Epic.
-
-I mapped out which parts of the experience would be tackled as part of each iteration (and other key Fulfillment projects like https://gitlab.com/groups/gitlab-org/-/epics/8905+).
-
-
-
-
-
-### Wireframes
-
-**:clapper: Check out the [video walkthrough](https://youtu.be/pbT0Wn4kWJQ)! (5 1/2 minutes)**
-
-Topics addressed in the video:
-
-* How does the introduction of the BillingAccount impact the *current* information architecture of CDot?
-* How will the information architecture change to support the BillingAccount structure?
-* What navigation options have been explored to represent that BillingAccount relationship to the user?
-* What are the next steps and how can I give feedback?
-
-See [this comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4973#note_1285983310) for more details about the wireframes and how to give feedback.
-
-### Visual designs
-
-Based on the feedback on the wireframes, I explored a variety of different visual designs for the navigation. There were two different designs that moved forward into solution validation.
-
-| Option 1: Dropdown switcher in the left sidebar | Option 2: Account info page header with button to switch Accounts |
-| ------ | ------ |
-|  |  |
-
-### Prototypes
-
-Each of the two visual design options were built out into full prototypes for user testing.
-
-**Important note:** The content and design of many of the pages (such as the My accounts page, the Account details page, and the Billing managers page) is **not final or finished**. There are separate UX issues open to fully design and test these pages. But in order to test the navigation, there needed to be _something_ on those pages, so I threw together quick mockups for the purposes of the user test.
-
-**Prototype links**
- * [Navigation Option 1](https://www.figma.com/proto/iCqd9J7DOCTS7Q3CDcKdPX/Subscription-management?page-id=33%3A17506&node-id=87%3A27374&viewport=-22%2C1031%2C0.13&scaling=scale-down&starting-point-node-id=87%3A27374&disable-default-keyboard-nav=1&hotspot-hints=0&hide-ui=1)
- * [Navigation Option 2](https://www.figma.com/proto/iCqd9J7DOCTS7Q3CDcKdPX/Subscription-management?page-id=33%3A17506&node-id=125%3A36077&viewport=-20%2C2321%2C0.13&scaling=scale-down&starting-point-node-id=125%3A36077&disable-default-keyboard-nav=1&hotspot-hints=0&hide-ui=1)
-
-### Solution validation
-
-**:clapper: Want a quick(ish) overview?** I put together an [overview video](https://www.youtube.com/watch?v=Bq4Ywc58ISk) (7 mins) walking through the goals of the research, the prototypes we tested, and the results.
-
-**:book: Want to dig into the findings?** If you're interested in the more detailed insights, check out the solution validation [issue description](https://gitlab.com/gitlab-org/ux-research/-/issues/2149#what-did-we-learn). (You can also find the full research plan and links to the prototypes that we tested in that issue.)
-
-## Final design and specs
-
-#### :arrow_right: :art: [Figma link for final designs and specs](https://www.figma.com/file/iCqd9J7DOCTS7Q3CDcKdPX/Navigation-for-CDot-to-represent-User%2FBillingAccount-data-structure?node-id=265%3A29947&t=pjeyODWa9X6SfD3J-1)
-
-**Important note:** The output of this issue is the final designs/specs for navigation for users with **only a single BillingAccount** (because in https://gitlab.com/groups/gitlab-org/-/epics/8951+, a user will only be able to have a single BillingAccount association).
-
-
-
-## Follow-ups and next steps
-
-- The design for the navigation for mobile/small screens will be handled in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/6051+
-- While the navigation for users with multiple BillingAccounts has already been largely designed and validated in this issue, the final designs and specs will be handled in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4791+",5
-116841687,2022-10-13 15:10:48.854,[Rollout plan] Orders API for subscription amendments,"The aim of this issue is to track the rollout of Orders API when updating (amending) a Zuora subscription.
-
-#### Non-preview mode:
-
-|Scenario|FF name|Testing issue| FF rollout issue | Status |
-|--------|-------------|-------|------------------|--------|
-|Upgrade Subscription| `use_orders_api_upgrade_workflow` | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5052 | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5050 | :white_check_mark: Enabled on production |
-|Update Subscription
Includes the following scenarios:
- `Purchase additional seats`
- `CI minutes purchase`
- `Storage purchase`
- `Renew without upgrade`
- `Renew with upgrade`
- `Renew with purchase of true ups` | `use_orders_api_subscription_update_workflow` | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5062 | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4775 | :white_check_mark: Enabled on production |
-|Auto renewal| `use_orders_api_auto_renew_workflow` | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5065 | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5064 | :white_check_mark: Enabled on production |
-|Reconciliation| `use_orders_api_reconciliation_workflow` | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5067 | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5066 | :white_check_mark: Enabled on production |
-|Custom auto renew rake task| -NA- | -NA- | -NA- | It is a [one time rake task](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2285) that was completed a year ago.
Confirmed the rake task is not required: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4784#note_1152442502. |
-
-#### Preview mode:
-
-|Scenario|FF name|Testing issue| FF rollout issue | Status |
-|--------|-------------|-------------|------------| -------|
-|Upgrade Subscription| `use_orders_api_to_preview_upgrade` | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5053 | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5051 | :white_check_mark: Enabled on production |
-|Update Subscription
Includes the following scenarios:
- `Purchase additional seats`
- `CI minutes purchase`
- `Storage purchase`
- `Renew without upgrade`
- `Renew with upgrade`
- `Renew with purchase of true ups` | `use_orders_api_to_preview_amendment` | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5063 | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4774 | :white_check_mark: Enabled on production |
-|Upcoming reconciliation email job| `use_orders_api_to_preview_quoted_invoice_amount` | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5069 | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5068 | :white_check_mark: Enabled on production |
-|Validating quoted invoice during reconciliation| `use_orders_api_to_preview_quoted_invoice_amount` | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5069 | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5068 | :white_check_mark: Enabled on production |
-|Ineligibility for auto renewal notification job| `use_orders_api_preview_in_upcoming_saas_mailer` | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5071 | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5070 | :white_check_mark: Enabled on production |
-|Upcoming auto renewal notification job| `use_orders_api_preview_in_upcoming_saas_mailer` | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5071 | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5070 | :white_check_mark: Enabled on production |
-|Order Preview GraphQL endpoint| `use_orders_api_in_preview_graphql_resolver` | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5073 | https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5072 | :white_check_mark: Enabled on production |",0
-116836724,2022-10-13 14:25:56.614,Account details form updates BillingAccount model,"### Problem
-
-The current Account details form in CustomersDot updates the `Customer` (to be renamed `User`) record which has ActiveRecord callbacks to update the Zuora Account and Zuora Contact. The Zuora Contact updated by this callback is [simply the first Zuora Contact associated to the Zuora Account](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/58c2d92e7fb4892f2326423300e6b9f6267a9632/app/services/update_contact_service.rb#L26). It is a known bug that if the Zuora Account has more than one Zuora Contact, there is no guarantee this logic updates the correct Zuora Contact.
-
-For reference, here's what the page looks like currently:
-
-
-Now that `BillingAccount` information is being stored locally, this form should also update `BillingAccount` locally as well as in Zuora.
-
-### Proposal
-
-The Account details form should allow the following:
-- Show and update (local) `BillingAccount` record
-- Show and update (remote) Zuora Account
-- Show and update (remote) Zuora Contact (the correct one)
-
-The look of the form should not need to change in this iteration as the app still only allows one `BillingAccount` per `Customer` (to be renamed `User`). This form will be updated in later iterations as well, both in https://gitlab.com/groups/gitlab-org/-/epics/8951+ and https://gitlab.com/groups/gitlab-org/-/epics/8986+.",3
-116774753,2022-10-12 18:41:58.156,Customers with different BillTo/SoldTo contacts on the Zuora account are not receiving a Welcome email,"### Problem
-
-As identified in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4924+, customers that are purchasing directly from GitLab via a Sales Rep are not receiving the Customers Portal [welcome email](https://gitlab.com/gitlab-org/customers-gitlab-com/uploads/92e7ac101afa342c73a8896285e83ef6/welcome-to-portal-email.png). This only happens if the Sales Order (and Zuora account) has different contacts for BillTo and SoldTo.
-
-### Proposal
-
-Per [suggestion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4924#note_1126792349) from `@tyleramos`:
-
->>>
-I think if we agree that this logic is flawed, and the purpose of billable was to determine reseller subscriptions, we should probably just remove the `billable` column altogether. We already have an accurate way of calculating [subscriptions managed by resellers](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/01600a67144b2b47ba1857794f02ebb897a2e27b/lib/zuora/subscription.rb#L74) which is [used to determine the ](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/6d78d7ab5044fdb102e85f4f4709251f7384d99f/app/workers/zuora_callout/base_worker.rb#L25)`login_activated` boolean column when processing callouts.
-
-We should be able to simply remove the logic and column for `billable` and the welcome email would be sent to new customers that have zuora accounts and their subscription wasn't managed by a reseller. That seems like the desired behavior. We would have no need to send the `bill_to_id` at that point too, so it would be some simplification of the code and the params in the configured callouts.
->>>
-
-* Reference to code that triggers the welcome email: https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/a370c2b4b1a4fec50a6be2291c7b0ec7c73e0cd7/app/services/find_or_create_customer_service.rb#L79
-* Reference to code where `billable` is set: https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/a370c2b4b1a4fec50a6be2291c7b0ec7c73e0cd7/app/services/find_or_create_customer_service.rb#L62
-
-### Result
-
-All customers that purchase directly from GitLab (not Reseller) will receive a [Welcome email](https://gitlab.com/gitlab-org/customers-gitlab-com/uploads/92e7ac101afa342c73a8896285e83ef6/welcome-to-portal-email.png).
-
-### Next steps (if any)
-
-### How will we measure success?",1
-116773583,2022-10-12 18:12:19.591,Create proposal doc with ERD,"### Background
-
-We would like to create a proposal document that lives in the customers-gitlab-com project. This is a great way to spread awareness and create an SSoT for the overall scope of work involved in the epic. This was identified as a goal in our weekly sync meeting agenda [here](https://docs.google.com/document/d/1_YbxNCo3KXK1-KdIZTgSvmU9kIslYjQnFZAmmu1DSqQ/edit?disco=AAAAhbdDiNI).",1
-116759522,2022-10-12 14:26:57.597,Add proration custom attributes in subscription update response,"
-
-### Problem
-
-Similar to the addition in Order preview, the [proration custom attributes](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/ac19a2843ad59a38351558c4e77b2e4b90fd7ee7/app/services/amendment_base_service.rb#L82) needs to be included in the Order response when updating subscription.
-
-### Proposal
-
-
-
-Include proration custom attributes in [`Zuora::Orders::AmendmentManagerService#success`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/f38128d5dd47c74f02635ea12b823bb27799c3d8/app/services/zuora/orders/amendment_manager_service.rb#L71).
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",1
-116715263,2022-10-12 00:23:58.113,Enable use of Orders API in Auto renewal workflow,"
-
-### Problem
-
-When auto renewing subscription in ReconciliationService and in Reconciliation workflow, FF use of Orders API.
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-116711094,2022-10-11 22:08:49.082,[Reseller] Display a banner with info on how to modify a reseller-purchased subscription,"
-
-## Problem
-
-Customers that purchased their subscription through a reseller will be able to see but not modify that subscription (issue: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4946+)
-
-It would be confusing to them why they aren't able to do anything to the subscription.
-
-## Proposal
-
-Display an alert at the top of the manage purchases page with a message to contact their reseller.
-
-### Alert copy
-
->>>
-**Some or all of your subscriptions are in read-only mode**
-
-To make changes to a read-only subscription or purchase additional products, contact your GitLab Partner.
->>>
-
-- [x] `@cfarris` reviewed and approved
-- [x] `@esybrant` reviewed and approved
-- [x] `@fneill` reviewed and approved
-
-## Result
-
-## Next steps (if any)
-
-## How will we measure success?",2
-116691310,2022-10-11 16:56:36.027,Do not set Service Activation Date in Orders API,"
-
-### Problem
-
-Service Activation date should not be explicitly set, but should inherit the value of Contract Effective Date. Also, we do not require Service Activation of Orders. (see related [conversation](https://gitlab.slack.com/archives/C037WQ2BUGK/p1665417907870689?thread_ts=1665414245.001139&cid=C037WQ2BUGK).
-
-### Proposal
-
-
-
-- In [`Zuora::Orders::Actions::BaseService`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/ac19a2843ad59a38351558c4e77b2e4b90fd7ee7/app/services/zuora/orders/actions/base_service.rb#L34), remove attribute `service_activation`
-- In [TriggerDate](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/ac19a2843ad59a38351558c4e77b2e4b90fd7ee7/app/services/zuora/orders/entities/trigger_dates.rb#L20) entity, remove support for `service_activation`
-- Update specs
-
-### Result
-
-Service Activation date is not set during Order creation in Zuora.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-116671308,2022-10-11 13:08:07.848,[Feature flag] Enable block_seat_overage_notification,"# Summary
-
-
-
-This issue is to rollout and cleanup [a feature to prevent enqueuing `SendSeatOverageNotificationJob` for certain namespaces](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4934) in CustomersDot production, that is currently behind the [`block_seat_overage_notification`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/165/edit) feature flag.
-
-## Owners
-
-- Team: ~""group::billing and subscription management""
-- Most appropriate Slack channel to reach out to: `#g_billing_and_subscription_management`
-- Best individual to reach out to: @jhyson @tyleramos
-- PM: @tgolubeva
-
-## Stakeholders
-
-
-
-## The Rollout Plan
-
-- This feature was rolled out immediately in production to mitigate the issue that was bloating [our Sidekiq queues](https://customers.gitlab.com/sidekiq/).
-
-## Expectations
-
-### What are we expecting to happen?
-
-When enabled, this feature will prevent the `SendSeatOverageNotificationJob` from being enqueued for specific GitLab namespace ids (currently just `10782951`). See https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5582 for more info.
-
-### What might happen if this goes wrong?
-
-The feature flag should make it easier to toggle this blocking logic. If it doesn't work, it's possible that the `SendSeatOverageNotificationJob` doesn't get blocked properly for the specified namespace.
-
-### What can we monitor to detect problems with this?
-
-We can monitor problems [in Sentry](https://sentry.gitlab.net/gitlab/customersgitlabcom/) or [in Sidekiq](https://customers.gitlab.com/sidekiq/).
-
-## Rollout Steps
-
-### Rollout on non-production environments
-
-- [x] Ensure that the feature MRs have been deployed to non-production environments, i.e. `customers-staging`.
-- [x] Consider announcing that the flag will be enabled to potentially impacted groups, e.g. `#s_fulfillment_engineering`
-- [x] Enable the feature globally on non-production environments by applying the appropriate environment, e.g. `customers-staging` and `customers-development`.
-- [x] Notify the Software Engineers in Test (SETs) for Fulfillment via Slack and in a comment in this issue when enabling a feature flag in `customers-staging` as it can impact the QA pipeline.
-- [x] Verify that the feature works as expected. Posting the QA result in this issue is preferable.
-
-### Preparation before production rollout
-
-- [x] Ensure that the feature MRs have been deployed to production
-- [x] Check if the feature flag change needs to be accompanied with a
- [change management issue](https://about.gitlab.com/handbook/engineering/infrastructure/change-management/#feature-flags-and-the-change-management-process).
- Cross link the issue here if it does.
-- [x] Ensure any documentation has been updated
-- [x] Announce on [the feature issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4934) an estimated time this will be enabled on production if applicable
-
-### Global rollout on CustomersDot production
-
-- [x] Confirm the feature flag is enabled on `staging` without incident
-- [x] Roll out the feature to targeted testing users first (if applicable)
-- [x] If applicable, [incrementally roll out](https://docs.gitlab.com/ee/operations/feature_flags.html#percent-rollout) the feature.
-- [x] Verify the change has the desired outcome with the limited rollout before enabling the feature globally on production.
-- [x] Enable the feature globally on production environment
-- [~] Announce on [the feature issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4934) that the feature has been globally enabled.
-- [x] Wait for [at least one day for the verification term](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release).
-
-### Release the feature
-
-After the feature has been [deemed stable](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release),
-the clean up should be done as soon as possible to permanently enable the feature and reduce complexity in the codebase.
-
-
-- [x] Ensure https://gitlab.com/gitlab-org/gitlab/-/issues/358080 has been resolved before removing the feature flagged code.
-- [x] Create a merge request to remove `block_seat_overage_notification` feature flag
- - [x] Remove all references to the feature flag from the codebase
-- [x] Ensure that the cleanup MR has been deployed to both staging and production
-- [x] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [x] Ensure production environment is still working as expected
-- [x] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [x] Close this rollout issue.
-
-## Rollback Steps
-
-- [ ] This feature can be disabled by performing the following actions:
- - [ ] Disable the Unleash flag on the [feature flag page](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/165/edit)",1
-116614517,2022-10-10 21:36:23.684,[Reseller] Hide subscription management buttons for a subscription purchased via a reseller,"## Problem
-
-Subscriptions purchased via a Reseller should not be amended via the Customers Portal.
-
-Any subscription changes should be done via the Reseller (and not the customer), since Resellers are responsible for paying the related invoices.
-
-For screenshots of the current experience for Reseller customer (if they were able to login) see https://gitlab.com/gitlab-org/fulfillment-meta/-/issues/809+.
-
-
-## Proposal
-
-Hide the following buttons on the subscription card if the subscription is managed by a reseller:
-
-- Add Seats
-- Upgrade
-- Resume
-- Cancel
-- Renew
-- Buy additional CI Minutes
-- Buy additional Storage
-
-Looks like we have a `subscription.managed_by_reseller?` method in the code.
-
-### SM Subscription card
-
-All buttons should be removed.
-
-
-
-### SaaS Subscription card
-
-The only button we need to keep is `Change linked namespace`
-
-
-
-**Note:** Hiding the `Buy new subscription` button will be tackled in this issue - https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5074
-
-## Implementation breakdown
-| Description | MR |
-| ------ | ------ |
-| :one: Hide CI minutes button | https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5695|
-| :two: Hide buy storage button| https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5719/ |
-| :three: Hide upgrade plan button | https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5728 |
-| :four: Hide add seats button | https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5729/ |
-| :five: Hide renew button | https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5730 |
-| :six: Hide cancel and resume button | https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5731 |
-
-
-## Result
-
-Reseller customer will not be able to amend their subscription.
-
-### Next steps (if any)
-
-### How will we measure success?",3
-116596617,2022-10-10 16:07:01.324,Set appropriate billing options when updating a subscription,"
-
-### Problem
-
-When updating a subscription using Orders API, set billing options as described below:
-
-| Attribute | Value |
-| ------ | ------ |
-| `target_date` | If subscription has expired, set to current date.
Default to Subscription term end date |
-| `document_date` | Current date |
-| `document_date` | Current date |
-| `process_payments` | Based on `params[:process_payments]` |
-| `payment_method_id` | Based on whether `params[:payment_method_id]` is present |
-
-These attributes are inline with the existing [Amend API](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/60e7bfca2087f17bc06104474ca1b0a3f5b9bb9c/app/services/amendment_base_service.rb#L192).
-
-### Proposal
-
-
-
-Update billing params and remove setting of service activation date as described in the Problem statement.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-116421407,2022-10-06 17:37:12.457,SendSeatOverageNotificationJob continually enqueued for the same namespace,"### Problem
-
-We noticed the sidekiq queue in CDot growing endless and it seems the same job, `Reconciliations::SendSeatOverageNotificationJob`, is being enqueued over-and-over with the same params. More info in [this Slack thread](https://gitlab.slack.com/archives/CL7SX4N86/p1665070227457529).
-
-Our current pending Sidekiq queue count is 23,646 and growing. You can see the reconciliations queue at https://customers.gitlab.com/sidekiq/queues/reconciliations
-
-### Proposal
-
-We can work on a short-term fix to block the particular namespace id, `10782951`, for the numerous jobs, until we determine a better long-term solution.",1
-116378634,2022-10-06 06:28:28.136,"Follow-up from ""Set default payment before an upgrade""","The following discussion from !5518 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5518#note_1122714925):
-
- > **Thought (no change necessary):** I was noticing some similarities (you may have as well) between this method and the `set_default_payment_method` [in `::Zuora::Helpers::PaymentMethod`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/42542df5fa778f782ae3ccefc21f04711eb0a1f3/app/services/zuora/helpers/payment_method.rb#L21). There is even a `payment_method_id` method defined there.
- >
- > I wonder if there is room for refactoring to combine these in the future? There is a difference in setting `auto_pay` but we may be able to define that in a flexible way. Anyway, just a thought for the future perhaps.",2
-116359301,2022-10-05 20:10:17.122,Update setup instructions to include setting salesforce secrets,"
-
-### Problem
-
-With unset salesforce values in `secrets.yml`, mailer preview will no longer generate.
-
-### Proposal
-
-Update the readme to list instructions for setting the salesforce secrets",1
-116353393,2022-10-05 19:06:20.403,[Error Budget] Investigate `MaxAdditionalSeatsExceededError`,"From: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4918#note_1124235188
-Sentry: https://sentry.gitlab.net/gitlab/customersgitlabcom/?query=is%3Aunresolved+lastSeen%3A%2B1d+maxadditional
-
-This error seems like valid business logic and not an application exception. We should stop raising an error where appropriate so we're not reporting these as errors.",2
-117773634,2022-10-05 16:13:35.939,[SPIKE] Investigate on improving SubscriptionController#create response time,"According to the kibana query below, we see that the endpoint: `SubscriptionsController#create` has the worst Appdex, with `515` operations over the threshold out of `674`.
-
-This issue is a placeholder to dig deeper into the request and try to find a way to improve the response time.
-
-1. **Rails Requests Apdex**: slow requests exceeding the threshold along with total number of request
-
-
-
-[Kibana log](https://log.gprd.gitlab.net/app/kibana#/visualize/create?type=table&indexPattern=7092c4e2-4eb5-46f2-8305-a7da2edad090&_a=(filters:!((meta:(key:json.subcomponent,negate:!t,params:graphql_json,type:phrase),query:(match:(json.subcomponent:(query:graphql_json,type:phrase)))),(meta:(key:json.meta.feature_category,params:!(purchase),type:phrases),query:(bool:(minimum_should_match:1,should:!((match_phrase:(json.meta.feature_category:purchase)))))),(meta:(key:exists,type:json.duration_s,value:exists),query:(exists:(field:json.duration_s))),(meta:(key:exists,type:json.target_duration_s,value:exists),query:(exists:(field:json.target_duration_s)))),query:(language:kuery,query:''),vis:(aggs:!((enabled:!t,id:'1',params:(),schema:metric,type:count),(enabled:!t,params:(field:json.meta.caller_id.keyword,missingBucket:!f,missingBucketLabel:Missing,order:desc,orderBy:'3',otherBucket:!t,otherBucketLabel:Other,size:5),schema:bucket,type:terms),(enabled:!t,params:(field:json.request_urgency.keyword,missingBucket:!f,missingBucketLabel:Missing,order:desc,orderBy:'3',otherBucket:!t,otherBucketLabel:Other,size:5),schema:bucket,type:terms),(enabled:!t,params:(field:json.target_duration_s,missingBucket:!f,missingBucketLabel:Missing,order:desc,orderBy:'3',otherBucket:!t,otherBucketLabel:Other,size:5),schema:bucket,type:terms),(enabled:!t,id:'3',params:(customLabel:'Operations+over+specified+threshold+(apdex)',field:json.duration_s,json:'%7B%22script%22:+%22doc%5B!'json.duration_s!'%5D.value+%3E+doc%5B!'json.target_duration_s!'%5D.value+?+1+:+0%22%7D'),schema:metric,type:sum))))&_g=(time:(from:'now-3d',to:'now')))
-
-
-2. **Rails slow requests**: Top slow requests
-
-
-
-[Kibana log](https://log.gprd.gitlab.net/app/discover#/?_a=h@7842932&_g=(time:(from:'2022-10-05T09:37:00.000Z',to:'2022-10-05T15:37:59.999Z')))",3
-116309745,2022-10-05 09:40:27.771,'License seat links' - customer field has incorrect URL,"
-
-### Problem
-
-The customer field in the 'License seat links' view links to the customer information in the `Customer` view. \
-The URL is incorrect though.
-
-Currently: https://customers.gitlab.com/admin/RailsAdmin::Customer/6057 \
-Should be: https://customers.gitlab.com/admin/Customer/6057
-
-### Proposal
-
-Fix URL
-
-
-
-### Result
-
-Clicking on a customer name in the 'License seat links' view will open the customer information in the `Customer` view.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-116275359,2022-10-04 18:06:21.025,"Follow-up from ""FF use of Orders API in Upgrade workflow""","The following discussion from !5539 should be addressed:
-
-- [ ] @aish.sub started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5539#note_1122624105): (+2 comments)
-
- > **note**: I wonder if it will be better (helpful?) to update this custom action to `add_main_product_during_renewal` in order to make it explicit (similar to `add_main_product_during_upgrade`) :thinking:",1
-116033419,2022-09-29 19:22:28.938,[Documentation & Learning] Cloud License Activation,,1
-116033367,2022-09-29 19:21:45.287,[Documentation & Learning] True-Up Logic,"## Documentation
-
-* https://gitlab.com/gitlab-org/gitlab/-/blob/aaa552b248b3af6dd2a4de88173fff7bfe85f4e1/doc/subscriptions/self_managed/index.md#users-over-license
-* https://gitlab.com/gitlab-org/gitlab/-/blob/30adf0ce90db1326e9e53388aae26b3266651033/doc/subscriptions/quarterly_reconciliation.md#quarterly-reconciliation-and-annual-true-ups
-* https://gitlab.com/gitlab-org/fulfillment-meta/-/issues/510+
-* https://about.gitlab.com/handbook/business-technology/enterprise-applications/quote-to-cash/troubleshooting/#true-ups-adding-seats-users
-
-
-## Learning
-
-* The true-up logic can be simplified by skipping it for Cloud Licenses (https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5483).
-* Introduce the ability to revoke cloud licenses (activation codes, https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5486).
-* Define a process to recognize and require payment for overages (separate from removing true-ups) https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5299",1
-116033322,2022-09-29 19:20:30.359,[Documentation & Learning] Legacy License Provisioning,"## Step 1: Documentation & Learning
-
-* [x] You feel the existing document is accurate, current, and thorough.
-* [-] You have engaged `@courtmeddaugh` / `@fneill` as needed for assistance if you feel business or customer-facing documentation should be updated.
-* [x] You have a strong enough understanding of the process to be able to host a knowledge share session.",2
-122493434,2022-09-29 16:59:52.699,Create activation code for all SM subscriptions (even when TurnOnCloudLicensing = No),"## Background
-There is one remaining bucket of customers for whom no cloud activation is created, meaning there no way for them to access an activation code other than requesting one be created by the support team:
-* Customers with `TurnOnCloudLicensing` = `No` - we do not generate a cloud activation for explicitly opted out customers
-
-## Proposal
-Update the activation code logic to create an activation code for all Self-Managed subscriptions, so that even opted out customers have the option of activating with cloud licensing.
-
-## Experience
-When a customer has `TurnOnCloudLicensing` = `No` (opted for a legacy license), but an activation code exists, we show an expandable banner with both the legacy license available for download and the activation code:
-
-
-
-
-## Next Steps
-Once this is closed, we should backfill any active Self-Managed subscriptions that do not have an activation code available (https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5604).",2
-116027508,2022-09-29 16:29:57.567,[Backfill] Create activation codes for subscriptions on legacy licenses pre-SCL,"## Background
-https://gitlab.com/gitlab-org/fulfillment-meta/-/issues/589+ defines the process for customers to activate with Cloud Licensing mid-term if they already have an active legacy license subscription. For most customers, a Support ticket is required to move to Cloud Licensing.
-
-To make it easier for these customers to self-activate with Cloud Licensing, this issue will evaluate the possibility of mass-generating activation codes for customers that do not have one.
-
-## Details
-Today, the Customer Portal subscription activation display banner for `TurnOnCloudLicensing` = `null` has a dependency on if an activation code exists.
-* If activation code exists: display legacy download option only
-* If activation code does not exist: display activation code only
-
-As of September 2022, we are creating activation codes for all subscriptions where `TurnOnCloudLicensing` is not = `No`. However, prior to SCL launch (July 2022), we did not create activation codes for these subscriptions.
-
-## Proposal
-1. Query the subscription names with `TurnOnCloudLicensing` set to `null` and `Status = ""Active""` in Zuora (with a Data Query, [example](https://apisandbox.zuora.com/platform/data-query/queries/20e2a75f-8e30-4ea6-b922-a0a73c80efde)) and then cross check those with existing cloud activations.
-2. If no cloud activation exists for the subscription name, create one.
-3. In doing so, ensure we do NOT send customers emails with the activation code (to avoid confusion).
-
-## Result
-All customers (who did not explicitly opt out of Cloud Licensing, `TurnOnCloudLicensing` = `No`) will have a cloud license activation code available for download visible in the Customer Portal, allowing for mid-term activations of cloud licensing without the need for a support ticket.",3
-115954457,2022-09-28 18:57:41.145,Perform Post Order creation steps for amendment,"
-
-### Problem
-
-Once a subscription is amended, there are a few post order creation steps that is performed:
-
-- Update EoA starter/bronze offer
-- mark coupon as redeemed
-
-### Proposal
-
-
-
-Perform the above listed steps when applicable in `Zuora::Orders::PostCreationService`
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-115897852,2022-09-28 04:27:03.423,Improve SeatLink Apdex score,"### Problem
-
-~""group::provision"" [apdex customersdot rails_requests failure is high](https://dashboards.gitlab.net/d/stage-groups-detail-provision/stage-groups-provision-group-error-budget-detail?orgId=1&from=now-24h&to=now&viewPanel=14). For the past 7 days the [apdex failure ratio is 47255/93360](https://dashboards.gitlab.net/d/stage-groups-detail-provision/stage-groups-provision-group-error-budget-detail?orgId=1&from=now-7d&to=now&viewPanel=14). It is holding back our overall error budget.
-
-By sorting the averge on [Grafana ranking](https://dashboards.gitlab.net/d/stage-groups-detail-provision/stage-groups-provision-group-error-budget-detail?orgId=1&from=now-24h&to=now&viewPanel=44), `Api::V1::SeatLinksController#create` seems to be the largest contributing factor. It usually peaks around 4 AM UTC each day at -50% mark. E.g. in CDot production log, I found one request taking 7s.
-
-### Proposal
-
-We should first gather stats on request time in order to see how the distribution and average looks like. Since we don't have log.gitlab.net for CDot this will take some manual effort.
-
-Engineering-wise, we can look into reducing seat link time.
-
-The peak probably means a large number of self-managed instances are concentrated in the same timezone. We may also look into spreading the sync time further apart.
-
-Product management-wise: we may have to consider increase the request threshold (urgency). According to [Rails request Apdex SLI doc](https://docs.gitlab.com/ee/development/application_slis/rails_request_apdex.html#decreasing-the-urgency-setting-a-higher-target-duration), automated process is not user face therefore it makes sense to have a lower urgency.
-
-### Result
-
-Reduce the number of apdex errors.
-
-### Next steps (if any)
-
-### How will we measure success?
-
-A healthier [apdex percentage](https://dashboards.gitlab.net/d/customersdot-main/customersdot-overview?orgId=1&viewPanel=23&from=now-7d&to=now) of less than -5%.",8
-115885543,2022-09-27 21:01:27.458,Update the admin_access feature spec,"### Summary
-
-`spec/features/rails_admin/admin_access_spec.rb` Covers the actions an Admin has access to per model via the Admin app.
-
-This test is out of date. It needs to be updated to account for the addition of:
-- Cloud Activations
-- Trading Partners
-- Provisions",1
-115802819,2022-09-26 18:51:05.619,Cloud License activation failure when future dated renewal and past subscription trueups,"# Bug
-
-## Summary
-
-When activating a cloud license for the first time (especially when coming from legacy), the cloud license is generated using the subscription version that better ""fits"" the activation moment / date.
-
-Per @vshumilo:
-
-> The subscription version is resolved [here](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/df807833e9e1b346bde9a0c0d2adf37a6ab89209/app/models/cloud_activation.rb#L23) using [this logic](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/df807833e9e1b346bde9a0c0d2adf37a6ab89209/lib/zuora/subscription.rb#L70-L72)
->
-> Additional context
-> - This decision was per-design to allow a customer that is in the middle of a subscription term to upgrade to cloud license we decided to use the current subscription version (applicable at the moment of the activation)
-> - The specific logic on how this current subscription is resolved changed ~1 month ago, current one should be more accurate. Is this something you have seen reported in the last month or since the release of cloud activation?
-
-However, in some cases when the following conditions are also true:
-
-1. A future-dated renewal amendment exists
-2. The current, pre-renewal version of the subscription has true-ups
-
-The cloud license being generated is failing to activate until at least the start date of the renewal term when the license gets generated with the most recent version of the subscription.
-
-It seems to be related to true-up checking (documented in at least 2 of the reported examples), and possibly current billable users since the trueup logic includes a [fallback check on current users](https://gitlab.com/gitlab-org/gitlab/-/blob/066245b248aa8df95958302656b252705d0f74fc/ee/app/models/license.rb#L507-508) that would normally be skipped in cloud licenses.
-
-Currently unknown why the true-up logic would be failing, even for the current (non-renewal) term; in theory it should be generating a license that works the same as it did at the start of the current term. It's using `trueup_from` and `trueup_to` of the current period, in other words, `trueup_from == current_starts_at - 1 year` and `trueup_to == current_starts_at`
-
-[example ticket](https://gitlab.zendesk.com/agent/tickets/329201)
-[example customer](https://customers.gitlab.com/admin/customer/205112/edit)
-[example cloud license](https://customers.gitlab.com/admin/license/1043282)
-
-## Steps to reproduce
-
-1. Be on legacy license
-2. Have your current term subscription include true-ups
-3. Adjust user counts in a way that prevents your current license from being reactivated
- - Either increase your billable users count, or your max historical (for current term)
-4. Try to convert to cloud license prior to renewal
-
-## Proposed fix
-
-It's really the trueup logic at fault here, since that both re-validates current term trueups and also contains a current users check (which would be skipped without `License#check_trueup` being called). Because these numbers can change over the course of a year, re-activating the current term license may be impossible.
-
-Sidenote: Perhaps this highlights the [discussions in this issue](https://gitlab.com/gitlab-org/fulfillment-meta/-/issues/511).
-
-1. Skip all of `License#check_users_limit`, `License#check_trueup`, and `License#check_restricted_user_count` when renewing or prior to renewing from legacy to cloud license the first time.
-
-## Workarounds
-
-1. Wait until start date of the renewal period
-
-## Reported examples
-
-1. https://gitlab.zendesk.com/agent/tickets/329201
-1. https://gitlab.zendesk.com/agent/tickets/325200
-1. https://gitlab.zendesk.com/agent/tickets/322732
-1. https://gitlab.zendesk.com/agent/tickets/324490
-2. https://gitlab.zendesk.com/agent/tickets/328920
-3. https://gitlab.zendesk.com/agent/tickets/340797
-4. https://gitlab.zendesk.com/agent/tickets/342180
-5. https://gitlab.zendesk.com/agent/tickets/342994 (result of manual legacy)
-6. https://gitlab.zendesk.com/agent/tickets/344686 (result of manual legacy)
-7. https://gitlab.zendesk.com/agent/tickets/360298 (result of manual legacy)
-8. https://gitlab.zendesk.com/agent/tickets/375405 (current billable, `check_restricted_user_count`)
-
-",2
-115662608,2022-09-23 11:51:39.923,[Spike] Backporting Cloud License fixes to 14.1,"With the efforts for [Strict Cloud License](https://gitlab.com/groups/gitlab-org/-/epics/7088) and [Cloud License Follow-Ups](https://gitlab.com/groups/gitlab-org/-/epics/8187) we should look at which Cloud License ~""type::bug"" fixes we should backport to [Cloud License V1](https://gitlab.com/groups/gitlab-org/-/epics/1878), so customers upgrading to this version don't experience issues fixed down the road.
-
-An example of this could be this issue: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4688.",3
-115645252,2022-09-23 08:05:49.046,Migrate CustomersDot Ansible to gitlab-org,"This issue provides a checklist that will support the migration of [the CustomersDot Ansible project](https://gitlab.com/gitlab-com/gl-infra/customersdot-ansible) to the `gitlab-org` group.
-
-## Main information
-
-- Date and time of migration: November 3rd 2022, 10am UTC (duration: 1 hour)
-
-- Former project URL: https://gitlab.com/gitlab-com/gl-infra/customersdot-ansible
-- (Proposed) New project URL: https://gitlab.com/gitlab-org/customers-ansible
-
-- CustomersDot Documentation MR: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5520
-- CustomersDot Ansible Documentation MR: https://gitlab.com/gitlab-com/gl-infra/customersdot-ansible/-/merge_requests/316
-- Runbooks MR: https://gitlab.com/gitlab-com/runbooks/-/merge_requests/5019
-- CustomersDot `.gitlab-ci.yml` MR: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5522
-
-## Checklist
-
-### Preparation
-
-1. [x] Make sure that someone in the Fulfillment team can proceed to do [the project transfer](https://docs.gitlab.com/ee/user/project/settings/index.html#transfer-a-project-to-another-namespace). We need someone who's both the Owner of `customersdot-ansible` and has the `Maintainer` role for the `gitlab-org` group.
- - Access request issue: https://gitlab.com/gitlab-com/team-member-epics/access-requests/-/issues/18088
-
-1. [x] Prepare the following MRs. Get them approved and ready to be merged, but **do not** merge them.
- 1. [x] Prepare an MR to update all CustomersDot Ansible references in the documentation (ie. `README.md`, `doc/` folder, comments) for both the CustomersDot and the Ansible projects.
- 1. [x] Prepare an MR that updates all CustomersDot Ansible references in the Runbooks project.
- 1. [x] Prepare an MR that updates CustomersDot Ansible references in CustomersDot's `.gitlab-ci.yml`
-
-1. [x] When items above are completed, choose a date and time to do the transfer and announce it in the `#s_fulfillment` Slack channel.
-
-### Project transfer!
-
-1. [x] Create a [new CustomersDot issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/new) with a ~""production::blocker"" label.
- - Use this issue: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5092
-
-1. [x] Create a [new CustomersDot Ansible issue](https://gitlab.com/gitlab-com/gl-infra/customersdot-ansible/-/issues/new) with a ~""provisioning blocker"" label.
- - Use this issue: https://gitlab.com/gitlab-com/gl-infra/customersdot-ansible/-/issues/162
-
-1. [x] Delete all existing images: https://docs.gitlab.com/ee/user/packages/container_registry/index.html#limitations
- 1. [x] Double-check the current version of [Docker images in the former project](https://gitlab.com/gitlab-com/gl-infra/customersdot-ansible/container_registry) and take note of them:
- - customersdot-ansible: `v0.0.1`
- - molecule-environment: `v0.0.1`
-
-1. [x] Proceed to [transfer the project to `gitlab-org`](https://docs.gitlab.com/ee/user/project/settings/index.html#transfer-a-project-to-another-namespace).
-
-1. [x] Rebuild the Docker images and push them
- 1. [x] Make sure you're logged in to the new (migrated) project's registry.
- 1. [x] Rebuild Docker images locally (verify version numbers) and push them to the new project's registry:
- ```bash
- # customers-ansible image
- docker build --no-cache -f Dockerfile -t registry.gitlab.com/gitlab-org/customers-ansible:v0.0.1 .
- docker push registry.gitlab.com/gitlab-org/customers-ansible:v0.0.1
-
- docker build --no-cache -f Dockerfile -t registry.gitlab.com/gitlab-org/customers-ansible:stable .
- docker push registry.gitlab.com/gitlab-org/customers-ansible:stable
-
- # molecule-environment image
- docker build --no-cache -f test/docker/molecule-environment/Dockerfile -t registry.gitlab.com/gitlab-org/customers-ansible/molecule-environment:v0.0.1 .
- docker push registry.gitlab.com/gitlab-org/customers-ansible/molecule-environment:v0.0.1
-
- docker build --no-cache -f test/docker/molecule-environment/Dockerfile -t registry.gitlab.com/gitlab-org/customers-ansible/molecule-environment:latest .
- docker push registry.gitlab.com/gitlab-org/customers-ansible/molecule-environment:latest
- ```
-
-### Post-transfer tasks and tests
-
-1. [x] Merge the CustomersDot `.gitlab-ci.yml` MR.
-
-1. [x] Test new configuration:
- - [x] [Provision manually](https://gitlab.com/gitlab-com/gl-infra/customersdot-ansible/blob/8873ad26f8c025db03d86a5fd527dc58d7c64fa0/doc/readme.md?plain=0#manual-provisioning).
- - [x] [Deploy manually](https://gitlab.com/gitlab-com/gl-infra/customersdot-ansible/blob/8873ad26f8c025db03d86a5fd527dc58d7c64fa0/doc/readme.md?plain=0#manual-deployment-to-production).
-
-1. [x] Review that existing CustomersDot Ansible issues, epics, etc, can be found.
-
-1. [x] Close the ~""production::blocker"" CustomersDot issue.
-
-1. [x] Close the ~""provisioning blocker"" CustomersDot Ansible issue.
-
-1. [x] Ask everyone in `#s_fulfillment` to update their project remote:
- ```bash
- # cd into local customersdot-ansible project
- git remote remove origin
- git remote add origin git@gitlab.com:gitlab-org/customersdot-ansible.git
- ```
- Let them know that deployments have resumed as well.
-
-1. [x] Merge the two Documentation MRs.
-
-1. [x] Merge the Runbooks MR.
-
-1. [x] Apply ~""group::fulfillment platform"" to all issues that are already tagged with the ~""Fulfillment::InfraDev"" label.",2
-115616749,2022-09-22 17:44:03.388,[Feature flag] Enables Zuora Billing Account based architecture,"
-
-# Summary
-
-This issue is to rollout [Zuora Billing Account as a Customer Account](https://gitlab.com/groups/gitlab-org/-/epics/8331) on CustomersDot production,
-that is currently behind the [`account_data_structure`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/160/edit) feature flag.
-
-## Owners
-
-- Team: ~""group::fulfillment platform""
-- Most appropriate Slack channel to reach out to: `#g_fulfillment_platform`
-- Best individual to reach out to: @tyleramos or @vshumilo
-- PM: @mgass1
-
-## Stakeholders
-
-- Support (@mdunninger @ffarukh)
-- Finance (@s_mccauley @annapiaseczna)
-
-## The Rollout Plan
-
-Percentage Rollout on CustomersDot
-
-## Expectations
-
-### What are we expecting to happen?
-
-##### For all self served orders
-
-**First purchase**
-
-- The creation of an `Account` object in CustomersDot as a counterpart to the Zuora Billing Account that will be created in Zuora.
-- The creation of an `AccountMembership` record in CustomersDot that will associate the Customer that made the purchase to the created `Account`.
-- The SFDC associated account id information will be stored at the created `Account` level.
-
-**Subsequent orders for the same Account**
-
-Will reuse the Account created in the first step. Future orders might be initiated by the same or another Customer. A Customer initiating an order will be already associated to the account via an AccountMembership record to be able to place the order so the creation of this membership is not mentioned here.
-
-##### For sales assisted orders will result in:
-- The creation of a `Customer` based on the provided information that will be reused as the Bill To / Sold To contact at the Zuora Account Level.
-- The creation of an `Account` object in CustomersDot as a counterpart to the Zuora Billing Account.
-- The creation of an `AccountMembership` based on the before mentioned Account and Customer.
-
-**Subsequent orders for the same Account**
-
-Will reuse the Account created in the first step. _To be reviewed: If the new order is associated to a different contact (different email) then we might create a new Customer + Account Membership in CustomersDot._
-
-### What might happen if this goes wrong?
-
-- Purchase flow will not work within CustomersDot.
-- Provision for sales assisted orders will not work.
-
-### What can we monitor to detect problems with this?
-
-- Keep an eye on [Sentry](https://sentry.gitlab.net/gitlab/customersgitlabcom/#).
-- Check `#s_fulfillment_daily` for errors.
-- Verify provisions are being fulfilled within the Provision Tracking System (Admin > Provisions)
-
-## Rollout Steps
-
-### Rollout on non-production environments
-
-- [x] Ensure that the feature MRs have been deployed to non-production environments, i.e. `customers-staging`.
-- [x] Ensure that the rake task to backfill Account and AccountMembership (introduced in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4798) has been run and verified. This data must be populated before we enable the feature flag in the environment.
- - [x] `RAILS_ENV=stg ~/.rbenv/shims/bundle exec rake data_maintenance:billing_accounts:backfill_with_customers[false]`
- - [x] `RAILS_ENV=stg ~/.rbenv/shims/bundle exec rake data_maintenance:billing_accounts:backfill_cloud_activations[false]`
- - [x] `RAILS_ENV=stg ~/.rbenv/shims/bundle exec rake data_maintenance:billing_accounts:backfill_licenses[false]`
- - [x] `RAILS_ENV=stg ~/.rbenv/shims/bundle exec rake data_maintenance:billing_accounts:backfill_orders[false]`
-- [x] Consider announcing that the flag will be enabled to potentially impacted groups, e.g. `#s_fulfillment_engineering`
- - https://gitlab.slack.com/archives/C029YFPUA6M/p1674229395068479
-- [x] Enable the feature globally on non-production environments by applying the appropriate environment, e.g. `customers-staging` and `customers-development`.
-- [x] Notify the Software Engineers in Test (SETs) for Fulfillment via Slack and in a comment in this issue when enabling a feature flag in `customers-staging` as it can impact the QA pipeline.
- - https://gitlab.slack.com/archives/C029YFPUA6M/p1674229669719009?thread_ts=1674229395.068479&cid=C029YFPUA6M
-- [x] Verify that the feature works as expected. Posting the QA result in this issue is preferable.
-
-### Preparation before production rollout
-
-- [x] Ensure that the feature MRs have been deployed to production
-- [x] Ensure [test plan](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5555) had been executed successfully
-- [x] Ensure that the rake task to backfill Account and AccountMembership (introduced in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4798) has been run and verified. This data must be populated before we enable the feature flag in the production environment.
- - [x] `RAILS_ENV=production ~/.rbenv/shims/bundle exec rake data_maintenance:billing_accounts:backfill_with_customers[false]`
- - [x] `RAILS_ENV=production ~/.rbenv/shims/bundle exec rake data_maintenance:billing_accounts:backfill_cloud_activations[false]`
- - [x] `RAILS_ENV=production ~/.rbenv/shims/bundle exec rake data_maintenance:billing_accounts:backfill_licenses[false]`
- - [x] `RAILS_ENV=production ~/.rbenv/shims/bundle exec rake data_maintenance:billing_accounts:backfill_orders[false]`
-- [x] Check if the feature flag change needs to be accompanied with a
- [change management issue](https://about.gitlab.com/handbook/engineering/infrastructure/change-management/#feature-flags-and-the-change-management-process).
- Cross link the issue here if it does.
-- [x] Ensure that you or a representative in Fulfillment can be available for at least 2 hours after feature flag updates in production.
- If a different developer will be covering, or an exception is needed, please inform the Fulfillment team in #s_fulfillment_engineering
-- [x] Ensure any documentation has been updated
-- [x] Announce on [the feature epic](https://gitlab.com/groups/gitlab-org/-/epics/8950) an estimated time this will be enabled on production if applicable
-- [x] If the feature might impact the user experience, notify `#s_fulfillment` and potentially `#support_gitlab-com`, as well as your team channel ([more guidance when this is necessary in the dev docs](https://docs.gitlab.com/ee/development/feature_flags/controls.html#communicate-the-change)).
-
-### Global rollout on CustomersDot production
-
-- [x] Confirm the feature flag is enabled on `staging` without incident
-- [x] Roll out the feature to targeted testing users first (if applicable)
-- [x] If applicable, [incrementally roll out](https://docs.gitlab.com/ee/operations/feature_flags.html#percent-rollout) the feature.
-- [x] Verify the change has the desired outcome with the limited rollout before enabling the feature globally on production.
-- [x] Enable the feature globally on production environment
-- [x] Announce on [the feature epic](https://gitlab.com/groups/gitlab-org/-/epics/8950) that the feature has been globally enabled.
-- [x] Wait for [at least one day for the verification term](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release).
-
-### Release the feature
-
-After the feature has been [deemed stable](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release),
-the clean up should be done as soon as possible to permanently enable the feature and reduce complexity in the codebase.
-
-- [x] https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5710+
- - [x] Remove all references to the feature flag from the codebase
- - [x] Ensure the cleanup issue is closed and all MRs have been deployed to both staging and production
-- [x] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [x] Ensure production environment is still working as expected
-- [x] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [x] Close this rollout issue.
-
-## Rollback Steps
-
-- [ ] This feature can be disabled by performing the following actions:
- - [ ] Disable the Unleash flag on the [feature flag page](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/160/edit)",2
-115509266,2022-09-21 13:55:53.697,Do not show subscription management buttons on CI mins subscriptions without attached namespace,"
-
-### Problem
-As mentioned in this [comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4428#note_1108064352), we should not be showing subscription management buttons on CI minutes subscriptions without namespace attached.
-
-### Proposal
-As mentioned in point 3 of this [refinement](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4428#note_1092677679), update the logic to hide subscription management buttons.
-
-
-
-### Result
-Subscription management buttons should not be visible on CI minutes (and other free plans) with no linked namespace.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-115447179,2022-09-20 18:28:25.941,Remove Visual Compliance except for eDisty Marketplace use,"### Problem
-
-As described in [this thread](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3393#note_1106637176), Visual Compliance code is enabled for eDisty Marketplace Orders, but disabled for all other use in CustomersDot. This is because Visual Compliance proved to not be as effective in screening, particularly outside of the US. Given eDisty Marketplace Orders are starting out as US-only, we've enabled VC just for this workflow for now. The intention eventually is for VC to be replaced with Risk Rate as described [here](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3393#note_1107774308).
-
-### Proposal
-
-Given we do not want to enable VC for code paths other than eDisty Marketplace, let's remove this code to avoid confusion and potentially enabling this path by accident.
-
-Note there are 2 distinct feature flags related to visual compliance: `compliance_check_marketplace` and `compliance_check`. We want to keep the flag `compliance_check_marketplace`, but drop the flag for `compliance_check` and any related code.
-
-- `perform_compliance_check` [in application_controller.rb](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/e3d1c1a06c37668851bf96058ad78699288fa7e7/app/controllers/application_controller.rb#L92)",2
-115435033,2022-09-20 15:03:36.188,[Knowledge-sharing] Storage provisioning,,3
-115435024,2022-09-20 15:03:23.841,[Knowledge-sharing] True-ups,"# True-ups
-
-## What are True-ups?
-
-True-ups are the outstanding overage of maximum users exceeding the users/seats in a license of a self-managed subscription. Any overages during the subscription term need to be resolved by purchasing additional seats for the subscription. True-ups are handled as an add-on product to the subscription during renewal. They are validated when the new license is applied to a self-managed instance.
-
-### How to find the overage
-
-There are two places within a self-managed instance where the overage is displayed:
-1. Visit the admin dashboard (`/admin`) and look for the `License overview` section. A box displays the overage number as `USERS OVER LICENSE`.
-
- 
-
-2. Visit the subscription page (`/admin/subscription`) to find a similar box as on the admin dashboard that displays the overage number as `USERS OVER SUBSCRIPTION`.
-
- 
-
-
-
-## Quarterly reconciliations
-
-Quarterly reconciliations is a feature that is offered within Cloud Licenses. If enabled, a self-managed instance will send seat link information to CustomersDot on a daily basis. This information includes a count of active users and a historical maximum user count.
-
-The manual true-up process is replaced by an automated quarterly reconciliation process which uses the information from the daily seat link sync to amend subscriptions with any additional users added within the past quarter.
-
-### Difference to quarterly reconciliations (QSR)
-
-True-ups are an annual process which means that users over the license needs to be paid for the whole subscription term. When the users were added is not important for this.
-
-Quarterly reconciliations are performed quarterly. Any users over the license needs to be paid for for the remaining subscription term only. This process can result in substantial savings.
-
-See [this documentation](https://docs.gitlab.com/ee/subscriptions/quarterly_reconciliation.html) for an example on the difference in costs.
-
-## CustomersDot
-
-### Subscription renewal
-
-When renewing a self-managed subscription, a section for true-ups will be displayed. The customer is required to enter their current users over the license. Otherwise the license created for the renewal might not work on their instance (might will be explained in the GitLab section).
-
-
-
-
-
-True-ups are handled as an add-on product to the subscription. [This code](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/a0bd9c8aa410b0e3c924d17a9240db2644ff2e1b/app/services/amend_subscription_service.rb#L162-186) applies the true-up product if required.
-
-When the license is created for the renewal, [the code](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/a0bd9c8aa410b0e3c924d17a9240db2644ff2e1b/app/models/license.rb#L82) checks if true-up info needs to be set. This is only the case if the true-up quantity is greater than 0 and the license has a term end date. If it is the case, the true-up date range [is automatically set](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/a0bd9c8aa410b0e3c924d17a9240db2644ff2e1b/app/models/license.rb#L160-165) to the year prior to the current subscription term.
-
-### Manual license creation
-
-When creating a license manually in the Admin, the true-up count can be filled in during the creation as an optional field. Similar to the renewal process, the overage number has to be sufficient to cover the current overage of an instance.
-
-
-
-
-
-## GitLab
-
-When applying a license to a self-managed instance, [a validation](https://gitlab.com/gitlab-org/gitlab/-/blob/ba33e30e7295c3528e0eda559dc6768c3c90a257/ee/app/models/license.rb#L36) checks for a sufficient true-up count. This check is only executed if the true-up info is set and the flag `reconciliation_completed` (license restriction attribute) is not set to `true` in the license. If the latter is set to `true`, true-ups will be skipped due to a successful Q3 quarterly reconciliation.
-
-The historical max during the given true-up date range is used for this validation ([code](https://gitlab.com/gitlab-org/gitlab/blob/ba33e30e7295c3528e0eda559dc6768c3c90a257/ee/app/models/license.rb#L502)). If a previous user count (license restriction attribute `previous_user_count`) is present in the license, the historical max subtracted by the previous user count equals the expected true-up count. If the previous user count is missing, the daily billable users count is used instead (there's a reported bug for this fallback in https://gitlab.com/gitlab-org/gitlab/-/issues/361345).
-
-The expected true-up count is then compared to the true-up count set in the license plus an additional 10% overage threshold (hence the ""might not work"" phrasing in the CustomersDot section). The threshold part is only available in versions ""%14.2""+. If it's greater or equal the restricted user count (license restriction attribute `active_user_count`) is validated. This validation adds an error to the user count if the restricted user count plus a 10% overage threshold is less than the restricted user count in the license. If the expected true-up count is less than the true-up count set in the license plus an additional 10% overage threshold, the true-up validation results in an error that is added to the base errors (errors that are not associated to a specific attribute).
-
-## Documentation
-
-- https://gitlab.com/gitlab-org/gitlab/-/blob/aaa552b248b3af6dd2a4de88173fff7bfe85f4e1/doc/subscriptions/self_managed/index.md#users-over-license
-- https://gitlab.com/gitlab-org/gitlab/-/blob/30adf0ce90db1326e9e53388aae26b3266651033/doc/subscriptions/quarterly_reconciliation.md#quarterly-reconciliation-and-annual-true-ups
-- https://gitlab.com/gitlab-org/fulfillment-meta/-/issues/510+
-- https://about.gitlab.com/handbook/business-technology/enterprise-applications/quote-to-cash/troubleshooting/#true-ups-adding-seats-users
-
-## Possible improvements
-
-1. No documentation about true-ups in CustomersDot. Is documentation in GitLab already sufficient?
-1. Consolidate different spellings of true-up. GitLab, CustomersDot and the handbook use a mix of `true-up`, `trueup` and `true up`. It looks like `true-up` is the spelling that is used for customer-facing content.
- * **Here's one merge request that refactors the spelling in CustomersDot docs: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/6225+**
-1. A previous investigation suggested to loosen the true-up validation for Cloud Licenses or even skip it entirely. This is still under discussion though, see https://gitlab.com/gitlab-org/gitlab/-/issues/362076+.
-
-
-## Knowledge sharing video
-
-https://youtu.be/jfwOlYFRTy4",3
-115435011,2022-09-20 15:03:12.055,[Knowledge-sharing] Cloud License Activation,"Notes: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4851#note_1190996681
-
-Video: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4851#note_1191293557",3
-115435007,2022-09-20 15:02:50.869,[Knowledge-sharing] Legacy License Provisioning,"Step 2: Knowledge Sharing
-
-* [x] You've hosted a live knowledge share session for the team or sent out a pre-recorded one that provides an overview of your process.
-
-Video: https://youtu.be/S6PkHHXjF3c",2
-115434998,2022-09-20 15:02:37.772,[Knowledge-sharing] Provisioning-related Notifications,"Please check the video [here](https://www.youtube.com/watch?v=T_UM41tO10U).
-
-[Notes](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4849#note_1222246231) and [recommendations](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4849#note_1260130350) are below :point_down_tone2:",2
-115434943,2022-09-20 15:02:25.977,[Knowledge-sharing] Minutes provisioning,,2
-115433442,2022-09-20 14:58:12.487,Keeping amendment logic in sync for Orders API,"The following discussion from !5458 should be addressed:
-
-- [ ] @tvellishetty started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5458#note_1107066330): (+1 comment)
-
- > thought (non-blocking): As we're duplicating the existing logic, it could happen that the logic in `AmendSubscriptionService` is updated and we miss out on updating the logic here. What do you think about moving these to a helper class and use them both here and in existing services? If the chances of this happening is low then it might not be required.",2
-115376867,2022-09-20 06:28:02.177,Cancel subscription button should not be shown for expired subscriptions,"
-
-### Problem
-As raised in this [comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5390#note_1105664081), `Cancel subscription` button is shown on expired subscriptions.
-
-### Proposal
-Add a condition to hide `Cancel subscription` button on expired subscriptions. We could add a similar condition like the one for `Resume subscription` in `eligible_for_resumption?` in `subscription.rb`. Since the condition is common for `Cancel` and `Resume` logic, we could move it to the `recurrent_subscription?` method in `subscription.rb`.
-
-
-
-### Result
-`Cancel subscription` button will not be shown on expired subscriptions.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-115315416,2022-09-19 09:48:51.693,Update general emails layout,"We are moving from old purple header/footer layout to the black one. This issue is to update the general template, check all the emails affected and change it for all of them at the same time.
-
-### Design draft:
-
-| Old layout | New layout |
-| ------ | ------ |
-|  |
![]()
|
-
-Figma: https://www.figma.com/file/RwDEORCySqiDhagP7OJSde/Clean-up-SaaS-Privisioning-Email?node-id=1%3A60
-
-
-### Links that we use:
-
-| Linked Email Text | URL |
-| ------ | ------ |
-| header: logo | https://about.gitlab.com/ |
-| footer: logo | https://about.gitlab.com/ |
-| footer: Support | https://about.gitlab.com/support/ |
-| footer: Customers Portal | https://customers.gitlab.com/customers/sign_in |
-| footer: Blog | https://about.gitlab.com/blog/ |
-| footer: Contact Sales | https://about.gitlab.com/sales/ |
-
-### Technical considerations:
-
-We should make sure that email is responsive on smaller screens
-
-### Test plan
-
-https://gitlab.com/gitlab-org/fulfillment-meta/-/issues/786+",2
-115242136,2022-09-16 20:46:28.075,Testing New Zuora reCAPTCHA Configuration,"
-
-### Problem
-
-[Zuora has verified](https://community.zuora.com/communities/community-home/digestviewer/viewthread?MessageKey=ed58fe64-3842-4ea4-9e44-3c093081f1d1&CommunityKey=5aff528c-0e69-4a3d-a756-fe240ad97b02&_ga=2.76996181.1990020224.1663002836-1655512474.1656430981&_gl=1*18qjf3b*_ga*MTY1NTUxMjQ3NC4xNjU2NDMwOTgx*_ga_MY8CQ650DH*MTY2MzM2MTEzOC4yMTYuMS4xNjYzMzYxMTQ3LjAuMC4w) that the Google reCAPTCHA version that we are using in Zuora Production (reCAPTCHA V2) will be deprecated on 2022.11.08. As a result, we will need to implement Google reCAPTCHA Enterprise Interactive, which allows for user input within the CAPTCHA interface, allowing us to abide by GDPR requirements.
-
-### Proposal
-
-In alignment with the [Proposed Implementation Plan](https://gitlab.com/gitlab-com/business-technology/enterprise-apps/financeops/finance-systems/-/issues/812#update-20220916-captcha-v2-will-be-deprecated-20221108):
-
-1. Assist Finance Systems in testing Hosted Payment Pages in local environments in API Sandbox 1
-2. In coordination with Finance Systems, testing the new reCAPTCHA functionality within all [Hosted Payment pages](https://gitlab.com/groups/gitlab-com/business-technology/enterprise-apps/financeops/-/wikis/Zuora-Hosted-Payment-Pages#hosted-payment-page-gateway-assignments-config-overview). Verify functionality on mobile devices if possible.
- * Once Finance Systems performs configuration changes in Zuora Central (staging), disable automated end to end testing.
- * Once testing is complete, Finance Systems to modify setting to allow for automated end to end testing. Re-enable automated end to end testing.
-3. Production changes made by Finance Systems.
-
-
-### Action plan
-
-#### Dev
-
-EntApps – `2022.09.27 End of Day Pacific Time`:
-
-- [x] update reCAPTCHA settings for `GL.com self-serve Flow`
-- [x] update reCAPTCHA settings for `GL.com CC Validation_2022.04`
-- [x] update reCAPTCHA settings for `GL.com CC Validation_registration`
-- [x] update reCAPTCHA settings for `CustomersDot self-serve Flow`
-- [~] update reCAPTCHA settings for `GL.com CC Validation`
-
-
-Eng – `2022.09.28`:
-
-- [x] verify purchase scenario in GitLab.com (**GL.com self-serve Flow**)
-- [x] verify purchase scenario in CustomersDot (**CustomersDot self-serve Flow**)
-- [x] verify CC validation scenario in GitLab.com (**GL.com CC Validation_2022.04**)
-- [ ] verify [CC validation scenario](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/99202#how-to-set-up-and-validate-locally) during registration (**GL.com CC Validation_registration**)
-
-
-#### Staging
-
-Pre-requisite – `2022.10.04`:
-
-- [x] SET: disable end-to-end tests [running on staging](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/.gitlab/ci/e2e.gitlab-ci.yml#L132)
-
-EntApps – `2022.10.04 End of Day Pacific Time`:
-
-- [x] update reCAPTCHA settings for `GL.com self-serve Flow`
-- [x] update reCAPTCHA settings for `GL.com CC Validation_2022.04`
-- [x] update reCAPTCHA settings for `GL.com CC Validation_registration`
-- [x] update reCAPTCHA settings for `CustomersDot self-serve Flow`
-- [~] update reCAPTCHA settings for `GL.com CC Validation`
-
-Eng – `2022.10.05`:
-
-- [x] verify purchase scenario in GitLab.com (**GL.com self-serve Flow**)
-- [x] verify purchase scenario in CustomersDot (**CustomersDot self-serve Flow**)
-- [x] verify CC validation scenario in GitLab.com (**GL.com CC Validation_2022.04**)
-- [ ] verify [CC validation scenario](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/99202#how-to-set-up-and-validate-locally) during registration (**GL.com CC Validation_registration**)
-
-Post actions:
-
-- [x] EntApps: modify reCAPTCHA threshold to allow for E2E tests
-- [x] SET: reenable end-to-end tests
-
-#### Production
-
-EntApps – `2022.10.11 Afternoon Pacific Time`:
-
-- [x] update reCAPTCHA settings for `GL.com CC Validation_2022.04`
-- [x] Announce update in [#s_fullfilment](https://gitlab.slack.com/archives/CMJ8JR0RH) (internal channel), `#business-fulfillment-sync` and `s_fulfillment_fyi`. Tag Omar in one of the posts to re-post in `s_fulfillment_fyi`.
-
-
-Eng – `2022.10.11`:
-
-- [x] verify CC validation scenario in GitLab.com (**GL.com CC Validation_2022.04**)
-
-EntApps – `2022.10.11 After Successful Testing for GL.com CC Validation_2022.04`:
-
-- [x] update reCAPTCHA settings for `GL.com self-serve Flow`
-- [x] update reCAPTCHA settings for `CustomersDot self-serve Flow`
-- [x] update reCAPTCHA settings for `GL.com CC Validation_registration`
-- [x] Announce updates in [#s_fullfilment](https://gitlab.slack.com/archives/CMJ8JR0RH) (internal channel), `#business-fulfillment-sync` and `s_fulfillment_fyi`. Tag Omar in one of the posts to re-post in `s_fulfillment_fyi`.
-
-**Escalation Path**
-`#financesystems_help` Slack channel.",2
-115226057,2022-09-16 15:17:40.927,Improvements to custom action mapping,"The following discussion from !5439 should be addressed:
-
-- [ ] @vshumilo started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5439#note_1102613144): (+5 comments)
-
- > What do you think about mapping to the actual class?
- >
- > That way if the class name changes or is removed we will immediately get an error here?
-
-- [ ] @tvellishetty started a [discussion]https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5439#note_1103708391)
-
- > thought (non-blocking): similar to [using constants for amendment types](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3778), we could also use constants order action types",1
-115171593,2022-09-15 22:44:45.233,Update ActionTypeGenerator to determine actions based on business logic,"
-
-### Problem
-
-[`ActionTypesGenerator`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/d482c68e02279a049e34766362baa76efd869d95/app/services/zuora/orders/amendment/action_types_generator.rb) currently determines applicable actions types for a request on an individual basis.
-
-This approach was found to have the following two shortcoming:
-
-1. The order (or priority) in which the order actions were sent to Zuora may not be appropriate
- For e.g. when upgrading a self-managed subscription plan during renewal and true-ups are added, `AmendmentSubscriptionService` currently generates amendment in the following order:
-
- - Remove main product
- - Add main product
- - Renew subscription
- - Add true-ups
-
- In the current implementation of `ActionTypesGenerator`, it will generate these order actions in the following order:
-
- - [Remove main product](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/d482c68e02279a049e34766362baa76efd869d95/app/services/zuora/orders/amendment/action_types_generator.rb#L39)
- - [Add main product](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/d482c68e02279a049e34766362baa76efd869d95/app/services/zuora/orders/amendment/action_types_generator.rb#L43)
- - [Add true-ups](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/d482c68e02279a049e34766362baa76efd869d95/app/services/zuora/orders/amendment/action_types_generator.rb#L65)
- - [Renew subscription](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/d482c68e02279a049e34766362baa76efd869d95/app/services/zuora/orders/amendment/action_types_generator.rb#L49)
-
- Given Zuora processes Order actions in the order in which it is sent, it is critical to maintain the priority of the action types:
-
- 
-
-2. In the event when an order action type is twice: e.g when updating main product, and when updating options product OR when upgrading to a new product and adding true-ups. The determination logic is replicated in both `ActionTypeGenerator` and in `ParamConstructor`.
-
-
-### Proposal
-
-
-
-In order to resolve these two issues, action type in `ActionTypesGenerator` can be determined using business logic. `ActionTypesGenerator` returns a list of action types that are specific to CDot, such as `add_main_product`, `add_true_ups`, `remove_main_product`, `update_support_options` and so on.
-
-Crete a mapping of these business driven action types with that of Zuora before invoking Orders API.
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",3
-115166607,2022-09-15 20:30:06.020,Salesforce object creation behavior in CustomersDot,"### Background
-
-Via the integration with SFDC, Salesforce objects are created in CustomersDot following any self service purchases. These CDot services that integrate with Salesforce use `Customer` (later to be renamed `User`) information stored in the CDot database like company name, first and last name, email, country, state, zip to create the Salesforce objects.
-
-In https://gitlab.com/groups/gitlab-org/-/epics/8331, Fulfillment is looking at improving the data architecture of CDot, in particular the `Customer`/`BillingAccount` alignment. We are focusing on simplifying the `Customer` model, and treating this more like a ""User of the Customer Portal"" (later to be renamed `User`), persisting mainly email address, first name and last name. These `Customer`s (later renamed `User`s) would have memberships to `BillingAccount`s, which represent Zuora Accounts. Much of the data that is pulled from `Customer` currently, could be pulled directly from Zuora (and potentially cached in CDot in later iterations) via the Zuora Account and the Sold To Contact for the `BillingAccount`.
-
-### Proposal
-
-Investigate whether CustomersDot can use the Sold To Contact from the Subscription's Zuora Account, instead of `Customer` (to be renamed `User`) data stored in the CDot DB, to create the appropriate SFDC objects (Account, Contact, Opportunity, etc).
-
-Services in question:
-- All services in https://gitlab.com/gitlab-org/customers-gitlab-com/-/tree/main/app/services/salesforce
-- [`CreateSalesforceContactService`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/edf972ee51f37d98f23a0e38828e5c01d0f5ed3a/app/services/create_salesforce_contact_service.rb)
-- [`CreateSalesforceAccountService`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/99ecaa74572bcf1542b5ab9fadba3f410b402b18/app/services/create_salesforce_account_service.rb#L3)
-
-### Delivery strategy
-
-- [x] :one: Update the CustomersDot matching strategy to find an account within SFDC (https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5970):
-
-From:
-- Find SFDC Account by CusomersDot user `salesforce_account_id`
-- Find SFDC Account by CustomersDot user's Zuora Account `crm_id`
-- Find SFDC Contact by exact match to the CustomersDot user's email -> then find the Account for the Contact
-
-To:
-- Find SFDC Account by CustomersDot user's Zuora Account `crm_id`
-- Exact match with the Zuora Sold To contact email
-- Find SFDC Contact by exact match to the CustomersDot user's email -> then find the Account for the Contact
-
-Diff:
-- **Remove:** ~~Find SFDC Account by CusomersDot user `salesforce_account_id`~~
-- Find SFDC Account by CustomersDot user's Zuora Account `crm_id`
-- **New:** Exact match with the Zuora Sold To contact email
-- Find SFDC Contact by exact match to the CustomersDot user's email -> then find the Account for the Contact
-
----
-
-- [x] :two: Update the SFDC Account / Contact creation logic: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/6151
-
-From: Be based on the CustomersDot user's data.
-
-To: Be based on the CustomersDot user's Zuora Account Sold To Contact data.
-
-This change is added behind the `:create_sf_contact_from_zuora_contact` feature flag given:
-- We might have to hand out validation for the changes working properly in staging to another team, possibly not related to engineering.
-- Failures in the SFDC Contact and Account creation will impact revenue metrics.
-
-Feature Flag rollout issue: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5409
-
-:exclamation: :checkered_flag: The flag is currently disabled for staging and production
-
-----
-
-:eye: Extra context: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4822#note_1166606063",3
-115070479,2022-09-14 18:36:44.160,Generate all cloud licenses for the entire subscription term,"
-
-## Background
-Today, not all cloud licensing subscriptions are generated for the full subscription term.
-
-The logic defined [here](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/b555261242ad22c16a988161f2615b8aa07cb78f/app/models/concerns/license_creation.rb#L7-20) defines license end date upon creation of a license. The way this logic is written, if a customer purchases a multi-year subscription and is:
-
-1. On Cloud Licensing AND (QSR OR Ramp): license is issued for the full term purchased for :white_check_mark:
-1. On Cloud Licensing AND **(NOT on QSR and Not on Ramp)**: license is issued for one year only :exclamation:
-
-
-The thinking for this was that it provides sales with the opportunity for checking for true-ups prior to the start of a new year.
-
-## Problem
-With this logic, all Cloud Licensing Multi-Year Subscriptions where the customer is not on QSR will expire after 1 year. This will result in the customer losing access entirely at the start of the second year, unless:
-* Sales creates a new $0 quote for the second year, it is synced to Zuora/CDot, and then the customer receives a new activation code? :thinking: this is the only way to avoid this I can think of.
-* This is definitely not a process sales is familiar with.
-
-Related to this, because of the logic of `term start date` + `1 year`, we are actually creating expired activation codes on year 2. Separate issue for this specifically created here: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4815
-
-### What is the Impact?
-We expect the majority of customers who are on Cloud Licensing to also have QSR enabled, however, the following categories of customers are currently opted out of QSR by default, but not out of Cloud Licensing:
-1. Channel customers
-2. PubSec customers
-3. PO Required customers
-4. MSA customers
-5. Legacy Ramp customers
-6. Customers on non-standard terms
-
-
-A quick report of new/renewal quotes sent to Zuora with a `Close Date` in 2022, `Initial Term` > `12`, `TurnOnCloudLicensing__c` = `Yes` and `TurnOnSeatReconciliation__c` = `No`:
-* 40 quotes
-
-Looking at this same criteria but New quotes (not yet sent to Zuora), we see:
-* 92 quotes
-
-However, with SCL launch having only happened 2 months ago, we can expect this number to continue to increase at a higher rate as all customers are set to `TurnOnCloudLicensing__c` = `Yes` by default.
-
-### Reported Examples
-1. https://gitlab.zendesk.com/agent/tickets/331005
-2. https://gitlab.zendesk.com/agent/tickets/336134
-3. https://gitlab.zendesk.com/agent/tickets/340677
-4. https://gitlab.zendesk.com/agent/tickets/343223
-5. A [Mid-Market Customer](https://gitlab.my.salesforce.com/0014M00001kHwnHQAS) has encountered this after the first year of their 3-Year contract resulted in an ""expired"" cloud activation. [Ticket for reference](https://gitlab.zendesk.com/agent/tickets/351591).
-
-## Proposal
-
-**Summary:** Update license creation logic to generate all cloud licenses for the full term
-
-We can remove the dependency on QSR for generating a full term license. Instead, all cloud licenses could be generated for the full, Multi-Year term.
-
-**Pros:**
-* Eliminates risk of customer losing instance access/downgrading to free
-* Smoother customer experience, no need to enter a new activation code each year
-* Aligned to communications put out about cloud licensing, that there is no need for additional engagement each year as there is with legacy licenses
-
-**Cons:**
-* Potential loss of revenue as customer would not have an obligation to pay for true-ups prior to beginning the second/third year of their subscription term
-
-
-_NOTE: given the current process for creating ramp deals as 3 unique subscriptions, we should not remove the dependency here for creating 1-year subscriptions for a ramp deal._
-
-
-
Alternative option, ruled out
-
-#### Maintain current logic but define sales process for non-QSR customers
-
-Potentially, this is by design and sales leadership would prefer to keep this logic in place. If so, we need to make sure that the process is clearly understood by the sales team if their customer is on CL and not QSR. To be considered: additional enablement, sales alerts for upcoming license expiration.
-
-**Pros:**
-* Allows for the possibility of reconciling true-ups, increase in revenue
-
-**Cons:**
-* If sales is not proactive, can result in customer loss of access/downgrade to free
-
-
-
-### Result
-All cloud licenses are to be generated for the full subscription term. Customers will no longer lose access after 1 year on a MY subscription.",1
-114993136,2022-09-13 19:57:31.301,Offline Usage File: Support additional mime-types,"
-## Summary
-
-Customer emailed their offline license usage CSV file to us, and received an automated message back that it could not be processed.
-
-- [Customer ticket](https://gitlab.zendesk.com/agent/tickets/325524) (internal)
-- [subscription](https://www.zuora.com/apps/Subscription.do?method=view&id=8a12892d8234963001823e7435a3621b)
-- [customer account](https://customers.gitlab.com/admin/customer/437768/edit)
-
-
-
Full details of reported bug
-
-I see that a [cloud activation](https://customers.gitlab.com/admin/cloud_activation/11787) exists for the subscription, and the [offline license is here](https://customers.gitlab.com/admin/license/1034640).
-
-
-### Relevant logs and/or screenshots
-
-
-
-The csv file itself is recorded in the logs here:
-
-https://console.cloud.google.com/logs/query;cursorTimestamp=2022-09-13T09:46:10.532Z;query=resource.type%3D%22gce_instance%22%0A%22enrico.prevosti@2bits.it%22%0Atimestamp%3D%222022-09-13T09:46:10.532Z%22%0AinsertId%3D%221ohz9dwf6pj2i3%22;timeRange=PT8H?project=gitlab-subscriptions-prod
-
-`param[33]` specifically.
-
-I also noticed these log entries from `production.log`
-
-
-
-```
-I, [2022-09-13T09:46:10.086326 #969237] INFO -- : [d94d5079-51c0-4d87-b445-4bb7ddc1f37f] Started POST ""/rails/action_mailbox/mailgun/inbound_emails/mime"" for 172.70.135.221 at 2022-09-13 09:46:10 +0000
-I, [2022-09-13T09:46:10.088610 #969237] INFO -- : [d94d5079-51c0-4d87-b445-4bb7ddc1f37f] Processing by ActionMailbox::Ingresses::Mailgun::InboundEmailsController#create as */*
-I, [2022-09-13T09:46:10.089279 #969237] INFO -- : [d94d5079-51c0-4d87-b445-4bb7ddc1f37f] Parameters: {""Accept-Language""=>""it-IT, en-US"", ....... [snipped out]
-
-I, [2022-09-13T09:46:10.520825 #969237] INFO -- : [d94d5079-51c0-4d87-b445-4bb7ddc1f37f] GCS Storage (385.1ms) Uploaded file to key: [snipped] (checksum: eOh6+mF+m4cU4kqmXYFa1g==)
-I, [2022-09-13T09:46:10.522318 #969237] INFO -- : [d94d5079-51c0-4d87-b445-4bb7ddc1f37f] [ActiveJob] Enqueued ActionMailbox::RoutingJob (Job ID: f2d3a2bb-3291-4802-a2e7-b3321dd92c9b) to Sidekiq(default) with arguments: #>
-I, [2022-09-13T09:46:10.532055 #969237] INFO -- : [d94d5079-51c0-4d87-b445-4bb7ddc1f37f] No template found for ActionMailbox::Ingresses::Mailgun::InboundEmailsController#create, rendering head :no_content
-I, [2022-09-13T09:46:10.532353 #969237] INFO -- : [d94d5079-51c0-4d87-b445-4bb7ddc1f37f] Completed 204 No Content in 443ms (ActiveRecord: 19.1ms | Allocations: 25146)
-
-I, [2022-09-13T09:46:10.537933 #969416] INFO -- : [ActiveJob] [ActionMailbox::RoutingJob] [f2d3a2bb-3291-4802-a2e7-b3321dd92c9b] Performing ActionMailbox::RoutingJob (Job ID: f2d3a2bb-3291-4802-a2e7-b3321dd92c9b) from Sidekiq(default) enqueued at 2022-09-13T09:46:10Z with arguments: #>
-I, [2022-09-13T09:46:10.630964 #969416] INFO -- : [ActiveJob] [ActionMailbox::RoutingJob] [f2d3a2bb-3291-4802-a2e7-b3321dd92c9b] ESC[36m GCS Storage (69.6ms) ESC[0mESC[34mDownloaded file from key: [snipped]ESC[0m
-I, [2022-09-13T09:46:10.647535 #969416] INFO -- : [ActiveJob] [ActionMailbox::RoutingJob] [f2d3a2bb-3291-4802-a2e7-b3321dd92c9b] Rendered customer_mailer/provisioning_error_notification.html.haml within layouts/mailer (Duration: 4.6ms | Allocations: 3430)
-```
-
-
-
-Not sure how relevant it is, but this kinda stands out
-
-> No template found for ActionMailbox::Ingresses::Mailgun::InboundEmailsController#create, rendering head :no_content
-
-Production's console output:
-
-```
-I, [2022-09-13T09:46:10.537933 #969416] INFO -- : [ActiveJob] [ActionMailbox::RoutingJob] [f2d3a2bb-3291-4802-a2e7-b3321dd92c9b] Performing ActionMailbox::RoutingJob (Job ID: f2d3a2bb-3291-4802-a2e7-b3321dd92c9b) from Sidekiq(default) enqueued at 2022-09-13T09:46:10Z with arguments: #>
-```
-
-This log line indicates the `ActionMailbox::InboundEmail` object saved from this email has `id = 30`.
-
-Using the steps from [our troubleshooting docs](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/doc/license/cloud_license.md#troubleshooting), we can see the attached file has `mime-type: 'application/octet-stream'` instead of the [expected](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/d2ccaa0f4eab6ff879d4b00a8e5a9ac77db9a9f3/app/mailboxes/offline_provisioning_mailbox.rb#L25) `'text/csv'` so we end up with an *empty* attachment which triggers a [provisioning_error_notification](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/app/mailboxes/offline_provisioning_mailbox.rb#L14).
-
-
-Output from production
-
-```ruby
-inbound_email = ActionMailbox::InboundEmail.find(30)
-=> #
-
-mail = inbound_email.mail
-=> #...>
-
-license_usage_file = Array(mail.attachments).find do |attachment|
- attachment.filename == 'license_usage.csv' && attachment.mime_type == 'text/csv'
-end
-=> nil
-
-# Load all the attachments
-attachments = Array(mail.attachments)
-attachments.size
-=> 2
-
-attachment = attachments.last
-=> #,
-
-# the csv file is there and contains the usage data but the check for the mime_type doesn't succeed
-```
-
-
-
-
-## Cause of Bug
-In investigating this bug, it was determined that the mime-type `mime-type: 'application/octet-stream'` used by the customer here is not currently supported by our code. This mime-type is somewhat common in email clients.
-
-## Proposal for Resolution
-Consider the mime-type `mime-type: 'application/octet-stream'` as part of the [finding condition](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/d2ccaa0f4eab6ff879d4b00a8e5a9ac77db9a9f3/app/mailboxes/offline_provisioning_mailbox.rb#L25) for offline usage data reporting.
-
-## Reported examples
-
-1. https://gitlab.zendesk.com/agent/tickets/325524
-1. https://gitlab.zendesk.com/agent/tickets/333322
-1. https://gitlab.zendesk.com/agent/tickets/335931
-1. https://gitlab.zendesk.com/agent/tickets/334735
-1. https://gitlab.zendesk.com/agent/tickets/339231
-1. https://gitlab.zendesk.com/agent/tickets/340432
-1. https://gitlab.zendesk.com/agent/tickets/348986 (mime was `application/vnd.ms-excel`)
-
-",1
-114984766,2022-09-13 17:30:31.291,[Spike] Replace Customer references to salesforce_account_id,"### Problem
-
-There are places in the application where `salesforce_account_id` is referenced from `Customer` (to be renamed `User`). Here are a few examples:
-
-- [Salesforce::CreateAccountWorker](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/a9a5f019735cfacfca05992367c369f1bc95ef27/app/workers/salesforce/create_account_worker.rb#L42)
-- [Salesforce::FindAccountService](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/43b599e2dc1d52d074d97da549167c2b44a8bf69/app/services/salesforce/find_account_service.rb#L16)
-- [Api::CustomersController](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/5c81f897836d36021d982a6c4f5b2645e946f5a6/app/controllers/api/customers_controller.rb#L35)
-
-Note: This is not an exhaustive list. As we start working on this issue, we could promote this to a sub-epic and create issues for smaller pieces.
-
-### Proposal
-
-Let's review the application code to find all the places where `salesforce_account_id` is referenced from a `Customer`. When the feature flag (introduced in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4794) is enabled, the `Customer`'s `BillingAccountMembership` should be used instead. In many instances, the logged in Customer would have selected the `BillingAccount` they wish to administer, so this scope should be set and used to fetch `salesforce_account_id` instead of using the `salesforce_account_id` directly on `Customer`.
-
-The legacy code will be removed in a later issue once the feature flag has been vetted and promoted in production.",1
-114980769,2022-09-13 16:53:43.326,Ability to add an Order Action type more than once in a transaction,"
-
-### Problem
-
-[`ParamConstructor`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/tree/main/app/services/zuora/orders/actions/param_constructor/) (`Zuora::Orders::Actions::ParamConstructor`) is a set of middleware services that sanitizes and formulates params required by an order action service (`Zuora::Orders::Actions`).
-
-Currently, `ParamConstructor` returns a single object, assuming that a transaction can contain an Order action type only once. While this is true for most order actions in the existing business driven actions, there are a few exceptions such as:
-
- - `UpdateProduct`: a single transaction can update [main product](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/d2ccaa0f4eab6ff879d4b00a8e5a9ac77db9a9f3/app/services/amend_subscription_service.rb#L83) as well as [options product](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/d2ccaa0f4eab6ff879d4b00a8e5a9ac77db9a9f3/app/services/amend_subscription_service.rb#L94)
-
-### Proposal
-
-
-
-- Update `params` in `Zuora::Orders::Actions::BaseService` to be an Array of Objects instead of a single Object
-- Update `.execute` in `Zuora::Orders::Actions::BaseService` to loop through `params`
-- Individual `Zuora::Orders::Actions::ParamConstructor` returns an array instead of an object
-
-### Result
-
-- Ability to add more than one instance of an OrderAction type in a transaction
-- Signature of `ParamConstructor` is consistent for all order actions
-
-### Next steps (if any)
-
-### How will we measure success?",2
-114974741,2022-09-13 15:48:57.209,Replace Customer references to zuora_account_id in Rails Admin and Reconciliation services,"### Problem
-
-There are many places in the application where `zuora_account_id` is referenced from `Customer` (to be renamed `User`). Here are a few examples:
-
-- [Setting zuora_account_id on an Order](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/65d6481e7edac53a5839973c5f7aa6d916a10c75/app/models/order.rb#L308)
-- [FindOrCreateCustomerService](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/a370c2b4b1a4fec50a6be2291c7b0ec7c73e0cd7/app/services/find_or_create_customer_service.rb#L23)
-- [InvoicesFinder](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/ccc5b4d03aaa3929ab72b3a36fdc7b6eb14d672c/app/finders/invoices_finder.rb#L19)
-
-Note: This is not an exhaustive list. As we start working on this issue, we could promote this to a sub-epic and create issues for smaller pieces.
-
-### Proposal
-
-Let's review the application code to find all the places where `zuora_account_id` is referenced from a Customer. When the feature flag (introduced in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4794) is enabled, the `Customer`'s `BillingAccountMembership` should be used instead. In many instances, the logged in `Customer` would have selected the `BillingAccount` they wish to administer, so this scope should be set and used instead of using the `zuora_account_id` directly on `Customer`.
-
-The legacy code will be removed in a later issue once the feature flag has been vetted and promoted in production.
-
-**2022-12-16 UPDATE:** [We've broken this issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4807#note_1211450977) into an epic with many issues. I moved this issue into the [newly created epic](https://gitlab.com/groups/gitlab-org/-/epics/9515) and I've narrowed the focus of this issue to just those items that have been delivered to this point (admin changes and updates to the reconciliation services).",5
-114972511,2022-09-13 15:30:47.866,Create Admin tools for Account and AccountMembership,"### Problem
-
-Once Account and AccountMembership models are added, Support and other GitLab members will need a way to manage these records via the CustomersDot Admin interface.
-
-### Proposal
-
-Let's sections to the Admin interface (http://customers.gitlab.com/admin) for the new models `Account` and `AccountMembership`. This should allow admins to:
-
-- View all Accounts
-- View AccountMemberships for an Account
-- View AccountMemberships for a Customer
-- Create an AccountMembership
-- Delete an AccountMembership
-
-Other functionality like creating or editing an Account, might be useful, but let's check with the team on this before adding, or it could always be added later.",3
-114969953,2022-09-13 15:13:54.902,Add billing_account_id to Order,"### Problem
-
-The `Order` model currently has an association with an individual `Customer` (to be renamed `User`) via foreign key `customer_id`. This relationship is problematic for many reasons and should be associated with a `BillingAccount` instead.
-
-### Proposal
-
-With the new data structure for `BillingAccount` and `BillingAccountMembership`, the `Order` model should be updated to be associated with a `BillingAccount` instead of a `Customer`. The full migration will need to be done in steps, spread across multiple issues and MRs.
-
-For this issue, we will focus on getting to compatibility mode where `customer_id` continues to be set, but the `billing_account_id` will also be set. In this issue, the following should be covered:
-
-- [x] Add `billing_account_id` column - https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5750
-- [x] Start setting `billing_account_id` in application logic (e.g. when creating/updating a `Order`) - https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5770
-- [x] Use new `billing_account` relationship instead of `customer` when `account_data_structure` [feature flag](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4867) is enabled - https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5874
-- [x] Introduce rake task to backfill `billing_account_id` for existing `Order` records - https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5967
- - ~~If it's easier, this could be added to the rake task from https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4798. Or it could be a standalone task.~~
-
-### Result
-
-`billing_account_id` will be populated similar to how `customer_id` is set currently. `customer_id` will continue to be populated to ensure compatibility and allow us to revert if needed. When the feature flag is enabled, the new `billing_account_id` will be used instead of `customer_id`.",3
-114968429,2022-09-13 15:03:37.936,Add billing_account_id to License,"### Problem
-
-The `License` model currently has an association with an individual `Customer` (to be renamed `User`) via foreign key `customer_id`. This model really should be associated with a `BillingAccount` instead of an individual `Customer`. Most data that references `Customer` should be pulled directly from the `BillingAccount`, or from the Sold To Contact associated with the `BillingAccount`.
-
-### Proposal
-
-With the new data structure for `BillingAccount` and `BillingAccountMembership`, the `License` model should be updated to be associated with an `BillingAccount` instead of a `Customer`. The full migration will need to be done in steps, spread across multiple issues and MRs.
-
-For this issue, we will focus on getting to compatibility mode where `customer_id` continues to be set, but the `billing_account_id` will also be set. In this issue, the following should be covered:
-
-- [x] Add `billing_account_id` column: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5732
-- [x] Start setting `billing_account_id` in application logic (e.g. when creating a `License`) https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5747
-- [x] Use new `billing_account` relationship instead of `customer` when `account_data_structure` [feature flag](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4867) is enabled https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5798
-- [x] Introduce rake task to backfill `billing_account_id` for existing `License` records https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5967
- - ~~If it's easier, this could be added to the rake task from https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4798. Or it could be a standalone task.~~
-
-### Result
-
-`billing_account_id` will be populated similar to how `customer_id` is set currently. `customer_id` will continue to be populated to ensure compatibility and allow us to revert if needed. When the feature flag is enabled, the new `billing_account_id` will be used instead of `customer_id`.",3
-114965413,2022-09-13 14:46:32.664,Add billing_account_id to CloudActivation,"### Problem
-
-The `CloudActivation` model currently has an association with an individual `Customer` (to be renamed `User`) via foreign key `customer_id`. This relationship is problematic for many reasons and should be associated with a `BillingAccount` instead.
-
-### Proposal
-
-With the new data structure for `BillingAccount` and `BillingAccountMembership`, the `CloudActivation` model should be updated to be associated with an `BillingAccount` instead of a `Customer`. The full migration will need to be done in steps, spread across multiple issues and MRs.
-
-For this issue, we will focus on getting to a compatibility mode where `customer_id` continues to be set, but the `billing_account_id` should also be set. In this issue, the following should be covered:
-
-- [x] Add `billing_account_id` column
- - https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5717
-- [x] Start setting `billing_account_id` in application logic (e.g. when creating a `CloudActivation`)
- - https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5738
-- [x] Use new `billing_account` relationship instead of `customer` when `account_data_structure` [feature flag](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4867) is enabled
- - https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5754
- - https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5809
- - https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5836
- - https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5858
-- [x] Introduce rake task to backfill `billing_account_id` for existing `CloudActivation` records
- - If it's easier, this could be added to the rake task from https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4798. Or it could be a standalone task.
- - https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5890
-
-### Result
-
-`billing_account_id` will be populated similar to how `customer_id` is set currently. `customer_id` will continue to be populated to ensure compatibility and allow us to revert if needed. When the feature flag is enabled, the new `billing_account_id` will be used instead of `customer_id`.",3
-114901357,2022-09-12 21:45:12.448,Backfill BillingAccounts and BillingAccountMemberships for existing Customers,"### Problem
-
-Once `BillingAccount` and `BillingAccountMembership` records are being created (introduced in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4795 and https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4796) and kept in sync (introduced in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4797), we should be in a position to confidently backfill this data for existing `Customer` (to be renamed `User`) records.
-
-### Proposal
-
-Create a rake task to backfill `BillingAccount` and `BillingAccountMembership` records for existing `Customer` (to be renamed `User`) records. We should consider an idempotent rake task that can be run multiple times. We may need to run this several times as we test out the issues for creating `BillingAccount`s and keeping the information in sync.
-
-This task will need to be run at least once before [the feature flag](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/160/edit), `account_data_structure`, is enabled to ensure we can confidently start using the new data architecture in production. Steps have been added to the feature flag rollout issue, https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4867+, to run the rake task introduced in this issue in non-production, then production environments. As part of this issue, we should verify the rake task works by running it in staging and production to test, but we will run it again as part of the feature flag rollout. Please update [the rollout issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4867) with the exact rake task command to run in staging and production.
-
-Question to consider:
-- What happens when the `zuora_account_id` and `salesforce_account_id` aren't consistent between `Customer` (to be renamed `User`) records associated to the same `BillingAccount`? We should probably run a query to see how prevalent this is. If this does happen, how prevalent is it and can we account for these discrepancies programmatically?",3
-114901124,2022-09-12 21:38:50.695,Mechanism to keep BillingAccount data in sync with Zuora,"### Problem
-
-With `BillingAccount` records being created and stored locally in CustomersDot, it will be important to make sure the data stored locally is kept in sync with the Single Source of Truth, Zuora. The main concern at this point might be the `BillingAccount` `name` as we may not be caching much else locally. We can reference the issue where the `BillingAccount` model was introduced for more information, https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4792.
-
-### Proposal
-
-In this issue, we need to work with @gitlab-com/business-technology/enterprise-apps/zuora-architects to build the mechanism for ensuring changes to Zuora Account (mainly `name` and `salesforce_account_id`) are synced to CustomersDot.
-
-We've engaged the Finsys team via https://gitlab.com/gitlab-com/business-technology/enterprise-apps/financeops/finance-systems/-/issues/886. In that issue, the Finsys team will create a Custom Event for Zuora Account which will send a callout notification to CustomersDot.
-
-In this issue, we will be responsible for creating the API endpoint for updating the `BillingAccount` record based on this callout notification.
-
-##### Checklist
-
-- [x] Add new API endpoint to enqueue sync account background job
- - https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5995
-- [x] Add sync account worker to update BillingAccount with Zuora Account data
- - https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5995
-- [x] Update documentation in [doc/zuora/zuora_callouts.md](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/1c704fd9e437fd519a4b989884192eece9d080eb/doc/zuora/zuora_callouts.md)
- - https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/6031
-
-### Availability & Testing
-
-
-
-When we arrive at a solution, we should add tests to ensure that this _mechanism_ indeed passes and receives correct data with Zuora. This will likely take the form of integration tests, but contract tests would also work.",5
-114900593,2022-09-12 21:26:59.551,Create BillingAccountMembership when processing Zuora Callouts,"### Problem
-
-In https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4795, the `BillingAccount` and `BillingAccountMembership` should be created when a purchase originates from CustomersDot (ie. self service purchase). However, there are still places where the `BillingAccount` and/or `BillingAccountMembership` should be created outside of this workflow.
-
-- Sales-assisted purchases
-- Renewals
-
-In these cases, CustomersDot processes the callout from Zuora in order to update the `Customer` (to be renamed `User`) and provision the subscription. The Zuora callout code in CustomersDot needs to be updated to handle `BillingAccount` and `BillingAccountMembership` creation.
-
-### Proposal
-
-In this issue, the `FindOrCreateCustomerService` should be updated to create an `BillingAccountMembership` for a `Customer` (to be renamed `User`) when the `zuora_account_id` attribute is present. It should also consider creating the `BillingAccount` if it doesn't already exist.
-
-If an existing `Customer` is found, but the `Customer` is not associated with the `BillingAccount` matching `zuora_account_id`, a new `BillingAccountMembership` (and potentially new `BillingAccount`) could be created.
-
-We've decided for this first iteration (https://gitlab.com/groups/gitlab-org/-/epics/8950), that we want to ensure only one `BillingAccountMembership` for a Customer. This is to keep the same behavior as before, allowing us to step into the new data architecture and roll out the changes more effectively. See the description in https://gitlab.com/groups/gitlab-org/-/epics/8950#purpose for more info.
-
-#### Feature flag
-
-This logic will be feature flagged in the short term using [the `:account_data_persistence` flag](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/171/edit). Here is the rollout issue for it: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5060+. Once we confirm the data is being created as expected and doesn't have any negative effects with the existing creation behavior, we will remove this feature flag.
-
-As this is just creating data in the new models but not using it yet, we shouldn't need to use the `:account_data_structure` [feature flag](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/160/edit) for this logic. Eventually, the code setting `customer.zuora_account_id` will be removed but for now both will be set. This will allow us to roll out changes more efficiently without worry of breaking existing functionality.
-
-### Availability & Testing
-
-
-
-Tests should be created/updated to account for this change. Test to ensure that:
-
-- Likely Model and Controller specs (to ensure proper validation and relation)
-- UI specs",3
-114895317,2022-09-12 19:43:32.680,Create BillingAccount and BillingAccountMembership after purchase,"### Proposal
-
-The `SubscribeService` and `Zuora::Orders::PostCreationService` should be updated to create a `BillingAccount` and `BillingAccountMembership` at the same time `zuora_account_id` is set on the `Customer` (to be renamed `User`).
-
-#### Feature flag
-
-This logic will be feature flagged in the short term using [the `:account_data_persistence` flag](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/171/edit). Here is the rollout issue for it: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5060+. Once we confirm the data is being created as expected and doesn't have any negative effects with the existing creation behavior, we will remove this feature flag.
-
-As this is just creating data in the new models but not using it yet, we shouldn't need to use the `:account_data_structure` [feature flag](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/160/edit) for this logic. Eventually, the code setting `customer.zuora_account_id` will be removed but for now both will be set. This will allow us to roll out changes more efficiently without worry of breaking existing functionality.
-
-### Delivery plan
-- [X] Restrict the validations in `BillingAccountMembership` to allow a single account per `Customer`: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5622
-- [x] Create a service that given a customer will update (if necessary) the `BillingAccount` and `BillingAccountMembership` records to reflect the same association the customer is holding: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5660
-
-Plug in the service in the places the customer's `zuora_account_id` set / updated?
-- [x] FindOrCreateCustomerService: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5807
-- [x] SubscribeService: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5807
-- [x] Zuora::Orders::PostSubscriptionCreationService: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5810
-- [x] `clear_missing_zuora_account_ids` task: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5811
-- [x] :exclamation: Rails Admin allows the update to the customer `zuora_account_id`, there is no code in CDot for this as this update uses the RailsAdmin default logic. Make sure the BillingAccount and BillingAccountMemberships are properly updated base on that: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5832
-- [x] Create an issue for ~QA pointing to the service so the associated objects are created in the QA context as well: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5128
- - PostZuoraRefreshTask
- - OrderApiClient
- - QA::Resource::Subscription",3
-114895045,2022-09-12 19:37:07.677,Introduce a feature flag for using new Account structure,"### Proposal
-
-To deliver features more efficiently and safely, let's introduce a feature flag that can be used to gate the new logic for using Accounts and AccountMemberships. The feature flag could be named something like `account_data_structure` but open to other suggestions. When the flag is enabled, the new data structure would be used, otherwise continue to use the old relationships. Even when the flag is disabled though, we could start populating Accounts and Account Memberships to get into a ""compatibility mode"" where we could easily switch the flag on and off as needed.
-
-TODOs:
-
-- [x] Create the [feature flag in CustomersDot project](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags): [account_data_structure](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/160/edit) created.
-- [x] Create an issue to rollout this feature flag and add it to [the epic](https://gitlab.com/groups/gitlab-org/-/epics/8331): https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4867+",1
-114890486,2022-09-12 18:20:49.046,Create AccountMembership model,"### Problem
-
-CustomersDot needs a model that represents a `Customer`'s membership to an `Account`. This would be similar, but not a 1:1 mapping to a Zuora Contact.
-
-### Proposal
-
-Create migration and model for `AccountMembership` which represents a `Customer` ability to manage an `Account` (Zuora Billing Account).
-
-Attributes to consider for model:
-
-* id
-* customer_id
-* account_id
-
-The relationships created in this join table will be informed by Zuora Contact data, typically received via Zuora Callouts. When processing callouts or after a purchase is made in CustomersDot, the `AccountMembership` may be created as a result. This will be implemented in later issues.",2
-114890145,2022-09-12 18:12:14.419,Create Account model,"### Problem
-
-CustomersDot needs a model that represents a Zuora Customer Account.
-
-### Proposal
-
-Create migration and model for `Account` that maps 1:1 with a Zuora Customer Account.
-
-Attributes to consider for model:
-- `id`
-- `name` (e.g. Customer.company_name)
-- `zuora_account_id`
-- `salesforce_account_id`
-
-Other attributes to consider:
-- `company_size`
- - This may not need to be persisted on Account as it is currently only used when creating the Salesforce Account when creating a subscription via `SubscriptionManagerService`. I don't think it is needed for future purchases and therefore probably does not need to be synced.
-- `vat_code`
- - This may not need to be persisted on Account as it is currently only used in `SubscribeService` or `Zuora::Orders::Entities::NewAccount` before a new account is created. I don't think it is needed for future purchases and therefore probably does not need to be synced.
-- `billable`
- - This attribute probably makes more sense at the `Customer` or `AccountMembership` level, but may not make sense as currently implemented. It's used only to determine which customers should receive a welcome email. This may require a follow-up issue, perhaps not part of this epic.
-- `login_activated`
- - This attribute probably makes more sense at the `Customer` or `AccountMembership` level, but may not make sense as currently implemented. When enabled, this attribute prevents access to CustomersDot. It is set when a Zuora Callout is processed and a subscription is determined to be managed by a reseller. This may require a follow-up issue, perhaps not part of this epic.
-
-It might be a good idea to review [the latest `schema.rb`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/db/schema.rb#L112) to make sure all appropriate Customer attributes have been considered for the Account model.
-
-We are leaning towards very light duplication of data that exists in Zuora, and rely on fetching from Zuora when needed. We will revisit caching in later iterations, but it probably makes sense to store Account `name` and `salesforce_account_id` locally on this table given they will be used frequently. This means we will need to keep this model in sync with Zuora, which will be implemented in a later issue.",2
-114866402,2022-09-12 13:50:09.007,Consolidate subscription state finding logic,"### Problem
-
-For a few of the issues in https://gitlab.com/groups/gitlab-org/-/epics/8402, new logic was introduced in CustomersDot to find subscription state. This new logic was introduced in [the `Subscriptions::VersionManager` class](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/647dcf59d97e50410274960ab0c847e24b7097ab/app/services/subscriptions/version_manager.rb), used in [the `Subscription#previous_subscription` method](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/bf2057bd9b9e6dcadbcdff3e0ad43fb4b9d65d43/app/models/subscription.rb#L214) as well as a handful of other places.
-
-There are a few other places, such as the ones below, where subscription state is determined for fetching the current subscription or future versions.
-
-- [`Subscription#current_subscription`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/bf2057bd9b9e6dcadbcdff3e0ad43fb4b9d65d43/app/models/subscription.rb#L48)
-- [`Subscription#subscription_on`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/bf2057bd9b9e6dcadbcdff3e0ad43fb4b9d65d43/app/models/subscription.rb#L52)
-- [`SubscriptionFutureVersionFinder`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/4e6b41d7a311ca7ed54f6a9174cec0cb88ceec64/lib/subscription_future_version_finder.rb#L3) (this is used in for the cloud licensing and seat link)
-
-### Proposal
-
-Let's investigate whether the new class `Subscriptions::VersionManger` can be used for the cases above, and consolidate our subscription state logic.",3
-114785328,2022-09-10 18:18:26.974,Upgrade Rails to 7,"
-
-### Problem
-
-[In the light of freezing Rails bug fixes for 6.1 releases](https://rubyonrails.org/2022/9/9/Rails-7-0-4-6-1-7-6-0-6-have-been-released), only security fixes will be landed, we should migrate to Rails 7 to keep our version up to date.
-
-
-BTW: Rails 7 has more support, for example: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5678#note_1146728976
-```
- # Rails 6 `upsert` does not support `:update_only` keyword argument. Rails 7 support `:update_only`.
- # After upgrade to Rails 7, there is no need to query `existing record's created_at`. It could simplify to:
- # LocalRecord.upsert({ name: resource, csv: csv, created_at: current_time, updated_at: current_time },
- # unique_by: :name, update_only: [:csv, :updated_at])
-
-```
-
-### Next steps (if any)
-
-### How will we measure success?",2
-114759324,2022-09-09 19:27:54.952,Add additional checks in RenewSubscription order action,"
-
-### Problem
-
-As observed in this [comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5397#note_1094164054), if `params = { auto_renew: false, renew: true }`, AmendSubscriptionService code will only generate `::Amendment::Types::TERMS_AND_CONDITIONS`.
-
-However, `ActionTypesGenerator` will generate both actions: `:renew_subscription` and `:terms_and_conditions`.
-
-### Proposal
-
-
-
-Update `check_renewal` in `ActionTypesGenerator` to check for auto renewal and adding new product:
-
-```ruby
-def check_renewal
- return unless renewing?
- return if auto_renew_amendment?
- return if adding_new_product?
-
- actions << :renew_subscription
- actions << :update_product if eoa_starter_bronze_uplift_qualified?
-end
-```
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-114691429,2022-09-08 20:01:54.722,Add application instrumentation category,"
-
-### Problem
-
-'Application instrumentation' category was [recently added](https://gitlab.com/gitlab-com/www-gitlab-com/raw/master/data/stages.yml), it needs to be added to feature category config.
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",1
-114676684,2022-09-08 15:58:20.429,[Feature flag] Enable use_orders_api_subscription_update_workflow - Subscription Update,"
-
-# Summary
-
-
-
-This issue is to rollout [Transition Subscription Update workflow to use Orders API](https://gitlab.com/groups/gitlab-org/-/epics/9046) on CustomersDot production,
-that is currently behind the [`use_orders_api_subscription_update_workflow`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/167/edit) feature flag.
-
-## Owners
-
-- Team: Fulfillment Platform
-- Most appropriate Slack channel to reach out to: `#g_fulfillment_platform`
-- Best individual to reach out to: @aish.sub
-- PM: @tgolubeva @mgass1
-
-## Stakeholders
-
-
-
-## The Rollout Plan
-
-- Partial Rollout with specific Customers on CustomersDot, [via Unleash](https://docs.gitlab.com/ee/operations/feature_flags.html#user-ids)
-- Rollout on CustomersDot for a certain period (How long)
-- Percentage Rollout on CustomersDot
-- Rollout Feature for everyone as soon as it's ready
-
-
-
-## Testing User/Customer IDs
-
-
-
-## Expectations
-
-### What are we expecting to happen?
-
-
-
-### What might happen if this goes wrong?
-
-
-
-### What can we monitor to detect problems with this?
-
-
-
-## Rollout Steps
-
-### Rollout on non-production environments
-
-- [x] Ensure that the feature MRs have been deployed to non-production environments, i.e. `customers-staging`.
-- [x] Consider announcing that the flag will be enabled to potentially impacted groups, e.g. `#s_fulfillment_engineering`
-- [x] Enable the feature globally on non-production environments by applying the appropriate environment, e.g. `customers-staging` and `customers-development`.
-- [x] Notify the Software Engineers in Test (SETs) for Fulfillment via Slack and in a comment in this issue when enabling a feature flag in `customers-staging` as it can impact the QA pipeline.
-- [x] Verify that the feature works as expected. Posting the QA result in this issue is preferable. https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5062
-
-### Preparation before production rollout
-
-- [x] Ensure that the feature MRs have been deployed to production
-- [ ] Check if the feature flag change needs to be accompanied with a
- [change management issue](https://about.gitlab.com/handbook/engineering/infrastructure/change-management/#feature-flags-and-the-change-management-process).
- Cross link the issue here if it does.
-- [x] Ensure that you or a representative in Fulfillment can be available for at least 2 hours after feature flag updates in production.
- If a different developer will be covering, or an exception is needed, please inform the Fulfillment team in #s_fulfillment_engineering
-- [ ] Ensure any documentation has been updated
-- [x] Announce on [the feature issue](ISSUE LINK) an estimated time this will be enabled on production if applicable
-- [x] If the feature might impact the user experience, notify `#s_fulfillment` and potentially `#support_gitlab-com`, as well as your team channel ([more guidance when this is necessary in the dev docs](https://docs.gitlab.com/ee/development/feature_flags/controls.html#communicate-the-change)).
-
-### Global rollout on CustomersDot production
-
-- [x] Confirm the feature flag is enabled on `staging` without incident
-- [ ] Roll out the feature to targeted testing users first (if applicable)
-- [x] If applicable, [incrementally roll out](https://docs.gitlab.com/ee/operations/feature_flags.html#percent-rollout) the feature.
-- [x] Verify the change has the desired outcome with the limited rollout before enabling the feature globally on production.
-- [x] Enable the feature globally on production environment
-- [ ] Announce on [the feature issue](ISSUE LINK) that the feature has been globally enabled.
-- [ ] Wait for [at least one day for the verification term](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release).
-
-### Release the feature
-
-After the feature has been [deemed stable](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release),
-the clean up should be done as soon as possible to permanently enable the feature and reduce complexity in the codebase.
-
-
-- [ ] Create a merge request to remove `
` feature flag
- - [ ] Remove all references to the feature flag from the codebase
-- [ ] Ensure that the cleanup MR has been deployed to both staging and production
-- [ ] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Ensure production environment is still working as expected
-- [ ] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Close this rollout issue.
-
-## Rollback Steps
-
-- [ ] This feature can be disabled by performing the following actions:
- - [ ] Disable the Unleash flag on the [feature flag page](LINK TO THE FEATURE FLAG EDIT PAGE)",1
-114676562,2022-09-08 15:55:48.864,[Feature flag] Enable use_orders_api_to_preview_amendment - Preview Subscription Update,"
-
-# Summary
-
-
-
-This issue is to rollout [Use of Orders API when previewing Subscription Update](https://gitlab.com/groups/gitlab-org/-/epics/9046) on CustomersDot production,
-that is currently behind the [`use_orders_api_to_preview_amendment`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/157/edit) feature flag.
-
-Testing issue: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5063
-
-## Owners
-
-- Team: Fulfillment platform
-- Most appropriate Slack channel to reach out to: `#g_fulfillment_platform`
-- Best individual to reach out to: @tvellishetty
-- PM: @tgolubeva
-
-## Stakeholders
-
-
-
-## The Rollout Plan
-
-- Partial Rollout with specific Customers on CustomersDot, [via Unleash](https://docs.gitlab.com/ee/operations/feature_flags.html#user-ids)
-- Rollout on CustomersDot for a certain period (How long)
-- Percentage Rollout on CustomersDot
-- Rollout Feature for everyone as soon as it's ready
-
-
-
-## Testing User/Customer IDs
-
-
-
-## Expectations
-
-### What are we expecting to happen?
-
-
-
-### What might happen if this goes wrong?
-
-
-
-### What can we monitor to detect problems with this?
-
-
-
-## Rollout Steps
-
-### Rollout on non-production environments
-
-- [x] Ensure that the feature MRs have been deployed to non-production environments, i.e. `customers-staging`.
-- [ ] Consider announcing that the flag will be enabled to potentially impacted groups, e.g. `#s_fulfillment_engineering`
-- [x] Enable the feature globally on non-production environments by applying the appropriate environment, e.g. `customers-staging` and `customers-development`.
-- [x] Notify the Software Engineers in Test (SETs) for Fulfillment via Slack and in a comment in this issue when enabling a feature flag in `customers-staging` as it can impact the QA pipeline.
-- [ ] Verify that the feature works as expected. Posting the QA result in this issue is preferable.
-
-### Preparation before production rollout
-
-- [x] Ensure that the feature MRs have been deployed to production
-- [ ] Check if the feature flag change needs to be accompanied with a
- [change management issue](https://about.gitlab.com/handbook/engineering/infrastructure/change-management/#feature-flags-and-the-change-management-process).
- Cross link the issue here if it does.
-- [x] Ensure that you or a representative in Fulfillment can be available for at least 2 hours after feature flag updates in production.
- If a different developer will be covering, or an exception is needed, please inform the Fulfillment team in #s_fulfillment_engineering
-- [ ] Ensure any documentation has been updated
-- [x] Announce on [the feature issue](ISSUE LINK) an estimated time this will be enabled on production if applicable
-- [x] If the feature might impact the user experience, notify `#s_fulfillment` and potentially `#support_gitlab-com`, as well as your team channel ([more guidance when this is necessary in the dev docs](https://docs.gitlab.com/ee/development/feature_flags/controls.html#communicate-the-change)).
-
-### Global rollout on CustomersDot production
-
-- [x] Confirm the feature flag is enabled on `staging` without incident
-- [ ] Roll out the feature to targeted testing users first (if applicable)
-- [ ] If applicable, [incrementally roll out](https://docs.gitlab.com/ee/operations/feature_flags.html#percent-rollout) the feature.
-- [x] Verify the change has the desired outcome with the limited rollout before enabling the feature globally on production.
-- [x] Enable the feature globally on production environment
-- [x] Announce on [the feature issue](ISSUE LINK) that the feature has been globally enabled.
-- [ ] Wait for [at least one day for the verification term](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release).
-
-### Release the feature
-
-After the feature has been [deemed stable](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release),
-the clean up should be done as soon as possible to permanently enable the feature and reduce complexity in the codebase.
-
-
-- [ ] Create a merge request to remove `` feature flag
- - [ ] Remove all references to the feature flag from the codebase
-- [ ] Ensure that the cleanup MR has been deployed to both staging and production
-- [ ] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Ensure production environment is still working as expected
-- [ ] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Close this rollout issue.
-
-## Rollback Steps
-
-- [ ] This feature can be disabled by performing the following actions:
- - [ ] Disable the Unleash flag on the [feature flag page](LINK TO THE FEATURE FLAG EDIT PAGE)",1
-114675808,2022-09-08 15:44:26.912,Add warning in Danger if a mailer preview is skipped,"## Proposal
-
-- [x] Add previews for any mailers that don't already have one
-- [x] Add a warning to [the mailers Dangerfile](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/f8315c9636beef4f2c9baf0a6537f2db91fd325a/danger/mailers/Dangerfile), `mailers/Dangerfile`, to remind people to add a mailer preview if it's not in the MR.
-
-## Follow-up
-
-The following discussion from !5396 should be addressed:
-
-- [ ] @cwiesner started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5396#note_1093158284): (+1 comment)
-
- > **question (non-blocking):** I wonder if it makes sense to add some checks to ensure we have a preview available for every mail :thinking:",1
-114609928,2022-09-07 20:10:21.104,Determine TERMS_AND_CONDITIONS order action using Orders API,"### Problem
-
-Use `ActionTypeGenerator` to determine when a request pertains to updating `TERMS_AND_CONDITIONS` of a subscription.
-
-### Proposal
-
-
-
-In this issue, we address (1), (2) and (3) for 'TERMS_AND_CONDITIONS' functionality in the following ways:
-
-(1) Add method `#check_terms_and_conditions` to `Orders::Amendment::ActionTypesGenerator` (see `#check_renewal` for implementation structure). The method returns based on the `params` whether a product is being added to subscription. Use existing logic from `AmendSubscriptionService`.
-
-(2) Add method `#terms_and_conditions` to `Zuora::Orders::FeatureAvailability`. This checks if `Unleash.enabled?(:use_orders_api_terms_and_conditions_workflow)` is enabled. Add `terms_and_conditions` to `SUPPORTED_TYPES` constant
-
-(3) Create validator `Zuora::Orders::Amendment::Validators::TermsAndConditions`. Implement `#validate` method that validates if the request for updating terms and conditions is valid. (see `Renewal validator` for implementation structure). Use existing validation logic from `AmendSubscriptionService`. If no validation is present, the validator can return an empty array.
-
-Create FF `use_orders_api_terms_and_conditions_workflow`.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-114472408,2022-09-06 01:13:05.448,Set default payment before an upgrade,"
-
-### Problem
-
-Before an upgrade (adding new and removing existing main product), the [default payment method is updated](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/34a6597b6ae6e3b9bd304a7e83db7847c28f0939/app/services/amendment_base_service.rb#L217).
-
-We need a way to incorporate this change when upgrading using Orders API.
-
-### Proposal
-
-
-
-One option is to set the default payment in the [`PreCreationService`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/34a6597b6ae6e3b9bd304a7e83db7847c28f0939/app/services/zuora/orders/pre_creation_service.rb).
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-114364728,2022-09-02 18:11:26.677,Remove obsolete worker CreateAmendmentWorker,"### Problem
-
-It appears that as of https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5064, the `CreateAmendmentWorker` is no longer used within CustomersDot. It was previously used in the `billingRateUpdateJob` but this was removed in favor of the renewal capabilities of the `AutoRenewJob`.
-
-### Proposal
-
-Let's remove the obsolete worker, `CreateAmendmentWorker`, and its related code.",1
-114362745,2022-09-02 16:58:41.228,Change type of `actions` from Array to Set,"The following discussion from !5354 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5354#note_1086797196): (+1 comment)
-
- > **Suggestion (non-blocking):** I wonder if we made `actions` a [Set](https://ruby-doc.org/stdlib-2.7.6/libdoc/set/rdoc/Set.html) instead of an Array, if that would be slightly more efficient. It would eliminate duplicates so we wouldn't need to call `.uniq` here. WDYT?
- >
- > This could be in a different MR if you like the suggestion.",1
-114349235,2022-09-02 12:50:13.558,Exclude unsactioned region on GitLab.com purchase page,"
-
-Background: https://gitlab.com/gitlab-com/legal-and-compliance/-/issues/1024
-
-### Problem
-
-
-On the country pick list, ""Ukraine"" specifically excludes ""the Crimea Region"" but should be updated to exclude ""the Crimea, Donetsk, and Luhansk regions""
-
-
-
-### Proposal
-
-
-
-Exclude ""the Crimea, Donetsk, and Luhansk regions""
-
-### Result
-
-Country list is compliant
-
-### Next steps (if any)
-
-### How will we measure success?",3
-114321038,2022-09-01 22:37:00.232,Business driven validation for order actions,"
-
-### Problem
-
-In addition to validating individual order action types, there are other complex, business driven validations such as [validating an upgrade](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/d2d6b0627183cb23baa6b296d76c3718ae7b56b5/app/services/amendment_base_service.rb#L215) and so on.
-
-This kind of validation most often involves more than one order action type.
-
-
-
-The purpose of this issue is to add ability to validate the business driven validations.
-
-### Proposal
-
-
-
-There are at least two ways we can approach it:
-
-- have all the complex use cases in a single file with separate methods OR,
-- have a separate class for each of them
-
-TBD.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-114311181,2022-09-01 18:45:35.537,Use Orders API for Plan upgrade workflow,"
-
-### Problem
-
-When upgrading a plan (for e.g. from `Premium` to `Ultimate`), [`subscription_upgrades`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/58b903bd713166e58c21b469779859320e2fc10b/config/routes.rb#L102) endpoint is used to preview and perform the upgrade.
-
-There are specifically two Order action types involved: Add a product and Remove a product.
-
-This issue pertains with using Orders API to perform the upgrade.
-
-Related to https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5335#note_1085605708
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",3
-114296571,2022-09-01 14:12:52.322,Investigate: activation code error received for unknown reason,"
-
-### Problem
-Customer received a generic error while trying to apply a cloud license activation code. Details:
-* Customer had seat overages, but paid for them as true-ups. However they were applied as two different line items. Was the system maybe not recognizing that all true-ups were paid for?
-* They first tried to apply the activation code prior to the subscription start date of the renewal; this is when the error occurred. Once they tried on the first day, they were successful in activating. Could the date be a factor?
-
-Supporting material:
-* Full context in Slack thread: https://gitlab.slack.com/archives/CMJ8JR0RH/p1661547828336769
-* Zendesk Ticket link (includes screenshot of customer admin view): https://gitlab.zendesk.com/agent/tickets/318851
-
-### Ask
-* Investigate what caused this error to occur.
-* Determine how this can be prevented in the future - do we need any changes, or was this a one-off situation?
-
-### Resolution
-",5
-114296114,2022-09-01 14:05:14.734,"Take care of `app/jobs/zuora` classes (Follow-up from ""Add feature categories to job classes"")","The following discussion from !5333 should be addressed:
-
-- [ ] @paulobarros started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5333#note_1084189875): (+2 comments)
-
- > @ebaque Hi Etienne, this looks good to me but I see that some jobs were not included in this categorization (e.g. the ones under the `zuora` folder and a couple more audit-related). Sorry for my lack of context but just for my understanding, could you elaborate a bit on that? I wonder why can't we apply the `:not_owned` category to those. Thanks!",1
-114276693,2022-09-01 08:54:39.471,Update Subscription Stories in Storybook,"The [subscription.stories.js](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/dcbaa3cf09dc0acfe3f32b73720077bebee98a02/stories/subscription.stories.js) is out of sync with the `subscription.vue` component.
-
-For example the story of [Subscription - one product](http://localhost:6006/?path=/story/subscription--no-products) is displaying a renew button where there's no product available.
-
-We should update the story accordingly and also update its format to use [controls](https://storybook.js.org/docs/react/essentials/controls).",1
-114239899,2022-08-31 16:01:18.416,Impact to SalesForce amendment opportunity creation with migration to Zuora's Orders API,"
-
-### Background
-
-With https://gitlab.com/groups/gitlab-org/-/epics/6438, new subscription creation and amendment to existing subscriptions will be executed using Zuora's Orders API instead of Subscribe and Amend API.
-
-After a subscription is created, an account in SalesForce is [created](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/a0563d4d477684f0a49b56e57fff2eeb8ba8f469/app/services/subscription_manager_service.rb#L77).
-After a subscription is amended, an opportunity is created in SalesForce ([source](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/a0563d4d477684f0a49b56e57fff2eeb8ba8f469/app/services/self_service/subscriptions/update_service.rb#L57)).
-
-When a subscription is amended, the [list of amendments](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/a0563d4d477684f0a49b56e57fff2eeb8ba8f469/app/services/self_service/subscriptions/update_service.rb#L97) are sent to the opportunity creation service and the opportunity creation payload includes attributes that are [retrieved from the amendments](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/a0563d4d477684f0a49b56e57fff2eeb8ba8f469/app/services/salesforce/create_quote_objects_service.rb#L104).
-
-### Problem
-
-Zuora's Orders API creates composite amendments, however they will [no longer be available once Orders harmonization is turned off](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4643#note_1079761771). (Orders harmonization lets the use of both Orders and Subscribe & Amend apis in parallel).
-
-Thus, before rolling out the use of Orders API for amendment related actions, we need a way to determine:
-
- - [ ] does this change require updates to Amendment Quote (currently `sObject` is set to `zqu__QuoteAmendment__c` and result key to `quote_amendment_id`)? This requires input from `Sales Systems` team.
- Please note this will also require a plan to support both types during the transition period from Amendment API to Orders API.
-
- - [ ] will this change involve updates to existing attributes or inclusion of any new attributes? This requires input from `Sales Systems` team.
-
- - [x] determining the amendment related attributes that corresponds with Orders. Possible leads include using invoice line items / abstracting information from order actions. This requires input from `Fulfillment engineering` team.
-
-### Proposal
-
-
-
-TBD
-
-### Result
-
-Opportunity creation in SalesForce works seamlessly with the migration to Orders API.
-
-### Next steps (if any)
-
-### How will we measure success?",3
-114239795,2022-08-31 15:58:17.172,Remove self service condition from activation code logic,"
-
-## Background
-
-The original activation code logic had a couple of checks in place in order for a code to be generated:
-1. Validate the Super Sonics fields (i.e. auto-renewal, operational metrics) were populated OR
-2. Validate the purchase was made through self service
-
-In reviewing this logic, it was determined that there was no need for the SS field dependency (detailed reasoning outlined [here](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4688#note_1070731626)). As a result, this was removed as part of this issue: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4688
-
-## Problem
-Since this update, we have identified that the activation code logic still includes the check that a purchase was completed through a self-service path. With the SS logic removed, this is now preventing activation code creation for _all_ sales assisted Self-Managed purchases.
-
-_Note: self-service purchases are still working as expected_
-
-#### Reported Examples
-1. https://gitlab.zendesk.com/agent/tickets/321798
-2. https://gitlab.slack.com/archives/C018C623KBJ/p1661947151593559?thread_ts=1661268847.706399&cid=C018C623KBJ
-
-### Proposal
-
-Remove the `self_service?` check altogether from the activation code logic.
-
-
-### Result
-Cloud activation codes will be created for all Self-Managed subscriptions who do not have `TurnOnCloudLicensing` = `No`, regardless of purchase method.",1
-114236503,2022-08-31 15:00:01.931,Follow up: Add Product Order Action,"### Summary
-
-The following feedback is addressed: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5320#note_1083185137
-
-For the checks in this form:
-
-```ruby
-raise SomeError, 'Error message' unless value
-```
-
-Within the `orders/actions` we want to update to
-
-```ruby
-raise SomeError, 'Error message' if value.blank?
-```
-
-To account for empty strings and other possible empty states.",1
-114129936,2022-08-30 07:35:58.093,Marketplace subscription ZuoraCallbackWorker wait for the right order status,"After marketplace subscription is created, when Zuoracallback starts, in theory, there is a chance:
-- the new customer record is not committed (because we are using [DB transaction](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/fc0f52c30c4420b8f79d8b3a2ba2c4da04236ece/app/services/marketplace/create_subscription_service.rb#L21-26))
-- the [new order creation](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/fc0f52c30c4420b8f79d8b3a2ba2c4da04236ece/app/services/marketplace/create_subscription_service.rb#L28) has not finished yet
-
-In reality, these are less likely(we assume the Postgres DB transaction and Rails code runs fast enough). But we should ensure to handle this safely.
-
-Depends on https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4732+
-
-### Proposal
-
-In the Zuora callback worker, add a validation as the first thing:
- 1. check whether this is a marketplace subscription. If it is NOT a marketplace subscription, return.
- - A marketplace subscription is a subscription with: `Marketplace::CHANNELS.include?(external_subscription_source)`
- 2. query the MarketplaceOrder table, check the order status. raise exception if the `status != :created`.
- - The Zuoracallback worker will retry, per the Sidekiq worker retry settings.
- - If it does not succeed after all retries, this requires a manual check. This is unexpected. Actually, most likely we will perform more frequently(probably daily) check the failed Marketplace order.
-
-
-
-### Result
-
-Avoid unexpected errors from duplicated Customer record and Order record creation competition. -- as the same customer/order creation will be initiated from both Rails(Marketplace::CreateSubcriptionService) and Sidekiq(ZuoracallbackWorker).
-
-### Next steps (if any)
-
-### How will we measure success?",2
-114126201,2022-08-30 06:34:19.854,Validate duplicate Marketplace order request,"We want to validate a marketplace request duplication. For duplicated requests, we will return error message.
-
-The proposal is [option 2 in the comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4637#note_1066891473).
-
-We allow the same `external_subscription_source`/`external_subscritpion_id` to retry when the request processing failed. For other status, we reject the request with an error message.
-* When a Marketplace request comes, we search saved `external_subscription_source`/`external_subscritpion_id` with `status != 'failed'`. If found, reject the request. Otherwise, continue.
-* We **upsert** `external_subscription_source`/`external_subscritpion_id`, update the status as `in_progress`.
-* When the CDot failed to create the subscription, we mark the status as `failed`(This includes other validation failures)
-* When the CDot succeeds to create the subscription, we mark the status as `created`
-* When the CDot succeeds to notify the customer(and reseller?), we mark the status as `provisioned`
-
-This issue depends on issue https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4732+
-
-### Problem
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-114125828,2022-08-30 06:25:46.935,Track the Marketplace order status,"### Background:
-
-**NOTE**: ATM we only have one Marketplace partner, which is `Arrowsphere`. So the below description uses `Arrow` to describe the scenario. However, this scenario applies to all Marketplace orders. It does not limit to Arrow.
-
-Previously Arrow system talks to Gitlab Platypus API endpoint(and then Platypus talks to CustomersDot). We will remove Platypus in this communication chain.
-
-* previously(as of today): `Arrow -> Platypus -> CustomersDot`
-* after removing Platypus, Arrow will directly talk to CustomersDot: `Arrow -> CustomersDot`
-
-In order to achieve this, there are several changes required on CustomersDot side.
-
-1. implement OAuth provider in CustomersDot. This allows secure API access control. We propose to use `doorkeeper` gem.
-1. add required data mapping in CustomersDot. This maps some Arrow payload data to the CustomersDot/Zuora/SFDC required values.
-1. track the Arrow order status. The status is used to: allow Arrow to poll the order status; validate duplicate requests; ensure to take action safely only on the right order status.
-1. provide API endpoint for Arrow to poll the order status.
-
-For more information, refer to the task breakdown at https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4637#note_1062429151.
-
-### This issue's scope
-
-This issue covers the thrid task `track the Arrow order status`
-
-#### Proposal
-
-Create a table `MarketplaceOrders`(columns: `external_subscription_source, external_subscription_id, payload, status(:creating, :failed, :created, :provisioned)`. This has the benefit to prevent duplicated API requests from Arrow.
-
-* An Arrow create order request comes
-* If there is a validation error, return failure without tracking this order.
-* Check the existence of `external_subscription_id`/`external_subscription_source`.
- * If does not exists, create new `marketplace_orders` record for this `external_subscription_id`/`external_subscription_source`, and mark the status as `:creating`. Continue
- * If exists and the status is `:failed`, reset the order(status to `:creating`, payload to new payload). Continue.
- * If exists and the status is not `:failed`, return duplicated order error.
-* Start to create the customer/subscription/order/sfdc..
-* If the CDot failed to create the subscription, mark the status as `failed`
-* When customer/subscription/order are created, mark status as `:created`
-* After notify_customer(this is currently in ZuoracallbackWorker), mark the status as `:provisioned`.
-
-#### Where does the `check duplicate marketplace order` sit in the process flow.
-**NOTE**: this is a simplified flowchart. It does not contain some steps like `map payload`, `check Visual compliance`, `check customer existance`. We could also consider all of these as part of the general `create subscription` node.
-
-```mermaid
-graph TD
- A(Start) -->|POST order request received| B[Authentication]
- B --> C{Authenticated?}
- C -->|No| D(Reject request)
- C -->|Yes| E[Validate payload]
- E --> F{valid payload?}
- F -->|No| D
- F -->|Yes| G[check existing order record]
- G --> H{order exists?}
- H -->|No| L[Create order record]
- L --> I[Create subscription]
- H -->|Yes|J{existing order failed?}
- J -->|No| D
- J -->|Yes| K[Reset order status]
- K --> I
-
-```
-
-#### State transition diagram
-```mermaid
-stateDiagram-v2
- [*] --> creating
- creating --> created: Customer/Order/ZuoraSubscription created
- creating --> failed: Encounter error
- failed --> creating: Receive the order request again
- created --> provisioned: Customer notification sent
- provisioned --> [*]
-
-```
-### Problem
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",3
-25682258,2019-10-07 11:38:47.157,Serve CSS styles through webpacker,"
-
-### Problem
-
-During the process of moving JavaScript code to `webpack` we don't do anything with styles. But we are going to drop `sprockets` completely. Dropping it will require moving styles processing to `webpack` too. I also would like to point that we will connect Pajamas Design System via Node.js packaging system (`@gitlab/ui`).
-
-### Proposal
-
-Move styles processing to `webpacker` too.
-
-Note: moving to webpacker is also on the CSS roadmap for the GitLab project. https://gitlab.com/groups/gitlab-org/-/epics/950#css-roadmap
-
-### Result
-
-This will make the process of moving to Pajamas easier. For example, #663.
-Another pro is we can start using features like `autoprefixer`.
-
-### Next steps (if any)
-
-### How will we measure success?",3
-25679630,2019-10-07 10:21:25.684,Broken deployment: Upgrade flow,"
-
-### Problem
-We introduced a bug in !470 (f951c19f)
-Events are not being set correctly on Info Panels.
-
-This got onto `staging` because we were in the middle of transitioning from feature test quarantine.",2
-25619983,2019-10-04 09:18:15.008,[Portal Pajamas] Add FE testing infrastructure,"
-
-### Problem
-Currently our only way of testing JS is to spin up a feature spec.
-
-This is slow and overkill in many cases.
-### Proposal
-Adopt the [gitlab FE testing guide](https://docs.gitlab.com/ee/development/testing_guide/frontend_testing.html) to our needs.
-Since the Customer portal differs from gitlab-com (notably in size) we should only adopt what makes sense.
-
-Be sure to add `vue-test-utils` and a small Vue test
-### Result
-We have increased confidence in our JS
-### Next steps (if any)
-Add coverage report metrics to CI (?)",5
-25619708,2019-10-04 09:10:43.195,[Portal Pajamas] Consume gitlab-ui components,"
-
-### Problem
-The Customer Portal should follow the Pajamas design system.
-The best way to ensure that's the case is to use the codified implementation of it: [gitlab-ui](https://gitlab.com/gitlab-org/gitlab-ui)
-
-### Proposal
-Setup infrastructure to consume `gitlab-ui` Vue components.
-
-- [x] Add Vue webpack support https://github.com/rails/webpacker#vue
-- [x] Add `gitlab-ui` dependencies: `Bootstrap` v4
-- [x] Add `gitlab-ui` dependencies: `bootstrap-vue`
-- [x] Ensure migrating from `Bootstrap` v3 -> v4 does not break UI and any visual changes are intentional; handled in https://gitlab.com/gitlab-org/customers-gitlab-com/issues/753
-- [x] Add `gitlab-ui` as a dependency
-- [ ] Migrate a small piece of UI behind a feature flag (registrations form f.x.) WIP in https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/603",5
-25602264,2019-10-03 20:51:07.266,Remove import.rake & RecurlyMigrationMailer,"### Problem
-I noticed while working on a separate issue that `lib/tasks/import.rake` and the `RecurlyMigrationMailer` hasn't been touched in a while. I wondered if this was still being used, or if this was a relic of an old migration?
-
-### Proposal
-If deemed obsolete, remove the following:
-- `lib/tasks/import.rake`
-- `RecurlyMigrationMailer`
- - related views and specs
-
-### Result
-A cleaner codebase! :100:",1
-25576467,2019-10-03 08:41:19.602,Add com routes to rubocop.yml,"
-
-### Problem
-To add `com` related routes to `rubocop.yml`
-
-### Proposal
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",1
-25558820,2019-10-02 20:46:45.167,Move trial registration api under com module,"
-
-### Problem
-Trials Registration api is specific to `gitlab.com`. It currently resides under `ee` module with a check to see if it is a `gl.com` environment.
-
-### Proposal
-Move the Trials Registration api under the `com` module.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-25551371,2019-10-02 16:16:48.871,Add documentation for developers to add Com-only code,"
-
-### Problem
-1. With the `.com` code segregation, add developer documentation on the steps to add code specific to only `com`
-2. Add a checkbox to MR `Separation of Com specific content`
-
-### Proposal
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-25547989,2019-10-02 14:46:33.235,Create skeleton files and folders for com module,"
-
-### Problem
-Add logical code seperation for `com` module that would get loaded only for `com` environement.
-
-### Proposal
-Create `com` module with the following hierarchy:
-
-
-
-1. Load the module only if it's a `com` environement
-2. Draw `com` specific routes only if it's a `.com` environment
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-25469038,2019-09-30 19:21:00.237,De-couple any trial related information/integration from customers.gitlab.com,"
-
-### Problem
-
-Historically, trials were integrated with the customer portal to store customer data. This leads to an additional point of failure with trials if something goes wrong, and Fulfillment becomes a bottleneck for fixing any trial issues which are dependent on this integration as Marketing cannot fix it themselves. It also makes it harder to identify issues with trials if there are more points of failure.
-
-### Proposal
-
-Trials should not need to interact with the portal or any other tool other than Marketo > Salesforce for lead creation. We should remove any integrating code regarding trials from the portal and run a clean up of customer information and accounts in the portal that relates to trials.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",8
-25381447,2019-09-27 12:37:57.145,Use Sentry to proactively catch errors,"
-
-### Problem
-It's not clear which developers should react to Sentry error reports in the Customer Portal.
-The reports we currently have need to be triaged.
-
-We're also suffering from similar issues mentioned https://gitlab.com/groups/gitlab-org/-/epics/737
-
-### Proposal
-Determine a process for handling Sentry errors.
-Document and codify the process.
-
-Enable relevant alerts for dev team; slack or email.
-
-### Concrete TODOs
-
-- [x] Update Sentry
-- [x] Add SentryJS to JS bundle
-- [ ] Upload sourcemaps to Sentry
-
-### How will we measure success?
-We're proactive in catching and fixing bugs instead of customers reporting them.",8
-25364171,2019-09-27 02:44:17.927,Better error/warning messaging when installing new license,"
-
-### Problem
-
-When installing a new license with seats less than historical max, the warning message is a bit misleading like below.
-
-> “During the year before this license started, the GitLab installation had 77 active users, exceeding this license’s limit of 50 by 27 users. Please upload a license for at least 77 users or contact renewals@gitlab.com.”
-
-The customer actually needs to pay true-up if they don't need to keep 77 users for the renewal. Once the license includes the true-up and seats for the new year it will work.
-
-### Proposal
-
-New message should display
-
-MVC (all cases)
-
-`The submitted license is not compatible with this system’s usage: X active users, Y maximum users and Z users in license. Please get in touch with our [Support team](https://support.gitlab.com/hc/en-us/requests/new?ticket_form_id=360000071293) for further assistance.`
-
-Let's also update the banner so it uses the correct styling (from the design system):
-
-
-
-### Alternate Approach
-If we are able to create tailored messages for each [error case](https://gitlab.com/gitlab-org/customers-gitlab-com/issues/713#note_276616812), then we will want to provide better specific information for the customers based on their situation. This is TBD based on initial investigation.
-
-
-### Result
-
-### Next steps (if any)
-
-* [ ] Eng to determine our ability to have tailored messages
-* [ ] Eng to define additional effort to provide tailored messages
-* [ ] If tailored messages are possible, we will need to create new ones for each case, assuming we want to invest the extra effort",2
-25357852,2019-09-26 20:17:16.518,Bug: Customers portal trial form throwing error on missing field,"### Problem
-
-user went to [this link](https://customers.gitlab.com/trials/new?return_to=http%3A%2F%2Flocalhost&id=YWRtaW5AZXhhbXBsZS5jb20=) and cannot complete trial because of this error `There were some errors when trying to generate your trial:
-Company size can't be blank`.
-
-### Steps to recreate
-
-1. started gitlab-ee:latest in local docker environment.
-2. from administration -> licenses click to ""obtain trial"" goes to this url
-
-### User reports
-
-1. https://gitlab.zendesk.com/agent/tickets/133408",1
-25341724,2019-09-26 12:10:29.684,Extra purchased CI minutes aren't added to namespace where the namespace path contains a dot,"
-
-### Problem
-
-Extra purchased CI minutes do not apply to namespace where the namespace **path** contains a `.`. I suspect there was a change to the `/namespaces` endpoint.
-
-`GET` works as expected, for example `GET /namespaces/deandre.test-group.2` returns:
-
-```
-{
- ""id"": 4248792,
- ""name"": ""deandre-test-group-2"",
- ""path"": ""deandre.test-group.2"",
- ""kind"": ""group"",
- ""full_path"": ""deandre.test-group.2"",
- ""parent_id"": null,
- ""avatar_url"": null,
- ""web_url"": ""https://gitlab.com/groups/deandre.test-group.2"",
- ""members_count_with_descendants"": 1,
- ""shared_runners_minutes_limit"": null,
- ""extra_shared_runners_minutes_limit"": null,
- ""billable_members_count"": 1,
- ""plan"": ""free""
-}
-```
-
-`PUT` (and presumably `POST`) fails, for example `PUT /namespaces/deandre.test-group.2?extra_shared_runners_minutes_limit=1000` returns:
-
-```
-{
- ""error"": ""404 Not Found""
-}
-```
-
-### Related Support Tickets (internal)
-
-- https://gitlab.zendesk.com/agent/tickets/133265
-- https://gitlab.zendesk.com/agent/tickets/135238",3
-25315665,2019-09-25 18:15:09.034,"Follow-up from ""Make company_size optional""","The following discussion from !481 should be addressed:
-
-- [ ] @jejacks0n started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/481#note_222130659):
-
- > I’d say you can probably skip the added test, since generally testing a negative isn’t worth it. What might be better is to test a simulated request from zuora where it wouldn't be present.",1
-25291865,2019-09-25 09:52:53.780,Update admin management roles,"
-
-### Problem
-
-Following up on https://gitlab.com/gitlab-org/customers-gitlab-com/issues/639 we should add a restriction so not all admins can add/remove admins
-
-### Proposal
-
-Add a flag in order to do this
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-25271246,2019-09-24 18:23:33.918,Customers getting 500s on customers.gitlab.com - ActionView::Template::Error: uninitialized constant TransactionViewer::LINK_GITLAB_ACCOUNT,"Relates to: https://gitlab.com/gitlab-com/support/dotcom/dotcom-internal/issues/886
-
-https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/951624/
-
-```
-NameError: uninitialized constant TransactionViewer::LINK_GITLAB_ACCOUNT
- app/views/subscriptions/_update_btn.html.haml:10:in `_app_views_subscriptions__update_btn_html_haml___3390558228538312127_47056115447700'
- = link_to 'Link my GitLab.com account', edit_subscription_path(subscription.id,
- app/views/subscriptions/_subscription.html.haml:37:in `_app_views_subscriptions__subscription_html_haml___1229786290608102266_47056103999600'
- = render 'subscriptions/update_btn', subscription: subscription
- app/views/subscriptions/index.html.haml:7:in `_app_views_subscriptions_index_html_haml___3338024472363674668_47056104101860'
- = render partial: 'subscription', collection: @subscriptions
- app/middleware/basic_health_check.rb:20:in `call'
- return @app.call(env) unless env['PATH_INFO'] == HEALTH_PATH
-...
-(157 additional frame(s) were not displayed)
-
-ActionView::Template::Error: uninitialized constant TransactionViewer::LINK_GITLAB_ACCOUNT
-
-ActionView::Template::Error: uninitialized constant TransactionViewer::LINK_GITLAB_ACCOUNT
-```
-
-## Reported Examples
-
-1. https://gitlab.zendesk.com/agent/tickets/132861
-1. https://gitlab.zendesk.com/agent/tickets/133079",1
-25230005,2019-09-24 09:18:33.750,Changing country on existing customers does not allow for changing state / province,"
-
-### Problem
-The state list is not updating when changing countries in edit profile
-_Note how the state list is the same_
-
-
-Behavior should be the same as when creating a user
-",1
-25000337,2019-09-19 18:10:40.043,[Frontend] Make Auto Renew the Default and Disable Ability to Turn it Off,"
-
-### Problem
-
-### Proposal
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-24994860,2019-09-19 15:12:34.769,Fix width of the Company select box on the Registration form,"The following discussion from !450 should be addressed:
-
-- [ ] @oswaldo [commented](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/450#note_219403305):
-
- > @tyleramos Minor thing, should the Country select be touching the State / Province one? Feels like it's surpassing the width a bit.",1
-24904585,2019-09-17 14:41:01.100,Increase services test coverage,"### Problem
-Services with little to no test coverage:
-
-
-### Proposal
-Increase the test coverage of these services, ideally at least up to 70%.
-
-We could also consider adding ""Services"" as its own tab to the SimpleCov coverage html page.
-
-### Result
-Better coverage around services.",5
-24755822,2019-09-13 09:01:20.693,Investigate and address flaky feature tests,"
-
-### Problem
-Our pipelines are randomly going red, the constant factor are tests heavily interacting with Zuora.
-
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/jobs/294574079 (this one is waiting a full minute)
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/jobs/294376711
-
-
-### Proposal
-
-Short term: disable the feature tests; they're causing more headache than helping
-
-Next steps: Figure out the cause of this.
-Possible causes are
-- Poorly written tests
-- Zuora sandbox is shaky - either the system or conflicting because of shared credentials.
-- Our project is shaky (I really hope this isn’t the case)
-
-Go through this checklist https://docs.gitlab.com/ee/development/testing_guide/flaky_tests.html
-
-### Result
-We have tests that we can trust.",3
-24739404,2019-09-12 19:33:48.866,Remove log rotation logic from codebase,"### Problem
-There are some places in the codebase (see list below) that define custom log rotation policies. There may be others as well.
-* [upgrade_subscription_plan_service.rb](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/staging/app/services/gitlab/hosted_plans/upgrade_subscription_plan_service.rb#L10)
-* [billing_rate_update_service.rb](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/staging/app/services/gitlab/hosted_plans/billing_rate_update_service.rb#L7)
-
-[More info on this topic can be found here](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/379#note_192191916).
-
-### Proposal
-Remove this logic from the code and rely on Linux log rotation tools. This will likely involve changes to server setup/cookbooks.
-
-### Result
-The code is not tied to log rotation logic making it cleaner and easier to maintain.
-
-### Next steps (if any)
-
-### How will we measure success?",3
-24737542,2019-09-12 18:20:33.390,Use seperate Zuora credentials for pipelines testing and local development,"
-
-### Problem
-~~The credentials used in the pipeline and are recommended for use in [our README](https://gitlab.com/gitlab-org/customers-gitlab-com/tree/staging#setup-commands) are the same.~~ Not the case actually: however they are being used locally by some developers.
-
-This could be a factor in conflicting Zuora credentials causing specs to randomly fail https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/456#note_216365165
-
-### Proposal
-Rotate the credentials used in our pipelines.
-
-1. Rotate the [CI Pipelines](https://apisandbox.zuora.com/apps/HostedPageLite.do?method=preview&id=2c92c0f85b1ab29a015b34a60fb22f52) credentials
-1. Update ENV variables on CI
-1. Update Zuora details in `config/secrets.yml.example`
-1. Don't hand `zuora_cc_payment_page_id` and CI API credentials out.
-
-
-### Result
-Less flaky feature tests.
-
-### How will we measure success?
-Pipelines don't go red randomly.",2
-24737033,2019-09-12 18:00:38.484,Compare Capybara setup between Customer portal and GitLab; port what makes sense,"
-
-### Problem
-A screenshot setting was missing from our capybara configuration.
-Background: https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/457
-There might be more configuration worth having.
-### Proposal
-Look through [the CE file](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/spec/support/capybara.rb) and port what makes sense
-### Result
-Better capybara runs.",2
-24734836,2019-09-12 16:23:44.416,"Pajamas Update: Portal ""Sign in/Registration"" Page","### Designs
-
-| Interface | Description |
-| ------ | ------ |
-| **Sign In**
 | To keep consistent, I'm using the same styling from https://gitlab.com/users/sign_in and https://gitlab.com/-/trials/new (if you are not logged in) |
-| **Register**
 | All input fields are kept the same with current implementation except for the Password field. If possible this is a good opportunity to remove the password confirmation field and reduce user friction. |
-
-### Design Specs
-
-https://gitlab-org.gitlab.io/gitlab-design/hosted/tim/&1886-customers-portal-pages-redesigns/sign-in-register/",3
-24734756,2019-09-12 16:21:23.156,"Pajamas Update: Portal ""Payment Methods"" Page","## Current Design
-
-
-
-## Proposal Designs
-
-| Empty State | Default View | Add Payment Method (Credit Card) |
-| ------ | ------ | ------ |
-|  |  |  |
-| !610 | !610 | !639 |
-
-| Add Payment Method (ACH) | Edit Payment Method (Credit Card) | Edit Payment Method (ACH) |
-| ------ | ------ | ------ |
-|  |  |  |
-| !639 | !772 | !900 |
-
-### Design Specs
-https://gitlab-org.gitlab.io/gitlab-design/hosted/tim/&1886-customers-portal-pages-redesigns/payment-methods",3
-24734720,2019-09-12 16:20:57.823,"Pajamas Update: Portal ""View Invoices"" Page","## Current Design
-
-
-
-## Proposal Designs
-
-Formerly known as ""Payment History"" page in the portal.
-
-| Empty State | List View |
-| ------ | ------ |
-|  |  |
-
-### Design Specs
-
-https://gitlab-org.gitlab.io/gitlab-design/hosted/tim/&1886-customers-portal-pages-redesigns/view-invoices/",3
-24734710,2019-09-12 16:20:39.586,"Pajamas Update: Portal ""Manage Purchases"" Page","This is a sub-issue of the work being completed here: https://gitlab.com/groups/gitlab-org/-/epics/1788 to consolidate the redesign work of all the pages in the Customer Portal.
-
-## Current Design
-
-
-
-## Proposed Designs
-#### Self-Managed Designs
-| Interface | Description |
-| ------ | ------ |
-| **No Subscriptions (Empty State)**
 | This is the screen that is displayed when a user has no active subscriptions. |
-| **Expanded Subscription Details**
 | An example of a user with two active subscriptions.
(1) Self-Managed Ultimate Subscription
(2) GitLab.com Bronze Subscription.
**Key Points**
- The first subscription is always expanded by default.
- Main CTA's `Add more seats`,`Renew`,`Change linked group`,`Buy more CI minutes`,`Upgrade` are exposed in the un-expanded state.
- If there is an active subscription the `Buy new subscription` button reverts to the secondary outline style. |
-
-#### GitLab.com Designs
-| Interface | Description |
-| ------ | ------ |
-| **GitLab.com: Expanded Subscription (Details)**
 | **Key Points**
- Clear subscription details.
- ""Did you know"" section is an example of the ability to share pre-determined relevant information with users at set times during their subscription life-cycle. |
-| **Expanded GitLab.com Subscription (Addons)**
 | **Key Points**
- A historical view of the add-on purchases across the subscriptions life-cycle. |
-
-**Todo**
-* [ ] Include [dialog box informing customers who are purchasing a new instance](https://gitlab.com/gitlab-org/customers-gitlab-com/issues/232)
-* [ ] Gitlab.com - Add design for no linked group.
-* [ ] Add design for linking to a custom user namespace.
-",8
-24734699,2019-09-12 16:20:10.302,"Pajamas Update: Portal ""My Account"" Page","## Current Design
-
-
-
-## Proposal Designs
-
-| Default view | All modules expanded |
-| ------ | ------ |
-|  |  |
-
-### Design Specs
-
-https://gitlab-org.gitlab.io/gitlab-design/hosted/tim/&1886-customers-portal-pages-redesigns/account-details/",8
-24695051,2019-09-11 15:33:36.418,[Portal Pajamas] Update the portal top NavBar to more closely resemble Gitlab's,"### Problem
-The customer portal navigation doesn't resemble the navigation in the GitLab application.
-
-### Proposal
-Update the navigation per design specs to more closely resemble the navigation of the GitLab.
-
-
-
-[**Design Specs**](https://gitlab-org.gitlab.io/gitlab-design/hosted/tim/customers-gitlab-com%23676-update-the-portal-top-navbar-to-more-closely-resemble-gitlabs/)
-
-| Menu item | Target page |
-| ------ | ------ |
-| Logo | `/` |
-| Manage Purchases | `/manage-purchases` |
-| View Invoices | `/invoices` |
-| `?` Icon | It's a dropdown. No link here. |
-| FAQ | `https://about.gitlab.com/pricing/licensing-faq/` |
-| Support | `https://about.gitlab.com/support/#contact-support` |
-| Contact Us | `https://support.gitlab.com/hc/en-us/requests/new?ticket_form_id=334447` |
-| Submit feedback | `https://about.gitlab.com/submit-feedback/` |
-| My account | It's a dropdown. No link here. |
-| `CUSTOMER_NAME` | No link here. |
-| Account details | `/customers/edit` |
-| Payment methods | `/payment_methods` |
-| Sign Out | `/customers/sign_out` |
-
-
-### How will we measure success?
-
-The customer portal provides a similar navigation experience as the GitLab application",3
-24682791,2019-09-11 11:51:05.936,BCC Salesforce on EULA Emails,"
-
-### Problem
-* EULAS are either not being sent out or being sent out to the wrong individuals. Since these emails are not sent to out SFDC instance as well Reps have no idea who, when or if the EULAs were sent out.
-### Proposal
-* Version 1 - have all EULA messages BCC our SFDC instance so that they get logged in on our records
-### Result
-* This will reduce the pings coming from the field to SalesOps about EULAS being sent out
-* Decreased confusion in the field after they close a deal
-### Next steps (if any)
-* [ ] The goal would be to BCC EULAs to our SFDC instance so that Sales Reps can see if they were sent out and if so to what email address
-* [ ] Would we be able to alter how EULAs are sent out to BCC our SFDC instance while also keeping our BCC email address private?
-* [ ] We would want our BCC address private so that people can not find it and send emails directly into our SFDC instance
-* [ ] [Update the Customer Mailer](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/master/app/mailers/customer_mailer.rb) - to send to our SFDC instance. I believe that is the only edit that would be required but will leave to the trusted hands of our developers to determine the final scope
-### How will we measure success?
-* If EULAS can be found in SFDC after they are sent this will be a success",2
-24675166,2019-09-11 08:25:09.533,[broken staging] Rspec failures on update_gitlab_namespace_plan_spec and subscriptions_spec,"```sh
-Failures:
-
- 1) Update GitLab Namespace Plan Admin can update the expiration date for a trial plan
- Failure/Error: page.select(new_end_date.year, from: 'trial_exp_on_year')
-
- Selenium::WebDriver::Error::ElementNotInteractableError:
- element not interactable: Element is not currently visible and may not be manipulated
- (Session info: headless chrome=77.0.3865.75)
- (Driver info: chromedriver=77.0.3865.40 (f484704e052e0b556f8030b65b953dce96503217-refs/branch-heads/3865@{#442}),platform=Linux 4.19.23-coreos-r1 x86_64)
- # ./spec/features/rails_admin/update_gitlab_namespace_plan_spec.rb:89:in `block (3 levels) in '
- # ./spec/features/rails_admin/update_gitlab_namespace_plan_spec.rb:81:in `block (2 levels) in '
- # ./spec/features/rails_admin/update_gitlab_namespace_plan_spec.rb:13:in `block (3 levels) in '
- # ./spec/features/rails_admin/update_gitlab_namespace_plan_spec.rb:13:in `block (2 levels) in '
-
- 2) Subscriptions Successfully purchase and active subscription
- Failure/Error: find('#input-creditCardNumber', wait: 20)
-
- Capybara::ElementNotFound:
- Unable to find css ""#input-creditCardNumber""
- # ./spec/features/subscriptions_spec.rb:129:in `block (3 levels) in '
- # ./spec/features/subscriptions_spec.rb:127:in `block (2 levels) in '
-```
-
-
-This is blocking MRs to get merged into `staging` and blocking deployments too.",2
-24619159,2019-09-10 01:53:19.113,Buying CI minutes for any namespace should never unassociate the paid tier subscription,"### Problem
-
-When a group is subscribed to a paid tier (Bronze, Silver, Gold) on GitLab.com and has more billable users in the group on GitLab.com than is purchased in the subscription, when the user purchases additional CI minutes the following undesired behavior occurs -
-
-1. A new subscription is created for the CI minutes instead of the minutes being associated with the existing paid subscription.
-2. The group association to the previously purchase subscription (Bronze, Silver, Gold) is removed and the subscription is orphaned.
-
-### Steps to recreate
-
-1. Create a group in GitLab.com
-1. Purchase a subscription for any paid tier on GitLab.com for any number of users
-1. Add more billable users to the GitLab.com group than the number of users allotted in the subscription
-1. Purchase Additional CI minutes by:
- 1. Navigate to group's **Settings>Usage Quotas**
- 1. Select **Buy additional minutes**
- 1. Follow the purchase process to buy any amount of additional minutes
-1. BUG1: A new subscription is created for the CI minutes instead of the minutes being associated with the existing paid subscription
-2. BUG2: The group association to the previously purchase subscription (Bronze, Silver, Gold) is removed and the subscription is orphaned.
-
-### Proposal
-
-During the purchase of additional CI minutes (Step 4.3 above) in a use case like this, provide the user notice that the group's number of billable users exceeds its purchased user amount and provide option to pay for those users along with the additional CI minutes.
-
-### Example Screenshots
-
-
-
-
-
-### Current ""workaround""
-
-1. Ask user if we can charge the card on their behalf for the additional users.
-1. Change the namespace to ""free"" in Gitlab.com admin
-1. Try associating the namespace with the subscription in the customers portal
-1. If the system is charging for all users and not crediting for the previously paid users, create an SE issue to see if there is a conflict causing this
-1. If the system correctly applies the credit, complete the purchase
-
-
-
-@lyle investigating console workaround
-
-For more: [discussion on slack (internal)](https://gitlab.slack.com/archives/C4XFU81LG/p1568832939099600)
-
-### Summary of Support Tickets Affected by Issue
-
-1. https://gitlab.zendesk.com/agent/tickets/131493
-1. https://gitlab.zendesk.com/agent/tickets/132182
-1. https://gitlab.zendesk.com/agent/tickets/132597
-1. https://gitlab.zendesk.com/agent/tickets/132437 (GL.com shows bronze, but subscription not showing group, now that it's orphaned gets 404 when trying to purchase minutes for group)
-1. https://gitlab.zendesk.com/agent/tickets/132240
-1. https://gitlab.zendesk.com/agent/tickets/132819
-1. https://gitlab.com/gitlab-org/customers-gitlab-com/issues/672
-1. https://gitlab.zendesk.com/agent/tickets/132947
-1. https://gitlab.zendesk.com/agent/tickets/133110
-1. https://gitlab.zendesk.com/agent/tickets/133357
-1. https://gitlab.zendesk.com/agent/tickets/133546
-1. https://gitlab.zendesk.com/agent/tickets/133573
-1. https://gitlab.zendesk.com/agent/tickets/136205
-1. https://gitlab.zendesk.com/agent/tickets/137840
-1. https://gitlab.zendesk.com/agent/tickets/137791
-1. https://gitlab.zendesk.com/agent/tickets/138649
-1. https://gitlab.zendesk.com/agent/tickets/138827
-1. https://gitlab.zendesk.com/agent/tickets/138976
-1. https://gitlab.zendesk.com/agent/tickets/138730
-1. https://gitlab.zendesk.com/agent/tickets/139225
-1. https://gitlab.zendesk.com/agent/tickets/138707
-1. https://gitlab.zendesk.com/agent/tickets/141672
-1. https://gitlab.zendesk.com/agent/tickets/141926
-1.",2
-24605561,2019-09-09 16:21:17.421,Use rubocop config from GitLab CE,"### Problem
-The Rubocop configuration for the Customers Portal is different from GitLab CE. This topic first came up during [the review of an MR](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/422#note_214310904).
-
-### Proposal
-Look into sharing the Rubocop configuration from GitLab CE in customers-gitlab-com.
-
-### Result
-It would be nice to have a set standard across our apps, including the Customer Portal.",3
-24591915,2019-09-09 11:01:14.692,Document Salesforce setup and usage for Development,"
-
-### Problem
-The initial Secretes template does not contain any Salesforce credentials.
-This results in errors like
-```
-CreateSalesforceAccountWorker JID-549f17949adb63c20dea6123 INFO: start
-CreateSalesforceAccountWorker JID-549f17949adb63c20dea6123 ERROR: [Customer ID: 1] Error creating SalesForce Account
-CreateSalesforceAccountWorker JID-549f17949adb63c20dea6123 INFO: done: 3.591 sec059c130feb92b69dd7d5c50970fd4dad7a215d5d95f7ca2243c372336025ac08
-```
-
-### Proposal
-Add development Salesforce credentials to `secrets.yml.example`
-
-### Result
-Following the setup in the README will setup a development environment that works with Salesforce",1
-24506885,2019-09-05 18:24:30.166,Add employee count field to portal registration form,"
-
-### Problem
-
-We currently have an ""Unknown"" segment in our reporting due to the [portal sign up form](https://customers.gitlab.com/subscriptions/new?plan_id=2c92a0ff6145d07001614f0ca2796525&transaction=create_subscription) not including an employee count field (allowing us to segment the account).
-
-Example:
-
-
-
-### Proposal
-
-Add the same field we use on the sales and trial sign up forms to the portal registration form, and ensure all three are consistent.
-
-Sales form:
-
-",2
-24477799,2019-09-05 03:26:49.705,[Portal Pajamas] Convert Layout to Pajamas SCSS,"### Problem
-Customers.gitlab.com layout design doesn't match gitlab.com
-
-### Proposal
-
-Use the SCSS from gitlab.com/pajamas to update the design of the layout and typography to be similar to Gitlab.com. This should be done under the supervision of the design team.
-
-This does not include implementing individual controls in Vue.js.
-
-### Result
-
-customers.gitlab.com look and feel more closely resembles gitlab.com. This the first step in moving to the standard Design System.
-
-### How will we measure success?
-
-Customers.gitlab.com more closely resembles gitlab.com
-
-### Next steps
-
-- [x] Replace bootstrap v3 with v4
-- [x] Read through bootstraps docs on migrating v3 to v4 and migrate
-
-> **Note:** When replacing classes, look for classes being used within JS to toggle visibility.",5
-24471648,2019-09-04 19:40:27.004,Hide coupon code field,"
-
-### Problem
-
-Showing the coupon code field when we don't give out coupons is misleading and may distract customers from the purchase flow if they decide to google for a discount coupon. We need to use the coupon field for testing sometimes, so being able to access it still would be preferable, we just need to somehow hide it from customers who are making a purchase.
-
-### Proposal
-
-Some options:
-
-1. Hide the coupon field on production and only show for dev/staging instances.
-2. Hide the coupon field behind a URL, and document how to access the URL for testing purposes.
-3. Suggestions welcome.
-
-Make sure this is properly communicated with the sales team.
-
-We should also ensure that a CC is not required when adding a coupon. This is a current bug with the purchase flow when adding coupons.
-
-### Next steps (if any)
-
-cc @timnoah @mkarampalas @s_awezec
-
-### How will we measure success?
-
-@amandarueda Do you have a pulse on how many queries we get around coupon code confusion? ",2
-24471456,2019-09-04 19:28:47.614,"The word ""licence/license"" is not consistently spelled the same","### Problem
-On the `Manage Purchases` page, the word is spelled ""**license**"" but when selecting the `Add more seats` button, that page uses ""**licence**"".
-
-### Proposal
-Use American English spelling per: https://about.gitlab.com/handbook/communication/#writing-style-guidelines",1
-24467162,2019-09-04 16:10:51.180,"Create a license key if one does not exist during ""Download License""","### Problem
-Sometimes licenses have not been created in the license-app by the time a user attempts to download the license from the customers-app. This leads to a `LicenseNotFoundError` and the user is shown an error message.
-
-This cannot be worked on until #658 is complete.
-
-### Proposal
-If the license key was not created on the license-app, a better user experience could be for the license to be created in real-time. The workflow to retrieve the license key from the portal would be:
-1. Look for an existing license key based on the `subscription name`.
-1. If result is empty, check to make sure a license was successfully paid for.
-1. If it was successfully paid for, create a new license key based on the subscription info from the portal.
-1. Else, display an error message? Copy tbd
-
-### Result
-No more errors when downloading licenses from the customers-app.
-
-### Next steps (if any)
-
-### How will we measure success?",3
-24466987,2019-09-04 16:01:53.212,Find licenses using subscription name,"### Problem
-We currently lookup licenses for the ""Download License"" feature from the license-app using 4 attributes (`email`, `plan_code`, `users_count`, and `expires_at`). This link between the two systems seems a bit flimsy.
-
-### Proposal
-On the license app, add a new column to store the `subscription name`. We may need to create a script that contacts the Zuora API and obtains the `subscription name` based on the `subscription id` that we've stored on the license app. Once this is ready on the license app, we can just find by the `subscription name` instead of using all the 4 fields listed above.
-
-This was [originally proposed](https://gitlab.com/gitlab-org/customers-gitlab-com/issues/281#note_188242848) by Rubén in #281. This issue also relates to #636.
-
-### Result
-A cleaner link between the subscription in the customers-app and the license in the license-app.
-
-### Next steps (if any)
-Once this is in place, the customers-app can request a license to be created if it does not yet exist in the license-app.
-
-### How will we measure success?",3
-24438476,2019-09-03 20:14:39.723,Zuora error messages fail to show up in UI,"
-
-### Problem
-Users are reporting that our Zuora payment gate is failing, and failing without a meaningful error message.
-
-This is blocking users at a crucial step in their flow.
-### Proposal
-Find steps to reproduce.
-- Browser
-- OS
-- Any browser plugins that can conflict
-
-Add additional logging to Zuora iframe if possible.
-
-### Result
-Root cause of error is identified and fixed.
-Future errors are logged",1
-24397671,2019-09-02 20:02:10.743,Adding Zuora and Salesforce IDs to another user breaks upgrade,"## Summary
-
-When a user requests access to manage the subscription in the customers portal in addition to or instead of another user, we (in support) will copy/remove the Zuora and SFDC ids from the Edit page in the customers portal from the existing user and add to the requesting user (after they fulfill security criteria).
-
-When we do this, the subscription of the additional/new user appears without being linked in the Manage Purchase page.
-
-* Not only does this cause confusion to the user, but the `upgrade` button is no longer present in the customers portal as a result
-* When the user attempts to upgrade via the button within GitLab.com group>billing page, they are not able to due to [this issue](https://gitlab.com/gitlab-org/customers-gitlab-com/issues/652)
-
-Is there a workaround to add/change the customers portal contact for a subscription without causing these issues?
-
-
-
-
-
-## Related support tickets
-
-I'm sure there's more, but recording the latest one. Users asking for us to allow another account to manage the subscription but we can't due to this bug.
-
-1. https://gitlab.zendesk.com/agent/tickets/133949",2
-24391973,2019-09-02 14:58:37.957,Linking a subscription group to a GitLab.com namespace does not work properly,"### Problem
-
-Still unknown if it's a bug in 100% of the cases, but we've seem problems when trying to link the subscription group to a GitLab.com namespace.
-
-Workflow: https://www.loom.com/share/a007a39876904b0e9f3234cd704ad67a
-
-We need to investigate further and see if it's not happening to all users.",3
-24391864,2019-09-02 14:55:49.247,Redirect to /subscriptions when the found subscription is not upgradable,"### Problem
-
-When an user is coming from the upgrade button in GitLab.com, it's possible that the subscription is not upgradable given the Group is not linked with the customers portal. Today we present a 404 in this scenario.
-
-Workflow video: https://www.loom.com/share/3da777d3578043bb8fd376ad14dd2895
-
-### Solution
-
-When the subscription found is not upgradable, redirect the user to `/subscriptions` with a simple message that the subscription doesn't seem to be upgradable (and to check if the subscription is properly linked).",1
-24265253,2019-08-28 18:43:56.580,Better Error Handling in `Client::LicenseApp`,"### Problem
-The `Client::LicenseApp` class makes requests using `HTTParty` but does not handle any error cases. This means the places that use this class are responsible for handling errors like `Errno::ECONNREFUSED` which likely has some duplication between those implementations. [This came up during a discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/431#note_209327087) of MR !431.
-
-### Proposal
-Add error handling to the `Client::LicenseApp` class.
-
-### Result
-Reduce duplication of error handling and make the calling code a little simpler.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-24208714,2019-08-27 15:49:43.424,Remove dependency on Zuora when running test suite,"### Problem
-As it stands currently, you must have the following secrets set for the test suite to pass.
-```
-zuora_api_user: <%= ENV['ZUORA_API_USER'] %>
-zuora_api_password: '<%= ENV['ZUORA_API_PASSWORD'] %>'
-```
-
-Without this in place, you get an error like the following:
-```
-An error occurred while loading rails_helper.
-Failure/Error:
- product_rate_plans.map do |product_rate_plan|
- product_rate_plan_charge = find_rate_plan_charge(product_rate_plan)
- product_rate_plan_charge_tier = find_rate_plan_charge_tier(product_rate_plan_charge)
-
- Plan.new(product_rate_plan, product_rate_plan_charge, product_rate_plan_charge_tier)
- end
-
-Savon::SOAP::Fault:
- (fns:INVALID_LOGIN) invalid username or password: select Id, CreatedById, CreatedDate, Description, EffectiveEndDate, EffectiveStartDate, Name, ProductId, UpdatedById, UpdatedDate from ProductRatePlan where Id = '2c92c0f85991509d01599350751d762c' or Id = '2c92c0f853077d1d01530af9137f61bd' or Id = '2c92c0f95615e0560156272129075c2f' or Id = '2c92c0f958aa45650158d6ace53b53c5' or Id = '2c92c0f858aa38af0158d67f5eea4ca4' or Id = '2c92c0f958aa455e0158d1dcfd8427e6' or Id = '2c92c0f858aa39000158d67af26d6791' or Id = '2c92c0f861789eda01618c6e122f6bb5' or Id = '2c92c0f86179f24301618ceb8b456743' or Id = '2c92c0f861789eda01618c76c25810cb' or Id = '2c92c0f96178a7a901618cedb627046d' or Id = '2c92c0f86716796f01671a8e683821f2' or Id = '2c92c0f95a24621b015a259a50307881' or Id = '2c92c0f85aac66b3015aaea7164444f9' or Id = '2c92c0f95aac74f3015aaea8d97a4b48' or Id = '2c92c0f9699eca030169a2f1f117045f' or Id = '2c92c0f8540e24ee015411d434cf36ed' or Id = '2c92c0f9540e2d8d015411d39ac367dd' or Id = '2c92c0f9540e2d91015411d3402459d0' or Id = '2c92c0f9555cf11c015573e9db8731d8' or Id = '2c92c0f85599d51a01559c8759d31f9c' or Id = '2c92c0f85581f7a9015582383be8722f' or Id = '2c92c0f95819b30d015841863b87137e'
-# ./app/models/plans_finder.rb:19:in `eager_load'
-# ./config/initializers/zuora.rb:84:in `'
-# ./config/environment.rb:5:in `'
-# ./spec/rails_helper.rb:2:in `require'
-# ./spec/rails_helper.rb:2:in `'
-# ------------------
-# --- Caused by: ---
-# Savon::SOAP::Fault:
-# (fns:INVALID_SESSION) invalid session
-# ./app/models/plans_finder.rb:19:in `eager_load'
-```
-
-This error happens because the rails_helper.rb loads rails, which loads the config/initializers. This eventually loads the zuora.rb initializer and [tries to `eager_load` Plans here](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/894d8c5c1cde3ae771ec1c41008f2f2ecddd2b1d/config/initializers/zuora.rb#L84). This fails because the `ZUORA_API_USER` and `ZUORA_API_PASSWORD` environment variables are not set (or really the secrets file doesn't have `zuora_api_user` and `zuora_api_password` set in the test section).
-
-More info can be found in #645.
-
-### Proposal
-We could look into stubbing the `PlansFinder.eager_load` or maybe disable that part of the initializer in the test environment.
-
-### Result
-It would great to remove this dependency for multiple reasons:
-- Simplifies the process for getting your test suite running locally.
-- A big step towards being able to run the test suite without being connected to the internet.
-
-### Next steps (if any)",3
-24100080,2019-08-23 15:29:40.563,Admin user management,"### Problem
-
-There doesn't appear to be a way to manage admin users through the Admin UI. It would be nice to be able to add, remove, or update admin accounts without accessing the backend.
-
-### Proposal
-
-Add a new tab to the Admin console for management of Admins. This would include the standard CRUD capabilities.
-
-### Result
-
-Easier admin user management.
-
-### Next steps (if any)",1
-24017030,2019-08-21 17:39:08.390,"422 Unprocessable Entity when trying to ""Download License""","### Problem
-
-When attempting to download a license for this customer (see ticket for details), site throws a 422 error:
-
-```
-Failed to load resource: the server responded with a status of 422 (Unprocessable Entity)
-application-42fcbdb6886a54697837ec01fe8e95bda6b41bab8bde374ee31416b090a9df47.js:9 Uncaught TypeError: this.showMessage is not a function
- at Object. (application-42fcbdb6886a54697837ec01fe8e95bda6b41bab8bde374ee31416b090a9df47.js:9)
- at u (application-42fcbdb6886a54697837ec01fe8e95bda6b41bab8bde374ee31416b090a9df47.js:2)
- at Object.fireWith [as rejectWith] (application-42fcbdb6886a54697837ec01fe8e95bda6b41bab8bde374ee31416b090a9df47.js:2)
- at i (application-42fcbdb6886a54697837ec01fe8e95bda6b41bab8bde374ee31416b090a9df47.js:3)
- at XMLHttpRequest.n (application-42fcbdb6886a54697837ec01fe8e95bda6b41bab8bde374ee31416b090a9df47.js:3)
-```
-
-Note: filing this now in case we get other reports
-
-Got around this by triggering an email re-send of the licence via the licence app
-
-Tickets reporting this:
-
-- https://gitlab.zendesk.com/agent/tickets/129975
-- insert here",1
-23356621,2019-07-31 16:11:53.936,Prefer `Date.current` & `Time.current` over `Date.today` & `Time.now`,"### Problem
-In various places in the app code, there are references to `Date.today` and `Time.now` which works but isn't as accurate as `Date.current` and `Time.current` which uses Rails timezone configuration (UTC in our case) instead of using the system configured time. This could vary by installation, causing some tests to fail locally on one system but pass on another causing confusion and inconsistency. [See this for more information](https://thoughtbot.com/blog/its-about-time-zones).
-
-### Proposal
-Change instances of:
-- `Date.today` to `Date.current`
-- `Time.now` to `Time.current`
-
-Things like `10.hours.ago` and `5.days.from_now` [should already be using `Time.current`](https://github.com/rails/rails/blob/v4.2.6/activesupport/lib/active_support/duration.rb#L108).
-
-### Result
-This should result in cleaner and more consistent code base, as well as making tests more accurate.
-
-### Next steps (if any)",2
-23208083,2019-07-26 20:11:08.072,Export existing VAT ID to Zuora,"The following discussion from !371 should be addressed:
-
-- [ ] @asubramanian1 started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/371#note_194568197): (+2 comments)
-
- > @csotomango This applies only to new accounts.
- >
- > In case you need it to be applied for existing accounts, let me know. Happy to create a script to push them to Zuora.
-
-We are syncing the Vat ID to Zuora with the change in https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/371.
-
-Although this would update for new records - we need to add a rake task to sync data for existing records.
-
-cc: @csotomango",1
-23186216,2019-07-26 08:34:36.101,Prevent GitLab.com features from affecting Self-Managed customers,"
-
-### Problem
-
-We are integrating more tightly the customer portal into GitLab EE, and it means that more GitLab.com only code will end up there, potentially increasing the leakage to self-manage.
-
-This is a corrective action from the RCA: https://gitlab.com/gitlab-org/fulfillment-meta/issues/34
-
-### Proposal
-
-A few ideas could be:
-
-1. Add a Danger warning when touching specific SaaS code
-1. Add a checkbox in the MR to make sure we double-check we are guarding against this
-1. Abstract and extract specific code so it is easier to put a high-level check or some sort of gateway to check for `.com?`
-1. Extract this code into a Gem, engine, or different service, easier to include/exclude depending on being a `.com?` feature
-1. Keep this code in the customer's app, focusing on a transparent transition to the customer (from `.com?` to the customer portal, they will appear the same).
-
-### Result
-
-More safety towards this kind of bugs, or total prevention
-
-### Next steps (if any)
-
-Gather more ideas and agree on one or more in order to prevent the leakage situation
-
-
-cc @rdavila @stanhu @dennis",5
-22808521,2019-07-15 15:08:39.368,"Follow-up from ""Increase helpers test coverage"" - Deprecate plan_quantity_label and gitlab_com_plan_name","The following discussion from !373 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/373#note_190486793): (+1 comment)
-
- > I ended up writing tests for this method (`plan_quantity_label`) but I never found it referenced anywhere. I was wondering if we should just remove it. Same question for the method below, `gitlab_com_plan_name`.",1
-22747776,2019-07-12 18:21:50.099,Customer Portal: change copy from downgrade to upgrade,"Working Group for Licensing and Transaction To Do:
-
-Change the copy in the customer portal from:
-
-*Need to downgrade? Please contact us and we can assist.*
-
-To:
-
-*Looking to Upgrade?
-Ready to add more support or more DevOps features? See our [pricing page](https://about.gitlab.com/pricing/) for details on our package options. Then, contact us and we can assist in your upgrade.
-Need to downgrade? Please [contact us](https://about.gitlab.com/sales/) and we can assist.*
-
-The pricing page link should open in a new tab.
-
-Current:
-",1
-22549638,2019-07-05 13:59:36.666,"Follow-up from ""Remove countries that are embargoed""","The following discussion from !369 should be addressed:
-
-- [ ] @jameslopez started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/369#note_188659091): (+1 comment)
-
- > Thanks @asubramanian1 - LGTM, left some nitpicks.
- >
- > [My initial idea](https://gitlab.com/gitlab-org/customers-gitlab-com/issues/554#note_186932864) was to have a table with this and add it to `RailsAdmin`, so it can be easily modified. However, since this is a bit urgent, your changes make sense :rocket:",2
-22005625,2019-06-17 22:01:22.791,Integration with SFDC is broken due to invalid credentials,"### Problem
-
-Salesforce credentials used by the subscription portal has been updated without notice to the Fulfillment team:
-
-```
-irb(main):001:0> Salesforce::LeadsFinder.find_by(Email: 'ruben@gitlab.com')
-Restforce::AuthenticationError: invalid_grant: authentication failure
- from /home/gitlab-customers/customers-gitlab-com/vendor/bundle/ruby/2.3.0/gems/restforce-2.2.1/lib/restforce/middleware/authentication.rb:28:in `authenticate!'
- from /home/gitlab-customers/customers-gitlab-com/vendor/bundle/ruby/2.3.0/gems/restforce-2.2.1/lib/restforce/middleware/authentication.rb:15:in `rescue in call'
- from /home/gitlab-customers/customers-gitlab-com/vendor/bundle/ruby/2.3.0/gems/restforce-2.2.1/lib/restforce/middleware/authentication.rb:13:in `call'
- from /home/gitlab-customers/customers-gitlab-com/vendor/bundle/ruby/2.3.0/gems/faraday_middleware-0.10.0/lib/faraday_middleware/request/encode_json.rb:23:in `call'
-```
-
-Username being used is `sfdcadmins@gitlab.com`
-
-### Proposal
-
-Share the new credentials and inform the Fulfillment team the next time they're going to be updated so the integration keeps working.
-
-### Result
-
-Generation of Leads and Opportunities will always work fine.
-
-### Next steps (if any)
-
-Inform the Production team about the new credentials so they can be updated in the Chef vault.",1
-21983689,2019-06-17 15:17:54.678,User Settings Billing Page Improvement - Avatar and Username,"### Proposal
-
-* The top illustration to include the users Avatar at the largest size. This is to help closer link the current active Subscription with the users custom namespace.
-* Include the username in the reference copy.
-
-**[Design Specs](https://gitlab-org.gitlab.io/gitlab-design/hosted/tim/cg%23545-user-settings-billing-page-improvement-avatar-spec-previews/)**
-
-",1
-21968789,2019-06-17 11:33:16.909,Increase lib test coverage 2/2,"
-### Problem
-
-Libraries with low or no test coverage:
-
-```
-lib/client/gitlab_app.rb 42.86 %
-lib/zuora/coupon.rb 44.12 %
-lib/world.rb 45.45 %
-lib/salesforce/leads_finder.rb 50.0 %
-lib/feature.rb 56.1 %
-lib/rails_admin/list_gitlab_namespaces.rb 57.14 %
-lib/client/promotion_code_app.rb 58.82 %
-lib/null_request_store.rb 62.5 %
-lib/safe_request_store.rb 63.64 %
-lib/rails_admin/resend_eula.rb 66.67 %
-lib/rate_plan_helper.rb 66.67 %
-lib/health_check/db_check.rb 70.0 %
-```
-
-### Proposal
-
-Increase the test coverage of these classes, ideally up to 70%
-
-### Result
-
-### Next steps (if any)",3
-21968607,2019-06-17 11:25:58.981,Increase lib test coverage 1/2,"
-### Problem
-
-Libraries with low or no test coverage:
-
-```
-lib/rails_admin/update_gitlab_namespace_plan.rb 16.98 %
-lib/database/migrations_helper.rb 25.76 %
-lib/zuora/digital_signature.rb 30.77 %
-lib/validators/subscription_validator.rb 36.67 %
-lib/health_check/response.rb 38.46 %
-lib/subscription_params_generator.rb 38.46 %
-lib/custom_error_handler.rb 40.0 %
-lib/health_check/base.rb 40.0 %
-```
-
-### Proposal
-
-Increase the test coverage of these files, ideally up to 70%
-
-### Result
-
-### Next steps (if any)",3
-21968604,2019-06-17 11:25:56.014,Increase helpers test coverage,"
-### Problem
-
-Helpers with low or no test coverage:
-
-```
-app/helpers/instance_review_helper.rb 20.0 %
-app/helpers/payment_methods_helper.rb 28.57 %
-app/helpers/eula_requests_helper.rb 50.0 %
-app/helpers/plans_helper.rb 50.0 %
-app/helpers/appearances_helper.rb 66.67 %
-app/helpers/navigation_helper.rb 67.65 %
-```
-
-### Proposal
-
-Increase the test coverage of these helpers, ideally up to 70%
-
-### Result
-
-### Next steps (if any)",3
-21968603,2019-06-17 11:25:50.721,Increase mailers test coverage,"
-### Problem
-
-Mailers with low or no test coverage:
-
-```
-app/mailers/recurly_migration_mailer.rb 0.0 %
-app/mailers/admin_mailer.rb 36.84 %
-app/mailers/customer_mailer.rb 39.39 %
-vendor/ruby/2.3.0/gems/devise-3.5.6/app/mailers/devise/mailer.rb 64.29 % (?)
-```
-
-### Proposal
-
-Increase the test coverage of these mailers, ideally up to 70%
-
-### Result
-
-### Next steps (if any)",2
-21968601,2019-06-17 11:25:44.915,Increase models test coverage,"
-### Problem
-
-Models with low or no test coverage:
-
-```
-app/models/payment_form/ach.rb 0.0 %
-app/models/payment_method.rb 0.0 %
-app/models/receipt.rb 0.0 %
-app/models/subscription.rb 43.3 %
-app/models/concerns/gitlab_com_helpers.rb 50.0 %
-app/models/amend_generator.rb 51.16 %
-app/models/eula_request.rb 52.5 %
-app/models/order.rb 58.97 %
-app/models/product.rb 60.0 %
-app/models/eula.rb 62.5 %
-app/models/trial_user.rb 70.59 %
-```
-
-### Proposal
-
-Increase the test coverage of these models, ideally up to 70%
-
-### Result
-
-### Next steps (if any)",3
-21968599,2019-06-17 11:25:42.427,Increase controllers test coverage,"
-### Problem
-
-Controllers with low or no test coverage:
-
-```
-app/controllers/ngrok_controller.rb 0.0 %
-app/controllers/orders_controller.rb 0.0 %
-app/controllers/payment_methods_controller.rb 0.0 %
-app/controllers/receipts_controller.rb 0.0 %
-app/controllers/zuora_callbacks_controller.rb 0.0 %
-app/controllers/registrations_controller.rb 60.0 %
-app/controllers/subscriptions_controller.rb 62.67 %
-app/controllers/health_controller.rb 72.73 %
-```
-
-SimpleCov also shows these:
-
-```
-vendor/ruby/2.3.0/gems/devise-3.5.6/app/controllers/devise/registrations_controller.rb 43.24 %
-vendor/ruby/2.3.0/gems/devise-3.5.6/app/controllers/devise/omniauth_callbacks_controller.rb 50.0 %
-vendor/ruby/2.3.0/gems/devise-3.5.6/app/controllers/devise/confirmations_controller.rb 56.0 %
-vendor/ruby/2.3.0/gems/devise-3.5.6/app/controllers/devise/sessions_controller.rb 57.78 %
-vendor/ruby/2.3.0/gems/devise-3.5.6/app/controllers/devise_controller.rb 73.75 %
-```
-
-Unsure if that's an issue with SimpleCov/CI reporting this erroneously.
-
-
-### Proposal
-
-Increase the test coverage of these controllers, ideally up to 70%
-
-### Result
-
-### Next steps (if any)",5
-21136399,2019-05-21 08:11:59.994,Upgrade Rails to latest,"### Problem
-
-* Reduced speed
-* Catching up with GitLab CE/EE development
-* Development alignment with other GitLab repos
-
-### Proposal
-
-Update to latest Rails (may require to upgrade Ruby to latest too)
-
-This will involve upgrading other gems.
-
-### Result
-
-### Next steps (if any)
-
-Test on staging",3
-21136347,2019-05-21 08:10:08.595,Update Ruby to latest 2.6,"### Problem
-
-* Security issues
-* Reduced speed
-* Catching up with GitLab CE/EE development
-* Development alignment with other GitLab repos
-
-### Proposal
-
-Update Ruby to `2.6`
-
-To be done after https://gitlab.com/gitlab-org/customers-gitlab-com/issues/496
-
-### Result
-
-### Next steps (if any)
-
-Test on staging",2
-20650802,2019-05-07 11:51:38.941,Spike: Move calls to Zuora/GitLab to background jobs,"At the moment these are synchronous, meaning that the end user has to wait up until these are finished to see the result, making it a bad UX.
-
-To be broken down into smaller issues.",1
-19886918,2019-04-09 13:58:37.095,Configure Security Dashboard,"GitLab has a feature called Security Dashboard, see https://gitlab.com/gitlab-org/customers-gitlab-com/security/dashboard. It allows to constantly monitor a project for security vulnerabilities. We should set it up for this project to be notified of vulnerabilities.
-
-@plafoucriere Can you help with this?",2
-17482809,2019-01-18 22:01:53.892,Update Footer on customers.gitlab.com to Add Link to Repo for Contribution,"We should add links to the bottom of the customers.gitlab.com page for both the ability to edit the page in the web IDE as well as a direct link to the repository so everyone can contribute and find the repo easier.
-
-cc: @jeremy",1
-16041015,2018-11-22 14:07:51.243,Content spoof on https://customers.gitlab.com,"**[HackerOne report #448781](https://hackerone.com/reports/448781)** by gopinath6 on 2018-11-22:
-
-> NOTE! Thanks for submitting a report! Please replace *all* the [square] sections below with the pertinent details. Remember, the more detail you provide, the easier it is for us to triage and respond quickly, so be sure to take your time filling out the report!
-
-**Summary:**
-Content spoof on https://customers.gitlab.com
-
-**Description:**
-An attacker modifies content to make it contain something other than what the original content producer intended while keeping the apparent source of the content unchanged. Upon visiting this link the user would believe the content being displayed as legitimate
-
-In the below url error message is not sanitized, user input messages are reflected back to user
-
-## Steps To Reproduce:
-
-In browser go to
-https://customers.gitlab.com/subscriptions/error?msg=Right%20now,%20we%20are%20facing%20issue.Please%20send%20USD%20to%20this%20btc%20address%202d3dff34455345ffee
-
-
-## Supporting Material/References:
-
- * List any additional material (e.g. screenshots, logs, etc.)
-
-## Impact
-
-In this example the falsified content is directly reflected back on the same page. This presents the user with a modified page under the context of the trusted domain.
-Attacker can make user to send btc to his address of any other spoof message.
-
-## Attachments
-**Warning:** Attachments received through HackerOne, please exercise caution!
-* [spoof.PNG](https://h1.sec.gitlab.net/a/448781/379310/spoof.PNG)",2
-10504535,2018-04-24 15:23:10.282,Check if the Lead has been converted before updating it,"If the user has requested previously a license and the lead has been converted, if he requests again a license when we update the Lead, it will throw an error.
-
-https://sentry.gitlap.com/gitlab/customersgitlabcom/issues/180957/
-
-```
-Faraday::ClientError: CANNOT_UPDATE_CONVERTED_LEAD: cannot reference converted lead
- app/services/create_salesforce_lead_service.rb:43:in `update_lead'
- SalesforceClient.update!('Lead', params)
- app/services/create_salesforce_lead_service.rb:32:in `create_or_update'
- update_lead(params.merge(Id: existing_id))
- app/services/create_salesforce_lead_service.rb:23:in `create_or_update_lead'
- create_or_update(from_params)
- app/services/create_salesforce_lead_service.rb:8:in `execute'
- lead_id = create_or_update_lead
- app/controllers/trials_controller.rb:39:in `create_salesforce_lead'
- CreateSalesforceLeadService.new.execute(trial_user_params)
-...
-(104 additional frame(s) were not displayed)
-
-Faraday::ClientError: CANNOT_UPDATE_CONVERTED_LEAD: cannot reference converted lead
-```",2
-9403017,2018-02-22 19:34:26.141,Add ability for admins to downgrade GL.com subscriptions,"I'm frequently receiving requests to downgrade customers from GL.com Bronze plan to the Free plan given this is not possible for customers to do on their own. I think will be useful to provide this option from the admin panel or by trying to improve the impersonate feature and detect when it's in use and enable features only when an admin is impersonating a customer account.
-
-### Approach
-
-* When impersonating a customer on a paid plan, allow downgrading of a user's plan to any lower tier.
- * The account downgrade should not go into effect until their paid period has expired at the higher tier. If a user pays for a year of Bronze, they should receive 100% of that paid year (even if they downgrade after 6 months).
-
-/cc @csotomango @jeremy_",4
-8146411,2017-12-11 11:27:51.870,Ability to perform sales-assisted purchases,"### Background
-
-Currently, the only way to easily purchase a subscription on GitLab.com is to have a user who is a member of the group login to customers.gitlab.com and provide their credit card information. Customers.gitlab.com is then responsible for making API calls to Zuora, Salesforce and GitLab.com to update billing information.
-
-Sales can, however, be processed via purchase order, either directly with GitLab sales or via partner resellers. This is currently a manual process that involves impersonation of a valid user on customers.gitlab.com.
-
-### Proposal
-
-1. After the order is processed and paid, the user should be sent an email explaining what they need to do:
- * The email should contain a link to set their password on customers.gitlab.com
- * The user then needs to choose the group to apply their payment to
- * If possible, the email should contain screenshots with an example",3
-7061992,2017-10-03 15:18:16.078,Trials for GitLab.com plans,"## Background
-
-We need to allow our users and salespeople to trial GitLab.com plans for 30 days.
-
-An initial simple solution is to allow a trial activation without a credit card.
-
-## Proposal
-
-1. Allow users to visit GitLab.com plan pages (https://gitlab.com/profile/billings or https://gitlab.com/groups/GROUPNAME/-/billings) and activate a trial.
-2. A user should have the option of starting a 30-day Gold trial.
-3. On clicking on the trial CTA, a form similar to the free trial form (https://about.gitlab.com/free-trial/) should be displayed to capture lead information, which is pushed to SF.
-4. On submitting the form, the trial is activated. A user should be redirected to the billing page and see a banner notifying them that they're on a Gold trial, and when this trial expires. This banner should persist until the trial expires.
-5. After 30 days, the trial is deactivated. The trial option should no longer be presented on the billing page, and a user should not be able to obtain another trial for a user or group that's had a trial before.
-
-During the trial, users should receive a nurture campaign similar to our existing campaign for self-managed trials.
-
-A user should also be able to upgrade their account to a paid account during the trial.
-
-## Open questions
-
-* Are we doing trials at each subscription level?
-
-No. The trial is for Gold only.
-
-* Are we allowing trials for individuals, groups, or both?
-
-Both. Accounts should get 1 trial, which can be applied to a personal namespace or a group.
-
-* Should we change `pricing` and consider a separate flow for a new, unregistered user?
-
-Yes, in a separate issue. This should only apply to existing users.
-
-* How does nurture messaging from Marketo and Outreach fit in?
-
-TBD.
-
-* How will the new form interface with SFDC?
-
-We should push these leads to SFDC in the same way we do in https://about.gitlab.com/free-trial/, in the new free trial form. We should note that these leads are for .com.",4
-31669460,2020-03-06 12:25:43.899,Exclude Vue entrypoints from Jest coverage,"### Problem
-
-The entry points files are [exempt from testing](https://docs.gitlab.com/ee/development/fe_guide/performance.html#important-considerations) (e.g. `app/frontend/javascripts/navigation/index.js`).
-
-To keep our Jest coverage more realistic, we need to exclude those files from the coverage report, to reduce noise and unnecessary checking on which files we need to cover with tests.
-
-
-### Proposal
-
-Add an array of files we need to exclude to jest config to keep everything ignored contained in one place.
-
-### Result
-
-Better and more accurate frontend test coverage.
-
-### Next steps (if any)",1
-31668076,2020-03-06 11:45:15.684,"Add client API code to PUT/POST subscriptions, with and without credit card","
-
-Since Zuora is communicating back to us via a webhook, we need to listen to an event callback.
-
-It'd be great to do this with an EventBus. But we have infrastructure in place to listen for event callbacks; so let's use those for now.
-
-There's currently a [global client side event listener](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/app/assets/javascripts/zuora_subscription_event_listeners.js) that does this. However this will make a page redirect on failures and success. We want Vue to be in control of this.",2
-31667786,2020-03-06 11:39:14.244,Zuora component,"
-
-As part of https://gitlab.com/gitlab-org/customers-gitlab-com/issues/957 we need a Zuora Vue component.
-
-We should take inspiration from https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/assets/javascripts/subscriptions/new/components/checkout/zuora.vue and retrofit it to our needs.
-
-* Render iframe based on event; based on a prop
-* Show loading state
-* Allow for retrying on error",2
-31563165,2020-03-04 19:53:22.802,CI Minutes container fix,"
-
-### Problem
-
-On the `/plans` page the purchase CI Minutes component header is not rendering correctly.
-
-| Current | Proposal |
-| ------ | ------ |
-|  |  |
-
-",1
-31553649,2020-03-04 15:42:03.645,Display banner warning when a customer will incur an add-on charge,"## Summary
-
-When we implement [Quarterly Self-Managed Seat Reconciliation & Billing](https://gitlab.com/groups/gitlab-org/-/epics/2747), users will not be aware of the need to load a new license unless we alert them.
-
-### Implementation
-
-1. Starting at ""quarterly event' - 7 days, do a daily check to see if the customer will require an add-on
-1. Where yes, expose a banner in the instance UI (not portal) to admins only
-1. The banner should contain the following information:
- 1. Link to docs page re: quarterly user reconciliation
- 1. Importance of applying the updated license when it is received
- 1. How to contact us for help
- 1. The banner should be dismissible
- 1. If the admin blocks enough users to get back under their subscription seat count, then the banner should be removed
-1. Display a second banner after the quarterly seat reconciliation has been processed (and the new license is available)
- 1. This banner should **not** be dismissible
- 1. The banner should be removed upon applying the license
- Options:
- 1. Any new license
- 1. A license which has more users than previous count
-
-We should not display this message to air-gapped, closed network, or prior to us starting to actually process these charges.
-
-### Test Cases
-
-For each of the scenarios in the [test cases](https://docs.google.com/spreadsheets/d/1S7hF0yb4C8Kjwu_nRC41M6aBCDwSWn0GxI1A2G4NMBA/edit?usp=sharing), check the behavior of the banner against the desired behavior.",3
-31531731,2020-03-04 07:55:17.134,Show a summarize of Seats for Self-Managed and GitLab.com subscriptions,"
-
-### Problem
-
-The initial designs in https://gitlab.com/gitlab-org/customers-gitlab-com/issues/679 show a summation of seats for subscriptions.
-
-
-
-However this data isn't currently available from the backend: https://gitlab.com/gitlab-org/customers-gitlab-com/issues/1126 and making these calculations in the UI is error-prone; the worst thing we can do is show incorrect data.
-
-### Proposal
-
-Once #1126 has been implemented, add Seats data to `SubscriptionDetails.vue`",1
-31517177,2020-03-03 18:39:24.800,Preload of Plans prevents Auto DevOps image build,"### Problem
-
-The application preloads the plans during the initialization phase. This phase is run during `pre-compile assets` when building an image for Auto DevOps. Unfortunately, when the image is being built there is no environment. The image hasn't been deployed to production, staging, or a review app yet. This causes the build to fail.
-
-The specific piece of code causing the failure is this: https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/config/application.rb#L65
-```ruby
-# Load all the plans from Zuora and initialize Plan model in an instance variable.
-# Avoid load in test environment as the call from Zuora is been preloaded via VCR cassette.
-config.after_initialize do
- PlansFinder.eager_load unless Rails.env.test?
-end
-```
-The failure happens in the `pre-compile assets` phase. Here is an example: https://gitlab.com/gitlab-org/customers-gitlab-com/-/jobs/419644471#L830
-
-```
-D, [2020-01-29T23:28:23.810172 #2617] DEBUG -- : could not connect to server: Connection refused
-Is the server running on host ""127.0.0.1"" and accepting
-TCP/IP connections on port 5432?
-excluded from capture: DSN not set
-rake aborted!
-PG::ConnectionBad: could not connect to server: Connection refused
-Is the server running on host ""127.0.0.1"" and accepting
-TCP/IP connections on port 5432?
-```
-
-This is expected at this point because the image is being built for any environment and is not yet deployed to any of them. Anything which requires a database connection must happen later - outside of the `pre-compile assets` phase. Specifically, the initializers are run during the `pre-compile assets` phase.
-
-### Proposal
-
-[This test commit](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/525/diffs?diff_id=75038595&start_sha=e163aa1414572313a8deeeb61f326c61c4c09f76) fixes the problem and allows the image to be built and the application to start up. However, since the plans are no longer pre-loaded, the app throws an error when accessing the login page.
-
-I'm proposing moving this code to a more appropriate place rather than deleting it. Perhaps it can be run on first use, or at some other time after the application has already started up.
-
-I was unable to find a way to leave it where it is but wrap it in a conditional which would cause it to not run during an image build but run during normal app startup. If anyone has an idea how to do that, it could be an alternate solution.
-
-### Result
-
-The result should be that no database connections should happen during the `pre-compile assets` phase of the image build. However, the plans must be loaded when a user connects to the login page.
-
-### Next steps (if any)
-
-The next step is to get some ideas for the best way to do this, and discuss the best one. At that point, we should create an MR against the default branch to implement that idea, and also test the change in the review branch here: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/525
-
-### How will we measure success?
-
-If the image can successfully build, deploy, and start up, and the user facing functionality of the application is unchanged (the login page displays without errors), then this change will be successful.
-
-/cc @jameslopez @dawsmith",2
-31461705,2020-03-02 15:19:28.846,Spike: exposing webpacker images to HAML views,"Looks like we need to put a `require.context('../images', true)` in `application.js` to expose to Rails views.
-
-[As the documentation states here](https://github.com/rails/webpacker/blob/master/docs/assets.md#link-in-your-rails-views)
-
-We need to be sure that only the paths are exposed, and images do not effect bundle size.",1
-31393256,2020-02-28 16:58:57.201,"A successful sign-in should redirect to ""Manage Purchases"" page","
-
-### Problem
-
-Currently, when a user successfully signs into the portal they are automatically taken to the https://customers.gitlab.com/plans page.
-
-### Proposal
-
-If the user has an active product we should redirect them automatically to the `Manage Purchases` page.",2
-31390859,2020-02-28 15:40:13.646,Danger reminder to update the DB ERD,"The following discussion from !1078 should be addressed:
-
-- [ ] @vitallium started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1078#note_295841721): (+1 comment)
-
- > It would be nice to have a rule for the Danger bot that will be triggered by when the following conditions met:
- > * `db/migrate` or `db/schema.rb` contains changes;
- > * **and** `doc/db_erd.png` wasn't updated.
-
-Also, look into automating the generation of the DB diagram by using https://github.com/voormedia/rails-erd or something similar. Using LucidChart requires access to an account which most of us don't have.",0
-31383078,2020-02-28 12:36:33.438,Remove feature flag from Sign in / Register pages under pajamas,"
-This is a follow-up to the original issue #682.
-
-After the feature flag has been enabled on production for about 2 weeks without issues, we need to graduate the sign in & register pages from being served behind a feature flag to being a first-class code served directly to users.
-
-I'm expecting the pages to be approved and the feature flag enabled by 2020-03-06, so this issue should be looked at around 2020-03-23.",1
-31373761,2020-02-28 09:42:28.754,API endpoint design & implementation: Subscription information,"
-
-### Problem
-
-While working on https://gitlab.com/gitlab-org/customers-gitlab-com/issues/679 we want to show purchases and seats in the UI.
-
-This becomes a problem when a subscription
-
-* Self-Managed and has a true-up
-* GitLab.com and users have been added to the group
-
-Since this data isn't exposed by the backend, we'd need to make these calculations in the UI. Previously this wasn't a problem since the UI listed individual purchases, and did not add the total up.
-
-### Proposal
-
-Design and implement a `/subscriptions` endpoint with a clear contract of what data is available.
-Possibly this could be done with graphql: https://gitlab.com/gitlab-org/customers-gitlab-com/issues/889 but that's a stretch-goal.
-
-Alternatively [`subscription_presenter`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/app/presenters/subscription_presenter.rb) can be augmented with the required information.
-
-In any case, this is calculating seats purchased and seats used; so it's a non-trivial product effect here.
-
-### Result
-
-We can trust that data in the UI accurately reflects the correct data",5
-31369713,2020-02-28 07:30:40.436,Navigating to new subscription as anonymous user throws 500 error,"
-
-### Summary
-
-Navigating to new subscription as anonymous user throws 500 error, e.g. https://customers.stg.gitlab.com/subscriptions/new?plan_id=2c92c0f9699eca030169a2f1f117045f&subscription_id=A-S00006613&transaction=ci_minutes
-
-**NOTE:** This doesn't happen on production. On production it redirects you to `https://customers.gitlab.com/plans`
-
-### Steps to reproduce
-
-1. Try to open [this URL](https://customers.stg.gitlab.com/subscriptions/new?plan_id=2c92c0f9699eca030169a2f1f117045f&subscription_id=A-S00006613&transaction=ci_minutes) as anonymouse user.
-
-### What is the current *bug* behavior?
-
-Application throws 500 error.
-
-### What is the expected *correct* behavior?
-
-It should show a screen with sign in to GitLab.com
-
-### Relevant logs and/or screenshots
-
-### Workarounds
-
-(Ways to get around the issue)
-
-### Reported examples
-
-1. https://sentry.gitlab.net/gitlab/customersstggitlabcom/issues/1365901/?query=is:unresolved
-1.
-1.
-
-",1
-31331597,2020-02-27 09:34:27.178,Consolidate on a strategy for handling free plans in Customer Portal and GitLab Core,"Opening this issue on the background of [this comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1062#note_293550541)
-
-> the plans handling in Gitlab.com and in customers.gitlab.com is a bit confusing including `null` plans. I think we're fine with the current MR's scope. But I feel like we need a bigger overhaul going forward across the two applications.
-
-It becomes awkward to handle free plans, since we're marking the absence of information (`null`) as a Free Plan.
-
-A `null` plan can also happen if a bug happens, so it might be risky to fall back to Free Plan like this.
-
----
-
-### TODO
-
-Find a strategy for handling free plans across GitLab core and Customer Portal.
-
-* Could be actively marking Free Plans (serialize Free Plan as a product)
-* Could be embracing `null` == Free Plan in the Customer Portal at the data layer.",2
-31306230,2020-02-26 21:12:09.635,Refunded subscriptions cause customers to be unable to purchase,"
-
-### Problem
-Often, when a subscription is refunded customers are unable to purchase again until we clear out the old `Order` object by setting the `subscription_id` and `product_rate_plan_id` to `nil`.
-
-See: https://gitlab.com/gitlab-com/support/dotcom/dotcom-internal/issues/1663
-
-Best guess as to how to reproduce:
-- Purchase a new subscription
-- Ask for a refund
-- Attempt to re-purchase
-
-### Proposal :pencil:
-
-@vshumilo writes:
-
-Based on the referenced tickets this happens in two main scenarios
-1. The subscription is cancelled and the customer is not able tu purchase another subscription for the same group
-1. The subscription is refunded and the customer is not able tu purchase CI minutes for it.
-
-In order to address this, we will fix it in two separate MRs that correspond to the scenarios described above.
-
-The main reason is that for the first scenario :one: the subscription portal currently listens for subscription callouts, so when a subscription is cancelled on the Zuora end we will get the callout and process it accordingly making it straightforward to recreate the fix.
-
-For the second scenario :two:
-- A new `refund` endpoint needs to be created in the subscription portal
-- Some `refund callouts` need to be configured on the Zuora Payment Notifications end
-- Some questions need to be asked / answered to clarify the current refund process to establish what are the Zuora callouts we want to configure for refunds out of the available options (please see next section).
-- Some investigation is in progress to establish how to get a Zuora Subscription based o a Zuora Refund
-- Refunds and maybe some other objects need to be defined wihin the Subscription Portal to serve as an interface with the Zuora api. Ex: Refund is not one of the resources provided by IronBank
-
-Based on this, we want to ship :ship: these scenarios separately to:
-1. Deliver value in small incremental bits
-1. So the first part is not conditioned by the unknowns we have for the second
-
-### Things we need to answer :question:
-
-1. What is the process to add a new callout to Zuora in Production mode
-1. What are the current refunds that we handle, the 4 types available within Zuora notifications are:
- 1. `Credit Balance Refund Processed | Credit Balance Refund Processed`
- 1. `Credit Balance Refund Processed | External Credit Balance Refund Processed`
- 1. `Payment Refund Processed | External Payment Refund Processed`
- 1. `Payment Refund Processed | Payment Refund Processed`
-1. How to get from the parameters available in the Zuora Refund (Payments scope) to the Zuora Subscription to be able to map the refund to an existing order (In Progress by @vshumilo)
-1. How to get the type of Refund so we can differentiate between primary and secondary subscriptions (do not clear the subscription for the order if the refund is for ci minutes) (In Progress by @vshumilo)
-
-### Thank you!
-
-Shoutout to @rdavila for an awesome collaboration :handshake: and taking the time to talk through the challenges for the new endpoint and adding so much value and insight.
-
-### The Promise :bulb:
-
-Document the process to add a new callout to Zuora (if it is not already)
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",3
-31293994,2020-02-26 14:45:56.284,Create a DB Schema Diagram for customers-gitlab-com,"### Problem
-We do not have database schema diagrams documented for customers-gitlab-com. These are very useful for engineers or otherwise to help visualize the relationships of the DB models.
-
-### Proposal
-Use a tool to generate the schema diagram using the [`db/schema.rb` file](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/0134cfb125f6b264c82e728f49a0a44cb0299804/db/schema.rb#L211) from the project.
-
-Once generated, [@j.carey suggested](https://gitlab.com/gitlab-org/customers-gitlab-com/issues/1011#note_293615743) we make the diagram available in the handbook on [the Business Systems Portal page](https://about.gitlab.com/handbook/business-ops/business_systems/portal) or a subpage.
-
-### Result
-Better documentation for the Customers Portal.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-31288880,2020-02-26 12:52:51.200,"Add Jest tests for ""Sign in/Registration"" Page""""",We're missing jest tests in !967 for the components.,1
-31266744,2020-02-25 20:57:34.976,"Follow-up from ""Preserve default plans order in plans finder""","The following discussion from !1073 should be addressed:
-
-- [ ] @vitallium started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1073#note_294224173): (+1 comment)
-
- > Sort found plans by given `plan_ids` to keep the required order: `Free`, `Bronze`, `Silver` and `Gold`.",1
-31256818,2020-02-25 15:10:13.722,Display correct response from Update and Delete Zuora actions,"### Summary
-
-When updating the payment on the ""Payment Methods"" page, if the error responded back from Zuora the same error is shown in the string format instead of bulleted points like perviously.
-
-This happens only when Zuora is using the REST API.
-
-### Steps to reproduce
-
-1. Login and go to Payments Method page.
-2. Make sure you have atleast one payment method present
-3. Edit the payment and set the Expiration Date last month or before that.
-4. Press Update
-
-### What is the current *bug* behavior?
-
-Error is displayed as String and not the expected message on top of page.
-
-`Body: [{""Errors""=>[{""Code""=>""INVALID_VALUE"", ""Message""=>""Expiration date must be a future date.""}], ""Success""=>false}]`
-
-
-
-### What is the expected *correct* behavior?
-
-The error string should display
-
-`Expiration date must be a future date.`
-
-### Relevant logs and/or screenshots
-
-
-### Workarounds
-
-(Ways to get around the issue)",2
-31124683,2020-02-21 13:44:39.697,Zuora REST API - payment methods are nested in .remote,"
-
-### Problem
-
-After turning on Zuora REST API, payment methods are nested in a `.remote` property.
-
-This has an effect on Views that are querying payment methods and might well be causing some bugs that have not surfaced yet.
-
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/app/views/subscriptions/new_extra_ci_minutes_plan.html.haml#L61
-
-| `zuora_rest_api` off | `zuora_rest_api` on |
-| ------ | ------ |
-|  |  |
-
-### Proposal
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-31113727,2020-02-21 10:16:47.924,Graduate `pajamas_nav_bar` from feature flag (Cleanup),"
-
-The Pajamas Nav Bar has been live for a while without incident.
-
-We should clean up after ourselves :)
-
-* Remove instances of `pajamas_nav_bar`
-* Remove HAML implementation of nav bar
-* Remove HAML specific styles
-* Remove specs that test `pajamas_nav_bar`
-* Remove feature flag from https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags",1
-31094160,2020-02-20 20:43:40.431,Web Directs not Sending MRR or Deal Length Data,"
-
-### Problem
-
-For the Calculation of iACV in Salesforce, Opportunities need to have the following fields filled out to be 100% accurate.
-
-MRR1__c = The MRR of the related Zuora Amendment.
-Start_Date__c = the Start Date of the related Zuora Amendment.
-Opportunity_Term_New__c = the term length in months (Initial Term or Renewal Term based on type)
-
-### Proposal
-
-Please add in these fields when you call `CreateSalesforceOpportunityService` here: https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/app/controllers/subscriptions_controller.rb#L226
-
-### Result
-
-Web Direct opportunities will have these fields populated on creation in SFDC by the portal. We will be able to fully depreciate the tangle of SFDC triggers that were not completing the job as written and were effectively ""Guessing"" the value of these fields.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-31094088,2020-02-20 20:41:35.274,"Follow-up from ""Check Zuora API response and return parsed response body""","The following discussion from !1052 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1052#note_291160337): (+3 comments)
-
- > I suspect we might need to do the same thing in [app/jobs/zuora/actions/amend.rb](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/66678eb7ce0cc05105cb526ad44fbe3dc4e63189/app/jobs/zuora/actions/amend.rb#L13). It might be worth checking the FE folks on what they are expecting there.",1
-31091349,2020-02-20 19:35:54.908,Delete non-gitlab.com customers from customers.stg.gitlab.com,"The following discussion from !1051 should be addressed:
-
-- [ ] @shreyasagarwal started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1051#note_291030121): (+8 comments)
-
- > Is there anyway we do not have this change and we delete all the customers on staging with non gitlab.com email IDs.
- >
- > Is there a reason we are leaving them in the system ?
-
-The general consensus from the thread was to delete all customers from https://customers.stg.gitlab.com that do no have an email address ending in `@gitlab.com`. When working on this task, considerations should be taken to ensure related associations are wiped from the database as well as to not leave orphaned records.
-
-Also, once we've removed non-gitlab.com customer accounts from stg, we can revert most of the code changes from !1051. The main piece we want to keep going forward is https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1051/diffs#fc4baf9840b8a1ebe46afd7dce3b9656c1c51c47_163_164 which prevents new non-gitlab.com registrations in stg.",2
-30988192,2020-02-18 17:56:59.219,Users should be able to enter credit card cvc with leading zero,"### Problem
-When user enters the details for a credit card in the `Edit` form within the customers portal, if the CVC has a leading `0`, the form strips the 3-digit entry of the zero and leaves only the 2-digit entry.
-
-When the user submits the form to save the details like this, they receive this error: `Body: [{""Errors""=>[{""Code""=>""TRANSACTION_FAILED"", ""Message""=>""Transaction declined.invalid_cvc - Your card's security code is invalid.""}], ""Success""=>false}]`
-
-### Proposal
-We should not remove the leading zero from CVC codes.",1
-30900009,2020-02-16 21:51:48.885,"Update Customers with the ""where to find this"" dropdown","Once GitLab %12.8 is released, update the Customers app with the ""where to find this"" dropdown
-
-Refer: https://gitlab.com/gitlab-org/growth/engineering/issues/40#note_274967995",1
-30895351,2020-02-16 15:43:54.826,Create a mapping of interactions between the Customer Portal to Zuora and Salesforce.,"
-### Problem
-
-Our internal teams do not have documentation to help them understand all of the interactions between the Customer Portal, Zuora, and Salesforce.
-### Proposal
-Create a mapping so that we can start to determine where the gaps are currently with data flowing between the systems.
-
-
-### Result
-Identify new issues and opportunities for improving data flow and processes.
-
-
-### Next steps (if any)
-Time boxed effort to provide the mappings.
-
-These materials may help:
-* https://drive.google.com/drive/folders/1kfCEQM6XYGWYxq3Ke4TNvtmDR-46erVD
-* https://about.gitlab.com/handbook/business-ops/business_systems/portal/#zuora-and-salesforce
-
-### How will we measure success?",2
-30895306,2020-02-16 15:40:00.162,Hook staging environment up to Salesforce sandbox,"
-### Problem
-Our staging environment is not hooked up to the Salesforce sandbox that was recently provisioned. This makes testing changes that could impact the flow of data to Salesforce difficult and we often find issues in production that could'be been caught in staging if we had a better way to test them.
-
-
-### Proposal
-
-Per @tyleramos: This might not be too difficult now that we have access to the salesforce sandbox. This might just be a matter of updating some credentials in the `stg` environment and testing it out. Probably a weight of 1 for our team. It'll probably require opening a ticket with infrastructure to get the credentials added to the chef vault so we might be delayed by that.
-
-### Result
-
-Once we have a functional place to do testing, we can reliably develop new features incrementally.
-
-### Next steps (if any)
-
-### How will we measure success?",0
-30791122,2020-02-14 21:27:09.653,Fix broken CI related to postgres image,"### Problem
-As of the last hour or so, we are seeing errors like the following in CI:
-```
-PG::ConnectionBad: could not translate host name ""postgres"" to address: Name or service not known?
-```
-
-Example: https://gitlab.com/gitlab-org/customers-gitlab-com/pipelines/118021482
-
-### Proposal
-The underlying problem and fix has already been applied for gitlab with https://gitlab.com/gitlab-org/gitlab/-/merge_requests/25274. A similar fix would probably solve it for customers.gitlab.com.
-
-### Result
-A functional CI.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-31131848,2020-02-13 15:20:23.604,GitLab.com users should be able to purchase additional users without adding members,"There are many instances when a user wants to purchase additional users for their GitLab.com subscription even though the users don't exist in their system yet. When this occurs, we have to defer the user to sales to issue a sales-assisted quote for the sale.
-
-For example, when trying to use the rest of the money in their budget for the quarter/year, when planning on ramping up employees but they are not yet hired, etc.
-
-Like the self-managed `Add more seats` workflow, we should offer GitLab.com users the ability to purchase prorated users without having to add them to their system.
-
----
-
-## ROI
-
-* [ ] IACV
-* [ ] Cost Reduction
-* [x] Sales Efficiency: [$50k in first 90-days post implementation](https://docs.google.com/spreadsheets/d/1fLu95rdXLa1Y9zq5oI86AAneVsdMctB7NA7EAb7UgLM/edit?usp=sharing)
-* [ ] Other
-
-### Testing and Availability
-
-This issue seems to be from a pure frontend perspective. UI tests to add (page rendering validation and purchase flow):
-
-#### On Customer Portal
-- `Add more seats` button shows for active .com subscription
-- Subscription start/expire/renewal date remains the same
-- Subscription renews with correct quantity (original + seats added)
-
-#### GitLab.com -> Billing page
-- Total seat quantity for a subscription is updated with successful purchase
-- Seats remains the same if purchase did not go through
-
-e2e Test tracked via #1772",3
-30705415,2020-02-13 08:21:09.657,"Adjust countries/states components to be reused in ""Sign in/Registration"" Page","The following discussion from !967 should be addressed:
-
-- [ ] @vitallium started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/967#note_287387305): (+3 comments)
-
- > We can use existing Vue components for countries and states here. WDYT, @aalakkad?
-
-We have these 2 points regarding countries/states components:
-
-1. no straight forward way to set the `name` attribute for the rendered select.
-1. couldn't save the selected country to the main app to pass it to the state select component.",3
-30678716,2020-02-12 14:45:39.729,Provide a callback from Zuora when the subscription is cancelled.,"### Problem
-Currently, An admin from Zuora can go to admin panel and can cancel a running subscription. This subscription is then not shown on the manage subscription page on the customers portal and the corresponding GL namespace is still using the paid plan.
-
-### Proposal
-To add a new callback in the customers portal called from Zuora when the subscription is cancelled (or deleted) which will update the Order table and also make a call to the GL namespace updating its plan information.
-
-### Result
-corresponding .com subscription is downgraded to free/cancelled",2
-30598817,2020-02-10 18:51:38.083,Evaluate SentryJS initialization,"https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/924 moved Sentry to a separate webpack entrypoint and inserts a script tag via `javascript_pack_tag`
-
-However mixing `javascript_pack_tag` and `javascript_packs_with_chunks_tag` with [`splitChunks`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/config/webpack/environment.js#L39) enabled is a no-go.
-
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1013 addresses this issue.
-
-It's worthwhile to evaluate the best strategy for loading and initializing SentryJS.
-
-Additionally it'd be great to find a strategy for testing SentryJS is active in production; so we don't have the error service go down for a week without noticing it.",3
-30559340,2020-02-10 01:36:10.944,Ensure amendment error messages are JSON serialized,"
-
-### Problem
-
-Currently we're passing the IronBank error message to the frontend and rendering it on failure.
-
-
-
-There are quite a number of purchase routes that need to be covered here.
-
-### Steps to reproduce
-
-1. Navigate to Buy more CI minutes for an active subscription (bronze for example)
-1. Try to purchase with card that will decline: `4000 0000 0000 0002` **note that this needs to be selected from the dropdown; adding a new credit card that will decline will not cause this bug**
-1. Note the error message
-
-### Proposal
-
-Provide error message so that users know what's going on.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?
-
-Customers know why they cannot continue with their purchase and able to proceed to corrective action (change/update credit card information) themselves without contacting support.",3
-30514283,2020-02-07 15:00:46.213,Spike: Determine approach for creating restricted view of the license database,"### Problem
-
-In order to better protect customer data, we should enable restricted views of the license database so GitLab team members can be removed from having access to production customer data, while still being able to support customer issues.
-
-### Proposal
-
-* Create a ""middle view"" where customer PII information is scrubbed from the database, allowing for debugging / troubleshooting without access to sensitive customer information.
-
-This issue is to determine the technical approach and should involve reviewing the proposal with stakeholders to ensure we are solving the problem fully and correctly.
-
-### Result
-
-Understanding of next steps and technical implementation details",2
-30372422,2020-02-04 15:05:23.025,Change find by zuora account id to salesforce subscription id,"
-
-### Problem
-
-We found that what was previously labeled as the zuora account id in the version application is actually the salesforce subscription id in the customers application.
-
-### Proposal
-
-Change the rails admin finder override to use salesforce account id instead of zuora account id
-
-
-### How will we measure success?
-
-Ability to link from version application successfully to admin area on customers app.
-
-/cc @timhey",1
-30165778,2020-01-31 18:19:50.558,Consider enabling eager loading in dev and/or test environments,"### Problem
-In [a recent discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/972#note_280295821) in !972, @oswaldo raised a valid point about enabling eager loading in the dev and/or test environments to avoid a bug where some `Zuora::` namespaced classes have not been loaded. In the interest of fixing that particular bug quickly to avoid CI errors, we decided to move forward with the solution of using `const_get(resource_name, false)`. See !972 for more information on the specific error and solution.
-
-### Proposal
-Another potential solution would be to enable eager loading in Rails which would ensure those Zuora classes (and others) are loaded just as they are in Production. It's worth considering the implications of enabling this setting in both environments. A potential downside is the longer boot time in Rails but it might not be prohibitive. Part of this issue should be reaching out to the team for consensus on this topic. For perspective, the GitLab code base eager loads in the test environment but not development.
-
-### Result
-All classes are loaded up front which is more consistent with Production usage.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-30156960,2020-01-31 15:04:57.069,Intermittent CI rspec failures with `IronBank::Authentications::Token::InvalidAccessToken`,"### Problem
-Since we've [enabled the `zuora_rest_api` feature flag by default in rspec](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/916), we've seen flakiness in some tests with the error `IronBank::Authentications::Token::InvalidAccessToken`.
-
-Here's an example of the failure: https://gitlab.com/gitlab-org/customers-gitlab-com/-/jobs/420976521
-
-### Proposal
-The credentials for the Zuora API user are valid so we should investigate what leads to this error. One thing to look at is the session caching in `IronBank`.
-
-### Result
-A more stable CI Pipeline.
-
-### Next steps (if any)
-
-### How will we measure success?",3
-30145689,2020-01-31 11:29:29.606,NoMethodError: undefined method `access_token' for nil:NilClass,"https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1100779/
-
-```
-NoMethodError: undefined method `access_token' for nil:NilClass
- app/services/gitlab/namespace/list_service.rb:13:in `execute'
- return unless @customer.access_token
- app/helpers/gitlab_plans_helper.rb:86:in `gitlab_namespaces'
- @gitlab_namespaces ||= Gitlab::Namespace::ListService.new(current_customer).execute(params[:plan_id]) # rubocop:disable Rails/HelperInstanceVariable
- app/helpers/gitlab_plans_helper.rb:9:in `gitlab_namespace_options'
- gitlab_namespaces
- app/views/subscriptions/new_extra_ci_minutes_plan.html.haml:29:in `_app_views_subscriptions_new_extra_ci_minutes_plan_html_haml___1101725331863083723_87541060'
- = select_tag 'gl_namespace_id',
- app/controllers/application_controller.rb:99:in `render_custom_or_default_template'
- render name
-...
-(108 additional frame(s) were not displayed)
-
-NoMethodError: undefined method `access_token' for nil:NilClass
-```",0
-30140840,2020-01-31 08:59:40.681,Update documentation about feature flags,"### Problem
-
-Right now we get 500s and permission denied errors in the app when enabling a feature flag via `root` - https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1212441/
-
-### Proposal
-
-Update the documentation to make sure files are written as `gitlab-customers` when enabling this via the console
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",1
-30087340,2020-01-29 23:33:22.337,Cannot enable Auto-Devops on this project without Container Registry enabled,"### Problem
-
-The container registry was disabled on this project for security reasons.
-
-With the container registry disabled, Auto-Devops cannot build an image for this application. This is the error:
-
-```
-$ /build/build.sh
-322 Logging to GitLab Container Registry with CI credentials...
-323 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
-324 WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
-325 Configure a credential helper to remove this warning. See
-326 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
-327 Login Succeeded
-328 Building Heroku-based application using gliderlabs/herokuish docker image...
-329 invalid reference format
-330 invalid reference format
-331 invalid argument ""/enable-autodevops:c539778ab1e155e7d621e7e45feee9bfa43ca507"" for ""-t, --tag"" flag: invalid reference format
-332 See 'docker build --help'.
-```
-
-
-When the above setting is turned on, the build proceeds.
-
-
-### Proposal
-
-In order to use Auto Devops, we need to do one of the following:
-
-- Decide that the risk is acceptable and enable the registry
-- Take the project private so that the registry is private, and enable the registry
-- Implement more granular permissions on the registry and enable it
-
-This open issue regarding registry permissions is 3 years old: https://gitlab.com/gitlab-org/gitlab/issues/878
-
-There is also one regarding private/public registries: https://gitlab.com/gitlab-org/gitlab/issues/19585
-
-### Result
-
-Somehow, the registry will need to be on for Auto Devops to be enabled.
-
-### Next steps (if any)
-
-Temporarily enabling the registry results in Auto-Devops working, so we know that turning it on will unblock the Auto-Devops work. We just need to decide how we are going to do that.",0
-30054102,2020-01-29 05:31:54.026,"Follow-up from ""Adjust font sizes for the new nav bar""","The following discussion from !957 should be addressed:
-
-- [ ] @vitallium started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/957#note_278318558): (+1 comment)
-
- > @timnoah, could you please review changes in this merge request? Thanks!",1
-30050686,2020-01-29 01:06:12.026,Subscription names with non-standard characters result in 404s when purchasing/upgrading,"### Problem
-In some cases, strange characters in a subscription name aren't handled correctly.
-
-See https://gitlab.com/gitlab-com/support/dotcom/dotcom-internal/issues/1477 where a customer with a `+` in their name triggered this.
-
-### Proposal
-Handle these more gracefully :wink:
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-30028688,2020-01-28 14:59:18.672,SKUS for Open Virtual Classroom ILTs,"# Overview
-Our team in Customer Enablement is looking to roll out some additional customer training options. Here is the info of their request:
-
-Requesting a set of new SKUs that will be remote live and on-demand virtual classroom instructor-led trainings delivered via Zoom Webinars. These SKUs will be priced per individual user. Users will pay using a credit card through the Customers.GitLab.com portal which will give them access to the course registration page. The Fulfillment team will be added to this issue to work on building a connector to the Zoom Webinar registration pages for each session after the payment is processed.
-
-## Requirements:
-* Able to be purchased via credit card in the customers portal
-* On the main customer portal page at customers.gitlab.com, add an option to the bottom of the page after ""Purchase CI minutes."" The heading would say ""Sign up for a course"" and we'd list the different courses there.
-* The fields we need to collect in the Customers Portal, in addition to those required to process a payment, are:
- * First name (required)
- * Last name (required)
- * Email address (required)
- * Organization (required text field)
- * Role (Required drop down select -- Developer, system administrator, product manager, engineering lead, project manager, security specialist, other)
- * gitlab.com username (optional text field)
-* Post-purchase, direct the customer to the Zoom webinar registration page and pass the fields noted above, as well as the purchase information, so they are pre-populated on the Zoom registration page
-* The way an individual receives a GitLab purchase receipt should be consistent with how it is done for a GitLab license purchase
-
-## Info:
-
-| Course Name | Per-User Price |
-|---------|-------------------------------------------|
-| GitLab with Git Basics Training | $399 |
-| GitLab for Project Managers Training |$399 |
-| GitLab CI/CD Training | $399 |
-| GitLab for System Administrators Training | $399 |
-
-
-## Details
-
-| Title | Specimen SOW | Course Description |
-|---------|-------------------------------------------| -------------------------------------------|
-| * `Title`: GitLab with Git Basics Training - Remote | * `Specimen SOW`: Not applicable | * `Course Description`: [link to page](https://about.gitlab.com/services/education/gitlab-basics/) |
-| * `Title`: GitLab for Project Managers Training - Remote | * `Specimen SOW`: Not applicable | * `Course Description`: [link to page](https://about.gitlab.com/services/education/pm/) |
-| * `Title`: GitLab CI/CD Training - Remote | * `Specimen SOW`: Not applicable | * `Course Description`: [link to page](https://about.gitlab.com/services/education/devops-fundamentals/) |
-| * `Title`: GitLab for System Administrators Training - Remote | * `Specimen SOW`: Not applicable )| * `Course Description`: [link to page](https://about.gitlab.com/services/education/admin/) |
-
-* `Cost/Margin Estimate`: [link to doc](https://docs.google.com/spreadsheets/d/1gFjJFyPDbrzk47-AmeIqESqSmYW62BTJ76J9erR69Eo/edit?usp=sharing)
-
-## Design
-
-* [User flow of purchasing a training in Mural](https://app.mural.co/t/gitlab2474/m/gitlab2474/1586557304023/474e74695af04931e7ec343b31a47d8dc3605bb7)
-* See design tab for individual screens
-
-
-## ROI
-
-* [x] IACV: $50-$100k in first year post deployment
-* [ ] Cost Reduction
-* [ ] Sales Efficiency
-* [ ] Other",5
-30028626,2020-01-28 14:57:35.143,Gracefully handle errors when fetching GitLab namespaces,"### Problem
-There was recently a hiccup in the GitLab namespace service that caused unhandled errors in the customers portal for purchases.
-https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1100780/?query=is:unresolved
-
-This is reproducible locally if you try to purchase CI minutes or any .com plan with GDK turned off.
-
-### Proposal
-Gracefully handle errors when the GitLab service is unreachable or returns an error code. We could display a helpful message on the page instead of erroring.
-
-### Result
-A better UX in the purchase workflow when GL.com is down.
-
-### Next steps (if any)
-
-### How will we measure success?",3
-29972816,2020-01-27 10:42:18.461,Daily pipeline run fails due to empty vcr cassettes,"### Problem
-There is a [daily pipeline](https://gitlab.com/gitlab-org/customers-gitlab-com/pipeline_schedules) run at 9:00 am UTC which runs the rspec job with `VCR=all`. This job always fails due to some vcr cassettes not being able to be recreated. Some cassettes require a date bump in the spec file and others are not recreatable.
-
-The failing of the pipeline is noticed because there is now a deployment status entry in the `#g_fulfillment_status` slack channel. This is the [slack discussion](https://gitlab.slack.com/archives/CL7SX4N86/p1579944896005700) for this issue.
-
-Example of a failing daily pipeline run: https://gitlab.com/gitlab-org/customers-gitlab-com/pipelines/112228583
-
-### Proposal
-We should try to fix this and make the daily pipeline run pass.
-
-### Result
-Passing pipeline for the daily pipeline job.
-
-### Next steps (if any)
-
-### How will we measure success?",3
-29928050,2020-01-24 21:43:47.059,"Follow-up from ""Fixes an issue with id not always being string""","The following discussion from !940 should be addressed:
-
-- [ ] @jackie_fraser started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/940#note_276736235): (+6 comments)
-
- > I'm not sure if this quite makes sense because the return value has changed from false to nil.
- > The true/false response would actually need `(/[a-fA-F]/).match?(id.to_s)`
-
-We should add addition test coverage to `spec/features/rails_admin/customer_show_spec.rb`.",1
-29922116,2020-01-24 16:46:29.979,Rely more on Zuora object factories to create zuora records in tests,"The following discussion from !928 should be addressed:
-
-- [ ] @dstull started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/928#note_276608606): (+1 comment)
-
- > **not blocking:** Wonder if we could leverage a `trait` in the `customer` factory to remove the need for using the `create_zuora_account` helper here...and perhaps altogether as I see it defining instance variables and such as well - which I try to avoid doing in tests as they have a tendency to leak and lead to flaky testing.
- >
- > maybe something like this in the customer factory?
- >
- > ```
- > trait :with_real_zuora do
- > zuora_account_id { create(:z_account, :with_contact).id }
- > end
- > ```
- >
- > then something like this in the `:z_account` factory?
- >
- > ```
- > trait :with_contact do
- > after(:create) do |record|
- > zuora_contact = create(:z_contact, account_id: record.id)
- > create(:z_payment_method, account_id: zuora_account.id)
- > record.update_attributes!(
- > status: 'Active',
- > bill_to_id: zuora_contact.id,
- > sold_to_id: zuora_contact.id
- > )
- > end
- > end
- > ```
- >
- > the above is just a start, but gets toward using factories a bit more
-
-
-That being said, the main code smell comes from the `instance variables` of `module ZuoraTestHelpers`. So the ultimate goal is to eliminate all instance variables from `ZuoraTestHelpers`.
-
-But this issue will limit the scope to be: add the FactoryBot for Zuora account, and use the factoryBot in `some` of the specs.
-
-To achieve the ultimate goal of `removing all instance variables from ZuoraTestHelpers`, it requires lots of specs to re-run VCR re-recording. Due to the complexity and effort is non-trivial, we will avoid this part in this issue. We leave the ultimate goal in another follow-up issue [Remove instance variables from spec/support/helpers/zuora_test_helpers.rb](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2306) for the next step. BTW: with the MR https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2229 , we could already remove all `destroy_zuora_records` from `ALL` specs, per https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2229#note_468181231. But this is not urgent. And it will naturally happen in issue https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2306 anyway.",3
-29896946,2020-01-23 21:53:41.580,Spike: Determine approach for creating restricted view of the customers database,"### Problem
-In order to better protect customer data, we should enable restricted views of the customers database so GitLab team members can be removed from having access to production customer data, while still being able to support customer issues.
-
-
-### Proposal
-* Create a ""middle view"" where customer PII information is scrubbed from the database, allowing for debugging / troubleshooting without access to sensitive customer information.
-
-This issue is to determine the technical approach and should involve reviewing the proposal with stakeholders to ensure we are solving the problem fully and correctly.
-
-
-### Result
-Understanding of next steps and technical implementation details",2
-29896259,2020-01-23 21:09:10.551,Subscriptions cannot be created when Zuora REST API feature turned on,"### Problem
-When the `zuora_rest_api` feature is turned on, users are not able to purchase subscriptions. This feature was newly introduced by !829 but it's not currently breaking in production as the feature is not turned on at the moment.
-
-### Proposal
-Adjust specs in `subscriptions_controller_spec.rb` to run with the feature flag turned on or off, which should highlight the bug, then fix the bug.
-
-### Result
-A functional purchase process for subscriptions when the REST feature is enabled.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-29893578,2020-01-23 18:55:11.371,Allow searching of the customers portal admin by Subscription Number,"### Problem
-Many times users submit support tickets with a subscription number but the email address associated with the ticket is not the email related to the subscription. It would be efficient to allow internal users to search the customers portal admin by subscription number (ex. A-S0000xxxx)",2
-29886439,2020-01-23 14:48:06.847,Rubocop reports different offenses between CI and local dev environment,"### Problem
-I noticed 7 offenses when running Rubocop in my local dev environment, but those are not reported in CI. I opened !921 in order to fix the local offenses (by disabling the offending cop `Rails/BulkChangeTable`), but then Rubocop on CI reports `Unnecessary disabling of Rails/BulkChangeTable`. It appears that Rubocop is running differently on CI (different gem version? different configuration?) from the local dev environments. A few other engineers reported the same behavior so it doesn't seems to be a problem with a single dev environment.
-
-**Local Dev Rubocop Results:**
-```
-➜ customers-gitlab-com git:(staging) be rubocop
-Inspecting 494 files
-.........................................................................................................................................................................CC.C...........C........C.C..........................................................................................................................................................................................................................................................................................................
-
-Offenses:
-
-db/migrate/20160408050701_add_devise_to_customers.rb:3:5: C: Rails/BulkChangeTable: You can combine alter queries using bulk: true options.
- change_table(:customers) do |t|
- ^^^^^^^^^^^^^^^^^^^^^^^^
-db/migrate/20160408063635_add_oauth_columns_to_customers.rb:3:5: C: Rails/BulkChangeTable: You can use change_table :customers, bulk: true to combine alter queries.
- add_column :customers, :provider, :string # rubocop:disable Migration/AddLimitToStringColumns
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-db/migrate/20160426212810_add_country_state_city_and_zip_code_to_customers.rb:3:5: C: Rails/BulkChangeTable: You can use change_table :customers, bulk: true to combine alter queries.
- add_column :customers, :country, :string # rubocop:disable Migration/AddLimitToStringColumns
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-db/migrate/20171228073933_add_extra_info_fields_to_orders.rb:3:5: C: Rails/BulkChangeTable: You can use change_table :orders, bulk: true to combine alter queries.
- add_column :orders, :gl_namespace_id, :string # rubocop:disable Migration/AddLimitToStringColumns
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-db/migrate/20190206170351_add_confirmable_to_devise.rb:3:5: C: Rails/BulkChangeTable: You can use change_table :customers, bulk: true to combine alter queries.
- add_column :customers, :confirmation_token, :string # rubocop:disable Migration/AddLimitToStringColumns
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-db/migrate/20190206170351_add_confirmable_to_devise.rb:14:5: C: Rails/BulkChangeTable: You can use change_table :customers, bulk: true to combine alter queries.
- remove_columns :customers, :confirmation_token, :confirmed_at, :confirmation_sent_at
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-db/migrate/20190512230632_add_address1_and_address2_to_customers.rb:3:5: C: Rails/BulkChangeTable: You can use change_table :customers, bulk: true to combine alter queries.
- add_column :customers, :address_1, :string # rubocop:disable Migration/AddLimitToStringColumns
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-494 files inspected, 7 offenses detected
-```
-
-**CI Rubocop Results:**
-```
-$ bundle exec rubocop
- Inspecting 494 files
- ..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
- 494 files inspected, no offenses detected
-```
-
-### Proposal
-Figure out why Rubocop is running differently on CI and make it consistent to avoid discrepancies.
-
-### Result
-Dependable Rubocop results in local dev and CI.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-29857384,2020-01-22 16:29:28.196,Enable customers to be found by zuora_account_id under the admin path,"
-
-### Problem
-
-We need a way to find the customer's account in the customers application from the version application.
-
-### Proposal
-
-Use the Zuora account id that the version application has access to, and use that to find the proper customer account in the admin area of the customers application.
-
-### Result
-
-Provides a linkable url for the version application to reference: `https://customers.gitlab.com/admin/customer/:zuora_account_id`
-
-### Next steps (if any)
-
-Use this path in https://gitlab.com/gitlab-services/version-gitlab-com/issues/206
-
-/cc @timhey",3
-29813333,2020-01-21 15:41:39.994,[REST Update] Turn on `zuora_rest_api` feature flag by default in tests suite,"### Problem
-Now that we are in a position to have the `zuora_rest_api` feature flag on in production, we need to ensure the test suite runs alls specs successfully under this scenario.
-
-### Proposal
-Turn on the `zuora_rest_api` feature flag by default in `spec_helper.rb`. Address any broken tests that result from the feature flag being on.
-
-### Result
-Better test coverage of the `zuora_rest_api` feature.
-
-### Next steps (if any)
-
-### How will we measure success?",3
-29811055,2020-01-21 14:55:34.054,Hide ACH in Customer Portal,"## Overview
-We want to hide ACH as an option for payment for customers in the customer portal. Per our billing team we have not seen an ACH transaction in the last couple years and we don't want to invest the work to bring it over to pajamas.
-
-We also will likely need to remove it as part of https://gitlab.com/gitlab-org/customers-gitlab-com/issues/786 so hiding it now will (1) allow us to not invest more time on it for pajamas (2) allow us to understand if our thinking/data is wrong and people do in fact need ACH (3) set us up for moving to the v2 API for Stripe, which does not support it.",1
-29752317,2020-01-20 08:07:53.762,Style error messages under Pajama's Design System,"The proposed change is approved and is currently behind [pajamas_error_messages](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/1546/edit) feature flag.
-
-### Problem
-
-The validation error messages are not being styled properly under Pajamas updates in &1788.
-
-
-
-### Proposal
-
-Wrap the current errors within a [danger alert](https://design.gitlab.com/components/alert/).
-
-
-### Next steps (if any)
-
-- [x] Validation and approval from ~UX
-- [x] Add weight and schedule",1
-29716362,2020-01-17 22:54:54.886,Subscription adjustment buttons should not be offered when the subscription is expired.,"### Problem
-Once a subscription expires, there is a short period (maybe 24 hours - need to check with AR), where a user can still renew and the card will try to process the payment. After that short period, if a user tries to renew using the ""Resume Subscription"" button or ""Auto Renew"" toggle, the renewal will not process. Offering this button to users after expiration is confusing.
-
-In some cases the subscription does appear active after these actions but the user is never billed.
-
-Additionally, there is a timeframe that when the customer reengages after ""x"" days post-renewal date, they become a ""new"" order rather than a ""renewal"" order. We should obtain how sales defines and align the behavior.
-
-### Proposal
-
-Remove all buttons beneath an expired subscription including ""Resume Subscription"", ""Change linked group"", and ""Buy more CI minutes"" from the subscription widget once the subscription is expired. This applies to both .com and self-managed subscriptions/licenses.
-
-NOTE: We're only doing this in the new Pajamas (vue) interface.
-
-",1
-29713966,2020-01-17 19:59:56.256,[Deprecate Zuora SOAP] Update test helpers and factories to use Zuora REST API,"### Problem
-The test helpers in [zuora_test_helpers.rb](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/bcc08aba11dbdc6044635ef24bc257ac55a28aa4/spec/support/helpers/zuora_test_helpers.rb) and [stub_zuora_calls.rb](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/bcc08aba11dbdc6044635ef24bc257ac55a28aa4/spec/support/stub_zuora_calls.rb) are littered with `zuora_rest_api` feature flag logic. Also, [Zuora object factories](https://gitlab.com/gitlab-org/customers-gitlab-com/tree/staging/spec/factories/z) create `active_zuora` objects (`Z::`).
-
-### Proposal
-We should transition to using the Zuora REST API (`IronBank`) where possible in the test helpers and factories.
-
-- Remove the feature flag logic from the test helper files.
-- Update the factories to create `Zuora::` namespaced objects, instead of `Z::` namespaced objects.
-
-### Result
-Cleaner test helpers and factories.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-29710141,2020-01-17 16:44:12.103,[REST Update] Fix bug in auto-renew amendments,"### Problem
-The recent deployment of subscription amendments using Zuora REST API prompted errors related to auto-renew amendments.
-
-https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1181887/?referrer=slack
-
-### Proposal
-Fix bug in the Zuora REST API amendments
-
-### Result
-Functional auto-renew amendments via REST API.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-29697895,2020-01-17 10:13:07.541,Adopt Unleash for rolling out Pajamas,"
-
-### Problem
-With [Pajamas conversion](https://gitlab.com/groups/gitlab-org/-/epics/1788) we will end up with a number of [feature flags](https://gitlab.com/groups/gitlab-org/-/epics/1788#feature-flags)
-
-Enabling feature flags currently is to SSH into the box and toggle the flag from the command line.
-This requires access to the staging and production server to toggle the flag and to query which flags are enabled.
-
-Disabling a feature flag if something is wrong can also be time consuming.
-
-### Proposal
-
-[Unleash](https://docs.gitlab.com/ee/user/project/operations/feature_flags.html) has solves a number of these problems.
-
-[Unleash is enabled in the Customer Portal](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/758) so adopting Unleash requires updating existing feature flags (2 as of opening this issue) to the `Unleash` prefix: https://gitlab.com/gitlab-org/customers-gitlab-com#feature-flags-unleash
-
-### Result
-
-Feature flags are visible in a central place: https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags
-
-### Next steps (if any)
-
-Document how to use Unleash in local development",1
-29599132,2020-01-14 16:10:08.286,"Follow-up from ""Health check adjustments""","The following discussion from !865 should be addressed:
-
-- [ ] @rdavila started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/865#note_269968174): (+5 comments)
-
- > @cwiesner @jejacks0n regarding the usage of the `okcomputer` gem, I really like it, it will be less code to write and maintain for us, it has all the features that we've in our current implementation.",1
-29597797,2020-01-14 15:37:21.256,"Re-populate ""mark as default"" checkbox when editing a credit card","The following discussion from !772 should be addressed:
-
-This came up in a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/772#note_271284795) while converting the edit payment method to Pajamas. It is related to making a payment method the default one:
-
- If you edit a payment method and you want to make it a default but the form contains an validation error,
- the check box will be unchecked again. I tried adding a check to set the checkbox to check, but then it
- will be disabled.
-
-It will disabled due to not being able to remove it for the real default payment method. Which is not the case here.",3
-29469319,2020-01-10 05:49:25.509,Follow-up: change admin table dates format,"
-
-This is a follow-up to https://gitlab.com/gitlab-org/customers-gitlab-com/issues/865.
-
-### Problem
-
-The admin table is too congested.
-
-
-### Proposal
-
-@timnoah [said in the main issue's MR](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/858#note_269208798):
-
-> As this is quite a congested table to relieve some of the pressure on wrapping headers could we change the date formatting on **created at** and **updated at** to `MM DD, YYYY hh:mm` Example, **Dec 20, 2019 15:34**?
-
-@aalakkad said:
-
-> I'm not sure how easy it is to do that in rails_admin, for a quick search I found [a way](https://stackoverflow.com/a/32631342) to configure the date format, but I can't be sure if it has any implications for other parts of the system.
-
-
-### Result
-
-Comfortable tables in the admin panel.
-
-### Next steps (if any)
-
-Validate the issue and schedule.
-
-### How will we measure success?",2
-29460538,2020-01-09 18:58:32.215,Remove annotation gem or define process by which they are regularly updated.,"The following discussion from !870 should be addressed:
-
-- [ ] @oswaldo started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/870#note_268272515): (+5 comments)
-
- > My feeling at the moment is that [the annotations] will quickly become stale if we don't have someone taking care of it constantly :thinking:",1
-29447215,2020-01-09 15:06:19.714,Update Zuora Sandbox creds for CI and customers.stg.gitlab.com to use an API account,"### Problem
-It appears that we routinely (every 6 months?) have to update the Zuora API Sandbox password which is used for CI and for customers.stg.gitlab.com. In the past, when we've updated these creds, there is confusion around the process as well as downtime in the CI Pipeline and at customers.stg.gitlab.com. This can cause delays in deploys while the infrastructure team updates the password in the chef-vault.
-
-More info can be found in [the Slack thread discussion](https://gitlab.slack.com/archives/CMJ8JR0RH/p1578582393061900?thread_ts=1578566280.044100&cid=CMJ8JR0RH).
-### Proposal
-We should update the Zuora sandbox credentials used for CI and staging to be an ""API account"" so that the credentials never expire and we don't have to update them routinely.
-
-### Result
-No downtime in CI and staging as a result of expired credentials.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-29438413,2020-01-09 10:49:40.128,500 error on staging - undefined method `find' for false:FalseClass,"
-
-### Problem
-
-```
-I, [2020-01-09T10:45:30.627978 #19373] INFO -- : [eba979eb-44a4-4915-9977-a84d41a10652] Completed 500 Internal Server Error in 773ms (ActiveRecord: 0.0ms)
-D, [2020-01-09T10:45:30.628546 #19373] DEBUG -- : [eba979eb-44a4-4915-9977-a84d41a10652] undefined method `find' for false:FalseClass excluded from capture: Not configured to send/capture in environment 'stg'
-F, [2020-01-09T10:45:30.629413 #19373] FATAL -- : [eba979eb-44a4-4915-9977-a84d41a10652]
-F, [2020-01-09T10:45:30.629477 #19373] FATAL -- : [eba979eb-44a4-4915-9977-a84d41a10652] ActionView::Template::Error (undefined method `find' for false:FalseClass):
-F, [2020-01-09T10:45:30.629675 #19373] FATAL -- : [eba979eb-44a4-4915-9977-a84d41a10652] 1: - starter_plan = PlansFinder.find(Plan::GITLAB_EE_STARTER_1_YEAR_PLAN)
-[eba979eb-44a4-4915-9977-a84d41a10652] 2: - premium_plan = PlansFinder.find(Plan::GITLAB_EE_PREMIUM_1_YEAR_PLAN)
-[eba979eb-44a4-4915-9977-a84d41a10652] 3: - ultimate_plan = PlansFinder.find(Plan::GITLAB_EE_ULTIMATE_1_YEAR_PLAN)
-[fb473b97-a019-4421-a380-5e80c3418c05] 4:
-F, [2020-01-09T10:46:16.707317 #19370] FATAL -- : [fb473b97-a019-4421-a380-5e80c3418c05]
-F, [2020-01-09T10:46:16.707397 #19370] FATAL -- : [fb473b97-a019-4421-a380-5e80c3418c05] app/models/plans_finder.rb:47:in `find'
-[fb473b97-a019-4421-a380-5e80c3418c05] app/views/plans/index.html.haml:1:in `_app_views_plans_index_html_haml___173243987165318374_65993680'
-[fb473b97-a019-4421-a380-5e80c3418c05] lib/zuora_proxy.rb:16:in `perform_request'
-[fb473b97-a019-4421-a380-5e80c3418c05] app/middleware/basic_health_check.rb:20:in `call'
-```
-
-### Proposal
-
-Investigate whether it's a legitimate error and put a fix
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?
-
-cc @fulfillment-group @mkarampalas",0
-29371996,2020-01-07 14:33:26.248,Salesforce lead service errors occurring after deploys following holiday break,"### Problem
-Numerous errors similar to the one below have occurred since the deploys to production were fixed yesterday (1/6) following the holiday break.
-
-```
-#400, :headers=>{""date""=>""Tue, 07 Jan 2020 07:53:02 GMT"", ""strict-transport-security""=>""max-age=31536002; includeSubDomains"", ""public-key-pins-report-only""=>""pin-sha256=\""9n0izTnSRF+W4W4JTq51avSXkWhQB8duS2bxVLfzXsY=\""; pin-sha256=\""5kJvNEMw0KjrCAu7eXY5HZdvyCS13BbA0VJG1RSP91w=\""; pin-sha256=\""njN4rRG+22dNXAi+yb8e3UMypgzPUPHlv4+foULwl1g=\""; max-age=86400; includeSubDomains; report-uri=\""https://a.forcesslreports.com/hpkp-report/00D61000000JNOFm\"";"", ""expect-ct""=>""max-age=86400, report-uri=\""https://a.forcesslreports.com/Expect-CT-report/00D61000000JNOFm\"""", ""x-robots-tag""=>""none"", ""cache-control""=>""no-cache,must-revalidate,max-age=0,no-store,private"", ""set-cookie""=>""BrowserId=utYxfzEiEeqcR_fg1u8E2w;Path=/;Domain=.salesforce.com;Expires=Sat, 07-Mar-2020 07:53:02 GMT;Max-Age=5184000"", ""expires""=>""Thu, 01 Jan 1970 00:00:00 GMT"", ""sforce-limit-info""=>""api-usage=346137/965600"", ""content-type""=>""application/json;charset=UTF-8"", ""transfer-encoding""=>""chunked"", ""connection""=>""close""}, :body=>[{""message""=>""Newsletter: value not of required type: "", ""errorCode""=>""INVALID_TYPE_ON_FIELD_IN_RECORD"", ""fields""=>[""newsletterSegment__c""]}]}>
-```
-
-There are plenty of similar reports in Sentry:
-https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1158625
-https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1159399/?query=is:unresolved
-https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1159395/?query=is:unresolved
-https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1159394/?query=is:unresolved
-
-### Proposal
-Investigate and implement a fix.
-
-### Result
-A functional salesforce integration.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-29362569,2020-01-07 10:06:21.098,Add backtrace to gitlab logger when error type is Error,"### Problem
-
-Currently when a log_error is called with the error object the Raven is called with `capture_exception` and the error is send as an inspect of the error object.
-
-### Proposal
-
-When calling [Raven.capture_exception](https://github.com/getsentry/raven-ruby/blob/ad440b952de0f62b62c42433882887c2cb678caf/lib/raven/event.rb#L181), the method checks itself whether the parameter is a exception or a string and will add backtrace if exists.
-
- Call `message = message.is_a?(String) ? message : message.inspect` after `Raven.capture_exception(message, extra: extra)`
-
-### Result
-
-This will help in backtrace all the custom exceptions raised by the application.
-
-@jameslopez",1
-29348049,2020-01-06 21:06:16.798,Refactor the Subscription#trueup_info method to query within date range rather than filter in Ruby,"The following discussion from !866 should be addressed:
-
-- [ ] @asubramanian1 started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/866#note_267778598): (+1 comment)
-
- > I understand this is an existing logic, however is there a preference to use the ruby method `cover?` here over adding a clause while querying?
- >
- > Related to what's done for [REST](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/staging/lib/zuora/invoice.rb#L10) and [SOAP](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/staging/config/initializers/zuora.rb#L85) previously for similar instances.
- >
- > In case you agree, am okay with creating a follow-up issue given it's a refactor.",1
-29338371,2020-01-06 16:48:23.209,[Deprecate Zuora SOAP] Remove SOAP code from the Subscription model,"### Problem
-Once the Zuora REST update is complete and the SOAP code is no longer needed, we will have plenty of unused legacy code that should be removed.
-
-### Proposal
-We can remove the Zuora SOAP API code and related feature flags. This issue focuses on cleaning up the SOAP logic and feature flags related to the `Subscription` model which was added in #983.
-
-### Result
-A cleaner code base with less feature flags.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-29338363,2020-01-06 16:47:54.289,[Deprecate Zuora SOAP] Remove SOAP code from the PlansFinder,"### Problem
-Once the Zuora REST update is complete and the SOAP code is no longer needed, we will have plenty of unused legacy code that should be removed.
-
-### Proposal
-We can remove the Zuora SOAP API code and related feature flags. This issue focuses on cleaning up the SOAP logic and feature flags related to the `PlansFinder` which was added in #982.
-
-Other things to remove:
-- [Rescuing the `Savon::SOAP::Fault` error](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/2aa0226d267b655f87f9c30918d42917bc67348c/app/models/plans_finder.rb#L28)
-- [Rescuing the DB errors in `Feature#enabled?`](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/2aa0226d267b655f87f9c30918d42917bc67348c/lib/feature.rb#L53)
-
-### Result
-A cleaner code base with less feature flags.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-29338353,2020-01-06 16:47:26.196,[Deprecate Zuora SOAP] Remove SOAP code from the subscriptions_controller,"### Problem
-Once the Zuora REST update is complete and the SOAP code is no longer needed, we will have plenty of unused legacy code that should be removed.
-
-### Proposal
-We can remove the Zuora SOAP API code and related feature flags. This issue focuses on cleaning up the SOAP logic and feature flags related to the `SubscriptionsController` which was added in #981.
-
-### Result
-A cleaner code base with less feature flags.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-29338328,2020-01-06 16:46:14.228,[Deprecate Zuora SOAP] Remove SOAP code from mailers,"### Problem
-Once the Zuora REST update is complete and the SOAP code is no longer needed, we will have plenty of unused legacy code that should be removed.
-
-### Proposal
-We can remove the Zuora SOAP API code and related feature flags. This issue focuses on cleaning up the SOAP logic and feature flags related to Mailers which was added in #922.
-
-### Result
-A cleaner code base with less feature flags.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-29338295,2020-01-06 16:44:30.803,[Deprecate Zuora SOAP] Remove SOAP code related to invoice files in Payment History page,"### Problem
-Once the Zuora REST update is complete and the SOAP code is no longer needed, we will have plenty of unused legacy code that should be removed.
-
-### Proposal
-We can remove the Zuora SOAP API code and related feature flags. This issue focuses on cleaning up the SOAP logic and feature flags related to invoice files in the Payment History page, which was added in #921.
-
-### Result
-A cleaner code base with less feature flags.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-29338052,2020-01-06 16:35:01.174,[Deprecate Zuora SOAP] Remove SOAP code related to updating a Zuora contact,"### Problem
-
-Once the Zuora REST update is complete and the SOAP code is no longer needed, we will have plenty of unused legacy code that should be removed.
-
-### Proposal
-
-We can remove the Zuora SOAP API code and related feature flags. This issue focuses on cleaning up the SOAP logic and feature flags related to updating a Zuora contact which was added in !813.
-
-### Result
-
-A cleaner code base with less feature flags.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-29338000,2020-01-06 16:32:21.815,[Deprecate Zuora SOAP] Remove SOAP code related to creating new subscriptions,"### Problem
-
-Once the Zuora REST update is complete and the SOAP code is no longer needed, we will have plenty of unused legacy code that should be removed.
-
-### Proposal
-
-We can remove the Zuora SOAP API code and related feature flags. This issue focuses on cleaning up the SOAP logic and feature flags related to creating new subscriptions which was added in #833.
-
-### Result
-
-A cleaner code base with less feature flags.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-29335790,2020-01-06 15:18:45.134,Unify colors between @gitlab/ui and the project,"
-
-### Problem
-
-There are conflicting colors between our project and the pajamas.
-
-In our `variables.scss` we have:
-
-```scss
-$gray-400: #444;
-$gray-500: #a1a1a2;
-$gray-600: #d2d2d2;
-$gray-700: #fafafa;
-$gray-800: #dfdfdf;
-$gray-900: #707070;
-```
-
-In pajamas `variables.scss`:
-
-```scss
-$gray-400: #bababa;
-$gray-500: #a7a7a7;
-$gray-600: #919191;
-$gray-700: #707070;
-$gray-800: #4f4f4f;
-$gray-900: #2e2e2e;
-```
-
-### Proposal
-
-Unify the colors code in our project so we will follow the same color convention as pajamas.
-
-Which will need careful changing in our stylesheets that use any of the `$gray-*` variables.
-
-### Result
-
-### Next steps (if any)
-
-- [ ] Validate proposal.
-- [ ] Schedule the issue.
-
-### How will we measure success?",1
-29283732,2020-01-03 19:58:32.966,[REST Update] Update the Subscription model to use the REST API,"### Problem
-
-The following are two references to the Zuora SOAP API that should be updated to use the REST API (with feature flags).
-
-```
-app/models/subscription.rb
- 173,43: product_rate_plan_ids: Z::RatePlan.where(amendment_id: amendment_id).map(&:product_rate_plan_id) }
- 185,19: amendment = Z::Amendment.find_with_array(:id, amendment_ids).order(:created_date, :desc).detect do |a|
-```
-
-### Proposal
-
-Update these references to optionally use the REST API based on the feature flag `zuora_rest_api`.
-
-### Result
-
-The eventual removal of dependence on the obsolete Zuora SOAP API.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-29283728,2020-01-03 19:58:08.094,[REST Update] Update the PlansFinder to use the REST API,"### Problem
-
-The following are two references to the Zuora SOAP API that should be updated to use the REST API (with feature flags).
-
-```
-app/models/plans_finder.rb
- 86,31: @product_rate_plans ||= Z::ProductRatePlan.find_with_array(:id, PRELOAD_PLAN_IDS)
- 90,38: @product_rate_plan_charges ||= Z::ProductRatePlanCharge.find_with_array(
- 96,43: @product_rate_plan_charge_tiers ||= Z::ProductRatePlanChargeTier.find_with_array(
-```
-
-### Proposal
-
-Update these references to optionally use the REST API based on the feature flag `zuora_rest_api`.
-
-### Result
-
-The eventual removal of dependence on the obsolete Zuora SOAP API.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-29283645,2020-01-03 19:52:26.263,[REST Update] Update the subscriptions_controller to use the REST API,"### Problem
-The following are two references to the Zuora SOAP API that should be updated to use the REST API (with feature flags).
-
-```
-app/controllers/subscriptions_controller.rb
- 129,5: Z::ProductRatePlanChargeTier.select(:id, :currency, :price)
- 139,22: z_subscription = Z::Subscription.find(zuora_response[:subscription_id])
-```
-
-### Proposal
-Update these references to optionally use the REST API based on the feature flag `zuora_rest_api`.
-
-### Result
-The eventual removal of dependence on the obsolete Zuora SOAP API.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-29277599,2020-01-03 14:47:57.131,"Hide ""Zuora User and Hosts"" admin section in Production","### Problem
-It's confusing to see the ""Zuora User and Hosts"" Admin section in Production. This section will always be empty in Production as it's only intended to be used in Staging to allow engineers to interact with Zuora callbacks in their local development environment.
-
-
-### Proposal
-We should consider hiding this section in Production to help avoid this confusion. It may also be beneficial to document this section in the README and/or in code so to increase awareness of its purpose.
-
-### Result
-Clearer understanding of this feature.",1
-29248942,2020-01-03 00:03:04.092,Remove usage of map once .empty? support is added to IronBank objects,"The following discussion from !806 should be addressed:
-
-- [x] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/806#note_266198562): (+3 comments)
-
- > Oh, I see why you are using the `map` function before calling `.empty?`. It [looks like IronBank doesn't delegate `empty?`](https://github.com/zendesk/iron_bank/blob/master/lib/iron_bank/collection.rb#L9) like it does some other related methods. That's unfortunate. Maybe I'll submit a patch for that today. If they accept it, we can go back later to update these (maybe by the time we remove the feature flags :fingers_crossed:).
-
-### Steps
-
-Current gem version in the app is `4.3.1`, to address this suggestion we will have to:
-
-1. Update the `iron_bank` gem
-2. Update the discussion for the relevant places to use the `IronBank::Collection` new `empty?` method",1
-29205786,2019-12-31 08:23:34.992,Upgrade bundler to 2.1.2 version,"
-
-### Problem
-
-We use outdated (a bit) Bundler: `1.17.3` when [version 2 is available](). Current version also emits the following warning: `lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/rubygems_integration.rb:200: warning: constant Gem::ConfigMap is deprecated`.
-
-### Proposal
-
-Upgrade Bundler to 2.1.2: `gem update bundle && bundle update --bundler`
-
-### Result
-
-* Up to date Bundler
-* No more this warning
-
-### Next steps (if any)
-
-We also should check our staging and production environments are ready for the updated Bundler. So consider adding ~""production::blocker"" label to a merge request that updates Bundler.
-
-### Additional information
-
-https://bundler.io/guides/bundler_2_upgrade.html
-
-https://bundler.io/blog/2019/01/03/announcing-bundler-2.html",1
-29034158,2019-12-24 18:31:53.739,Count in admin portal isn't always accurate,"
-
-### Problem
-Because we're using `.find` in https://gitlab.com/gitlab-org/customers-gitlab-com/blob/953786c214559b2562506c8809a8416e4a9ac77e/app/views/rails_admin/main/list_gitlab_namespaces.html.haml#L29 and not doing any further processing, we're reading a `quantity` from something that may, or may not, be a license count in accounts with multiple `Order` objects.
-
-See: https://gitlab.com/gitlab-com/support/dotcom/dotcom-internal/issues/1302 for an example.
-
-### Proposal
-Correctly determine the number of license seats by either:
-- querying the group on GitLab.com directly (this count is usually right)
-- be potentially inaccurate in a different way (e.g. `max` of the quantity in all the orders)
-- add a check that the `Order` returned has the right type of subscription for the quantity to make sense in this context
-- ... something else?
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?
-
-### Affected customers:
-- https://gitlab.zendesk.com/agent/tickets/142172
-- https://gitlab.zendesk.com/agent/tickets/141976",2
-29030163,2019-12-24 12:29:46.215,Error messages from Zuora are not being displayed,"
-
-### Summary
-
-Error messages from Zuora are not being displayed due to a JavaScript error.
-
-### Steps to reproduce
-
-* Try to purchase a new subscription with the expired card.
-
-
-
-### What is the current *bug* behavior?
-
-* Nothing happens and the page will show `Please wait while we process your request...` forever.
-
-### What is the expected *correct* behavior?
-
-The customer should receive and be able to see the error visually on the page.
-
-### Relevant logs and/or screenshots
-
-[Link to the screencast ""How to reproduce""](https://monosnap.com/file/vJYPxPmqP1E2pTO3O2UqqEATeNs558)
-
-### Workarounds
-
-(Ways to get around the issue)
-
-### Reported examples
-
-None. Because we don't have Sentry enabled there.
-
-",1
-29010355,2019-12-23 16:26:21.490,Follow-up: update reviewer roulette json file with GitLab's version,"We got a [MR](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/844) that reads roulette.json from https://gitlab.com/aalakkad/roulette-ooo as a proof of concept.
-
-Once !844 has been tested without issues and https://gitlab.com/gitlab-org/gitlab/issues/121583 got implemented on the original `roulette.json`, we need to change the `roulette.json` path to use the original version on `https://about.gitlab.com/roulette.json`
-
-
-/cc @asubramanian1",1
-29001028,2019-12-23 10:53:58.250,Improve namespace td elements test by adding css class,"
-
-> Probably outside the scope of this MR but instead of accessing `td` elements by exact order, why not add a custom class for each `%td` in `app/views/rails_admin/main/list_gitlab_namespaces.html.haml` and then use that to query nodes and match the value? As this approach works but now, but will require change again if new column is added and order is changed. Wdyt?
-
-https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/845#note_264215206",2
-28973919,2019-12-21 11:04:08.118,Support optional chaining operator in JS,"
-
-### Proposal
-
-How about port this to the customers portal and make our code more readable and tidier?
-
-https://gitlab.com/gitlab-org/gitlab/merge_requests/21621
-
-add support for `?.` - closes https://gitlab.com/gitlab-org/frontend/rfcs/issues/11
-
-before: `gon && gon.current_user && gon.current_user.name`
-now: `gon?.current_user?.name`
-
-
-### Next steps (if any)
-
-- [ ] Evaluate the suggestion
-- [ ] Schedule the issue
-
-### How will we measure success?",3
-28968831,2019-12-20 22:11:10.180,[REST Update] Datetime bug occurs in ZuoraCallbacksController#update using Zuora REST API,"https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1133145/
-
-```
-NoMethodError: undefined method `utc' for ""2019-12-20T13:28:29.000-08:00"":String
- app/services/gitlab/hosted_plans/extra_ci_minutes_service.rb:24:in `block in recently_purchased_ci_minutes'
- product.created_at.utc > @order.last_extra_ci_minutes_sync_at
- app/services/gitlab/hosted_plans/extra_ci_minutes_service.rb:23:in `select'
- purchased_packs.select do |product|
- app/services/gitlab/hosted_plans/extra_ci_minutes_service.rb:23:in `recently_purchased_ci_minutes'
- purchased_packs.select do |product|
- app/services/gitlab/hosted_plans/extra_ci_minutes_service.rb:33:in `extra_ci_minutes_to_sync'
- return if recently_purchased_ci_minutes.blank?
- app/services/gitlab/hosted_plans/extra_ci_minutes_service.rb:11:in `execute'
- minutes: extra_ci_minutes_to_sync.to_i,
-...
-(84 additional frame(s) were not displayed)
-
-NoMethodError: undefined method `utc' for ""2019-12-20T13:28:29.000-08:00"":String
-```",2
-28956710,2019-12-20 16:36:55.286,Remove legacy license retrieval logic,"### Problem
-As part of #658, we introduced new logic to the customers-app and license-app to retrieve licenses using the `zuora_subscription_name`. The logic in the customers-app is behind a feature flag `license_lookup_by_subscription_name`. Once we've verified that the new logic is working well, there is no need to keep the old logic.
-
-### Proposal
-- [x] Verify the new logic is working as intended.
-- [x] Create an MR in the customers-app to remove the old retrieval logic and remove the references to the `license_lookup_by_subscription_name` feature flag. Reference !818 for more information. This is the MR where the new logic was introduced.
- - https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2887
-- [x] Create an MR in the license-app to review the old retrieval logic. Reference https://gitlab.com/gitlab-org/license-gitlab-com/merge_requests/131 for more information. This is the MR where the new logic was introduced.
- - https://gitlab.com/gitlab-org/license-gitlab-com/-/merge_requests/254
-- [x] Remove the feature flag `license_lookup_by_subscription_name` from https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags.
-
-### Result
-Cleaner code by removing unnecessary code.
-
-### Next steps (if any)
-
-### How will we measure success?
-No errors when downloading licenses from the customers app.",2
-28952891,2019-12-20 14:22:00.997,Refactor CreateAmendmentWorker,"The following discussion from !810 should be addressed:
-
-- [x] @shreyasagarwal started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/810#note_263573184): (+1 comment)
-
- > What you think of changing this to `params.with_indifferent_access`
-
-- [x] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/810#note_263573191):
-
- > I definitely agree with you there. I don't typically write tests for private methods but ended up doing it in this file since there were other private method tests going on.
-
- > That said, I'll work this one into the tests for the `#zuora_perform` method instead and add a note to revisit the others in that refactor issue #964.",1
-28931263,2019-12-19 19:48:09.778,"Follow-up from ""Add REST API compatibility for creating a new subscription""","The following discussion from !833 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/833#note_263219731): (+5 comments)
-
- > Also, not a blocker and I realize it was like this previously, but I wonder if it's necessary to do the formatting on the date. It think `.to_s` would be called on it implicitly and would convert to that same format. Here's a console example:
- >
- > ```
- > [12] pry(main)> conditions[""TermStartDate <""] = Date.today.last_week
- > => Mon, 09 Dec 2019
- > [13] pry(main)> Zuora::Subscription.where(conditions).max_by(&:created_date)
- > query: select AccountId,AutoRenew,CancelledDate,ClickthroughEULArequired__c,ContractAcceptanceDate,ContractEffectiveDate,CpqBundleJsonId__QT,CreatedById,CreatedDate,CreatorAccountId,CreatorInvoiceOwnerId,CurrentTerm,CurrentTermPeriodType,End_Customer_Details__c,Id,InitialTerm,InitialTermPeriodType,InvoiceOwnerId,IsInvoiceSeparate,Name,Notes,OpportunityCloseDate__QT,OpportunityID__c,OpportunityName__QT,OriginalCreatedDate,OriginalId,PreviousSubscriptionId,Purchase_Order__c,QuoteBusinessType__QT,QuoteNumber__QT,QuoteType__QT,RecurlyID__c,RenewalSetting,RenewalTerm,RenewalTermPeriodType,ServiceActivationDate,Status,SubscriptionEndDate,SubscriptionStartDate,TermEndDate,TermStartDate,TermType,UpdatedById,UpdatedDate,Version from Subscription where AccountId='2c92c0f86ed661d0016eeb5c2cf457f8' AND Name='test' AND TermStartDate <'2019-12-09'
- > ```
- >
- > I'm fine if you want to leave it though.",1
-28923073,2019-12-19 16:06:14.115,Add find_by method support for IronBank records,"The following discussion from !837 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/837#note_263188513): (+2 comments)
-
- > @asubramanian1 Thanks for jumping on this! I had a few comments for your consideration but this looks good.
- >
- > > Am hoping that we could get going with this approach, and write a patch the [find method in Queryable class](https://github.com/zendesk/iron_bank/blob/master/lib/iron_bank/queryable.rb#L8) to rescue such operations in a follow-up MR. Let me know what you think.
- >
- > It's definitely different behavior from `active_zuora`. I'll throw this out for your consideration as well. The `IronBank` behavior isn't all that different from `ActiveRecord`, right? For example, if you use `find` on a model with a bad id, you get an error:
- >
- > ```
- > > Customer.find(nil)
- > ActiveRecord::RecordNotFound: Couldn't find Customer without an ID
- > from /Users/tyler/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activerecord-5.2.3/lib/active_record/relation/finder_methods.rb:433:in `find_with_ids'
- > > Customer.find(123123123123123123123) # invalid id
- > ActiveRecord::RecordNotFound: Couldn't find Customer with an out of range value for 'id'
- > from /Users/tyler/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activerecord-5.2.3/lib/active_record/core.rb:182:in `rescue in find'
- > Caused by ActiveModel::RangeError: 123123123123123123123 is out of range for ActiveModel::Type::Integer with limit 4 bytes
- > from /Users/tyler/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activemodel-5.2.3/lib/active_model/type/integer.rb:53:in `ensure_in_range'
- > ```
- >
- > And with `IronBank` you have something like this:
- > ```
- > > Zuora::Account.find('123123123')
- > IronBank::NotFoundError: Body: {""records""=>[], ""size""=>0, ""done""=>true}
- > from /Users/tyler/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/iron_bank-4.3.1/lib/iron_bank/faraday_middleware/response/raise_error.rb:15:in `on_complete'
- > > Zuora::Account.find(nil)
- > IronBank::NotFoundError: IronBank::NotFoundError
- > from /Users/tyler/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/iron_bank-4.3.1/lib/iron_bank/queryable.rb:9:in `find'
- > ```
- > Notice that ids that are not found also throw errors.
- >
- > I'd honestly be ok leaving the `find` method as is, but we could implement a `find_by` method on `Zuora::Resource`. This would be similar to the `active_find_by` on `Zuora::Subscription` (without the additional active condition). So if we didn't want an error thrown, we could use something like `Zuora::Account.find_by(id: id)` which would be consistent with Rails. WDYT?
-
-As part of this work, we could review the codebase to look for places where the new `find_by` method could be used instead of `where().first`. Also, if we implement a `find_by!` method, similar to [the `active_find_by!` method](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/87b0228b135dca04a53e151307fcdbb9cb5ba37c/lib/zuora/subscription.rb#L18), which throws a `Zuora::RecordNotFound` error, we could clean up the implementation in a few places. For example, in [`CreateSalesforceOpportunityWorker#payment_amount`](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/deeef4d1b6dd715f276b46a8b27c738ee7e6d634/app/workers/create_salesforce_opportunity_worker.rb#L54).",2
-28901604,2019-12-19 04:33:03.434,"Pajamas Update: Portal ""Manage Purchases/Buy more CI minutes"" Page","#### GitLab.com Designs
-| Interface | Description |
-| ------ | ------ |
-| **Buy more CI minutes**
 | **Updates**
- Removed the dropdown field for the CI minute pack
- Added the ability to change the group the purchase applies to |
-
-### Design Specs
-
-https://gitlab-org.gitlab.io/gitlab-design/hosted/tim/&1886-customers-portal-pages-redesigns/buy-ci-minutes",5
-28901425,2019-12-19 04:17:45.712,"Pajamas Update: Portal ""Manage Purchases/Change Namespace"" Page","## Feature flag
-
-The change will be under [`pajamas_purchase_change_group`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/11/edit) feature flag.
-
-#### GitLab.com Designs
-| Interface | Description |
-| ------ | ------ |
-| **Change group**
 | ... |",5
-28901293,2019-12-19 04:05:53.168,"Pajamas Update: Portal ""Manage Purchases/Renew Subscription"" Page","## Proposed Designs
-
-
-### Designs
-2 columns layout - [Figma](https://www.figma.com/file/yjusTZF6Qgr4DzXkvE5bK2/Customers-Portal-Templates?node-id=57%3A1023)
-
-| Interface | Description |
-| ------ | ------ |
-|  | Collapsed |
-|  | Expanded |
-
-
-
-### Feature flag
-
-This change will be used under [`pajamas_purchases_renew_subscription`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/20/edit) feature flag.",5
-28901228,2019-12-19 03:59:05.094,"Pajamas Update: Portal ""Manage Purchases/Add More Seats"" Page","## Proposed Designs
-
-[`pajamas_add_seats`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/13/edit)
-
-#### Self-Managed Designs
-| Interface | Description |
-| ------ | ------ |
-| **Add more seats**
 | ... |
-
-### Testing and Availability
-
-This issue seems to be from a pure frontend perspective. UI tests to add (page rendering validation and purchase flow):
-#### On manage purchase page:
-- user with a current active subscription has an option to `add more seats`
-
-#### On Manage Purchase -> Add more seats page
-- verify current subscription and expiration days shows
-- verify number of current seats
-- user can choose additional seats in input field
- - prevent user from entering invalid numbers/strings
- - purchase summary table updated with user’s input
-- verify new seats total, new seats, unit price with correct expiration date in price note
-- verify sub-total
- - verify price if there is active coupon
-- use default payment on file or create new payment method
-- on successful purchase
- - purchase successful modal shows
- - redirect back to manage purchase page, with number of seats updated in subscription info
-- purchase failed
- - shows error messages
- - current subscription status won’t change",3
-28900953,2019-12-19 03:37:17.774,"Pajamas Update: Portal ""Manage Purchases/Add new Credit Card "" Page","#### Self-Managed Designs
-| Interface | Description |
-| ------ | ------ |
-| **Add new Credit Card**
 | **Key Points**
- Instead of the radio options we currently have, @timnoah has opted to place the ability to an add additional payment card via the `Payment menthod` dropdown. |
-
-**Design specs**
-https://gitlab-org.gitlab.io/gitlab-design/hosted/tim/&1886-customers-portal-pages-redesigns/add-new-credit-card/",3
-28894465,2019-12-18 19:33:09.341,Add tests covering renewing subscriptions with true-ups,"
-
-### Problem
-
-We rolled out a fix for #950 in https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/834 but we didn't add any tests.
-
-### Proposal
-
-* Add specs that cover `SubscriptionsController#update`;
-* Add features specs that cover the functionality mentioned in the title.
-
-### Result
-
-Problems like #950 can be detected on running tests.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-28840104,2019-12-17 20:19:51.470,VCR not matching Zuora SOAP query requests properly,"### Problem
-On occasion, we have noticed mysterious problems when re-recording VCR files.
-
-Here's an example error:
-```
-1) Upgrade Subscriptions when Zuora REST API feature is enabled Loads page with a plan already on the user
- Failure/Error: @zuora_subscription = Z::Subscription.find(subscription[:subscription_id])
- NoMethodError:
- undefined method `code=' for #
-```
-
-On the surface, this seems very strange. Especially strange, when the spec passing during the recording, but not when using the previously recorded cassettes.
-
-### Proposal
-Investigate a problem with the VCR request matching strategy.
-
-### Result
-More reliable VCR request matching and overall test suite reliability.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-80089961,2021-03-02 12:59:53.781,Refactor Gitlab::HostedPlans::PurchasedAddOns::StorageService specs,"### Problem
-There was a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2847#note_519236368) in the review of !2847 to refactor the specs for `Gitlab::HostedPlans::PurchasedAddOns::StorageService.for_namespace`.
-
-There's a lot of repetition for all the examples. But with the current test setup it's hard to use more `let_it_be` and the provided patch added more complexity to it.
-
-### Proposal
-Evaluate to refactor the mentioned specs to remove repetition. Also try to use `let_it_be` to create objects only once and not for each spec. There are a [few suggestions](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2847#note_519236368) and a [patch](https://gitlab.com/gitlab-org/customers-gitlab-com/uploads/3d5bc7203f8e5cb03b2bf2995a4899dc/refactoring.patch) in the original discussion that can provide some ideas.
-
-### Result
-Faster specs and avoiding repetition.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-79818272,2021-02-25 15:58:28.357,Cap subscriptions ge 25 seats only,"### Problem
-
-As part of https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2668 we introduced a seats cap of 25 for Silver / Premium subscriptions that are not at list price (228 per user per year).
-
-As a result of this, sales assisted subscriptions that were already processed at a price other than list price WITH over 25 seats are not able to add further seats using the Add Seats action.
-
-### Proposal
-
-Update the cap validation eligibility from:
-
-> Premium / Silver subscription NOT at list price
-
-To:
-
-> Premium / Silver subscription NOT at list price and current total <= 25
-
-### Result
-
-Sales assisted users in Silver / Premium whose subscriptions where initially created by sales with over 25 seats will be able to purchase.",2
-79800129,2021-02-25 12:15:16.930,"Follow-up from ""Refactor a few Salesforce services""","Within the specs for the Salesforce services, `double` is used to quickly define an object. In a review the suggestion came up to use `instance_double` instead:
-
-The following discussion from !2856 should be addressed:
-
-- [ ] @rpereira2 started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2856#note_516921357): (+2 comments)
-
- > **minor (non-blocking)**: Is it possible to use `instance_double` here?",2
-79726052,2021-02-24 16:01:06.080,Update customer's salesforce account id when falling back to the contact,"### Problem
-In https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2816 the fallback to the contact in case the customer's `salesforce_account_id` is empty was evaluated along the way and it resulted in [this comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2816#note_512834833). **TLDR:** it might be a good idea to update the customer's `salesforce_account_id` in case there was a fallback to the contact (this can be an existing one or even a newly created one). So here's the issue to suggest this:
-
-When looking for the Salesforce account id of a customer and the `salesforce_account_id` field is empty, there is a fallback to the Salesforce contact in place ([here](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/b9203079a4bf620a915c46eca0b9012842dfdccd/app/services/create_salesforce_account_service.rb#L32)). But the customer object is not updated with that information in case the contact returns it.
-
-This is also the case when creating a new contact as a fallback in the [Salesforce::BaseOpportunityService](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/b9203079a4bf620a915c46eca0b9012842dfdccd/app/services/salesforce/base_opportunity_service.rb#L29) that is used by `Salesforce::CreateOpportunityService` and `Salesforce::UpdateOpportunityService`.
-
-`@jbrennan1` also [provided this information](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2816#note_515380804):
-
-> a quick overview / thoughts on how SFDC Account, Contact, Opportunity and Opportunity Contact Roles all work:
->
-> 1. Establish the SFDC Account Id that ALL of the remaining objects will relate up to. @cwiesner the improvement you made to make sure we are ensuring the Account Id is populated looks great! We need to make sure that all steps use the same Account Id.
-> 1. Insert the Contact with AccountId = the Account's Id.
-> 1. Insert the Opportunity with the AccountId = the Account's Id.
-> 1. Insert the Opportunity Contact Role with OpportunityId = Inserted Opp's Id and ContactId = Inserted Contact's Id.
->
-> Technically parts 2 and 3 can be switched in the order. Tell me if there are any more questions.
-
-### Proposal
-After falling back to the Salesforce contact when the customer's `salesforce_account_id` is empty, update it with the contact's `AccountId`.
-
-### Result
-Consistent data and less queries since the field will be updated.
-
-### Next steps (if any)
-
-### How will we measure success?
-
-### Availability & Testing
-
-
-
-We should consider writing an automated test to test detection of these cases and test the resulting action(s).",2
-79658839,2021-02-23 18:46:18.111,Remove `ZUORA_API_USER` and `ZUORA_API_PASSWORD` env vars,"### Problem
-
-`ZUORA_API_USER` and `ZUORA_API_PASSWORD` are environment variables that were used to authenticate with the Zuora SOAP API and a few other places that called the Zuora API directly. With the removal of the Zuora SOAP API code in favor of the REST API using IronBank (which uses oAuth client credentials `ZUORA_CLIENT_ID` and `ZUORA_CLIENT_SECRET`), it appears we might be able to remove these environment variable if they are no longer used.
-
-### Proposal
-
-1. Remove these environment variables from [`config/secrets.yml.example`](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/cc90989177d14c939ef838a11cc084bb9173a326/config/secrets.yml.example#L49).
-1. Remove references in [`doc/installation_steps.md`](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/e866d4e7523c6a6940ab0fa1261062f52cf025d6/doc/installation_steps.md#L78).
-1. Remove references in [VCR configuration](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/6baf97b35be798d23e934ee358d0606633ee7695/spec/support/vcr.rb#L16).
-1. Remove references from [`.gitpod.yml`](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/3d5c51c04a147a8bebbe4b98a2dafe6ed11d3bfe/.gitpod.yml#L8).
-
-After the MR merges:
-1. Send a reminder to the team via Slack letting them know to remove the envirionment variables from their `config/secrets.yml` file.
-1. Get a CustomersDot maintainer to remove these environment variables from the CI settings.
-1. Open a cookbook-customers-gitlab-com MR to remove [references in this project](https://gitlab.com/search?utf8=%E2%9C%93&search=zuora_api_user&group_id=650153&project_id=1755794&scope=&search_code=true&snippets=false&repository_ref=master&nav_source=navbar).
-1. Open a [infrastructure issue](https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues) to remove these environment variables from chef-vault and ping `@gitlab-com/gl-infra/managers` to get it prioritized/scheduled.",1
-79656032,2021-02-23 17:58:04.530,[UX] Community subscriptions should be able to self-checkout renewals,"This is the UX design issue for https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2746
-
-### Designs
-
-- See design section
-- [Figma link](https://www.figma.com/file/bEv8vTbhUUEfnDL8dXbevE/Community-Programs-Self-Checkout?node-id=206%3A1579)
- - Use Figma to get the design specs you need! (Sizing, spacing, color, copy, etc) You don't need any special access, just sign up for a free account and click the link above.",3
-79655929,2021-02-23 17:55:55.016,[FE] Breakdown: Community subscriptions should be able to self-checkout renewals,"## Summary
-
-In https://gitlab.com/groups/gitlab-org/-/epics/5068 we are building self-service checkout of new community program subscription. We now need to build a renewal flow for these subscribers.
-
-The general process flow described in the parent epic is the same for new and renewal subscriptions however when the user enters CustomersDot, they will need to select a `Renew` cta.
-
-## Development plan
-* Build landing page for CE renewal https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3601
- * add a new route `/subscriptions/community_program/renew`
- * re-use templates that we build for CE subscription `community_subscription_landing_page.vue`
-* Update the CE subscription cards on `/subscriptions` page
- * Add info banner for renewal alert that would show up 3 month before before expiration https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3574
- * enable renew buttons with correct path https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3575
-* Build a renewal page for CE
- * add a new route `/subscriptions/community_program/renew/A-SXXXXXX` with basic titles https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3576
- * add purchase description https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3577
- * mind that we need two different versions of it: for SaaS and for SelfManaged
- * for SelfManaged version add a collapsible element with a hint from [subscription_renew.vue](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/a8d38ed9bd91be182e6288ff341a0c736713788f/app/frontend/javascripts/subscription/components/subscription_renew.vue#L337). We already have this element glued in the `subscripton_renew` component so it is a good time to extract it and use in two places
- * add customer information [component](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/76db4040e6294daa2da5ae813f667c54d34781a5/app/frontend/javascripts/subscription/components/customer_information.vue) https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3578
- * add coupon input [component](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/fa85e92d41afbdd97d324d6a4a37f0cba16529e5/app/frontend/javascripts/subscription/components/coupon_code_input.vue) https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3602
- * add purchase confirmation [component](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/f86054a4cb83d5536a2f5093830b4b47d7a55ff0/app/frontend/javascripts/purchase/components/purchase_confirmation_card.vue) https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3603
- * show success message if transaction is successful [modal](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/75adc85589a351f9aa523a4ca2f1bd46e7c3d09a/app/frontend/javascripts/purchase/components/purchase_success_modal.vue) https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3604
- * We would also need two version here for SaaS and for Selfmanaged
-
-#### Design
-See [design issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2747/)",3
-79622800,2021-02-23 10:23:24.817,Refactor RSpec::Parameterized::TableSyntax inclusions,"
-
-### Problem
-
-We currently require `rspec-parameterized` [here](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/6e5df55d8add9945f2c9348263511d1c30098362/spec/spec_helper.rb#L6), which means we don't need to require it inline in specs when not using the table syntax, e.g.
-
-```ruby
-using RSpec::Parameterized::TableSyntax
-```
-
-So we should consider refactoring existing uses of the above (or removing the global require)
-
-Affected spec files at time of writing:
-
-- spec/services/gitlab/hosted_plans/purchased_add_ons/storage_service_spec.rb
-
-This is a follow-up from the discussion here: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2791#note_514334639",1
-79368879,2021-02-18 20:31:29.969,Remove deprecated tasks from package.json,"Remove the following deprecated tasks from `package.json`:
-
-```
-""eslint"": ""echo 'Please use yarn lint:eslint instead' && exit 1"",
-""eslint-fix"": ""echo 'Please use yarn lint:eslint:fix instead' && exit 1"",
-""eslint-staged"": ""echo 'Please use yarn lint:eslint:staged instead' && exit 1"",
-""eslint-staged-fix"": ""echo 'Please use yarn lint:eslint:staged:fix instead' && exit 1"",
-""eslint-report"": ""echo 'Please use yarn lint:eslint:report instead' && exit 1"",
-""markdownlint"": ""echo 'Please use yarn lint:markdown instead' && exit 1"",
-""markdownlint-staged"": ""echo 'Please use yarn lint:markdown:staged instead' && exit 1"",
-""markdownlint-staged-fix"": ""echo 'Please use yarn lint:markdown:staged:fix instead' && exit 1"",
-""stylelint"": ""echo 'Please use yarn lint:stylelint instead' && exit 1"",
-```",1
-79365555,2021-02-18 18:58:23.482,UX: Allow users to create a Premium trial,This is the UX design issue for https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2728,3
-79210883,2021-02-16 17:17:29.618,Confirm migration happens as expected,"
-
-### Problem
-
-We saw https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2714 miss a migration on staging leading to [this internal thread](https://gitlab.slack.com/archives/CMJ8JR0RH/p1613493001291300)
-
-We managed to resolve the migration, however the cause of the failure is unknown, and https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2714 is scheduled to deploy to production in ~1.5 hours.
-
-Since the missed migration didn't cause any breaking issues, we do not see a reason to block the deploy. However we want to keep an eye on this.",1
-79145107,2021-02-15 21:27:04.921,EoA: User cap message not displaying for the Add Seats flow,"## Summary
-
-In the EoA Bronze/Starter project we implemented a screening to prevent customers from taking advantage of the discounted offers for more than 25 users via CustomersDot and instead, send them to sales.
-
-Although [the backend is preventing this](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2668#note_506408261) for the Add Seats purchase flow, the frontend is not displaying the proper ""You have exceed the 25 seat .... Contact sales..."" message which we display in the upgrade and renewal flows. Instead, we are showing an unhelpful ""unknown error"" message.",2
-79143282,2021-02-15 20:53:20.836,Security Essentials Training SKU,"# SKU Request Summary
-
-
-
-
-
-## SKU Requirements
-
-In order to expedite your request, please complete all of the following information.
-Any questions about this template or this request can be directed to @amandarueda in the comments of this issue.
-
-* [x] SKU Name: GitLab Security Essentials Training - Remote
-* [x] SKU Code/ID: See Production/API Sandbox export
-* [x] Zuora Plan Name: [See Production/API Sandbox export](https://docs.google.com/spreadsheets/d/1_fCY2Vswd6i1sgJpXe5OQIrv7GSKIejCPVic1ZyhWeA/edit?usp=sharing)
-* [x] Zuora Plan ID: [See Production/API Sandbox export](https://docs.google.com/spreadsheets/d/1_fCY2Vswd6i1sgJpXe5OQIrv7GSKIejCPVic1ZyhWeA/edit?usp=sharing)
-* [x] Service type: `add-on`
-* [x] Does this need to be purchase-able via CustomersDot? `No`
-* [x] Does this service renew? `No`
- * [ ] If yes, what is the renewal cadence? `monthly | annually | other`
-* [x] Should an email be sent indicating the subscription is coming to an end?: `No`
-* [x] Is there a unit of measure, if so what? `Yes Education Service`
-* [x] Does this service provision anything? `No`
- * [ ] If yes, please describe in detail what should be provisioned including the systems affected:
-* [x] How soon do you need this SKU ? Timeline:ASAP
-* [x] Who in Sales-Ops approved this request: @dhong
-* [x] Link to originating Finance issue: https://gitlab.com/gitlab-com/Finance-Division/finance/-/issues/3589
-* [ ] Apply the appropriate `BTG Priority` label to this issue.",2
-79107590,2021-02-15 11:57:16.628,[CI Minutes] Migrate purchase subscription steps to GraphQL,"Migrate the existing [subscription checkout](https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/assets/javascripts/subscriptions/new/components/checkout/) to use the GraphQL based `step.vue`, `step_header.vue`, `step_summary.vue`, and `progress_bar` components and the GraphQL based `Subscriptions::CreateService.new(...)`",2
-79107567,2021-02-15 11:56:34.379,[CI Minutes] Migrate purchase subscription details to GraphQL,Migrate the existing [`subscription_details.vue`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/assets/javascripts/subscriptions/new/components/checkout/subscription_details.vue) and [`summary_details.vue`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/assets/javascripts/subscriptions/new/components/order_summary/summary_details.vue) to use GraphQL.,2
-79107468,2021-02-15 11:54:27.977,[CI Minutes] Create a banner to display success from purchasing CI Minutes,Create a banner to display success from purchasing CI Minutes,2
-79106816,2021-02-15 11:48:09.077,[CI Minutes] Implement GraphQL fetch of CI plan minutes data,"Implement GraphQL fetch of CI plan minutes data:
- - See BE ticket here: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2628#note_506935713
-
-Details in the Epic: https://gitlab.com/groups/gitlab-org/-/epics/5391",3
-78993332,2021-02-12 19:11:24.249,Custom PS Education Services SKU,"# SKU Request Summary
-
-
-
-
-
-## SKU Requirements
-
-In order to expedite your request, please complete all of the following information.
-Any questions about this template or this request can be directed to @amandarueda in the comments of this issue.
-
-* [x] SKU Name: Custom PS Education Services
-* [x] SKU Code/ID: See Production/API Sandbox export
-* [x] Zuora Plan Name: [See Production/API Sandbox export](https://docs.google.com/spreadsheets/d/1hFp2LnIN1a1nCJ9sjuSeqa0IGqn19pXIuVS83M6KciY/edit?usp=sharing)
-* [x] Zuora Plan ID: [See Production/API Sandbox export](https://docs.google.com/spreadsheets/d/1hFp2LnIN1a1nCJ9sjuSeqa0IGqn19pXIuVS83M6KciY/edit?usp=sharing)
-* [x] Service type: `add-on`
-* [x] Does this need to be purchase-able via CustomersDot? `No`
-* [x] Does this service renew? `No`
- * [ ] If yes, what is the renewal cadence? `monthly | annually | other`
-* [x] Should an email be sent indicating the subscription is coming to an end?: `No`
-* [x] Is there a unit of measure, if so what? `Yes` `Education Service`
-* [x] Does this service provision anything? `other`
- * [ ] If yes, please describe in detail what should be provisioned including the systems affected:
-* [x] How soon do you need this SKU ? Timeline: ASAP
-* [x] Who in Sales-Ops approved this request: @c.yoshida
-* [x] Link to originating Finance issue: https://gitlab.com/gitlab-com/Finance-Division/finance/-/issues/3428
-* [ ] Apply the appropriate `BTG Priority` label to this issue.
-
-[Customer PS Education Services](https://docs.google.com/spreadsheets/d/1hFp2LnIN1a1nCJ9sjuSeqa0IGqn19pXIuVS83M6KciY/edit?usp=sharing)",2
-78930301,2021-02-11 18:27:23.367,Invalid user input during purchase should not raise Sentry errors,"### Problem
-
-We've seen some Sentry errors (shown below) which were triggered from invalid user input like entering an invalid quantity during a EoA upgrade at renewal. These types of errors are displayed on the page in order for the user to fix the problem on their own. They don't represent an error in the code that needs to be addressed so we should not raise these types of errors in Sentry, which adds extra noise.
-
-1. [You have exceeded the 25 seat allowance for this offer](https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/2486996/?referrer=slack)
-2. [Enter a number of active users greater than or equal to your current number of active users (12)](https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/2487120/?referrer=slack)
-
-[Slack thread](https://gitlab.slack.com/archives/CL7SX4N86/p1613068673149300?thread_ts=1613065859.148000&cid=CL7SX4N86) (internal) for context.
-
-### Proposal
-
-These errors are handled in [the `AmendSubscriptionService#execute` method](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/e390ecbe3fde96d1747056b9bd3f05c88958aac9/app/services/amend_subscription_service.rb#L35). Some errors (`PaymentMethodUpdateError`, `NotUpgradableError`, `NotDowngradableError`, `MaxAdditionalSeatsExceededError`) are rescued without logging an error to Sentry.
-
-The first error above (`MaxAdditionalSeatsExceededError`; [raised here](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/eaedf03b86463244a458f9bf1d63c3fe9424d0ea/app/services/amendment_base_service.rb#L262)) should be handled this way without logging in Sentry but it must be somehow. This might be coming from the frontend as errors are raised [from here](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/e3560a9d6787bf155672380f7b3a9da5ff00928b/app/frontend/javascripts/subscription/components/upgrade_subscription_app.vue#L238) as well.
-
-The second error ([raised here](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/e390ecbe3fde96d1747056b9bd3f05c88958aac9/app/services/amend_subscription_service.rb#L245) is logged to Sentry because it's raised as a `RenewalError` which [rescued here](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/e390ecbe3fde96d1747056b9bd3f05c88958aac9/app/services/amend_subscription_service.rb#L36) and logged to Sentry.
-
-### Result
-
-Less noise in the #s_fulfillment_status Slack channel.",2
-78839751,2021-02-10 17:34:42.345,"Follow-up from ""Drop :drop_custom_encoding feature flag""","The following discussion from !2765 should be addressed:
-
-- [ ] @cwiesner started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2765#note_506200531):
-
- > **nitpick:** This method serves as an alias only now. We should remove it and use `name` directly for its usages. I'm okay with addressing this in a follow-up as well.",1
-78739218,2021-02-09 17:32:55.884,Remove custom eager loading in PlansFinder is possible,"### Problem
-
-In the `PlansFinder` currently, plans are eager loaded during [app initialization](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/13b85a3f5e28800634da970972c3bc5313b2d37c/config/application.rb#L72). This is done as an optimization to reduce the number of requests to Zuora to fetch common products from the catalog. However, now that we are using [IronBank's local products cache feature](https://github.com/zendesk/iron_bank#local-records) (with a slight [customization to store in the db](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/45f5dedbb4fa803d19827472214ea0b5b0ce1861/lib/gem_extensions/iron_bank/local_records.rb#L6) instead of filesystem), we might not need this eager-loading mechanism anymore.
-
-Removing eager loading would have some nice benefits:
-- Removes complexity in the app loading logic.
-- Removes a few [class variables](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/aa13252af0a6e69a58c8ac2bc645afaf36d7b12c/app/models/plans_finder.rb#L12) from our codebase which in general should be avoided.
-- Removes the [eager-loading step](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/fe13e488edc07ced567e0b64d6b560b83b2ccf0d/spec/support/eager_load_plan_finder.rb#L10) from Rspec configuration. This would be a huge benefit because `plans_finder` has its own VCR cassette for this eager loading that frequently causes merge conflicts since it is a very commonly updated file. Fixing this should improve our velocity and generally the engineers quality of life.
-
-### Proposal
-
-Remove the `PlansFinder` eager-loading logic and make sure nothing breaks. The `PlansFinder.find` method could be updated to find a Product Rate Plan directly using IronBank (e.g. `Zuora::ProductRatePlan.find`) rather than looping over `eager_loaded_plans`. The key difference here is we would build the `Plan` object on the fly instead of returning a `Plan` object that was [built during start up](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/aa13252af0a6e69a58c8ac2bc645afaf36d7b12c/app/models/plans_finder.rb#L31).
-
-We should take benchmarks of important features before and after this change to make sure there is no negative impact. Here are some ideas of things to benchmark:
-- Loading the Rails app.
-- Loading the Plans page.
-- Loading the Manage subscriptions page.
-- Making a subscription purchase.
-
-### Result
-
-A simpler codebase that hopefully isn't any less performant but easier to maintain.",5
-78683241,2021-02-09 02:27:14.707,FE: Prevent deletion of groups/namespaces when they have a subscription,"This is the ~frontend issue for: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1879
-
-Designs https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1923/designs/Group___Settings___General.png
-
-* Propagate if group has a subscription attached to the view
-* Display inline alert from design if subscription is attached
-* Make `Remove group` button disabled",3
-78680964,2021-02-09 00:47:38.248,subscription should only allow to transfer to namespaces not currently associated with a paid plan,"`change linked namespace` allows selecting some namespace that already purchased services. This is a bug.
-
-### Problem
-
-slack discussion https://gitlab.slack.com/archives/CMJ8JR0RH/p1612432937066900
-
-TLDR: When a namespace has a free trial and then purchased a paid plan, it will have this issue.
-
-The problem is: in `app/helpers/gitlab_plans_helper.rb`, it uses `namespace.trial_ends_on.nil?` to determine whether a subscription is `in trial`. This is not safe.
-
-**Snapshot (some namespace with paid subscriptions like g300, is allowing to link to another subscription, which is wrong)** 
-
-### Proposal
-
-TLDR: uses `!namespace.trial` to replace `namespace.trial_ends_on.nil?` in `app/helpers/gitlab_plans_helper.rb`
-
-**More details explained below**
-
-The information we saved for trial subscription:
-
-* trial_starts_on
-* trial
-* trial_ends_on.
-
-It is not safe to use `trial_ends_on` to determine whether a subscription is `in trial`. Because when a trial finished, `trial_ends_on` value is not cleared.
-
-Scenarios related to `trial subscription`:
-
-1. in active trial: `trial = true`, `trial_starts_on <= today`, `trial_ends_on >= today`
-1. trial expired: `trial = true`, `trial_starts_on <= today`, `trial_ends_on < today`
-1. trial terminated due to a paid subscription purchased: `trial = false`, `trial_starts_on <= today`, `trial_ends_on has value ( it >= date when trial was terminated; but while time flies, it will < today eventually)`
-1. trial expired, and then a paid subscription purchased: `trial = false`, `trial_starts_on <= today`, `trial_ends_on < today`
-
-From the above-listed scenarios:
-
-* if a namespace's latest subscription is `trial`, it has `trial = true`, no matter the trial expired or not
-* if a namespace's latest subscription is a paid subscription, it has `trial = false`
-
-**NOTE**: today, even when a namespace's trial expired, we still show it as `Trial` in GUI, though the Gold features are disabled since we checked `trial_ends_on` in the logic.
-
-From another perspective, in our code logic, as of today, there are 3 types namespaces:
-
-* free : not link to a subscription, no matter trial subscription or paid subscription
-* trial : link to trial subscription(it can be active or expired), but not link to a paid subscription
-* paid subscription : link to a paid subscription
-
-So if a namespace is linked to a subscription, we can use `trial` to determine it is trial subscripton or paid subscription.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",1
-78674597,2021-02-08 22:01:22.142,Update messaging in CustomersDot add-ons section to be more clear and consistent,See requirements for this update in the completed design issue: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2175,2
-78388182,2021-02-03 21:40:10.648,Testing/Feedback from mapping of Zuora invoice to Salesforce CPQ Items,"
-
-The purpose of this issue is to gather the feedback resulting from testing the changes implemented for https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2097.
-
-Sync session scheduled for Feb 4.",1
-78375199,2021-02-03 17:10:08.105,Remove ExpireTrialCronJob worker class,"The following discussion from !2303 should be addressed:
-
-- [ ] @krasio started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2303#note_467690103): (+4 comments)
-
- > Probably over defensive but just in case there are such jobs in the queue during deployment.",1
-78367971,2021-02-03 15:18:27.143,"Updates to ""Cancelled"" label","## Summary
-
-In https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2637 we implemented a label to draw attention to the customer that the subscription is set to cancel.
-
-This issue is an iteration of that implementation to:
-
-1. Change the `Cancelled` label to include a humanized date as suggested in [this comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2637#note_500615444)
-1. Change the `Cancelled` label for expired subscriptions (where subscription end date is in the past) to read `Expired`",1
-78273656,2021-02-02 11:54:57.770,Copy to clipboard or download license throws 404 error,"
-
-### Summary
-
-- Given a customer with a self-managed subscription
-- And a valid license in license.gitlab.com
-- When I click on download license on the subscription card in customers.gitlab.com
-- Then I am redirected to `https://customers.gitlab.com/licenses/CCV%20Group%20B.V.-%2035%20Starter`
-- And I see a 404 error with the following text:
-
-```
-This customers.gitlab.com page can’t be found
-No web page was found for the web address: https://customers.gitlab.com/licenses/CCV%20Group%20B.V.-%2035%20Starter
-HTTP ERROR 404
-```
-
-- Given a customer with a self-managed subscription
-- And a valid license in license.gitlab.com
-- When I click on `Copy license to clipboard` on the subscription card in customers.gitlab.com
-- An error appears in the bottom left corner of the screen, with text:
-```
-An error occurred, please try again later
-```
-
-### What is the current *bug* behavior?
-
-I suspect the cause is related to the special characters in the subscription name which is causing the error.
-
-### What is the expected *correct* behavior?
-
-The license should download or copy to clipboard
-
-### Relevant logs and/or screenshots
-
-- [Customers account](https://customers.gitlab.com/admin/customer/109681/edit)
-- [Valid license](https://license.gitlab.com/licenses/154675)
-- Screenshot:
-
-
-### Workarounds
-
-(Ways to get around the issue)
-
-### Reported examples
-
-1. https://gitlab.zendesk.com/agent/tickets/191611
-1.
-1.
-
-",2
-78209450,2021-02-01 14:09:11.806,Add route to purchase self-managed plan on the lowest tier,"
-
-### Problem
-
-For new purchases of self-managed plans we currently use the URL schema
-
-`https://customers.gitlab.com/subscriptions/new?plan_id=[PLAN_ID]&test=capabilities`
-
-This means that external routes like [a subscribable in-app banner](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2582) need to know the planId for the lowest tier in order to link to ""lowest possible purchase""
-
-### Proposal
-
-Add a route like `/subscriptions/new?lowest_tier_plan_for=[self_managed|saas]` which puts the responsibility of knowing the planId on CustomerDot. This way the consumers (in-app banners) have a static URL they can consume.",5
-78177097,2021-02-01 07:04:28.508,Follow-up: unify terminology - rename yearly to annual,"### Problem
-
-In #2618 we unified the terminology in the renew and upgrade pages.
-
-### Proposal
-
-Rename `yearly` to `annually` in:
-
-- [x] `./app/frontend/javascripts/subscription/components/add_seats_invoice.vue`
-- [x] `./app/frontend/javascripts/subscription/components/new_ee_subscription_form.vue`
-
-
-
-And update tests as needed.
-
-### Result
-
-Consistent terminology
-
-### Next steps (if any)
-
-Schedule
-
-### How will we measure success?",2
-78007784,2021-01-28 15:06:31.178,EoA: Cancelled subscription is not obvious,"## Summary
-
-We no longer show the autorenew toggle/cancel button since we updated all Bronze/Starter to autocancel. This has increased user confusion (pre-existing issue) over how to cancel their subscription.
-
-In the subscription header, it states the expiration date which implies it will cancel but I think we need something more eye-catching.
-
-In this iteration, I'd like to ship a quick solution to the CustomersDot subscription card for subscriptions set to cancel. This should be applicable to all subscriptions which are not set to autorenew, not just Bronze/Starter.
-
-Perhaps a colored badged that says ""cancelled"" and when you hover over it there is text along the lines of ""this subscription will not automatically renew and will cancel on the expiration date. Please select the renew button to continue your subscription for another year."" ... ish?
-
-I'm totally open to alternative ideas, whatever it is, would be good to ship asap.
-
-",1
-77993447,2021-01-28 11:55:01.480,Follow-up: Clean up old account settings page,"## Cleaning up 🧹
-
-In !2669 we cleaned up the old account settings, however, there are still some things that need to be done:
-
-* [x] Remove the marked as deprecated route and controller for getting countries and states.
-* [x] Remove the old JS code for toggling VAT field.
-* [x] Ensure `vue_account_details_page` feature flag is cleaned-up from the source code
-* [x] Verify then remove `vue_account_details_page` from feature flags
-* [x] Ensure `pajamas_account_page` feature flag is cleaned-up from the source code
-* [x] Verify then remove `pajamas_account_page` from feature flags",2
-77937086,2021-01-27 14:49:44.820,Increase test coverage to include tax responses,"
-
-### Problem
-
-In https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2623 we identified that subtotal was showing total + tax.
-
-This should have been caught by automated tests, not in production.
-
-### Proposal
-
-Cover this path with tests to guard the fix",1
-77929357,2021-01-27 12:47:51.810,Add GraphQL support to send CI plans,"As mentioned here https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2346#note_493198951, we need to send CI plans too to the GL.com to allow the GL.com show the plan and the values associated with it and extend the current implementation to include the CI minutes plan.
-
-We need to have an GraphQL endpoint to send the CI plans.",1
-77928081,2021-01-27 12:28:58.144,EoA: Free upgrade flow license doesn't generate with trueups,"
-
-### Problem
-
-- When the customer has a current Starter subscription with trueups
-- And they choose the free upgrade to Premium (without renewal)
-- Then the upgrade license generated doesn't include the trueups in their subscription
-
-### Proposal
-
-Upgrade licenses should include trueups from the original subscription
-
-### Reported examples:
-1. https://gitlab.zendesk.com/agent/tickets/190385
-1. https://gitlab.zendesk.com/agent/tickets/190745
-1. https://gitlab.zendesk.com/agent/tickets/190523
-1. https://gitlab.zendesk.com/agent/tickets/190511
-1. https://gitlab.zendesk.com/agent/tickets/190793
-1. https://gitlab.zendesk.com/agent/tickets/190933
-1. https://gitlab.zendesk.com/agent/tickets/191146",2
-77912398,2021-01-27 08:29:07.942,Upgrade offer is visible for Bronze subscription not associated with a namespace,"
-
-# Q: I have a Bronze subscription and want to take this offer, however I'm blocked by this behaviour
-
-You need to [Change the linked namespace](https://docs.gitlab.com/ee/subscriptions/#change-the-linked-namespace) to unblock yourself
-
-1. Log in to the [Customers Portal](https://customers.gitlab.com/customers/sign_in) with a linked GitLab.com account.
-1. Navigate to the Manage Purchases page.
-1. Select Change linked namespace.
-1. Select the desired group from the This subscription is for dropdown.
-1. Select Proceed to checkout.
-
-If this doesn't work see below :point_down:
-
-# Q: I tried to Change the linked namespace however my intended group is greyed out
-
-Then it's a data-integrity issue. Quickest way to resolve this is to open [a support ticket](https://support.gitlab.com/hc/en-us/requests/new?ticket_form_id=360000071293)
-
----
-
-# Development on UI bug
-
-### Problem
-
-
-
-On the `/subscription` overview, we show the Upgrade offering for Bronze subscriptions.
-
-However some subscriptions do not have namespaces associated with them, for example if the namespace was deleted.
-
-### Proposal
-
-Only show the upgrade offer banner if Subscription is associated and active. We can check this with `upgradeSubscriptionPath` for example.
-
-### Result
-
-We do not confuse our users with a banner prompting them to action and then they can't take action.
-
-### Setting up local development for this case
-
-Follow [How to create a subscription, generate an invoice and post the invoice in Zuora sandbox](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob)/staging/doc/resource_videos.md#resource-video-library",1
-77711476,2021-01-22 23:10:11.795,Disable Salesforce lead generation in development mode,"I just tried registering an account with my local environment and ran into this:
-
-
-
-The account created, so it works now. But I wonder if we should disable this in development mode, or if Salesforce is not configured.",2
-77541074,2021-01-20 12:57:01.995,"Follow-up from ""Allow users to manually renew subscription up to 30 days post expiration""","The following discussion from !2408 should be addressed:
-
-- [ ] @asubramanian1 started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2408#note_485659990): (+3 comments)
-
- > **question:** Should we also consider restricting in the ~backend api? If yes, I'm okay if you want to do it as a follow up.",2
-77486868,2021-01-19 16:09:46.678,Inconsistent error response structure,"
-
-### Problem
-
-In our frontend [we look for a human-readable error to present to the user](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/c330e163096f2968413a4f76cd64c9c28ce248bf/app/frontend/javascripts/parse_responses.js#L15-26) so the user can correct what's erroring out if possible.
-
-The format the frontend expects is
-
-```
-{
- gateway_response: ""Insufficient funds"" // this structure we inherit from Zuora
-}
-
-// OR
-{
- errors : {
- message: ""Can't renew for less than current user count"",
- code: ""RENEW_COUNT_FAILURE"" // optional field if something special should be flagged on the frontend
- }
-}
-
-```
-
-However we're not always following this structure. Below are instances of `{ error: ""Something went wrong"" }` in our codebase
-
-```
-~/workspace/customers-gitlab-com staging ⇣
-❯ git grep ""render json: { error:""
-app/controllers/application_controller.rb: render json: { error: 'We were unable to process this transaction.' }, status: :unprocessable_entity
-app/controllers/orders_controller.rb: render json: { error: ""Error when processing subscription: #{params[:subscription_name]}"" },
-app/controllers/plans_controller.rb: render json: { error: e.message }, status: :internal_server_error
-app/controllers/subscriptions_controller.rb: render json: { error: 'We were unable to process this transaction.' }, status: :unprocessable_entity
-app/controllers/zuora_callbacks_controller.rb: render json: { error: result[:error] }, status: :internal_server_error
-```
-
-### Proposal
-
-Update the instances to the proper error structure.
-
-### Result
-
-Users do not get hit with a generic error message that will trigger a Support ticket.",2
-77470292,2021-01-19 12:11:49.435,Follow-up - add EDU and OSS plans to gitlab_ee_edu_oss_plans,"The following discussion from !2560 should be addressed:
-
-- [ ] @ebaque started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2560#note_488467260): (+7 comments)
-
- > @vij Can you please review this MR?",2
-77403091,2021-01-18 12:21:10.225,Display of credit card iframe looks broken for narrow viewport widths,"
-
-
-
-
-
-### Problem
-
-The Zuora credit card iframe layout breaks when the viewport (browser window) size gets narrower.
-
-| Wide viewport width - looks good | Narrow viewport width - layout breaks |
-| --- | --- |
-|  | |
-
-### Proposal
-
-We need to tweak the styles so the iframe looks good no matter the viewport width.",2
-77284340,2021-01-15 11:31:41.365,"Unhelpful error message: Could not purchase subscription, if the problem persists please contact support.","
-
-### Problem
-
-From [our logs](https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1778206/?query=user%3A230063), we can see that the purchase is failing because of the credit card, however, the error message is not helpful.
-
-
-
-[In the last 30 days, there has been 408 users affected by this message](https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1896180/?query=user%3A230063)
-
-### Proposal
-
-When a card has insufficient funds or the card is declined, we should be a displaying an error message to indicate that the card being used is causing the purchase failure.
-
-### When possible show the `message` from backend
-
-We're throwing away the human readable error message we get from the backend and from Zuora.
-
-Replace the instances of throwing away the error message with the following:
-
-```
-diff --git a/app/frontend/javascripts/subscription/components/add_seats_form.vue b/app/frontend/javascripts/subscription/components/add_seats_form.vue
-index c18bf3c15..5eb3ba124 100644
---- a/app/frontend/javascripts/subscription/components/add_seats_form.vue
-+++ b/app/frontend/javascripts/subscription/components/add_seats_form.vue
-@@ -130,7 +130,7 @@ export default {
- Sentry.captureException(error);
- this.$emit(
- 'error',
-- 'Could not add seats for the subscriptions, if the problem persists please contact support.',
-+ error.message
- );
- })
- .finally(() => {
-```
-
-### New error message text
-
-We should replace the current message with the following text [received from technical writing](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2536#note_504340966)
-
->This credit card transaction could not be processed. Please verify the information or try another card.
-
-### Reported examples:
-
-1. https://gitlab.zendesk.com/agent/tickets/188236
-1. https://gitlab.zendesk.com/agent/tickets/200402",3
-77186452,2021-01-13 20:49:35.501,Clean-up: new_upgrade_subscription_page feature flag,"In #2339 we introduced a change behind [`new_upgrade_subscription_page`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/80/edit) feature flag.
-
-After about 1 month of having it in use without problems, we need to graduate the feature flag.",2
-77175012,2021-01-13 16:18:15.559,Follow-up: add tests to cover state in upgrade app,"We want to add tests for the new vue upgrade app, covering any change in `isLoading` and in `purchaseButtonEnabled()`.
-
-The following discussion from !2500 should be addressed:
-
-- [ ] @agulina started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2500#note_484333481):
-
- > **tests (non-blocking)**: we need a follow-up to add tests that cover the transitions of this state.
-
-- [ ] @agulina started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2500#note_484333483):
-
- > **tests (non-blocking)**: we need a follow-up to add tests that cover the transitions of this state.",1
-77174408,2021-01-13 16:09:38.755,"Follow-up from ""Follow-up new upgrade app""","The following discussion from !2500 should be addressed:
-
-- [ ] @agulina started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2500#note_484333448): (+2 comments)
-
- > **suggestion (non-blocking)**: I'd like to follow-up on this as I think there's space for some simplification (e.g., separating the concern of having a `selectedUpgrade` and `updatingPreviewData`) and especially for leveraging Vue reactivity.
- >
- > I will produce a patch for a later iteration, if you agree with it :smile:",1
-77167694,2021-01-13 15:01:55.060,/spec/features/renew_subscriptions_spec.rb can not be re-recorded,"
-
-### Problem
-
-Running
-
-```
-VCR=all bundle exec rspec spec/features/renew_subscriptions_spec.rb
-```
-
-causes a number of failures locally.
-
-
-
-```
-Failures:
-
- 1) Renew Subscriptions when renewing subscriptions with :eoa_starter_bronze feature flag disabled does not show a downgrade option
- Failure/Error: params[:change_product_id].present? && main_product.product_rate_plan_id != params[:change_product_id]
-
- NoMethodError:
- undefined method `product_rate_plan_id' for nil:NilClass
- Shared Example Group: ""does not show a downgrade option"" called from ./spec/features/renew_subscriptions_spec.rb:416
- # ./app/services/amend_subscription_service.rb:49:in `changing_products?'
- # ./app/services/amend_subscription_service.rb:23:in `execute'
- # ./app/controllers/subscriptions_controller.rb:61:in `update'
- # ./app/middleware/health_check_responder.rb:12:in `call'
- # ------------------
- # --- Caused by: ---
- # Capybara::CapybaraError:
- # Your application server raised an error - It has been raised in your test code because Capybara.raise_server_errors == true
- # ./spec/support/vcr/zuora_time_traveller.rb:16:in `block (2 levels) in apply'
-
- 2) Renew Subscriptions when renewing subscriptions with :eoa_starter_bronze feature flag enabled showing EoA banners in renew page with SaaS subscription behaves like showing EoA banners when subscription is eligible for self-serve discount shows self-serve success banner and hides warning banner when discounted plan is selected
- Failure/Error: params[:change_product_id].present? && main_product.product_rate_plan_id != params[:change_product_id]
-
- NoMethodError:
- undefined method `product_rate_plan_id' for nil:NilClass
- Shared Example Group: ""showing EoA banners"" called from ./spec/features/renew_subscriptions_spec.rb:337
- # ./app/services/amend_subscription_service.rb:49:in `changing_products?'
- # ./app/services/amend_subscription_service.rb:23:in `execute'
- # ./app/controllers/subscriptions_controller.rb:61:in `update'
- # ./app/middleware/health_check_responder.rb:12:in `call'
- # ------------------
- # --- Caused by: ---
- # Capybara::CapybaraError:
- # Your application server raised an error - It has been raised in your test code because Capybara.raise_server_errors == true
- # ./spec/support/vcr/zuora_time_traveller.rb:16:in `block (2 levels) in apply'
-
- 3) Renew Subscriptions when renewing subscriptions with :eoa_starter_bronze feature flag enabled showing EoA banners in renew page with self-managed subscription behaves like showing EoA banners when subscription is eligible for sales-assisted discount shows sales-assisted discount banners
- Failure/Error: params[:change_product_id].present? && main_product.product_rate_plan_id != params[:change_product_id]
-
- NoMethodError:
- undefined method `product_rate_plan_id' for nil:NilClass
- Shared Example Group: ""showing EoA banners"" called from ./spec/features/renew_subscriptions_spec.rb:348
- # ./app/services/amend_subscription_service.rb:49:in `changing_products?'
- # ./app/services/amend_subscription_service.rb:23:in `execute'
- # ./app/controllers/subscriptions_controller.rb:61:in `update'
- # ./app/middleware/health_check_responder.rb:12:in `call'
- # ------------------
- # --- Caused by: ---
- # Capybara::CapybaraError:
- # Your application server raised an error - It has been raised in your test code because Capybara.raise_server_errors == true
- # ./spec/support/vcr/zuora_time_traveller.rb:16:in `block (2 levels) in apply'
-
- 4) Renew Subscriptions when renewing subscriptions with :eoa_starter_bronze feature flag enabled when subscription is EoA Starter and Bronze offer active shows the correct prices
- Got 4 failures:
-
- 4.1) Failure/Error: expect(page).to have_selector(plan_selector, text: 'Bronze $4', normalize_ws: true)
- expected to find visible css ""[data-testid=\""product-radio-item\""]"" with text ""Bronze $4"" but there were no matches. Also found ""Silver\n$19"", ""Gold\n$99"", which matched the selector but not all filters.
- # ./spec/features/renew_subscriptions_spec.rb:267:in `block (5 levels) in '
- # ./spec/support/vcr/zuora_time_traveller.rb:16:in `block (2 levels) in apply'
- # ./spec/support/vcr/zuora_time_traveller.rb:68:in `block in freeze_example'
- # ./spec/support/vcr/zuora_time_traveller.rb:67:in `freeze_example'
- # ./spec/support/vcr/zuora_time_traveller.rb:15:in `block in apply'
- # ./spec/support/vcr/zuora_time_traveller.rb:14:in `apply'
- # ./spec/support/vcr.rb:83:in `block (2 levels) in '
-
- 4.2) Failure/Error: expect(page).to have_selector(user_subtotal_selector, text: '$72.00')
- expected to find visible css ""[data-testid=\""user-subtotal\""]"" with text ""$72.00"" but there were no matches. Also found ""$228.00"", which matched the selector but not all filters.
- # ./spec/features/renew_subscriptions_spec.rb:268:in `block (5 levels) in '
- # ./spec/support/vcr/zuora_time_traveller.rb:16:in `block (2 levels) in apply'
- # ./spec/support/vcr/zuora_time_traveller.rb:68:in `block in freeze_example'
- # ./spec/support/vcr/zuora_time_traveller.rb:67:in `freeze_example'
- # ./spec/support/vcr/zuora_time_traveller.rb:15:in `block in apply'
- # ./spec/support/vcr/zuora_time_traveller.rb:14:in `apply'
- # ./spec/support/vcr.rb:83:in `block (2 levels) in '
-
- 4.3) Failure/Error: expect(page).to have_selector(plan_selector, text: 'Silver $19 $6', normalize_ws: true, class: selected_class)
- expected to find visible css ""[data-testid=\""product-radio-item\""]"" with text ""Silver $19 $6"" with classes [product-radio-panel-selected] but there were no matches. Also found ""Silver\n$19"", which matched the selector but not all filters.
- # ./spec/features/renew_subscriptions_spec.rb:269:in `block (5 levels) in '
- # ./spec/support/vcr/zuora_time_traveller.rb:16:in `block (2 levels) in apply'
- # ./spec/support/vcr/zuora_time_traveller.rb:68:in `block in freeze_example'
- # ./spec/support/vcr/zuora_time_traveller.rb:67:in `freeze_example'
- # ./spec/support/vcr/zuora_time_traveller.rb:15:in `block in apply'
- # ./spec/support/vcr/zuora_time_traveller.rb:14:in `apply'
- # ./spec/support/vcr.rb:83:in `block (2 levels) in '
-
- 4.4) Failure/Error: expect(page).to have_selector(total_selector, text: '$72.00')
- expected to find visible css ""[data-testid=\""total-price\""]"" with text ""$72.00"" but there were no matches. Also found ""$228.00"", which matched the selector but not all filters.
- # ./spec/features/renew_subscriptions_spec.rb:272:in `block (5 levels) in '
- # ./spec/support/vcr/zuora_time_traveller.rb:16:in `block (2 levels) in apply'
- # ./spec/support/vcr/zuora_time_traveller.rb:68:in `block in freeze_example'
- # ./spec/support/vcr/zuora_time_traveller.rb:67:in `freeze_example'
- # ./spec/support/vcr/zuora_time_traveller.rb:15:in `block in apply'
- # ./spec/support/vcr/zuora_time_traveller.rb:14:in `apply'
- # ./spec/support/vcr.rb:83:in `block (2 levels) in '
-
- 5) Renew Subscriptions when renewing subscriptions with :eoa_starter_bronze feature flag enabled when subscription is EoA Starter and Bronze offer active successfully downgrades and renews at the same time
- Got 5 failures:
-
- 5.1) Failure/Error: expect(page).to have_selector(plan_selector, text: 'Bronze $4', normalize_ws: true, class: selected_class)
- expected to find visible css ""[data-testid=\""product-radio-item\""]"" with text ""Bronze $4"" with classes [product-radio-panel-selected] but there were no matches. Also found ""Silver\n$19"", which matched the selector but not all filters.
- # ./spec/features/renew_subscriptions_spec.rb:238:in `block (5 levels) in '
- # ./spec/support/vcr/zuora_time_traveller.rb:16:in `block (2 levels) in apply'
- # ./spec/support/vcr/zuora_time_traveller.rb:68:in `block in freeze_example'
- # ./spec/support/vcr/zuora_time_traveller.rb:67:in `freeze_example'
- # ./spec/support/vcr/zuora_time_traveller.rb:15:in `block in apply'
- # ./spec/support/vcr/zuora_time_traveller.rb:14:in `apply'
- # ./spec/support/vcr.rb:83:in `block (2 levels) in '
-
- 5.2) Failure/Error: expect(page).to have_selector(user_subtotal_selector, text: '$48.00')
- expected to find visible css ""[data-testid=\""user-subtotal\""]"" with text ""$48.00"" but there were no matches. Also found ""$228.00"", which matched the selector but not all filters.
- # ./spec/features/renew_subscriptions_spec.rb:239:in `block (5 levels) in '
- # ./spec/support/vcr/zuora_time_traveller.rb:16:in `block (2 levels) in apply'
- # ./spec/support/vcr/zuora_time_traveller.rb:68:in `block in freeze_example'
- # ./spec/support/vcr/zuora_time_traveller.rb:67:in `freeze_example'
- # ./spec/support/vcr/zuora_time_traveller.rb:15:in `block in apply'
- # ./spec/support/vcr/zuora_time_traveller.rb:14:in `apply'
- # ./spec/support/vcr.rb:83:in `block (2 levels) in '
-
- 5.3) Failure/Error: expect(page).to have_selector(plan_selector, text: 'Silver $19 $6', normalize_ws: true)
- expected to find visible css ""[data-testid=\""product-radio-item\""]"" with text ""Silver $19 $6"" but there were no matches. Also found ""Silver\n$19"", ""Gold\n$99"", which matched the selector but not all filters.
- # ./spec/features/renew_subscriptions_spec.rb:240:in `block (5 levels) in '
- # ./spec/support/vcr/zuora_time_traveller.rb:16:in `block (2 levels) in apply'
- # ./spec/support/vcr/zuora_time_traveller.rb:68:in `block in freeze_example'
- # ./spec/support/vcr/zuora_time_traveller.rb:67:in `freeze_example'
- # ./spec/support/vcr/zuora_time_traveller.rb:15:in `block in apply'
- # ./spec/support/vcr/zuora_time_traveller.rb:14:in `apply'
- # ./spec/support/vcr.rb:83:in `block (2 levels) in '
-
- 5.4) Failure/Error: expect(page).to have_selector(total_selector, text: '$48.00')
- expected to find visible css ""[data-testid=\""total-price\""]"" with text ""$48.00"" but there were no matches. Also found ""$228.00"", which matched the selector but not all filters.
- # ./spec/features/renew_subscriptions_spec.rb:243:in `block (5 levels) in '
- # ./spec/support/vcr/zuora_time_traveller.rb:16:in `block (2 levels) in apply'
- # ./spec/support/vcr/zuora_time_traveller.rb:68:in `block in freeze_example'
- # ./spec/support/vcr/zuora_time_traveller.rb:67:in `freeze_example'
- # ./spec/support/vcr/zuora_time_traveller.rb:15:in `block in apply'
- # ./spec/support/vcr/zuora_time_traveller.rb:14:in `apply'
- # ./spec/support/vcr.rb:83:in `block (2 levels) in '
-
- 5.5) Failure/Error: expect(page).to have_content('Bronze Plan')
- expected to find text ""Bronze Plan"" in ""Manage purchases\nView invoices\nMy account\nManage purchases\nBuy new subscription\nsome awesome namespace\nSilver Plan A-S00069329\nRenews on January 13, 2023\nUpgrade\nRenew\nBuy more CI minutes\nChange linked namespace\nCancel subscription\nCollapse\nStart date Purchase date Product Quantity\nJanuary 13, 2022 January 13, 2021 Silver Plan 1""
- # ./spec/features/renew_subscriptions_spec.rb:257:in `block (5 levels) in '
- # ./spec/support/vcr/zuora_time_traveller.rb:16:in `block (2 levels) in apply'
- # ./spec/support/vcr/zuora_time_traveller.rb:68:in `block in freeze_example'
- # ./spec/support/vcr/zuora_time_traveller.rb:67:in `freeze_example'
- # ./spec/support/vcr/zuora_time_traveller.rb:15:in `block in apply'
- # ./spec/support/vcr/zuora_time_traveller.rb:14:in `apply'
- # ./spec/support/vcr.rb:83:in `block (2 levels) in '
-
- 6) Renew Subscriptions when renewing subscriptions with :eoa_starter_bronze feature flag enabled when subscription is EoA Starter and Bronze eligible shows the next stair step renewal price and no downgrade option after renewing at the discounted price
- Failure/Error: amendments = Zuora::Amendment.where(subscription_id: versions.map(&:id))
-
- IronBank::BadRequestError:
- Body: {""detail""=>{""MalformedQueryFault""=>{""FaultMessage""=>""You have an error in your ZOQL syntax"", ""FaultCode""=>""MALFORMED_QUERY""}}, ""faultcode""=>""fns:MALFORMED_QUERY"", ""faultstring""=>""You have an error in your ZOQL syntax""}
- # ./app/services/eoa_offer_renewals_count_service.rb:22:in `amend_descriptions'
- # ./app/services/eoa_offer_renewals_count_service.rb:13:in `execute'
- # ./app/services/eoa_offer_renewals_count_service.rb:5:in `execute'
- # ./app/services/eoa_calculate_next_price_service.rb:29:in `eoa_renewals_count'
- # ./app/services/eoa_calculate_next_price_service.rb:17:in `next_price'
- # ./app/models/subscription.rb:21:in `eoa_starter_bronze_next_price'
- # ./app/services/amend_subscription_service.rb:214:in `block in eoa_starter_bronze_renewal_price'
- # ./lib/utils/strong_memoize.rb:27:in `strong_memoize'
- # ./app/services/amend_subscription_service.rb:213:in `eoa_starter_bronze_renewal_price'
- # ./app/services/amend_subscription_service.rb:219:in `build_eoa_price_uplift_amendment'
- # ./app/services/amend_subscription_service.rb:131:in `check_subscription_updates'
- # ./app/services/amend_subscription_service.rb:28:in `execute'
- # ./app/controllers/subscriptions_controller.rb:61:in `update'
- # ./app/middleware/health_check_responder.rb:12:in `call'
- # ------------------
- # --- Caused by: ---
- # Capybara::CapybaraError:
- # Your application server raised an error - It has been raised in your test code because Capybara.raise_server_errors == true
- # ./spec/support/vcr/zuora_time_traveller.rb:16:in `block (2 levels) in apply'
-
-Finished in 11 minutes 42 seconds (files took 4.7 seconds to load)
-20 examples, 6 failures
-
-Failed examples:
-
-rspec './spec/features/renew_subscriptions_spec.rb[1:1:6:1]' # Renew Subscriptions when renewing subscriptions with :eoa_starter_bronze feature flag disabled does not show a downgrade option
-rspec './spec/features/renew_subscriptions_spec.rb[1:1:5:3:1:1:1:2]' # Renew Subscriptions when renewing subscriptions with :eoa_starter_bronze feature flag enabled showing EoA banners in renew page with SaaS subscription behaves like showing EoA banners when subscription is eligible for self-serve discount shows self-serve success banner and hides warning banner when discounted plan is selected
-rspec './spec/features/renew_subscriptions_spec.rb[1:1:5:3:2:1:2:1]' # Renew Subscriptions when renewing subscriptions with :eoa_starter_bronze feature flag enabled showing EoA banners in renew page with self-managed subscription behaves like showing EoA banners when subscription is eligible for sales-assisted discount shows sales-assisted discount banners
-rspec ./spec/features/renew_subscriptions_spec.rb:260 # Renew Subscriptions when renewing subscriptions with :eoa_starter_bronze feature flag enabled when subscription is EoA Starter and Bronze offer active shows the correct prices
-rspec ./spec/features/renew_subscriptions_spec.rb:233 # Renew Subscriptions when renewing subscriptions with :eoa_starter_bronze feature flag enabled when subscription is EoA Starter and Bronze offer active successfully downgrades and renews at the same time
-rspec ./spec/features/renew_subscriptions_spec.rb:394 # Renew Subscriptions when renewing subscriptions with :eoa_starter_bronze feature flag enabled when subscription is EoA Starter and Bronze eligible shows the next stair step renewal price and no downgrade option after renewing at the discounted price
-
-Randomized with seed 43705
-
-Coverage report generated for RSpec to /Users/ragnarhardarson/workspace/customers-gitlab-com/coverage. 2689 / 9084 LOC (29.6%) covered.
-SimpleCov failed with exit 1
-```
-
-
-
-This is seriously hindering development, as engineers are debugging unrelated specs when specs fail on CI.
-
-### Proposal
-
-Make `renew_subscriptions_spec` re-recordable. This kind of feels like a race-condition in the spec.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",1
-77017664,2021-01-11 11:14:59.337,Exclude danger job from deployment stages,"### Problem
-
-We want the Danger job to run only in MRs, where it's the most useful, but not in other places like the deploy stages where it's just redundant and its feedback won't be used.
-
-Related Slack discussion: https://gitlab.slack.com/archives/CMJ8JR0RH/p1610355001054300
-
-### Proposal
-
-Make Danger job run only on MRs only.",2
-77010920,2021-01-11 09:33:19.112,Investigate possibility of using GitLab UI variables in Rails mailers,"The following discussion from !2439 should be addressed:
-
-- [ ] @jakeburden started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2439#note_479902567):
-
- > **nitpick (non-blocking)**:
- >
- > We only have two variables defined, but there are a few more repeated values in the rest of the file. Since this is a copy of the scss found in [LicenseDot](https://gitlab.com/gitlab-org/license-gitlab-com/-/blob/e5f92740731119d8236c53d571b06befba287ab5/app/assets/stylesheets/mailers/customer_mailer.scss), I don't think it should a blocker here, but rather we should open a follow-up issue to define specific values as scss variables.",2
-77003072,2021-01-11 07:13:50.547,Purchase form stuck in processing when a payment is not completed,"
-
-### Summary
-
-A customer report that when making a purchase on [customers portal](https://customers.gitlab.com/customers/sign_in), the payment was blocked because the bank thought the payment was suspicious which cause the payment page on customer portal to stuck as if it's still processing the payment.
-
-### Steps to reproduce
-
-(How one can reproduce the issue - this is very important)
-
-1. Make a purchase on [customers portal](https://customers.gitlab.com/customers/sign_in)
-1. Get the transaction to be blocked by the bank
-1. See the payment form stuck in the processing state
-
-### What is the current *bug* behavior?
-
-The payment form stuck in processing state without providing any useful information
-
-### What is the expected *correct* behavior?
-
-If there's an error, we should provide an error message and reason why the error happened.
-
-### Relevant logs and/or screenshots
-
-(Paste any relevant logs - please use code blocks (```) to format console output,
-logs, and code as it's tough to read otherwise.)
-
-`payment_method:17 Uncaught SyntaxError: Unexpected token '&'`
-
-The code is as follows:
-```
-
-```
-
-
-
-
-### Workarounds
-
-(Ways to get around the issue)
-
-### Reported examples
-
-1. https://gitlab.zendesk.com/agent/tickets/187119
-1.
-1.
-
-",1
-76937907,2021-01-08 17:07:21.642,Combine FindCurrentSubscriptionVersionService logic into Subscription.current_subscription class method,"# Purpose
-
-In https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2460, we've introduced a way to find the current version of a subscription record via the `FindCurrentSubscriptionVersionService`. In the past we also introduced a class method on the `Subscription` model called `current_subscription` which finds the current rate plans and rate plan charges for a given subscription (but didn't find the current subscription version). It was our intention when that class method was introduced to go back when we were able to find the current subscription version and incorporate that logic.
-
-The following discussion from !2460 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2460#note_481241444):
-
- > I was thinking that once we had the strategy for getting the current version of the subscription, we could incorporate that into [the `Subscription.current_subscription` method](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/7db573eb22a7f877e9ea4eaa6a442499f16d7b11/app/models/subscription.rb#L31). When we did that, we could use that here if we wanted (but not sure if it makes sense). This sounds like a good candidate for a follow-up issue. I'll go ahead and create it, assuming you are on-board with it, but let me know if you have concerns.",2
-76930384,2021-01-08 14:27:25.747,Unable to Reset Password in GitLab Customer Portal,"
-
-### Summary
-
-An existing GitLab customer cannot reset their password in the GitLab customer portal from within their account. It shows successfully completed but still uses the old password. This has been repeated by the customer in different browsers without ad blockers running and in private modes so no cached data might interfere somewhere. I gave it a severity 4 since it's a single customer and they can still use their account they just can't change the password at the moment.
-
-### Steps to reproduce
-
-The customer enters the old and new passwords and the system shows completed but no change is made.
-
-### What is the current *bug* behavior?
-
-The password never changes.
-
-### What is the expected *correct* behavior?
-
-The password should update.
-
-### Relevant logs and/or screenshots
-There are no records of any error newer than a year ago for this customer in Sentry.
-
-### Workarounds
-
-None known.
-
-### Reported examples
-
-1. Ticket [186667](https://gitlab.zendesk.com/agent/tickets/186667)
-
-",2
-76832788,2021-01-06 18:36:44.839,"Follow-up from ""Avoid UpdateProduct amendment for upgrade@renewal""","# Purpose
-
-Refactor the expression [found here](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2449/diffs#c74f9d3b85ffdd0e8a6b0d43ea9b111d8e09f1ff_73_70) in the `AmendSubscriptionService` class. We could move the logic to a method to help with readability and comprehension. There may also be an opportunity to simplify part of the expression here: `seat_increase? || (renewing? && quantity_has_changed?)`.
-
-## Follow-up from:
-
-The following discussion from !2449 should be addressed:
-
-- [ ] @cwiesner started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2449#note_479704182): (+1 comment)
-
- > **suggestion:** The amount of conditions are making it harder to put a name to what's the context here. What do you think about moving them to one or multiple methods for easier readability? I know that naming things is hard, I can think of something like `increase_seat_for_same_product` but I'm not too happy about that name either :sweat:
- >
- > We can also address this in a follow-up if you think it's worth addressing.",1
-76822041,2021-01-06 14:03:28.653,Change default branch name to main,"### Problem
-
-Related to https://gitlab.com/gitlab-com/gl-infra/delivery/-/issues/1357
-
-Master isn't an inclusive word and Git has decided to adopt `main` as what was previously known as `master`.
-
-### Proposal
-
-Set the default branch as `main` and remove any references to `master`.
-
-This will impact deployment and we'll better wait for https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/11464 so we don't have to change the cookbooks and deployment tools.
-
-### Result
-
-`main` will be the default branch",3
-76746252,2021-01-05 10:15:53.793,Rename Zuora Subscription custom field perform_reconciliations__c to PerformReconciliations__c,"
-
-### Problem
-
-The IronBank gem, which the CustomersDot app uses, automatically converts field names like `perform_reconciliations__c` to `PerformReconciliations__c` before calling the Zuora API. Due to this, trying to update the `perform_reconciliations__c` field from the CustomersDot app fails.
-
-### Proposal
-
-1. Create a new custom field in production Zuora with the same details as https://apisandbox.zuora.com/apps/CustomField.do?method=viewDetail&id=2c92c0f87688a09601768ac3019f7cc5&objectType=Subscription. Note that the field label is `Perform reconciliations1?` on sandbox just to visually distinguish it from the existing custom field during testing. On production Zuora, the label can be `Perform reconciliations?`.
-
-1. Update the CustomersDot app to use the new custom field and remove the old (`perform_reconciliations__c`) one.
-
-1. Delete the existing `perform_reconciliations__c` field once the production CustomersDot app has been updated.
-
-#### Steps
-
-- [X] Add new custom field to Zuora sandbox.
-- [X] Add new custom field to sandbox schema files - https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2443.
-- [x] Remove old custom field from sandbox schema files - https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2502.
-- [x] Remove the old custom field from Zuora sandbox.
-- [x] Observe staging to see if there are any problems.
-- [x] Remove old custom field from production schema files - !2613.
-- [x] Ask `@mquitevis` to rename the custom field in production Zuora.
-- [x] Add the new custom field to production schema files: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2688
-
-### Result
-
-The CustomersDot app is able to update the value of the `PerformReconciliations__c` field.
-
-
-
-",3
-76743655,2021-01-05 09:22:20.146,Stop converting symbols to strings in Zuora::Resource,"The following discussion from !2414 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2414#note_473217243):
-
- > Nice catch with this! Thanks for adding the detailed comment too. Do you think it's worth creating a follow-up issue for revisiting this after rails is updated? It could be linked to https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/498. This is pretty minor though so not a must-have.
-
-ActiveJob in Rails 6 supports serializing symbols. So, once we upgrade to Rails 6, we can remove the `.map(&:to_s)` from this line: [lib/zuora/resource.rb#L81](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/73847ee8ef0a74d81dcc02dea4d47728c8ab9003/lib/zuora/resource.rb#L81)",2
-76590187,2020-12-30 15:25:02.660,[Exception] Invoice not present in Salesforce::CreateOpportunityObjectsService,"The following discussion from !2388 should be addressed:
-
-- [ ] @asubramanian1 started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2388#note_473231381): (+1 comment)
-
- > **question:** This seems be [failing](https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/2382820/?query=is%3Aunresolved%20Zuora%3A%3ARecordNotFound%20Sidekiq) quite often in the past month. Should we [rescue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/4571495130f3e77ea5bc91336f11f95385e17ca9/app/services/salesforce/create_opportunity_objects_service.rb#L49) and return the response appropriately?",2
-76341226,2020-12-21 13:47:40.208,Add loading indicator to price per user in renew pages,"### Problem
-
-In subscription renew pages, we're changing the price `per user yearly` according to the selected plan.
-
-However, when the plan changed and before the request is complete, we show a loading spinner on all soon-to-change parts (e.g. invoice, total, etc.).
-
-But we are missing the loading spinner on the price per user part.
-
-
-
-### Proposal
-
-Add loading spinner to that part of the renew page.
-
-That part can be found inside 2 components: `SubscriptoinRenewForm.vue` and `DotComSubscriptoinRenewForm.vue`.
-
-Thanks to @cwiesner for catching this!",2
-76211887,2020-12-17 22:55:10.754,More efficient implementation for current_customer_has_subscription? method,"### Problem
-
-The [`current_customer_has_subscription?` helper method](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/890901f02954ecf2b7cc4520303c184ec29d83b8/app%2Fhelpers%2Fcustomer_helper.rb#L7) is used to simply return a boolean for whether a customer has at least one active subscription. However, this method using the following logic, which queries for all subscriptions in Zuora, then subsequently all rate plans and rate plan charges, and initializes `Subscription` objects for each one. This is very inefficient, especially for customers with more than one subscription.
-
-```
- def current_customer_has_subscription?
- return unless current_customer
-
- SubscriptionsFinder.for_customer(current_customer).present?
- end
-```
-
-This seems like an easy win to speed up almost all our page loads because this helper is called in the navigation partial which is used in the application layout (IOW most pages).
-
-### Proposal
-
-Instead of using `SubscriptionsFinder`, here are a few alternatives:
-
-- A simple fix would be to pull `raw_subscriptions` directly from the customer and return if any are found. This bypasses the queries for rate plans rate plan charges. This could be something like: `current_customer.raw_subscriptions.any?`.
-- Even better would be to limit the query to Zuora to only pull the first subscription. Something like `current_customer.raw_subscriptions(limit: 1).any?`. This would require a few modifications but IronBank supports limits in `where` (e.g. `Zuora::Subscription.where({status: 'Active', account_id: cus.zuora_account_id}, limit: 1)`.
-
-### Result
-
-Faster page loads.",2
-76192728,2020-12-17 14:50:48.943,Clean-up: graduate saas_manual_renew feature flag,"### Problem
-
-On 2020-12-17 we enabled [`saas_manual_renew`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/76/edit) on production, which has been introduced as part of #2132.
-
-After 2 milestones of running without problems, we need to graduate the feature flag and make the change permanent.",2
-76173451,2020-12-17 09:07:39.884,Flaky invoice spec does not use VCR,"### Problem
-One of the specs for `Zuora::Invoice` is flaky because of a 502 Bad Gateway error ([example](https://gitlab.com/gitlab-org/customers-gitlab-com/-/jobs/910417018)). The spec in question sends out a real request and would also fail when running the spec without an internet connection.
-
-```
-Failures:
- 1) Zuora::Invoice.between creates a Zuora query string using the given start and end dates
- Failure/Error: query_result = client.query(query_string) # up to 2k records from Zuora
- IronBank::ServerError:
- Body:
- 502 Bad Gateway
-
- 502 Bad Gateway
-
-
- # ./lib/zuora/invoice.rb:18:in `between'
- # ./spec/lib/zuora/invoice_spec.rb:9:in `block (3 levels) in '
- # ./spec/lib/zuora/invoice_spec.rb:26:in `block (3 levels) in '
-Finished in 5 minutes 54 seconds (files took 9.43 seconds to load)
-3125 examples, 1 failure, 1 pending
-Failed examples:
-rspec ./spec/lib/zuora/invoice_spec.rb:16 # Zuora::Invoice.between creates a Zuora query string using the given start and end dates
-```
-
-### Proposal
-Use VCR for this spec to stub the http request.
-
-### Result
-No flaky spec for this.",1
-76145505,2020-12-16 15:22:53.768,Change midterm keyword argument to something more meaningful,"# Purpose
-
-The keyword argument `midterm` defined [here](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/4d6db5ed2e483281c0545db679debd626dbe5755/app%2Fservices%2Famendment_base_service.rb#L32) could be clearer. Some suggestions for improving are:
-- `effective_date` and pass the date to the method. The default would be `Date.current`.
-- `effective_immediately` or `effective_now`: boolean defaulting to `true`
-
-## Followup from
-
-The following discussion from !2348 should be addressed:
-
-- [ ] @vshumilo started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2348#note_467696479): (+3 comments)
-
- > **non blocking**
- >
- > :thumbsup:
- >
- > How do you feel about calling it something inline with `effective_immediately: false`... it is longer :( but it feels more specific.",1
-76105115,2020-12-15 21:23:48.154,Refactor discount percentages logic for easier interpretation,"# Purpose
-
-In https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2354, we introduce a method, `SubscriptionHelper#eoa_starter_bronze_discount_percentages` which returns an array of discount percentages for the remaining renewal uplifts, assuming the subscrpition is participating in an EoA offer. In the review, a comment was made (see below) that we could clean this logic up to be clearer by moving into a service (or something similar).
-
-## Follow-up for:
-
-The following discussion from !2354 should be addressed:
-
-- [ ] @vshumilo started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2354#note_467549506): (+1 comment)
-
- > I understand this but it is not very straightforward.
- >
- > What do you think about creating a ~""🍎"" follow up to move this into a EoA service or dedicated method for the math only? so it is easier to follow.
- >
- > We also might process the `uplifts` set directly given for the last item (list_price) the discount will be 0 given by:
- >
- > `(1 - (price.to_f / list_price)) * 100`",2
-76095946,2020-12-15 16:38:49.982,New Gold/Ultimate subscription does not charge the right amount,"### Summary
-
-Gold subscription does not charge for any guest users in the targetted namespace. But when buying a new Gold subscription for an existing group that already has guests in it, this exception is not taken into consideration.
-
-### Steps to reproduce
-
-The steps below include screenshots taken on https://customers.stg.gitlab.com and https://staging.gitlab.com
-
-1. In GitLab, create a group with one guest in it - which bring the total of members to 2:
-
- 
-
-1. In CustomersDot, purchase a Gold subscription for that group:
-
- 
-
-! For local development don't forget to turn on `move_gitlab_purchases_to_gitlab` `71` FF, all the UI is moved to GitLab
-
-### What is the current *bug* behavior?
-
-The minimum number of users for this purchase is 2.
-
-### What is the expected *correct* behavior?
-
-At minimum, only the group owner should be charged. So the minimum number of users selectable should be 1.
-
-### Relevant logs and/or screenshots
-
-See screenshots above",3
-76057432,2020-12-15 00:13:03.076,Community Programs Self-Checkout: BE logic to recognize coupon code,"## Summary
-
-This issue is to create the BE logic to recognize coupon code as per the details found in: https://gitlab.com/groups/gitlab-org/-/epics/5068
-
-## Success Criteria
-
-1. When a user enters a [coupon code](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2361) at New Subscription checkout, the subscription is charged at $0.00
-1. The subscription must be created using the applicable Community Programs Sku (OSS, EDU, YCombinator)
-1. The user should not be prompted to enter a credit card since the net is $0.00 _(note research done here: https://gitlab.com/groups/gitlab-org/-/epics/5068#note_468450428)_
-
-## Process overview
-
-https://gitlab.com/groups/gitlab-org/-/epics/5068#process-overview",3
-76057268,2020-12-15 00:07:42.281,Community Programs Self-Checkout: Create Coupon Code Generator,"## Summary
-
-This issue is to create the Coupon Code generator as per the details found in: https://gitlab.com/groups/gitlab-org/-/epics/5068",5
-76036140,2020-12-14 14:00:25.248,Test Custom Auto Renew on Staging environment,"Turn on the Unleash flag 'custom_auto_renew' and monitor the cron and run the rake command.
-
-### Next steps (if any)
-
-Edit the environment and add `customer-production` in the Feature flags.
-
-### How will we measure success?",1
-75978313,2020-12-11 23:14:19.851,FE: Allow users to manually renew subscription up to 30 days post expiration,This is the FE dev issue for https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1393,2
-75977881,2020-12-11 22:52:02.416,BE: Move CI Minutes purchase flows to GitLab.com UI,"## Summary
-
-This is the BE version of https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1990.
-
-## Problem
-During the CI minutes purchase process, depending on how the user entered the purchase flow, they may be asked which namespace the CI minutes should be applied to. This is an over complication as a result of disparate systems.
-
-
-
-## Proposal
-
-Move the CI Minutes purchase flows to GitLab.com CTAs.
-
-### Success Criteria
-
-- The user should remain in GitLab.com from a UI perspective
-- The user should not be prompted to log into the Web Store
-- The user should not be prompted to enter a namespace for the purchase
-
-### Testing & Availability
-- User redirect to checkout page when clicking on `buy more CI minutes` on Usage Quota page
-- Namespace field default to personal/group namespace
-- User able to change quantity during purchase
-- Invalid quantity value is not allowed
-- User able to enter billing info for new payment method or use an existing one
-- User able to verify order summary before proceeding to purchase
-- User be prompted with successful purchase/purchase error message
-- User be redirected back to Usage Quota page after purchase",8
-75976988,2020-12-11 22:04:15.487,New customer purchase workflow prevents purchases on groups with expired subscriptions,"### Summary
-
-The new customer purchase workflow that occurs on the GitLab.com side (rather than customers.gitlab) prevents users from selecting a group to apply a new purchase on if that desired group currently has an expired subscription which is still within the 14-day grace period. For example, purchasing a new Bronze plan to replace the expired Gold plan is not possible.
-
-### Steps to reproduce
-
-Have a group with an expired subscription, but which is still within the grace period before the system automatically downgrades the group to Free. Attempt a new purchase workflow from customerDot, which redirects to gitlab.com/susbcriptions. The dropdown when choosing a group for the new subscription is not populated with desired group
-
-### What is the expected *correct* behavior?
-
-Customer should be able to make a new purchase for a group with an expired subscription
-
-### Relevant logs and/or screenshots
-
-1. Customer has 3 groups, one of which is currently on Gold with expired subscription:
-
-
-
-2. From customers.gitlab.com, when attempting to purchase a new plan, the workflow redirects to `gitlab.com/subscriptions` and the form only displays 2 groups, neither are the desired group:
-
-
-
-3. There are no available plans for purchase when viewing group billing page:
-
-
-
-
-**However**, Circumventing the new process (see below) shows the group with the expired subscription as available for applying a new purchase:
-
-
-
-### Workarounds
-
-Circumventing the redirect to gitlab.com and going directly to the customerDot URL and entering the `plan_id` allows the purchase to continue from customers.gitlab.com, and the group is available. For example, bronze plan id `2c92a0ff5a840412015aa3cde86f2ba6`:
-
-`https://customers.gitlab.com/subscriptions/new?plan_id=2c92a0ff5a840412015aa3cde86f2ba6&transaction=create_subscription`
-
-Purchase workflow can then continue directly from customerDot.
-
-Alternatively, manually downgrading the group to free should also allow the new purchase to proceed.
-
-### Reported examples
-
-1. Customer ticket: https://gitlab.zendesk.com/agent/tickets/183643
-1. https://gitlab.zendesk.com/agent/tickets/181064 [Rotanak's ticket](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2344#note_465828943)
-1. https://gitlab.zendesk.com/agent/tickets/185862",3
-75794377,2020-12-09 02:15:37.139,Subscription indicator in Customers Admin based on active subscription in Zuora,"## Summary
-
-In https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2141 we created a `Subscription` designation for internal admins viewing customers.gitlab.com admin search results to allow them to easily distinguish which of the customer records are associated with a Zuora subscription.
-
-The criteria for the work was solely the presence of a `Zuora account` id associated with the customer record. While this covers the majority of cases, there will be edge cases where an id is present but no valid subscription exists. We made the trade off to implement with this known constraint as it was a fast and low cost implementation.
-
-## Proposal
-
-Update the label display logic to ensure the customer record is actually tied to an active subscription in Zuora.",2
-75727766,2020-12-07 19:15:36.890,Follow-up: Add frontend specs for upgrading a GitLab.com subscription during renewal,"Add frontend specs for upgrading a GitLab.com subscription during renewal to cover `upgrade_product_id` (will be renamed to `change_product_id` in !2309).
-
-The following discussion from !2309 should be addressed:
-
-- [ ] @jakeburden started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2309#note_461771562):
-
- > **Follow-up Suggestion (non-blocking):**
- >
- > Noticed we don't test for this prop in [dotcom_subscription_renew_form_spec.js](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/spec/frontend/subscription/components/dotcom_subscription_renew_form_spec.js). We should create a follow-up issue to add a test case for this on the frontend.
-
-We also need to add tests to cover this in `subscription_renew_form_spec.js` if needed.",2
-75562600,2020-12-03 16:23:27.093,STORAGE BUG: A storage purchase didn’t unlock a project for a customer,"
-
-
-### Summary
-
-
-A storage purchase for the client didn't unblock the project. The purchase was successful and the `Usage Quotas` page was showing Purchased storage available as 28.3 out of 30 Gib. Despite that, the customer's project was blocked in read-only mode.
-
-The project in question is nested under another namespace. Not sure if that is related though.
-
-
-### Steps to reproduce
-
-Issue is reproducible for locked projects in a sub-group:
-
-* Create sub-group
-* Create a project in the sub group with at least one file (e.g. 2mb file)
-* Set a low repo size limit (e.g. 1mb) so that the storage limit is reached by that repo (via Admin > Settings > General > Account and limit > Size limit per repository)
-* Purchase a storage pack to unlock the namespace
-* Attempt to create a new branch in the project - error shown as below
-
-### What is the current *bug* behavior?
-
-The project wasn't unblocked.
-
-### What is the expected *correct* behavior?
-
-Once the storage purchase is completed all the project over 10Gb should be unlocked if there is anough additional storage.
-
-### Relevant logs and/or screenshots
-
-Kibana logs about rejecting push: https://log.gprd.gitlab.net/goto/f086203335b19efeed4424ea34a39682. There you can see the POST attempting to create the branch `test_test` and then a reply back when querying `/api/:version/internal/allowed` with a status code of 401
-
-The error message in UI was:
-
-
-
-### Workarounds
-
-An admin user can manually adjust [storage limit](https://docs.gitlab.com/ee/user/admin_area/settings/account_and_limit_settings.html#how-it-works) for the specific project.
-
-### Reported examples
-
-1. https://gitlab.zendesk.com/agent/tickets/182522
-1. https://gitlab.zendesk.com/agent/tickets/185258
-1. https://gitlab.zendesk.com/agent/tickets/184715
-1. https://gitlab.zendesk.com/agent/tickets/186346
-1. https://gitlab.zendesk.com/agent/tickets/185306
-1. https://gitlab.zendesk.com/agent/tickets/186907
-1. https://gitlab.zendesk.com/agent/tickets/190409
-
-",3
-75550798,2020-12-03 13:55:29.750,Support more than one true up SKU,"
-
-### Problem to solve
-
-As part of the RevPro implementation, multiple true-up SKUs will be added (https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2098).
-
-During the discussion `@rhardarson` noted:
-
-> I actually think we might need some code changes to make those live, as all true-up roads lead to the singular True-up SKU currently. That's probably worth a dedicated issue.
-
-
-### Intended users
-
-Unsure.
-
-
-
-### Proposal
-
-
-
-We'll need to modify whereever we handle true up plans to support the possibility of there being multiple, for example:
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/78c7c5ab8bca8e84ff31197c1ce45a989057f36e/app/services/amend_subscription_service.rb#L121
-
-### Further details
-
-I'm unfamiliar with how this process works, so at the moment I don't have further details to add, but perhaps someone else can contribute.
-",2
-75449081,2020-12-01 20:19:58.978,Create slack notification for end-to-end test report for CustomersDot,"
-
-### Problem
-
-Currently we notify failed test runs in the [#s_fulfillment_status](https://gitlab.slack.com/archives/CL7SX4N86/p1606248137066300) and in [#qa-staging](https://gitlab.slack.com/archives/CBS3YKMGD/p1606248136454400) as part of each deployment. Along with test status, it will be helpful to have an overview of **E2E Quarantined report** similar to how we have for GitLab QA. The objective being, as we continue to add more test cases and add the capabilities to identify and marking a test case as flaky or bug, this report will provide a consolidated view of the health of our end-to-end test.
-
-### Proposal
-
-Initially lets go with what we have for GitLab QA e2e - https://gitlab.slack.com/archives/CGZQCTU8J/p1606785178174300
-
-
-### Result
-Consolidated view of the health of our end-to-end test.
-
-### How will we measure success?
-More awareness!!!",2
-75423351,2020-12-01 12:27:56.665,Create RAKE command to run to migrate auto_renew__c,"As part of the parent issue https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2081, we need to migrate the auto renew from the Zuora field to the custom auto renew `AutoRenew__c`. To avoid problem where we do not have issues when we turn off Zuora and some issue arises then it would be nice to create another column in orders and mark the order as auto_renew.
-
-Also create another reverse flow to read the `AutoRenew__c` and mark the auto_renew as true and do not do the auto renew from the CustomersDot",3
-75376429,2020-11-30 17:07:49.908,Upload source-maps to sentry as part of release,"
-
-### Problem
-
-We shut off source-map fetching on the frontend for security reasons.
-
-This means that we get minified stack traces like https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/2397046/?referrer=slack
-
-### Proposal
-
-As part of our pipeline, upload source-maps to Sentry: https://docs.sentry.io/platforms/javascript/sourcemaps/
-
-### Result
-
-Sentry reports have stack traces we can make sense of.",3
-75370035,2020-11-30 15:20:50.213,Holistic approach to frontend errors,"
-
-### Problem
-
-We're currently using generic error messages to let the user know something went wrong.
-
-
-
-These error message strings are scattered throughout the codebase, and not consistent between each other.
-
-```
-❯ git grep ""A unexpected error occurred""
-app/frontend/javascripts/subscription/components/add_seats_form.vue: this.$emit('error', 'A unexpected error occurred');
-app/frontend/javascripts/subscription/components/change_namespace_form.vue: this.$emit('error', 'A unexpected error occurred');
-app/frontend/javascripts/subscription/components/change_namespace_form.vue: this.$emit('error', 'A unexpected error occurred');
-spec/frontend/subscription/components/add_seats_form_spec.js: expect(wrapper.emitted().error).toStrictEqual([[''], [''], ['A unexpected error occurred']]);
-```
-
-Due to the use of `Sentry.captureException` on objects instead of `Error`s we're also getting unhelpful Sentry messages like
-
-* https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/2459991/?referrer=slack
-
-### Proposal
-
-Create a standard way for purchase flows to show error messages to the user and log to Sentry.
-
-* De-duplicate shared code between pages. Use mixins, generic helper functions, [composition api](https://github.com/vuejs/composition-api)
-* Provide as specific an error message to the user as possible. Fall back to generic error message
-
-More background details here https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2080",5
-75106803,2020-11-27 13:25:33.433,SaaS manual renew: Ensure CTA for Renew is not displayed for addon only purchases,"
-
-### Problem
-
-We've recently introduced SaaS manual renew. However a user can have subscriptions with only addon products (CI minutes and Storage), and those subscriptions can not be renewed. Leading to an empty page if the user tries to push the renew button.
-
-Note that this currently sits behind the feature flag `saas_manual_renew `
-
-
-
-### Proposal
-
-Do not render a Renew button for addon-only subscriptions.
-
-I _think_ we can use a check like `subscription.belongs_to_gitlab_com_without_add_ons_plan?` as per this: https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/123eb8b641b25657798feaf2391e72af16cfbcbd/app/presenters/subscription_presenter.rb#L97
-
-### Result
-
-Users do not get a button urging them to hit a page that is broken",2
-75105797,2020-11-27 13:07:11.476,Checkmark in input field for add more seats,"
-
-### Problem
-
-
-
-
-
-When hitting ""Add more seats"" for subscriptions, we see a green checkmark in the input field
-
-### Proposal
-
-1. Figure out why the green checkmark is there
-2. Fix the issue
-3. If this is a systematic issue fix other occurrences
-
-### Result
-
-Input fields contain numbers and no checkmarks
-
-### Next steps (if any)
-
-### How will we measure success?",2
-75053110,2020-11-26 14:57:15.150,Angelo @ Codemotion Italy,"### Workshop plan
-
-The demo will walk over those steps (broadly taken from here), roughly what I have in mind:
-- forking a project / creating a project form a template
-- set up AutoDevops and deploy to a Kubernetes cluster
-- create an Issue
-- set up a Board to manage the workflow (displaying the Issue in various states)
-- create a MR linked to the Issue and merge it
-- review the generated pipeline and deploy the changes
-
-### Follow-up
-
-* [ ] Present experience (sync or async) to the Fulfillment team (FE only or to the entire team)
-* [ ] Present experience to FE department",5
-74937010,2020-11-24 21:20:24.945,[UX] Move the GitLab.com storage purchase flow to GitLab.com,"This is the UX issues for https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1994
-
-## Designs
-
-[Figma link](https://www.figma.com/file/aE37P8UXh9svMN2G8bJMJQ/Moving-SaaS-purchase-flows-in-app?node-id=19%3A1281)",3
-74927804,2020-11-24 17:50:03.895,Some products in Zuora production are missing from Sandbox,"# Background
-
-Zuora sandbox has been maintained separately from Zuora production for a while. The product catalog in Zuora sandbox does not reflect that of Zuora production, both in the amount of products offered and the structure of the products, rate plans, and rate plan charges.
-
-For example, many of the support plans (sold via sales-assisted deals) are not part of sandbox, and therefore are not listed in [the `config/application.yml`](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/a7e53acf6a9c04c20be85de28175433e36d6a690/config%2Fapplication.yml). Any plans like this are not covered in automated tests and not able to be tested manually.
-
-Also, the structure of the product catalog is different which can lead to confusion. For example, the Silver Plan is [listed here in Sandbox](https://apisandbox.zuora.com/apps/Product.do?method=view&id=2c92c0f85aac66b3015aaea7163344f7) as a top-level product. However, it is nested inside of [the Product ""GitLab.com"" in production](https://www.zuora.com/apps/Product.do?method=view&id=2c92a0fe5a83f009015aa3ccb71426ff).
-
-# Purpose
-
-The purpose of this issue is to clean-up these inconsistencies and allow us to test all types of products that are supported in Production. This will require a lot of coordination with engineers to pull off successfully as Sandbox is used by engineers for local development/testing, CI, and Staging.
-
-Note: There is a related task, https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/655, to create a production-copy for sandbox.
-
-## Follow-up from:
-
-The following discussion from !2257 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2257#note_453002903): (+2 comments)",8
-74918458,2020-11-24 15:17:34.690,Evaluate using TransactionLineItem vs extracting invoice item to its own component,"We've some repeated code in `renew subscription form`, `dotcom subscription form` and in `add seats invoice` where we show the invoice data.
-
-We need to consider using [`TransactionLineItem`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/4b10b9b77811eb6d2da74f7d13d40dedd7212419/app/frontend/javascripts/purchase/components/transaction_line_item.vue) vs extracting the repeated code into its own component.
-
-The idea started in [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2197#note_453393036) from !2197
-
-### `TransactionLineItem`
-
-```
-
-
-
-
{{ label }}
-
-
- {{ value }}
-
-
-
- {{ description }}
-
-
-```
-
-
-
-
-### [what's used in the renew transactions]
-
-```
-
-
Sub-total
-
-
- {{ formatMoney(subTotal) }}
-
-
-```
-
-### Availability & Testing
-
-
-
-",2
-74905160,2020-11-24 11:37:29.164,Fix lefthook failing on danger commit_messages rule,"### Problem
-
-When rebasing local changes on staging, we get error messages from dangerbot complaining about commit from staging that does not belong to the local changes we made, and we end up disabling lefthook to continue pushing the code `LEFTHOOK=0 git push`.
-
-The same commit_messages rule will show on GitLab MRs as a warning, but locally it shows as an error.
-
-Error sample:
-
-```
-Lefthook v0.7.2
-RUNNING HOOKS GROUP: pre-push
- EXECUTE > danger
-Results:
-Errors:
-- [ ] 059b45b4581d988ecdbc2cf81c30262d5a176907: The commit subject must contain at least 3 words. For more information, take a look at our [Commit message guidelines](https://docs.gitlab.com/ee/development/contributing/merge_request_workflow.html#commit-messages-guidelines).
-Warnings:
-- [ ] This merge request is definitely too big (more than 11051 lines changed), please split it into multiple merge requests.
-- [ ] This merge request includes more than 10 commits. Each commit should meet the following criteria:
-```
-### Proposal
-
-Update `danger/commit_messages/Dangerfile` to handle commit_messages offenses as warnings, not failures.
-
-### Result
-
-No blocking for team members when pushing changes after rebasing on `staging` to get the latest changes.",2
-74900941,2020-11-24 10:17:27.676,Clean up unused Zuora dev pages,"
-
-## I've got a development page and I'd like to keep it
-
-Great! Just make a comment here below with `I want to keep [name-of-page]`.
-
-## I've got a development page and it is safe to remove it
-
-Great! You don't need to do anything here.
-
-### Problem
-
-We have 67 (at the time of writing) hosted pages in our [Zuora sandbox](https://apisandbox.zuora.com/apps/HostedPageLite.do) which makes it difficult to get an overview of which pages are in use and not.
-
-### Proposal
-
-Announce that pages are scheduled to be deleted and give engineers a chance to respond here if they want to keep their page around.
-
-### Result
-
-Less noise in the sandbox.
-
-
-### Current pages
-
-
-List of current pages
-
-```
-ACH - Test
-Aish ACH test
-Aish's test page
-Alex' test page
-Alina's test page
-Alper Test Zuora & Customers
-Ammar CC page
-Amparo Luna Test Page
-Andrei's Hosted Page
-Angelo Gulina CC Payment
-appsec-testpage
-AppSecTest
-Baus test page
-Brandon Labs
-CC osw-customers-app.serveo.net
-CC Payment
-CC waldo.ngrok.io test
-Chris CC Page
-CI Pipelines
-CI Pipelines (New)
-Corinna's CC page
-CreditCard HPM
-Dallas’s Test Page
-ddavison CC Payments
-Dennis' Test Page
-Design Team
-Design Team ACH
-Dhiraj's CC Payment
-DParker's CC Page
-DParker's GDK Page
-Emilys Test Page
-Etienne's CC Page
-https://waldo.ngrok.io CC test
-Jacki Test Page
-Jackie F's Test CC Page
-jagood CC Payment
-Jake's CC Payment
-Jeremy Test Gateway
-Jerome's Test Page
-jjackson - Test Hosted Page
-Josie's CC Payment
-jswain - Test Hosted Page
-Kirstie CC Page
-Krasimir Angelov CC Payment
-Lena's Test Page
-Mark Chao Test Page
-Nicolas - Test Page
-Paid Signup Flow Dev
-Paid Signup Flow Staging
-pcalder - test hosted page
-Production ACH Hosted Page
-Production CC Hosted Page
-Qingyu CC payment
-Ragnar's CC Page
-rcobb - cc payment
-Reuben's CC payment
-Ruben's test page
-Shreyas' Credit card
-Taurie's Test HPP
-Terri's Hosted Page
-Tim CC page
-Tyler's CC Page
-Vij's CC Payment
-Vitaly's Test Page
-yliu payment page
-Staging ACH
-Staging CC
-```
- ",1
-74897516,2020-11-24 09:22:56.363,Angelo @ Open Source Week 2020 (Italian Field Marketing Collab),"This Issue is a pin for the work @agulina is doing with @ccasella for the OSW 2020. A list of tasks and busy day tbd soon!
-
-### Tasks
-- [x] Work on the workshop repo: `THU 2020/11/24 14:00 - TBD`
-- [ ] Workshop recording: `THU 2020/11/26 9:00 - 12:00`
-
-### Follow-up (optional)
-
-- [ ] Present experience (sync or async) to the Fulfillment team (FE only or to the entire team)
-- [ ] Present experience to FE department
-
-/cc @rhardarson",2
-74863624,2020-11-23 19:31:19.685,OSS - allow subscribers to purchase discounted support,"## Summary
-
-When a community member is approved for one of GitLab's free Gold/Ultimate programs (OSS/EDU/Startups), we create a $0.00 subscription utilizing a specific program-based sku for the 12 month term applicable for the subscription.
-
-We want to allow community members participating in these programs the ability to purchase support at a discounted rate.
-
-## Proposal
-
-Conditionally display `purchase support` button on the subscription card based on the sku associated with the active subscription.
-
-For example, for active subscription utilizing the EDU/OSS $0.00 Gold/ULtimate skus, display a new button which would kick off a paid purchase flow for paid (discounted) support service.
-
-Designs: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2345/
-
-## Success Criteria
-
-1. [ ] The discount should be coded as part of the sku and not required to be calculated by CustomersDot
-1. [ ] The user should be able to check out in customers.gitlab.com using a credit card
-1. [ ] The paid support add-on should coterm with the existing EDU/OSS subscription
-1. [ ] The purchase support information should be sent to SFDC so the support level can be updated in SFDC",5
-74863604,2020-11-23 19:30:27.880,Allow EDU and OSS to self-serve add-on users,"## Summary
-
-Allow EDU and OSS program members to add seats during the subscription term.
-
-## Success Criteria
-
-1. [ ] The add seats button should be added to the `Manage purchases` page
-1. [ ] The add-on amendment should net $0.00 (noting associated skus are already set to $0.00 in Zuora)
-1. [ ] ~~For EDU, we should not allow more than `x` total subscribed users~~
-1. [ ] ~~For OSS, we should not allow more than `y` total subscribed users~~
-1. [ ] ~~If the cap is reached, pop message (tbd) and block sale~~
-
-2021-02-25 updating to remove 3-5 due to confirmation that a user cap is not needed here: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2247#note_517560855",2
-74853197,2020-11-23 15:45:41.742,Ensure Zuora iframe load fail does not block the user,"https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/2387703/?referrer=gitlab_plugin
-
-```
-TypeError: Cannot read property 'includes' of undefined
- at Object.prepopulate (/packs/js/application-ea6950edbe9eacff9e63.chunk.js:2:30298)
- at HTMLIFrameElement. (/packs/js/application-ea6950edbe9eacff9e63.chunk.js:2:34727)
- at HTMLIFrameElement.r (/packs/js/20-a0d8eb0d718eefc7c67d.chunk.js:2:59241)
-```
-
-We've got a handful of users where the initial load of the zuora iframe fails.
-
-* https://gitlab.zendesk.com/agent/tickets/181197
-
-The failure happens in this line of our 3rd party code https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/4beaa415df8cbba6898cdfe88967be1ce9c761b1/vendor/assets/javascripts/zuora/index.js#L255
-
-There aren't any reproduction steps for this error as it's not clear _what_ causes this, and this doesn't happen all the time (which sort of suggests a race condition or failed HTTP call).
-
-### TODO
-
-- [ ] Investigate if we're misusing the 3rd party code (iframe hasn't been mounted to the DOM before we make the iframe params fetch)
-- [ ] Make the UI resilient against this error (a failure should show an alert to the user, not just stay on the loading spinner)",3
-74681523,2020-11-19 18:04:07.046,Update healthcheck fields,"## Problem
-In order to properly rotate self-managed users that request to speak with the sales from in-app healthchecks we need to update the form fields that the user submits on the customers app form.
-
-
-
-## Solution
-We update the form fields on this form to add the following:
-
-* Country (picklist below)
-* State if US or Canada (picklist below)
-* Employee Range (picklist below)
-* Opt-in Language (provided above)
-* Make Company **required**
-* Making Phone # required will help with contact rates.
-
-[Picklist values can be found here](https://docs.google.com/spreadsheets/d/1cV_hI2wAzLxYYDI-NQYF5-FDDPXPXH0VV5qRBUJAQQk/edit#gid=439131791)
-
-And remove the following fields:
-
-* Address (in favor of country which is included in the newly added fields above)
-
-These newly added fields should sync in the same manner to SFDC.
-
-Technical details:
-* Jerome located the code associated with ""healthcheck"" moment here https://gitlab.com/gitlab-org/gitlab/-/issues/208291#note_295737482
-* We increased the rollout on EE here https://gitlab.com/gitlab-org/gitlab/-/issues/231512
-* And increased the rollout on CE here https://gitlab.com/gitlab-org/gitlab/-/issues/247634
-
-## Merge requests
-- ~database - Add new columns to `instance_reviews` field: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2714
-- Align list of countries: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2731
-- Align list of US states and Canada provinces: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2791
-- ~database - Add optin column to instance_reviews table: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2854
-- Add new field to the form: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2842",5
-74635874,2020-11-19 13:24:22.052,Update gitlab-styles to 5.3.0,"The following discussion from !2182 should be addressed:
-
-- [ ] @dstull started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2182#note_450160791):
-
- > bug in gitlab-styles where the empty line wasn't being alerted on for `let_it_be` - we should upgrade to [5.1.0](https://gitlab.com/gitlab-org/gitlab-styles/-/tags/v5.1.0) - just a note so I can spawn an issue here.",1
-74350890,2020-11-13 21:56:17.459,Move SaaS purchase flows carryover placeholder for Milestone Board,This is a placeholder issue reserving space for carryover/newly created issues for `Move SaaS purchase flows`,3
-74350173,2020-11-13 21:25:35.896,Cloud License Placeholder for Milestone Board,This is a placeholder issue reserving space for carryover/newly created issues for Cloud License Sync.,15
-74209369,2020-11-11 15:14:18.054,New subscription purchase flow for Trial namespaces should follow new path,"## Summary
-
-When a namespace is on a trial and it is active, a user trying to purchase a new subscription for that namespace is pointing to a the legacy new subscription flow. Not only does this cause an inconsistent user experience, but it causes the user to receive an error during checkout due to not having a stored address.
-
-## Proposal
-
-Update the path for this use case to point to the new subscription purchase flow (via GitLab.com) so that address is collected during the purchase process.
-
-## Reference
-
-Additional details of this change request is described here: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1236#note_442674321",3
-74167126,2020-11-10 20:17:04.328,Community Programs Self-Checkout,"## Summary
-
-The Communities teams (OSS, Start-Ups, EDU) will be working with a vendor to create an automated application process - webform to interact with the applicant which screens through the qualification process. Once the applicant is approved, they will receive a coupon code and be prompted to self-checkout on customers.gitlab.com to complete the subscriptions creation and provisioning processes.
-
-### Process overview
-1. Upon approval, the applicants receive a coupon code
-1. The applicant navigates to customers.gitlab.com, selects new subscription flow
-1. User enters the code at checkout and the subscription is booked at $0.00
- 1. The subscription must be created using the applicable Community Programs sku
- 1. The user should not be prompted to enter a credit card since the net is $0.00
-1. Normal provision process follows
-
-### Coupon Code Generator Features
-1. We need to store the generated codes so they can be referenced during checkout
-1. The coupon code should relate to product sku (info received from the vendor call) which when applied to a purchase flow, would dictate which product sku we are selling
-1. The code can not be reused; once redeemed, we invalidate the code in our DB for future use
-1. The code will provide a specific discount per sku
-1. The vendor presenting the coupon code after successful application cannot utilize an API to receive the coupon from us. We will need to provide the vendor with bulk codes via a file upload periodically.
-
-## Tasks
-
-1. [ ] Introduce the Coupon Code on the FE (New subscription flow)
- 1. There is a coupon code field which was hidden via https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/662; let's just reveal that field again.
-1. [ ] Build the coupon code generator
-1. [ ] Build BE logic to recognize coupon code
-1. [ ] Determine how to handle Renewal Process
-1. [ ] Determine how to handle Add-On users midterm",5
-73996350,2020-11-07 00:27:40.500,Notify users with instructions to associate their subscription if they haven't associated it `n` days after provisioning,"
-
-### Problem to solve
-
-There are users who purchase a subscription (often sales assisted), but for some reason never link it up.
-
-### Intended users
-
-* [Sidney (Systems Administrator)](https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas/#sidney-systems-administrator)
-
-### User experience goal
-
-A user who purchases a GitLab.com Subscription knows if they haven't linked it, and gets a notice some days after provisioning reminding them to take the necessary actions.
-
-
-### Proposal
-
-Send email to subscription contact (CustomersDot contact).",3
-73975582,2020-11-06 14:13:56.009,Add weights to sidekiq queues,"# Purpose
-
-Add weights for all the queues in [the Sidekiq config file](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/c7265500ef31b5258e314c7e2ecccf1a58855e18/config/sidekiq.yml#L20-29). The weights will determine the priority of the queues to be processed.
-
-## Followup from:
-
-The following discussion from !2152 should be addressed:
-
-- [ ] @rpereira2 started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2152#note_442861095): (+1 comment)
-
- > Thanks @tyleramos, LGTM! :+1:
- >
- > On a related note, we might need to add weights to the [queues in the sidekiq config file](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/c7265500ef31b5258e314c7e2ecccf1a58855e18/config/sidekiq.yml#L20-29). Without the weights, sidekiq will only execute jobs from queues lower in the list when the queues higher in the list are empty (ref: https://github.com/mperham/sidekiq/wiki/Advanced-Options#queues).
- >
- > @asubramanian1 Would you please do the maintainer review?",1
-73951998,2020-11-06 05:35:32.517,Checkout box design refinement,"### Proposal
-
-In #2133, @timnoah is suggesting the following changes:
-
-
-
-1. Increase the text size of the total amount in the checkout component.
-1. Include a field label `Payment method` for the payment dropdown.
-
-The changes above should be applied to all checkout pages.",2
-73931026,2020-11-05 17:58:01.063,Update ruby to match GitLab version (currently 2.7.2),"### Problem
-
-CustomersDot is using [ruby version 2.6.6](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/3a65e65af4796e8b04d7ce1d9159a80c9c81920d/.ruby-version#L1) at the moment but GitLab is using 2.7.2.
-
-### Proposal
-
-We should evaluate if we can upgrade to the same version as GitLab and perform the upgrade if possible.",2
-73881624,2020-11-04 21:32:55.450,Storage: Remove `storage_plan` feature flag,"Once the [storage feature has been enabled](https://gitlab.com/gitlab-org/gitlab/-/issues/255166) and considered stable, we should remove the `storage_plan` feature flag checks in the CustomersDot repo. Once the MR has been deployed to production, we can safely remove [the `storage_plan` feature flag](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/62/edit) from CustomersDot.",2
-73860530,2020-11-04 13:47:53.785,"Follow-up from ""Add tests and patch company assignment issue""","The following discussion from !2141 should be addressed:
-
-- [ ] @dstull started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2141#note_440927997): (+3 comments)
-
- > @jameslopez only real ~bug I have found so far and it was [pre-existing](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2021/diffs#df783448a783e84dbb83b07691fed5e3a2259693_54_44) before the refactor - so I *think* this is a bug and we should fix it here - WDYT?",1
-73567432,2020-10-29 10:14:36.847,Modify application to use auto renew based on the Zuoras auto_renew custom field,"As part of https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2081, we are creating new custom field to replace the auto_renew from Zuora.
-
-Use the new custom field in the codebase to turn on and off the auto renew and also use it while showing in the UI the toggle button.",3
-73566745,2020-10-29 10:02:04.399,Create cron service to read orders for renewal,"As part of the issue https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2081, we need to run a cron service every midnight of the server which will pick the orders which have their end date within last 30 days.
-
-After fetching these orders we make a call to Zuora to determine whether the auto_renew custom field has been turned on and there are no auto_renew_errors.
-If these conditions are met then we will call the AutoRewew Service with the order for it to perform the renew.",2
-73547459,2020-10-29 00:43:39.761,Create Auto renew service to perform renewal,"The auto renewal service takes an order and makes a call to Zuora to perform the _Manual_ renewal
-
-The Auto Renewal service would simulate checkout process and attempt to charge the default credit card on file
-
-1. if payment fails, cancels the transaction
- 1. do not send any change to zuora
-1. if payment success, copy amendment process from manual renewal flow to zuora.
-
-After the amendment to Zuora the service exits without doing anything else. The Zuora will send in the callback to ZuoraCallbacksController which in turn will either send a new license ( for SM ) or will update GL.com
-
-Part of https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2081",3
-73546932,2020-10-29 00:17:54.473,Create custom fields in the Zuora to save the auto renew boolean,"As part of the major issue https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2081, we are going to save the custom field `auto_renew` within the Zuora which will act as in future part of SSOT as well.
-
-As of now whenever a customer creates a new subscription then apart from (EDU/OSS/YCombinator & Stand alone CI minutes plan) the auto renew feature is turned on and instead of setting the auto renew we will toggle the custom field in Zuora.
-
-This issue will only create new custom field in Staging ( for development purpose ) on Zuora and later in production Zuora ( a follow up issue will follow later )
-
-https://knowledgecenter.zuora.com/Central_Platform/Manage_Custom_Fields
-
-cc: @chris_baus @tyleramos",1
-73535435,2020-10-28 18:02:36.770,Procurement | REMOVE Support SKU for the Education Program,"# SKU Request Summary
-The ability to purchase support separately for the free GitLab for Education Program was deprecated as part of the [Education Pricing and Packaging Initiative](https://gitlab.com/groups/gitlab-com/packaging-and-pricing/-/epics/2). The SKUs need to be removed.
-
-[Additional details here](https://gitlab.com/gitlab-com/marketing/community-relations/education-program/general/-/issues/54#support)
-
-[See e-group approval here.](https://gitlab.com/groups/gitlab-com/packaging-and-pricing/-/epics/2#approvals-required)
-
-
-## SKU Requirements
-
-In order to expedite your request, please complete all of the following information.
-Any questions about this template or this request can be directed to @amandarueda in the comments of this issue.
-
-* [x] SKU Name: Ultimate - 1 year EDU with Support and Gold - 1 year EDU with Support`
-* [ ] SKU Code/ID:
-* [ ] Zuora Plan Name: `enter plan name`
-* [ ] Zuora Plan ID: `enter plan ID`
-* [ ] Service type: `subscription | add-on | stand-alone`
-* [ ] Does this need to be purchase-able via CustomersDot? `Yes | No`
-* [ ] Does this service renew? `Yes | No`
- * [ ] If yes, what is the renewal cadence? `monthly | annually | other`
-* [ ] Should an email be sent indicating the subscription is coming to an end?: `Yes | No`
-* [ ] Is there a unit of measure, if so what? ` Yes | No` `Users | Qty | other`
-* [ ] Does this service provision anything? `Self-managed license | Gitlab.com entitlement | other`
- * [ ] If yes, please describe in detail what should be provisioned including the systems affected:
-* [x] How soon do you need this SKU ? Timeline: This request is not urgent, but it would great if it could be completed with the other existing requests. [See add SKUs for Edu PnP here. ](Procurement | Add new SKUs for the Education Enterprise Subscription)
-* [ ] Who in Sales-Ops approved this request: [See approval list on Edu PnP](https://gitlab.com/groups/gitlab-com/packaging-and-pricing/-/epics/2#approvals-required)
-* [ ] [Link to originating Finance issue](https://gitlab.com/gitlab-com/Finance-Division/finance/-/issues/3490)
-* [ ] Apply the appropriate `BTG Priority` label to this issue.",1
-73499784,2020-10-28 07:09:15.992,No server-side validation on purchasing an add-on for a subscription,"
-
-### Problem
-
-We don't validate subscription on purchasing an add-on for it. Grab the correct URL for purchasing an add-on: `http://localhost:5000/subscriptions/new?plan_id=2c92c0f9699eca030169a2f1f117045f&subscription_id=A-S00048152&transaction=ci_minutes` and change the query key `subscription_id` to anything else, for example `subscriptio_id`.
-Now open it in your browser. I expect a redirect to the subscription list page but instead I see the purchase screen which does not work.
-
-### Proposal
-
-We should validate the subscription and redirect the customer to the `/subscriptions` path if invalid subscription was provided.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-73308601,2020-10-24 22:00:38.320,Add indicator of active subscription in Customers Admin,"## Summary
-
-As an internal team member who frequently searches the Customers admin, it is very time consuming to select the `Edit` icon in search results to identify which of the returned results are related to a customer record with an active subscription.
-
-## Proposal
-
-Create some sort of quick reference indicator (visual or label) which allows me to discern which of the search results have an active subscription.
-
-",2
-73273322,2020-10-23 20:41:14.100,GitLab.com and customers.gitlab.com linkage broken,"## Summary
-
-The linkage between customers.gitlab.com and gitlab.com is displaying `No account linked` for accounts which have been linked. I was in this area on production within the last 48 hours so a regression must have occurred within that timeframe.
-
-UPDATE: I was able to make a purchase of CI minutes in spite of the system appearing as if the gitlab.com account is linked, so I _think_ this is just a frontend visual issue, and not a backend connection issue but would like confirmation from engineering on that.
-
-",1
-73237912,2020-10-23 09:41:14.081,Graduate pajamas_upgrade_subscription feature flag,"In #958 we introduced a change under [`pajamas_upgrade_subscription`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/45/edit) feature flag.
-
-The change has been in production since Spt 7, 2020.
-
-We should graduate the feature flag if there's no issue with the change.",2
-73237176,2020-10-23 09:27:10.247,Graduate move_gitlab_purchases_to_gitlab feature flag,"In #1986 we introduced a change under [`move_gitlab_purchases_to_gitlab`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/71/edit) feature flag.
-
-We need to graduate the feature flag and clean up old code after 2 months if there are no issues with the shipped change.",1
-73221257,2020-10-23 02:25:43.218,UX: Create manual renew feature for SaaS subscriptions,"This is the UX design issue for https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2132
-
-## Proposal
-
-| Manage Purchases| Manage Purchases | Renew SaaS Subscription |
-| ------ | ------ | ------ |
-|  |  |  |
-| Added a `Renew` button to the subscription card table. | Added a `Renew` button to the subscription card. This would take a user directly into the Renewal flow. | This borrows heavily from templates already in production for renewing a self-managed license with one main addition.
This also gives users the ability to upgrade a subscription in the flow of renewing. Since https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2134 is reliant on this work, I thought it was beneficial to start thinking about how this might work now, to get us ready for that issue. |
-
-[**Design Specs**](https://www.figma.com/file/ba0dDaAgQ7uhet8W7SkQf8/Create-manual-renew-feature-for-SaaS-subscriptions?node-id=27%3A103)
-
-### Notable template refinements
-
-
-
-1. Increase the text size of the total amount in the checkout component.
-2. Include a field label `Payment method` for the payment dropdown.",2
-73198626,2020-10-22 19:16:56.844,"New Order from .com billing page results in {""last_name"":[""can't be blank""]}","### Summary
-
-[Customer](https://gitlab.zendesk.com/agent/tickets/176452) (internal link) attempted to purchase a new Bronze SaaS subscription _from within GitLab.com_ group billing page. Upon attempting to complete the order, they received the error:
-
-> {""last_name"":[""can't be blank""]}
-
-This prevents the purchase, and resulted in a support ticket. The workaround was for customer to create a customerDot account, and proceed with purchase in the traditional manner.
-
-I'm opening this bug on the gitlab-org/customers-gitlab-com project for now because it's not fully clear to me yet where exactly the bug is at, though I suspect it's on the .com side. We can move it as needed.
-
-My suspicion that this is a .com bug is based on a few factors:
-
-1. [Quite some time ago](https://gitlab.com/gitlab-org/gitlab/-/issues/13661), gitlab.com began [experimentally](https://gitlab.com/gitlab-org/growth/engineering/-/issues/64) requiring a ""Last Name"" field for new user registration
- 1. A [separate MR](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/42346) recently began to ""split"" legacy names into a first and last name field. If I understand the design in that MR, it *can* cause an empty string for a last name
-1. [Kibana log](https://log.gprd.gitlab.net/goto/7e98fff77a38dda1a9a7ed869137d7d2) of the customer hitting `SubscriptionsController#create` via `/-/subscriptions/new` on GitLab.com. There is no associated Sentry errors for customer.gitlab.com that I can locate
-1. Prior to the support ticket being created, customer never had a customersDot account, so it's not possible that they would have attempted a purchase from customer portal. However, I'm unfamiliar with the behind-the-scenes code, so it's possible group billing page is calling out to customerDot to process the transaction. To the best of my knowledge, purchases from customersDot do require a `last_name` field.
-
-### Steps to reproduce
-
-Presumably using any GitLab.com user without a `last_name` (or a blank one), from any group not currently on a paid tier, navigate to Settings > Billing page, click ""Upgrade"" under any of the 3 paid tiers. Note, ""Upgrade"" is displayed regardless if it's a new subscription or an actual upgrade from a lower tier.
-
-Proceed normally by filling in details.
-
-Purchase fails.
-
-### What is the current *bug* behavior?
-
-New purchase workflow from GitLab.com UI results in inability to purchase.
-
-### What is the expected *correct* behavior?
-
-A successful transaction
-
-### Workarounds
-
-* Use customersDot.
-* *Possibly* edit GitLab.com user profile `name` field to be two ""words"", causing the name to split into a first and last name. This was not confirmed
- * It is currently [not possible](https://gitlab.slack.com/archives/CDLCBGEDV/p1603382908188600?thread_ts=1603381169.185600&cid=CDLCBGEDV) to edit one's profile and manually enter a Last Name, nor is it possible for an admin to enter one.
-
-### Related Issues / Epics
-
-1. [Move SaaS purchasing and account management into GitLab.com](https://gitlab.com/groups/gitlab-org/-/epics/1888)
-1. [[UX/Design] Move all SaaS billing from the portal to GitLab.com](https://gitlab.com/gitlab-org/gitlab/-/issues/31849)
-1. [New checkout flow improvements](https://gitlab.com/gitlab-org/gitlab/-/issues/247463)
-1. [Move New GitLab.com Subscription flows to GitLab.com UI](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1986)
-1. [Slack conversation](https://gitlab.slack.com/archives/CDLCBGEDV/p1603381169185600)",3
-73186941,2020-10-22 17:34:58.590,Correct bug in Order#latest_reconciliation,"The following discussion from !2080 should be addressed:
-
-- [ ] @rpereira2 started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2080#note_430324728): (+2 comments)
-
- > I think this result is wrong. I think the latest reconciliation should be `reconciliation1`, but I'll correct the implementation of `latest_reconciliation` in a separate MR.",1
-73117115,2020-10-21 17:42:54.469,Remove deprecated code related to `vue_account_details_page`,"The integrated component from https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1261 is completed, and is enabled with the `:vue_account_details_page` Feature Flag in production. :thumbsup:
-
-
-
-
-
-### Proposal
-
-Remove deprecated code and feature flags after enabled in production
-
-### Result
-
-### Next steps (if any)
-
-Monitor Sentry for 30 days and clean up the old code in `app/views/shared/customer/_edit.html.haml` once there are no further issues.
-
-In addition to cleaning up the old haml code and the `:vue_account_details_page` Feature Flag afterwards, the following feature flags could then be removed:
-
-* pajamas_account_page
-* account_page_vue_personal_details
-* account_page_vue_company_details
-* account_page_vue_change_password
-* account_page_vue_link_gitlab_account
-
-### How will we measure success?",1
-73056987,2020-10-20 20:44:06.795,Custom Zuora attributes should be synced in local cache,"### Problem
-
-If custom attributes as added in Zuora for Product objects, these will need to be synced as part of IronBank's local cache feature. We started using this local cache, storing the products in the database, as part of https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1762.
-
-### Proposal
-
-Investigate if custom attributes are captured in the local cache. If so, then there shouldn't be anything else required. If not, determine a plan for including these custom attributes.",2
-73044297,2020-10-20 18:31:12.966,"Remove ""Sign in"" CTA when on sign in pages","### Details
-
-In the sign in pages, there is no need to show the **Sign in** link in the top nav bar. Having the link there can add unneeded redundancy, as this way there are two ""sign in"" options in different graphical formats, with no clear way for the user to see how they differ or are alike other than clicking on both to see. Also, as the hamburger menu for the narrow views only contains the **Sign in** item, it would be recommended to remove that as well.
-
-| gitlab.com Narrow | gitlab.com Wide | cust sign in Narrow | cust sign in Wide |
-| --- | --- | --- | --- |
-| | | | |
-
-A simple solution that comes to mind might be that of removing the sign in link / hamburger menu on those views:
-
-| Narrow | Wide |
-| --- | --- |
-|  | |",2
-72955254,2020-10-19 11:43:58.331,Spike: Move Salesforce calls to background job,"### Problem
-
-Related to https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/486
-
-The call for `CreateSalesforceLeadFromCustomerService` in the [RegistrationsController](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/app/controllers/registrations_controller.rb#L16) can be moved to a background job. There might be other Salesforce calls that can be moved to a background job.
-
-### Proposal
-Evaluate Salesforce calls and move them to a background job if possible.
-
-### Result
-Actions can proceed without failing of third party calls.
-
-### Next steps (if any)
-
-### How will we measure success?
-
-### Availability & Testing
-
-The tests surrounding this feature likely will need to move from a Controller unit spec, to an ActiveJob spec which requires a bit of change to the test.
-
-",1
-72928971,2020-10-19 05:37:13.512,Clean-up: graduate pajamas_new_subscription feature flag,"### Problem
-
-In #1473 we introduced changes under [`pajamas_new_subscription`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/43/edit) feature flag.
-
-### Proposal
-
-Changes from #1473 have been deployed to production on Sept 19, 2020.
-
-Around Nov 19, 2020, we need to graduate the code from the feature flag and clean up the old code if there's no issue.
-
-### Result
-
-Less legacy code and less moving parts.",3
-72920941,2020-10-19 00:25:25.829,Spike: Identify what would occur if we didn't clear start/end dates,"## Summary
-
-In [this research issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1907), Corinna identified [where we reset subscription start/end dates in GitLab.com](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1907#note_408555499). The retention team would like us to stop clearing out the subscription dates.
-
-This issue has been created to identify if making such a change will have any negative downstream process affects.",1
-72855342,2020-10-16 21:00:39.228,Investigate Quarterly Co-terms from License Sync data,"### Problem
-
-With the Cloud License Sync epic, we will be gathering license information from self-managed instances, similar to how we gather Seat Link data. Both will be gathered on a routine basis (daily) and contain information on max historical user count and license key. Given that there is this duplication, we should be able to retire Seat Link eventually in favor of License Sync.
-
-We don't have all the specifics worked out yet but we feel confident that we can get quarterly co-terms working with license sync. Basically the idea would be to use the data from the license sync requests to feed the Reconciliation model, instead of using the seat link requests. It's a pretty simple concept from that standpoint, but there are still some details to be worked out such as:
-
-* Ensure the license sync data contains the data points that are required by Reconciliation (e.g. report date, license start date, license end date, max historical user count)
-* For seat link requests, the request received on day X contains data from day X-1. For license sync requests, I'm not sure it necessarily has to be that way, but there are good ways to keep with that same method. A day offset gives the rake task the opportunity to capture the user count information from HistoricalData after it has a chance to retry if necessary.
-* Figure out the handoff for which data input feeds the reconciliations (seat link vs license sync). Maybe both would be fine as it should be the same data, but that needs some thought.
-* Seat Link has been on for a while (introduced in an earlier version of GL) and by default SM instances opted in. For License Sync, this has to be activated so we might not be gather as much data through this method, at least to begin with. Determine if the business is okay with this. The handoff discussed int the above bullet point might inform this decision too.
-
-### Proposal
-
-This issue is dedicated to sorting out some of these details and adding it to the proposal document to be added in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2100.",3
-72794787,2020-10-15 18:15:38.114,New SKUs for RevPro Implementation,"# SKU Request Summary
-
-As part of Revpro implementation, we are creating a range of new SKUs, the details are available in this [finance issue](https://gitlab.com/gitlab-com/Finance-Division/finance/-/issues/3367)
-
-
-## SKU Requirements
-
-Details of the new SKUs are available [here](https://docs.google.com/spreadsheets/d/1WK2K6pE7QPGmZJrOOZ8dgJ2bOhY4130XpaBhBNR381I/edit#gid=0)",3
-72792070,2020-10-15 16:57:19.030,Mapping of Zuora Invoice to Salesforce CPQ Items.,"
-
-### Problem
-After learning that our Web direct code is based entirely off the generated invoice of a Zuora transaction we need to convert the Zuora Invoice Id to its related Invoice Items and then to the correct Amendment, Rate Plan and Rate Plan Charges. The data sent differes for the different transaction types.
-
-### Proposal
-
-Here is how we will map invoice items to the data to be created:
-
-#### New Orders
-
-| Invoice Item | Amendment to Create | Rate Plan To Create | Rate Plan Charge To Create |
-|-----------------|---------------------|-----------------------------------------------------|-----------------------------------------|
-| Positive Charge | NewProduct | Invoice Item's Related Rate Plan Charge's Rate Plan | Invoice Item's related Rate Plan Charge |
-
-#### Additional Seats
-
-| Invoice Item | Amendement to Create | Rate Plan To Create | Rate Plan Charge To Create |
-|-----------------|----------------------|-----------------------------------------------------|-----------------------------------------|
-| Positive Charge | UpdateProduct | Invoice Item's Related Rate Plan Charge's Rate Plan | Invoice Item's related Rate Plan Charge |
-
-#### Product Upgrade
-
-| Invoice Item | Amendement to Create | Rate Plan To Create | Rate Plan Charge To Create |
-|-------------------------------|----------------------|-----------------------------------------------------|-----------------------------------------|
-| Positive Charge (New Product) | NewProduct | Invoice Item's Related Rate Plan Charge's Rate Plan | Invoice Item's related Rate Plan Charge |
-| Negative Charge (Old Product) | RemoveProduct | Invoice Item's Related Rate Plan Charge's Rate Plan | **No Charge, but the Zuora Id of the Rate Plan that is being removed must be entered into the Quote Rate Plan Charge's zqu__SubscriptionRatePlanZuoraId__c field** |
-
-#### Renewal
-
-| Invoice Item | Amendement to Create | Rate Plan To Create | Rate Plan Charge To Create |
-|------------------------------------|----------------------|-----------------------------------------------------|-----------------------------------------|
-| Positive Charge (Renewal) | RenewProduct | Invoice Item's Related Rate Plan Charge's Rate Plan | Invoice Item's related Rate Plan Charge |
-| Positive Charge (Additional Seats) | UpdateProduct | Invoice Item's Related Rate Plan Charge's Rate Plan | Invoice Item's related Rate Plan Charge |
-| Postive Charge (True Up) | NewProduct | Invoice Item's Related Rate Plan Charge's Rate Plan | Invoice Item's related Rate Plan Charge |
-
-For all of the Rate Plan and Rate Plan Charge data we will create a 1:1 mapping of the Zuora Fields to the Zuora CPQ fields in Salesforce. @jpetr I will ask you to just make a simple table to map:
-
-#### Amendment
-
-SFDC: https://gitlab.my.salesforce.com/01I61000001QLnk?setupid=CustomObjects
-
-Zuora: https://knowledgecenter.zuora.com/Billing/Subscriptions/Subscriptions/E_Changing_Subscriptions_Amendments
-
-#### Quote Rate Plan
-
-SFDC: https://gitlab.my.salesforce.com/01I61000001QLnr?setupid=CustomObjects
-
-Zuora:https://knowledgecenter.zuora.com/Central_Platform/API/G_SOAP_API/E1_SOAP_API_Object_Reference/RatePlan
-
-#### Quote Rate Plan Charge
-
-SFDC: https://gitlab.my.salesforce.com/01I61000001QLnq?setupid=CustomObjects
-
-Zuora: https://knowledgecenter.zuora.com/Central_Platform/API/G_SOAP_API/E1_SOAP_API_Object_Reference/RatePlanCharge",2
-72733380,2020-10-14 20:05:10.825,Identify idempotency issues on gitlab.com provisioning job retries,"In https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1440 we found a few cases where we retry jobs when an error occurs in the gitlab.com provisioning process.
-
-* https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/app/services/gitlab/namespace/update_plan_info_service.rb#L30
-* https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/app/services/gitlab/namespace/update_plan_info_service.rb#L46
-* https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/app/services/gitlab/namespace/update_plan_info_service.rb#L92
-* ...
-
-Nothing jumped out at me that I think would cause an issue on retries but I'm also not sure that the retries actually help anything. It's possible we are just polluting the retry queue with jobs that failed and will never succeed. We should verify:
-
-1. We are not causing idempotency issues when we retry.
-2. Retries have the potential to succeed instead of just continuing to error.
-
-### Problem
-
-### Proposal
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",3
-72733080,2020-10-14 19:56:37.610,Retry gitlab.com api calls when provisioning,"In https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1440 we discovered that we don't retry calls when an gitlab api call fails during provisioning. Instead, we swallow the error, return `{ success: false }` and don't do anything with the result.
-
-* https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/app/services/gitlab/namespace/update_service.rb#L17
-* https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/app/services/gitlab/subscription/update_service.rb#L26
-* ...
-
-Rather than restart the whole job on cases when the api fails, I think it would probably be best to keep the retries synchronous so we don't cause any idempotency issues.
-
-For example
-
-```ruby
-def update_namespace
- tries = 0
- max_tries = 3
- begin
- response = Client::GitlabApp.put(...)
- raise unless response.success?
- retry
- unless tries > max_tries
- log_error
- sleep(5) # some time for the api to recover
- retry
- end
- end
-end
-```
-
-### Problem
-
-### Proposal
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",3
-72716593,2020-10-14 14:01:54.079,Add test coverage for renewals at list price,"# Background
-
-In https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2057, we added the ability to use the list price instead of the original discounted price when performing renewals. However, as mentioned in the discussion below, it was difficult to add test coverage for this case because it required creating some test objects in Zuora (products, rate plan charges, etc) rather than mocking. This is because the [`amend_subscription_service_spec.rb`](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/755f660e602579136967dd818dc9049e782c2eaa/spec/services/amend_subscription_service_spec.rb) and [`renew_subscriptions_pajamas_spec.rb`](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/a8eea433e2c8d5a2ae9cc8f4c94711ee22d62f7c/spec/features/renew_subscriptions_pajamas_spec.rb) use VCR.
-
-# Proposal
-
-Ensure proper test coverage for renewals in scenarios that should use list price and discounted price.
-
-## Follow-up from Discussion
-
-The following discussion from !2057 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2057#note_429012271): (+2 comments)
-
- > **Question:** Should we add some additional tests to cover these new cases? I see the change [here](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2057/diffs#bc237849f35c4d92a46f1ea439edb1da0b5d2b13_199_199) but it's not clear to me that it's testing the renewal case. I was thinking it might be good to have a scenario where the `main_product.renewal_price` actually uses the latest product catalog price (e.g. where [this line](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/49bb3d9b1311700c7d8ffdcdc5085e28c5424af3/app/models/product.rb#L38) is true). We might want to add a similar test case in `spec/features/renew_subscriptions_pajamas_spec.rb` as well.
- >
- > WDYT?",2
-72704317,2020-10-14 10:52:12.732,Community Programs Self-Checkout - Extract customer's information component,"### Problem
-
-We have got a hard-coded piece of code to render customer's information, that is being used in 2 pages, [usage example](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/e5f349b7cbcdc2ceeaa35d699fc851df42c19eaf/app/frontend/javascripts/subscription/components/new_ee_subscription_form.vue#L194-209).
-
-Original discussion https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2003#note_428777133.
-
-### Proposal
-
-We have an opportunity to extract a component that is being used in `new_ee_subscription_form.vue` and `new_gitlab_subscription_form.vue` where we show a customer's information.
-
-The new component would accept a `customer` parameter and output a rendered information.
-
-### Result
-
-Cleaner and consistent code
-
-### Next steps (if any)
-
-Schedule",2
-72677275,2020-10-14 00:02:29.474,UX: Introduce ability to update address during the checkout process,This is the UX design issue for Epic: https://gitlab.com/groups/gitlab-org/-/epics/4465. Note the Epic includes issues for each of the checkout flows.,1
-72676260,2020-10-13 23:00:55.331,Invalid quantity error not showing during CI purchase when user has an active subscription or add-on purchase,"
-
-### Problem
-
-If a user has an active subscription, or has CI minutes packs as add-ons, when the user purchases more CI minutes, error message will not show with an invalid quantity. Purchase will go through with '0' on manage purchase page :point_down:
-
-**No error message shows**
-
-
-
-**Purchase go through**
-
-
-**Purchase quantity shows 0**
-
-
-### Proposal
-
-**Expected behavior**
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-72673827,2020-10-13 21:16:12.314,Remove ability to resend EULA from admin panel,"### Problem
-
-As mentioned in [the epic](https://gitlab.com/groups/gitlab-org/-/epics/4225), we no longer require the manual EULA process. As part of this work, we should not need to resend EULA request email from the Admin panel.
-
-This was first attempted as part of https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1836, but we realized that we needed to keep this functionality around a bit longer as we sunset customers on the legacy EULA process. We should tackle this in a future milestone similar to when we start work on https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1841. In that issue, we determined we should start the work 90 days after the existing Eula process was turned off (2020-10-13). Exact date TBD.
-
-### Proposal
-
-Remove the components related to resending EULAs via the admin panel.
-
-Here's a patch that outlines what should be changed: [resend_eula.patch](/uploads/3dfc04a50e3d23eefbfebc9d7a7db069/resend_eula.patch)",1
-72371426,2020-10-08 08:25:34.753,Document and describe columns in the DB (and perhaps add a Danger check),"We should start describing the fields we have in the CustomersDot DB and probably follow the guidelines of https://gitlab.com/gitlab-org/database-team/team-tasks/-/issues/88
-
-It might be best to add another reminder similar to the DB ERD one to Danger so we can ping the engineer every time the DB is updated.
-
-Related to https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1128#note_424516562 and https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1128#note_424541144",3
-72284282,2020-10-06 21:15:03.628,Do not show sign in / sign up error on the sign in page,"
-
-### Problem
-
-When a user is not signed into the Customers Portal, they get redirected to the sign in / register page and are shown a scary-looking red alert at the top telling them to sign in or sign up for the customers portal to continue. This is jarring to the user and makes them feel like they've made an error, even though they are just on the signin/signup step of the flow.
-
-
-
-### Proposal
-
-Remove the error message about needing to sign in / sign up. The sign in / registration page is already pretty straightforward and the user doesn't need additional instructions.",2
-72269752,2020-10-06 16:14:21.115,React to Zuora errors by fixing orders,"
-
-### Problem
-
-Orders within Subscription App are meant to be a 1:1 mapping to Zuora Subscriptions and be in sync.
-
-However some times the orders and the subscription that originated them diverge, whether because the subscription was cancelled/refunded and our app was lacking the logic to react to that scenario or because the callouts from Zuora never happened or all failed, Zuora is down, Subscription App is down... (so many possibilities)
-
-So although we can create better mechanisms to account for each of this origins (and we are and should continue to do so), these are two independent systems and keep them in sync is not possible:100:% of the time.
-
-That is why we want to put up for consideration to proactively fix these sync gaps when those are uncovered.
-
-By:
-- Identifying a set of Zuora errors we get consistently.
-- Set up corrective reactions within the Subscription App.
-
-### :warning: Sync no more, soon...
-
-Our final goal is to make Zuora the Single Source of Truth (SSoT) for CustomersDot and we want to keep that present and work towards that whenever possible. This translates into us writing any future code considering to actually rely on Zuora instead of reusing what is saved in `orders`. *Not only for this but all issues.*
-
-[Transition to Zuora as the SSoT Epic](https://gitlab.com/groups/gitlab-org/-/epics/4664) will group all the effort to accomplish this, it aims ""to reduce the data duplication in CustomerDot with Zuora and move us closer to calling Zuora the SSoT"". This is a big effort and in the meanwhile we want to still alleviate some of sales blockers if possible and that is what this issue is about.
-
-### What we want to solve
-
-**SITUATION:** Customer is purchasing a .com plan for a namespace that has a refunded subscription associated to this.
-
-**WHAT HAPPENS TODAY:** Customer is unable to proceed, contacts support, support deals manually with the order's state, support creates a ticket, the ticket is prioritized and ultimately an engineer will pick it up and try to find out the cause for this out of sync state (this cause is at this point not relevant, maybe the order is for a moment in time we didnt have logic to reset the order, maybe Zuora's profile was in silence mode, maybe callouts failed...) This is a lot of effort.
-
-**WHAT THIS ISSUE PROPOSES:**
-When Subscriptions App gets an error that **looks like the one for that **might** be related to this case, instead of raising right away and triggering all the response above, we can take a step to the side and:
-- Attempt to fix! In this case: Query Zuora for the state of the subscription associated to the order
-- **IF** it is cancelled
- - Reset the order's subscription data via `ProcessInactiveSubscriptionService`
- - Reattempt the user action (best case scenario customer purchased and it is happy)
-- **ELSE** fail like we do today
-
-
-### Result
-
-By ""closely"" reacting to the identified (known) errors such as the one outlined and correcting the data we are saving a lot of time to support and removing many future duplicated issues that are created as a result.",2
-72221388,2020-10-05 22:59:50.613,UX: Improve self-managed purchase success screen,This is the UX issue for https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2059,1
-72221366,2020-10-05 22:59:00.396,UX: Improve copy on email confirmation step,This is the UX issue for https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2058,1
-72199010,2020-10-05 15:10:46.254,Further refactor customers creation,"The following discussion from !2021 should be addressed:
-
-- [ ] @shreyasagarwal started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2021#note_423635493): (+1 comment)
-
- > @dstull Can we please use `self.where` ... I probably never had a habit of reading it without a Customer.where or self.where and makes me cringe a bit. Just a personal preference, if you leave it then I would try hard to get use to it :smile:",2
-72097572,2020-10-02 20:26:34.205,Improve self-managed purchase success modal,"
-
-### Problem
-
-When a customer has just purchased a self-managed subscription, the success modal gives them no actionable steps about what to do next to get their license or upload it to their instance.
-
-
-
-### Proposal
-
-- Add copy on the purchase success modal to tell the user to check their email for the license file and instructions on how to apply it or download it from the manage purchases page.
-- Change the button to ""Get license file"" and have it link to the manage purchases page.",3
-72097364,2020-10-02 20:15:39.872,Improve copy on email confirmation step,"## Problem
-
-Webstore registration requires email confirmation, but the screen asking the user to confirm their email emphasizes resending the confirmation email, not the the main action of checking your email to click the confirmation link.
-
-It also doesn't tell user why confirmation is required (because we send the license to that email and we need to make sure it's right).
-
-
-
-## Proposal
-
-- Move the info that's currently hidden in the alert down into the main body.
-- Add a value prop for the user to tell them why confirming their email is important (something like ""We need you to confirm your email so that we send your license to the right place."")
-- Give less emphasis to ""Resend confirmation instructions"" and more emphasis to the action that they really need to take which is ""Check your email.""
-
-### Availability & Testing
-
-
-
-> Add a value prop for the user to tell them why confirming their email is important
-
-Any associated Vue changes should also be accompanied by frontend Jest test changes to test the new prop, or any other modifications.",3
-92195219,2020-10-02 05:31:45.827,SUBSCRIPTIONS_URL refactorings,"The following discussion from gitlab!43812 should be addressed:
-
-- [ ] @brodock started a [discussion](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/43812#note_422480752):
-
- > On a different note, I'm curious why we decided to start storing all those globals here instead of a more dedicated location.
- >
- > Looking at `SUBSCRIPTIONS_URL` usage, I found we are ""building URLs"" all over the place, literally hard-codding and concatenating things when needed with at least 28 matches. It suggests me that we should move those to a dedicated place.
- >
- > An obvious refactor here could start with moving constants to another level and building URL specific methods:
- >
- > ```ruby
- > module EE
- > module Subscriptions
- > SUBSCRIPTIONS_URL = ENV.fetch('CUSTOMER_PORTAL_URL', ::Gitlab.dev_or_test_env? ? 'https://customers.stg.gitlab.com' : 'https://customers.gitlab.com').freeze
- >
- > def self.customer_portal_url(path)
- > ""#{SUBSCRIPTIONS_URL}/#{path}"".freeze
- > end
- >
- > def self.customer_portal_more_minutes_url
- > custmer_portal_url('buy_pipeline_minutes')
- > end
- >
- > def self.customer_portal_more_storage_url
- > custmer_portal_url('buy_storage')
- > end
- > end
- > end
- > ```
- >
- > and so on
-
-### Availability & Testing
-
-
-
-As this refactor is recommending a nice generic library to determine the URLs, a unit spec should accompany the new module to ensure quality.
-
-- If CUSTOMER_PORTAL_URL is set to `the_url` ... `EE::Subscription`
- - `#customer_portal_url('/test')` is `https://the_url/test`
- - `#customer_portal_more_minutes_url` is `https://the_url/buy_pipeline_minutes`
- - `#customer_portal_more_storage_url` is `https://the_url/buy_storage`
-- If CUSTOMER_PORTAL_URL is not set ...
- - When dev env ...
- - `#customer_portal_url('/test')` is `https://customers.stg.gitlab.com/test`
- - `#customer_portal_more_minutes_url` is `https://customers.stg.gitlab.com/buy_pipeline_minutes`
- - `#customer_portal_more_storage_url` is `https://customers.stg.gitlab.com/buy_storage`
- - When test env ...
- - `#customer_portal_url('/test')` is `https://customers.gitlab.com/test`
- - `#customer_portal_more_minutes_url` is `https://ccustomers.gitlab.com/buy_pipeline_minutes`
- - `#customer_portal_more_storage_url` is `https://customers.gitlab.com/buy_storage`",2
-71968275,2020-09-30 17:35:23.166,Stub Salesforce calls in testing,"The following discussion from !1998 should be addressed:
-
-- [ ] @dstull started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1998#note_420627415): (+3 comments)
-
- > what is perplexing here is not why this is needed now - but why it wasn't needed before, as every test under this context needs it.",1
-71964953,2020-09-30 16:16:24.904,Move cron job into jobs area,"The following discussion from !2012 should be addressed:
-
-- [ ] @dstull started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2012#note_419823396): (+1 comment)
-
- > The name(no worker suffixed) and placement of this class and the one that is called in the perform is suspicious.
- >
- > I see it is really a [cronjob](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/9cb507bd42ed3f31b760ed8c35d7b80087cef67a/config/sidekiq.yml#L11), so perhaps it should move under `app/jobs` and be refactored a bit?
- >
- > note: will spawn issue if feedback confirms this",2
-71958315,2020-09-30 14:28:18.468,Upstream spec schema migration before settings,"The following discussion from !2000 should be addressed:
-
-- [ ] @shreyasagarwal started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2000#note_418608156): (+2 comments)
-
- > @dstull Can we replace `:each` with `:example`. RSpec wants to deprecate the use of 'each' and 'all' in later versions and the new ones which came from 3.0 are these ones listed here https://relishapp.com/rspec/rspec-core/v/3-9/docs/hooks/before-and-after-hooks",1
-71851930,2020-09-29 07:11:44.303,Danger suggests backend review for frontend changes,"### Problem
-
-With aligning Danger to the GitLab updates (https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1974), some changes trigger the wrong review as the fallback review category is triggered. For [example](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2010#note_419750732) changes in `app/frontend` fell back to a backend review since it wasn't explicitly checked for frontend anymore.
-
-### Proposal
-Add some categories back to trigger a frontend review.
-
-### Result
-Danger suggests the correct review category.",1
-71849355,2020-09-29 06:41:39.316,Align overcommit.yml with GitLab,"### Problem
-While reviewing https://gitlab.com/gitlab-org/license-gitlab-com/-/merge_requests/212, I looked at the `.overcommit.yml.example` for [GitLab](https://gitlab.com/gitlab-org/gitlab/blob/master/.overcommit.yml.example) and the [Subscriptions App](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/.overcommit.yml.example). The Subscriptions App's file is much smaller, so we should check if we should add a few checks that are in place for GitLab here as well. For example, in the last few months we added a lot more docs, so it might make sense to add checks like `MarkdownLint` and `Vale` to hold the Subscriptions App to the same standard as GitLab.
-
-### Proposal
-Compare `.overcommit.yml.example` of GitLab and Subscriptions App and update the latter one with useful checks.
-
-### Result
-Aligning overcommit checks with GitLab and have the same standard in those checks.",1
-71823263,2020-09-28 19:06:55.940,[UX] Improve provisioning and onboarding of new sales-assisted GitLab.com subscribers - MVC,"This is the UX design issue for https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2272
-
-Video walkthrough of current flow: https://youtu.be/Wex_YD37Dkk
-
-
-### Designs
-SSOT
-- See design section
-- [Figma link](https://www.figma.com/file/MIQZb8jhi5gA33yFbaREou/Improve-provisioning-and-onboarding-of-new-sales-assisted-SaaS-subscribers?node-id=23%3A2943)
-
-- [Walkthrough video](https://www.loom.com/share/dc875e6e39e64c20b48cb07fd9a9d8a1) - Some edits were made to designs after this video was made.",3
-71786131,2020-09-28 09:11:39.832,Follow-up: Allow creating new group in new GitLab purchase page,"### Problem
-
-
-We need to allow the user to create a new group while they're in ""New GitLab Subscription"" and assign the new subscription to that group.
-
-A follow-up to #1970.
-
-### Proposal
-
-Use the following design for the new GitLab.com subscription page
-
-",3
-71705280,2020-09-25 18:50:41.143,SaaS upgrade flow should charge for users over license,"## Summary
-
-When a SaaS customer with user overages upgrades their tier, we don't charge seats over their current subscribed amount. This causes issues at renewal for sales.
-
-
-## Proposal
-
-When the customer enters the Upgrade purchase flow, we should dynamically update the `seats` field with the greater of the `Seats currently in use` or `Seats in subscription`. Today the value defaults to the prior `subscription` Seats in subscription` quantity.
-
-### Availability & Testing
-
-
-
-> dynamically update the `seats` field with the greater of the `Seats currently in use` or `Seats in subscription`
-
-This will require tests to ensure that one value takes precedence over the other, as well as a front-end test that ensures that the value is rendered in the field as expected.",2
-71680053,2020-09-25 10:39:40.520,Subscriptions buttons spec ToolTip needs fixing,"The following discussion from !1983 should be addressed:
-
-- [ ] @dreedy started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1983#note_418325959): (+3 comments)
-
- > **question:** I’m a little confused by the description & setup of this test. Are we actually testing what the description says?
- >
- > > when `hasSeatLinkData` is `true`
- >
- > ```ruby
- > factory({ /*…*/ hasSeatLinkData: false})
- > ```
-
-The spec in question is broken in it's current state. It needs some setup code to be able to assert on the tooltip it is supposed to be asserting on.
-
-```
-diff --git a/spec/frontend/subscription/components/subscription_buttons_spec.js b/spec/frontend/subscription/components/subscription_buttons_spec.js
-index f350736d..2f38f2e2 100644
---- a/spec/frontend/subscription/components/subscription_buttons_spec.js
-+++ b/spec/frontend/subscription/components/subscription_buttons_spec.js
-@@ -327,8 +327,44 @@ describe('SubscriptionButtons', () => {
- });
-
- describe('when hasSeatLinkData is true', () => {
-+ const originalCreateRange = document.createRange;
-+ const origGetBCR = Element.prototype.getBoundingClientRect;
-+
-+ beforeEach(async () => {
-+ // https://github.com/FezVrasta/popper.js/issues/478#issuecomment-407422016
-+ // Hack to make Popper not bork out during tests.
-+ // Note popper still does not do any positioning calculation in JSDOM though.
-+ // So we cannot test actual positioning... just detect when it is open.
-+ document.createRange = () => ({
-+ setStart: () => {},
-+ setEnd: () => {},
-+ commonAncestorContainer: {
-+ nodeName: 'BODY',
-+ ownerDocument: document,
-+ },
-+ });
-+ // Mock getBCR for visibility checks of trigger element
-+ Element.prototype.getBoundingClientRect = jest.fn(() => ({
-+ width: 24,
-+ height: 24,
-+ top: 0,
-+ left: 0,
-+ bottom: 0,
-+ right: 0,
-+ }));
-+
-+ // factory({ autoRenew: false, hasSeatLinkData: false });
-+ factory({ autoRenew: true, hasSeatLinkData: true });
-+ jest.runOnlyPendingTimers();
-+ await wrapper.vm.$nextTick();
-+ });
-+
-+ afterEach(() => {
-+ // Reset overrides
-+ document.createRange = originalCreateRange;
-+ Element.prototype.getBoundingClientRect = origGetBCR;
-+ });
- it('does not show autorenew tooltip on hover', async () => {
-- factory({ autoRenew: true, hasSeatLinkData: false });
- await wrapper.vm.$nextTick();
-
- expect(findGlTooltip()).toBeNull();
-```
-
-There is similar setup code in the test suite already, so let's refactor this into something helpful.",2
-71657834,2020-09-25 01:44:45.117,Make CreateSalesforceAccountWorker retryable with Sidekiq,"
-
-### Problem
-
-> Well spotted. @rdavila looks like an easy fix, would you be able to submit that on a separate MR for `CreateSalesforceAccountWorker`?
-
-Derived from: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1479#note_416471108
-
-### Proposal
-
-Send a fix similar to the one sent for `CreateSalesforceOpportunityWorker`
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-71646408,2020-09-24 18:47:04.627,Make context an optional argument to Unleash.enabled?,"## Proposal
-
-Update the [`Unleash` initializer](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/c8b54841a8706b289bb3a518082c31feb7cbbb14/config/initializers/unleash.rb#L17) so that the `enabled?` method has a default argument for `context` of an empty hash.
-
-`def enabled?(feature, context = {}, *args)`
-
-There are so many place within the code where we already pass the empty hash. Updating it would make it more convenient to use and clean up existing references.
-
-## Followup
-
-The following discussion from !1979 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1979#note_418344696):
-
- > We have so many places that send an empty hash for the context to the `enabled?` helper. It's probably time we make that an optional argument and default it to an empty hash. I might tackle that as a follow-up when I have downtime. :smile:",1
-71641477,2020-09-24 16:23:16.912,SPIKE: Migrate Autorenewal process to automated process flow in customers.gitlab.com,"## Summary
-
-When a self-managed or GitLab.com subscription is set to autorenew, the process is driven by Zuora. Currently, this Zuora process requires manual intervention. While there is a possibility of automating this in Zuora, we may find that the timing and LOE is so large that we will not see manual process relief for some time.
-
-### Manual effort estimation
-
-Currently the billing team is spending an average of 110 hours monthly processing autorenewals (just those which actually renew, not those which must be cancelled due to non-payment) with a volume of over 560 subscriptions per month.
-
-## Proposal
-
-Let's explore what the dev effort would be to automatically process the renewal via customers.gitlab.com similar to what we will do with [Quarterly Coterms](https://gitlab.com/groups/gitlab-org/-/epics/27470) so that customers.gitlab.com processes the renewal and charging of credit card.
-
-### Considerations
-
-1. Where the original subscription was sourced by Web Store, we should only process and offer the autorenew feature for subscriptions with a valid credit card on file.
-1. Where the original subscription was sourced by a sales-assisted order form, we should allow autorenew in any case. For those which have no credit card on file, we should generate the subscription and send an invoice.
-1. Where the original subscription was sourced by a sales-assisted order form, we should identify if there is an open renewal opportunity in SFDC and if so, do not process autorenewal. (this can be follow-up iteration)",1
-71573844,2020-09-23 15:03:53.544,CI minute purchase totals do not update,"
-
-### Problem
-
-https://customers.gitlab.com/subscriptions/new?plan_id=2c92a0086a07f4a8016a2c0a1f7b4b4c&transaction=ci_minutes
-
-When hitting the above link the total isn't updated.
-
-
-
-Zendesk ticket https://gitlab.zendesk.com/agent/tickets/173687
-
-### Proposal
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-71565458,2020-09-23 12:14:49.444,Cleanup unused secret variable,"Follow-up of https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1657
-
-## Problem
-With changes for https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1657 a variable (`finance_cc_email`) from the application's secrets is not needed anymore and should be removed. This should be addressed after the work for https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1657 is completed.
-
-### Proposal
-These steps are required to complete this issue:
-- Remove the value in the [`secrets.yml.example`](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/staging/config/secrets.yml.example) for all environments
-- Create infrastructure issue to remove the value from the chef vault of customers.gitlab.com
-- Create merge request in the [CustomersDot's cookbooks](https://gitlab.com/gitlab-cookbooks/cookbook-customers-gitlab-com) to remove the variable from [`secret.yml.erb`](https://gitlab.com/gitlab-cookbooks/cookbook-customers-gitlab-com/-/blob/master/templates/default/secrets.yml.erb) and the default in [`default.rb`](https://gitlab.com/gitlab-cookbooks/cookbook-customers-gitlab-com/-/blob/master/attributes/default.rb)
-
-### Result
-Removal of unused secret variable",1
-71558004,2020-09-23 09:42:42.619,Ensure project setup covers GDK refusing to connect to HTTPS with invalid license,"
-
-### Problem
-
-@astoicescu recently updated their GDK, and due to security concerns the GDK now drops HTTPS calls if the certificate is invalid.
-
-This is obviously a good thing.
-
-This can cause issues for our local development though.
-
-We recommend ngrok for local development, and their wildcard is `*.eu.ngrok.io `.
-
-However if one creates a ngrok url with `.` like https://ragnar.zuora-payment.eu.ngrok.io/ it'll be two subdomains and the license will be invalid.
-
-A workaround is to drop from `https` to `http`.
-
-### Proposal
-
-Document this gotcha.",1
-71553697,2020-09-23 08:24:59.308,Rename .rb to .rb.tt for templates used in templates folder,"In the [generator folder](https://gitlab.com/gitlab-org/customers-gitlab-com/-/tree/staging/generator_templates/active_record) we have few templates which we are using for [migration](https://gitlab.com/gitlab-org/customers-gitlab-com/-/tree/staging/generator_templates/active_record/migration).
-
-As it contains the ERB codebase the files are having a `.rb` extension instead of `.rb.tt`
-
-The same is being used by Bundler and also Rails in their project. https://github.com/rails/rails/blob/master/activerecord/lib/rails/generators/active_record/migration/templates/create_table_migration.rb.tt
-
-The corresponding issue for GitLab extension change is here https://gitlab.com/gitlab-org/gitlab/-/issues/251122",1
-71531898,2020-09-22 20:10:57.631,"Remove ""HostedPlans"" from namespace of Gitlab::HostedPlans::UpgradeSubscriptionPlanService","### Problem
-Now that `Gitlab::HostedPlans::UpgradeSubscriptionPlanService` is used to upgrade both hosted and self-hosted plans, the namespace `HostedPlans` is misleading.
-
-### Proposal
-We should remove the `HostedPlans` namespace for this class and move the file under `app/services/gitlab/` instead.
-
-### Result
-Clearer class name for this service.",1
-71507644,2020-09-22 13:48:05.332,Add Invoice balance and due date to Web Store,"## Summary
-
-As a follow up to https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/503 and to get us closer to delivering https://gitlab.com/groups/gitlab-org/-/epics/4372, we'd like to provide customers with `Invoice Due Date` and `Invoice Balance` within the Web Store.
-
-
-
-### Additional Reference
-
-1. See pertinent conversation: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/503#note_416662993
-
-### UX
-
-There shouldn't be a material change to the existing UX but will obtain sign-off/review on this assumption.
-
-## Actions
-
-1. [x] Pull invoice balance from Zuora
-1. [x] Pull invoice due date from Zuora
-1. [x] Create new `Invoice Due Date` column in FE of Web Store>Invoices page and display values
-1. [x] Create new `Invoice Balance` column in FE of Web Store>Invoices page and display values",1
-71466534,2020-09-21 18:58:17.350,Sign in view. Use gitlab-ui utility classes.,"
-
-### Description
-
-This issue contains the follow-ups derived from https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1865/
-
-- [x] Replace margins on `.signin-register-page` with utility classes added to gitlab-ui (after https://gitlab.com/gitlab-org/gitlab-ui/-/merge_requests/1733 gets merged)",1
-71457632,2020-09-21 15:32:37.578,Fine tune ci file settings,"The following discussion from !1974 should be addressed:
-
-- [ ] @dstull started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1974#note_416047723):
-
- > So this can really be cured, and I started down this path, but when I was finished, it was too much for this MR and would've caused it to become unfocused...so I kept this for now.
- >
- > However, I will create a follow up with these thoughts:
- >
- >
- >
- > .gitlab-ci.yml
- >
- > ```yml
- > stages:
- > - test
- > - deploy
- > - test-staging
- > - deploy-production
- > - post-deploy
- >
- > default:
- > image: 'registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.26-lfs-2.9-chrome-73.0-node-12.x-yarn-1.21-postgresql-10-graphicsmagick-1.3.34'
- > tags:
- > - gitlab-org
- > services:
- > - postgres:latest
- > - redis:latest
- > cache:
- > key:
- > files:
- > - Gemfile.lock
- > - yarn.lock
- > paths:
- > - vendor/ruby
- > - .yarn-cache/
- >
- > variables:
- > POSTGRES_DB: 'payment_app_test'
- > POSTGRES_HOST_AUTH_METHOD: trust
- > RAILS_ENV: 'test'
- > SIMPLECOV: 'true'
- > REDIS_URL: 'redis://redis:6379/0/session'
- >
- > include:
- > - local: .gitlab/ci/global.gitlab-ci.yml
- > - local: .gitlab/ci/danger.gitlab-ci.yml
- > - template: Security/SAST.gitlab-ci.yml #https://docs.gitlab.com/ee/user/application_security/sast/
- > - template: Security/Dependency-Scanning.gitlab-ci.yml #https://docs.gitlab.com/ee/user/application_security/dependency_scanning/
- >
- > rubocop:
- > extends:
- > - .default-only
- > stage: test
- > before_script:
- > - bundle install --without=production --jobs=$(nproc) --path=vendor --retry=3 --quiet
- > script:
- > - bundle exec rubocop
- > except:
- > - tags
- >
- > linting:
- > extends:
- > - .default-before_script
- > - .default-only
- > stage: test
- > script:
- > - yarn lint
- >
- > frontend_test:
- > extends:
- > - .default-before_script
- > - .default-only
- > stage: test
- > script:
- > - yarn test --ci --coverage
- > artifacts:
- > name: coverage-frontend
- > expire_in: 31d
- > when: always
- > paths:
- > - coverage-frontend/
- > - junit_jest.xml
- > - tmp/tests/frontend/
- > reports:
- > junit: junit_jest.xml
- >
- > rspec:
- > extends:
- > - .default-before_script
- > - .default-only
- > stage: test
- > script:
- > - bundle exec rspec
- > artifacts:
- > expire_in: 31d
- > when: always
- > paths:
- > - log/
- > - coverage/
- > - tmp/capybara/
- >
- > pages:
- > extends:
- > - .default-before_script
- > stage: deploy
- > script:
- > - mv public/ .public/
- > - mkdir public/
- > - mv coverage/ public/coverage-ruby/ || true
- > - cp .public/assets/application-*.css public/application.css || true
- > - cp .public/assets/application-*.css.gz public/application.css.gz || true
- > artifacts:
- > paths:
- > - public
- > expire_in: 30 days
- > only:
- > - master
- >
- > deploy-staging:
- > extends:
- > - .default-before_script
- > stage: deploy
- > variables:
- > NODE_ENV: 'production'
- > script:
- > - yarn install --check-files
- > - ./bin/webpack
- > - bundle exec bin/deploy staging
- > only:
- > - staging
- >
- > end-to-end:
- > stage: test-staging
- > before_script:
- > - cd qa
- > - bundle install
- > script:
- > - bundle exec rspec spec --format progress --format RspecJunitFormatter --out rspec.xml
- > - touch tmp/success
- > after_script:
- > - gem install httparty
- > - |
- > if [ -e qa/tmp/success ]; then
- > bin/notify qa_success
- > else
- > bin/notify qa_failure
- > fi;
- > allow_failure: true
- > variables:
- > STAGING: 'true'
- > QA_BROWSER: :chrome_headless
- > when: delayed
- > start_in: 40 minutes
- > only:
- > - staging
- > artifacts:
- > expire_in: 30d
- > when: always
- > paths:
- > - qa/tmp/
- > reports:
- > junit: qa/rspec.xml
- >
- > deploy-production:
- > extends:
- > - .default-before_script
- > stage: deploy-production
- > script:
- > - git checkout $CI_COMMIT_REF_NAME
- > - 'bundle exec bin/deploy production && git push https://customers-gitlab-com:$DEPLOY_API_TOKEN@gitlab.com/gitlab-org/customers-gitlab-com.git $CI_COMMIT_REF_NAME:master'
- > when: delayed
- > start_in: 2 hours
- > only:
- > - staging
- >
- > notify-failure:
- > extends:
- > - .default-before_script
- > stage: post-deploy
- > script:
- > - bundle exec bin/notify
- > when: on_failure
- > only:
- > - staging
- >
- > ```
- >
- >
- >
- >
- >
- > .gitlab/ci/global.gitlab-ci.yml
- >
- > ```yml
- > .default-before_script:
- > before_script:
- > - bundle install --without=production --jobs=$(nproc) --path=vendor --retry=3 --quiet
- > - yarn install --frozen-lockfile --cache-folder .yarn-cache --prefer-offline
- > - cp config/database.yml.ci config/database.yml
- > - cp config/secrets.yml.example config/secrets.yml
- > - RAILS_ENV=test bundle exec rake db:setup assets:precompile
- >
- > .default-only:
- > only:
- > refs:
- > - master
- > - staging
- > - merge_requests
- > - tags
- > ```
- >
- >
- >
- >
- > danger.gitlab-ci.yml
- >
- > ```yml
- > danger-review:
- > stage: test
- > image: registry.gitlab.com/gitlab-org/gitlab-build-images:danger
- > dependencies: []
- > retry:
- > max: 2 # This is confusing, but this means ""3 runs at max"".
- > when:
- > - unknown_failure
- > - api_failure
- > - runner_system_failure
- > - job_execution_timeout
- > - stuck_or_timeout_failure
- > script:
- > - git version
- > - node --version
- > - yarn install --frozen-lockfile --cache-folder .yarn-cache --prefer-offline
- > - danger --fail-on-errors=true --verbose
- > rules:
- > - if: '$DANGER_REVIEW_DISABLED'
- > when: never
- > - if: '$CI_COMMIT_BRANCH =~ /^(master|staging)$/'
- > when: never
- > - if: '$DANGER_GITLAB_API_TOKEN == null || $DANGER_GITLAB_API_TOKEN == """"'
- > when: never
- > - if: '$CI_COMMIT_TAG || $CI_COMMIT_BRANCH'
- > ```
- >
- >
- >
- > also - the current `default:` `before_script` is a bit wild here as it is being ran for almost all the jobs and is really needed only on about 1/2 of them. We are building almost the entire app on every single job for test and that takes time and resources we don't need to spend.",3
-71446625,2020-09-21 12:54:06.077,Guide the user to login page when purchasing a subscription,"### Problem
-
-When the user wants to purchase a new subscription, the current HAML implementation allows visiting the new subscription page without having an account, and inside that page, the user will not see anything but a ""Sign in"" link.
-
-#### Current flow
-
-
-
-In the pajama's implementation #1473 and #1970, we need to redirect the user to the login page if they're not logged in.
-
-Caught by @rhardarson :thumbsup:
-
-### Proposal
-
-Redirect the user to the sign in page when they try to purchase a new subscription without having an active session.
-
-### Result
-
-No errors when the user trying to access the page without having an active session.
-
-### Next steps (if any)",2
-71423029,2020-09-21 02:23:51.358,"Update the renewal banner copy to say ""Purchase a new subscription""","
-
-### Problem to solve
-
-
-
-GitLab.com allow 14 days of grace period before a namespace is downgraded to free. The banner state that the user has 14 days to **renew** the subscription with a `Renew subscription` button. When the customer goes to [customers portal](https://customers.gitlab.com/customers/sign_in) to renew the subscription, the renew button doesn't exist because the Bronze/Silver/Gold subscription has already expired.
-
-### Intended users
-
-
-
-Unknown
-
-### User experience goal
-
-
-
-
-### Proposal
-
-
-
-~~Allow the renew button to persist during the (grace period) so that customer can renew their subscription without confusion.~~
-
-Update the button copy to speak to purchasing a new subscription vs. renewing",2
-71414733,2020-09-20 16:39:59.917,SaaS users should be able to indicate the desired quantity of users during purchase,"## Problem
-Users purchasing GitLab.com subscriptions are not prompted to enter a number of seats they would like to purchase during the new subscription purchase flow. Instead, we read the number of seats active at the time of purchase and charge them accordingly. This limits growth and doesn’t give purchasing control to the user.
-
-## Proposal
-
-Allow users to enter a number of seats during the GitLab.com purchase flow.
-
-### Success Criteria
-
-- The user should be able to manually enter the number of seats desired for purchase
-- The system should provide a message if the user enters a number less than `Seats currently in use`
-- If the number entered is less than `Seats currently in use` do not block the purchase
-- The user should be able to enter a quantity of users greater than `Seats currently in use`",2
-71414473,2020-09-20 16:21:53.337,Move New GitLab.com Subscription flows to GitLab.com UI,"## Problem
-
-When a new GitLab.com subscriber enters the purchase flow from our pricing page or from the Web Store, if they do not already have a group created, they are blocked from continuing their purchase.
-
-
-## Proposal
-
-Move the GitLab.com New Subscription purchase flow to follow the same flow introduced if the user attempts to purchase via a GitLab.com CTA.
-
-It's managed under [`move_gitlab_purchases_to_gitlab`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/71/edit) feature flag.
-
-### Success Criteria
-
-- The user should remain in GitLab.com from a UI perspective
-- The user should not be prompted to log into the Web Store
-- If a group is not yet created, one should be created for them",2
-71414151,2020-09-20 16:00:25.583,SPIKE: Move all purchasing flows to GitLab.com,"## Summary
-
-This is a research issue to break down the work to move SaaS purchase flows to GitLab.com. The expected output includes creating applicable BE and FE issues and providing an estimated weight where possible.
-
-Please see epic: https://gitlab.com/groups/gitlab-org/growth/-/epics/36
-
-## Options Comparison
-
-| Option | Pros | Cons | Notes | Supporters |
-| -------------------------------- | ---- | ---- | ----- | ---------- |
-| Move components to GitLab | - We have full control over how components behave inside GitLab
| - Duplicated code between 2 projects
- Harder to maintain 2 copies of the same component
| |
-| Move components to shared package then use in GitLab | - Easier to reuse components between 2 projects
- Reduce the components code used in each project by extracting it to external one
| - One extra project to maintain
| | |
-| Compose new components for GitLab | - Easy to adopt new UX/UI design
- More control over SaaS specific purchase flows
| - New components to maintain
- Not reusing existing components
- We need to rewrite all JS tests to accommodate new components
| | @esybrant, @rhardarson, @vitallium, @aalakkad |
-| ~~Serve pages through an iframe from CustomersDot~~ | - No need to create another project or to duplicate components
- Faster MVP
| - Ambiguity on how to implement
- Uncertainty on how to handle user sessions and data passed from HTML to Vue
| [invalidated](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1985#note_440724423) by @vitallium | |
-
-
-## Action points
-
-- [x] ask UX if they expect any change in the components when we move flows to GitLab or it will stay the same",5
-71330188,2020-09-17 20:10:21.307,Follow up: Update additional fields on SFDC Quote creation,"### Problem
-
-Upon SFDC **Opportunity** creation we will also create a set of associated objects, **Quote** being one of these.
-
-When creating a Quote [we also pass subscription data](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/8b9502d8c6f216de3e8287590fee1b14d3ef0145/app/services/salesforce/create_quote_service.rb#L55-56)
-
-The current fields we are populating in SFDC are resulting in some confusion and duplication error. We would like to update the fields where we store this data on the SFDC end.
-
-### Proposal
-
-Update [these fields](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/8b9502d8c6f216de3e8287590fee1b14d3ef0145/app/services/salesforce/create_quote_service.rb#L55-56) with some custom fields TBDed.
-
-### Result
-
-No error on the SFDC upon **Quote** creation.",1
-71314470,2020-09-17 14:00:21.622,Remove FF for adding seats to a dotcom subscription,"### Problem
-With the feature to add seats to dotcom subscriptions (https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1098), a new feature flag named `add_seats_for_dotcom ` was introduced. The feature has been tested and the feature flag is no longer needed.
-
-### Proposal
-Remove the feature flag from the code and the [feature flag page](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/64/edit).
-
-### Result
-Less complex code because of a removed condition and cleanup after feature flag removal.
-
-### Next steps (if any)
-
-### How will we measure success?
-
-### Availability & Testing
-
-Tests (including end-to-end) must run and pass before and after this FF is removed.
-
-",1
-71314255,2020-09-17 13:58:30.610,Remove FF for self-serve upgrades for self-managed subscriptions,"### Problem
-With the feature for self-serve upgrade for self-managed subscriptions (https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/107), a new feature flag named `upgrade_self_managed_subscription` was introduced. The feature has been tested and the feature flag is no longer needed.
-
-### Proposal
-Remove the feature flag from the code and the [feature flag page](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/65/edit).
-
-### Result
-Less complex code because of a removed condition and cleanup after feature flag removal.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-71300939,2020-09-17 10:05:02.169,"Pajamas Update: GitLab.com ""New Subscription"" Page","Similar to #1473.
-
-The change is managed under [`pajamas_new_gitlab_com_subscription`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/67/edit) feature flag.
-
-### Problem
-
-In order to match Pajama's design that we follow we should migrate the `New GL.com Subscription` page.
-
-
-## Follow-up issue
-
-- https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2039
-- https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/2110
-
-### Proposal
-
-Use the following design for the new GitLab.com subscription page
-
-",3
-71295724,2020-09-17 09:07:16.277,Error on subscription upgrade with no plan,"### Problem
-Upgrading a subscription for which no plan can be found results in [an error](https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1845056):
-
-```
-NoMethodError
-undefined method `any?' for nil:NilClass
-```
-
-### Proposal
-Add check for plan presence on upgrade.
-
-### Result
-Resolve error for upgrades.
-
-### Next steps (if any)
-
-### How will we measure success?
-No more erros on subscription upgrades.",1
-71128053,2020-09-14 17:11:52.841,Analyze/modify ZuoraWorker use,"The following discussion from !1954 should be addressed:
-
-- [ ] @dstull started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1954#note_412412150):
-
- > I was looking into this and thinking - oh, the workers that include this must define this then.... However that is not the case.
- >
- > In the 4 classes that include this concern, 2 define this method that is referenced by the `perform` method in this module and 2 do not, and redefine the `perform` method.
- >
- > So as a follow up, we need to see if this concern really is leveraged in an optimal manner and refactor a bit.",2
-71126167,2020-09-14 16:28:23.930,Procurement | Add separate OSS and EDU SKUs,"# SKU Request Summary
-
-We currently have a single SKU for EDU/OSS. Now that our programs are expanding, we need to differentiate those in order to accurately track metrics for each of our programs. It will also help us automate some parts of the process as per this issue around automating renewal titles: https://gitlab.com/gitlab-com/sales-team/field-operations/sales-operations/-/issues/1596
-
-This is a request to create two separate SKUs:
- * EDU
- * OSS
-
-[Note on a requirement from the data team. ](https://gitlab.com/gitlab-com/sales-team/field-operations/sales-operations/-/issues/1400#note_429775874)
-
-cc/ @c_hupy
-
-## SKU Requirements
-
-In order to expedite your request, please complete all of the following information.
-Any questions about this template or this request can be directed to @amandarueda in the comments of this issue.
-
-1. [ ] SKU Names:
- * `EDU`
- * `OSS`
-1. [ ] SKU Code/ID:
-1. [ ] **Zuora Plan Name: `enter plan name`**
-1. [ ] **Zuora Plan ID: `enter plan ID`**
-1. [ ] **Service type: `subscription`** -- need to double check
-1. [ ] Does this need to be purchase-able via the customers portal? `No` -- users should not be able to renew on their own.
-1. [ ] Does this service renew? `Yes` -- but via a manual process. Customers must email opensource@gitlab.com or education@gitlab.com
- * [ ] If yes, what is the renewal cadence? `annually`
-1. [ ] Should an email be sent indicating the subscription is coming to an end?: `Yes`
-1. [ ] **Is there a unit of measure, if so what?** ` Yes | No` `Users | Qty | other`
-1. [ ] Does this service provision anything? `Gold or Ultimate for 1 year`
- * [ ] If yes, please describe in detail what should be provisioned including the systems affected:
-1. [ ] How soon do you need this SKU ? Timeline: ASAP, no hard deadline
-1. [ ] Who in Sales-Ops approved this request: @username -- Discussion happening with @tav_scott and @jrabbits on: https://gitlab.com/gitlab-com/sales-team/field-operations/sales-operations/-/issues/1596
-1. [ ] Link to originating Finance issue: https://gitlab.com/gitlab-com/Finance-Division/finance/-/issues/3368
-1. [ ] Apply the appropriate `BTG Priority` label to this issue.",1
-71095714,2020-09-14 07:48:31.445,BE: Check for `Seats currently in use` when seats are added for GL.com,"We are implementing [GitLab.com users should be able to purchase additional users without adding members](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1098), which allows users to add seats to their subscription as they go. The functionality is limited to updating the subscription and we do not check their current usage.
-
-For this iteration, we should check the `Seats currently in use` count on gitlab.com.
-
-With this check, we are trying to encourage the customer to pay for their current usage, instead of just adding the seats they think they need. The customer is not obliged or guided to settle their usage during their subscription period, so this check is an opportunity to settle their true usage of seats.
-
-Because there is no automatic trueup charge on gitlab.com today (December 2020), we forfeit any seat usage money above their paid seats if the customer does not take any action to add and pay for seats. By checking for their current usage, there is a better chance that those seats will be accounted for.
-
-**Happy path:**
-1. Given the user has a subscription
-1. And the subscription is linked to the group namespace
-1. When the user selects the `Add more seats` button on their subscription card
-1. Then a check for the `Seats currently in use` count on gitlab.com will be triggered
-1. The user should be prompted to purchase a minimum number of seats to cover their current use
-
-#### Example
-
-1. Current subscription seat quantity = `10`
-1. Current seats in use = `15`
-1. When user selects `Add more seats`, the default the minimum `Add additional seats` quantity should be `5`
-1. The user should not be able to enter less than `5` additional seats and be able to checkout
-
-----
-
-Considerations for the check failing:
-- the group and subscription are no longer linked because the group has been deleted
-- the group and subscription are no longer linked because the gitlab.com user no longer has Owner access to the group
-
-### Availability & Testing
-
-
-
-This may require tests that mock the response from GitLab.com returning the ""Seats currently in use"" properly, as well as tests that check to ensure that the BE code handles both valid and invalid responses from GL.com.",1
-71095590,2020-09-14 07:46:23.272,"Prefill ""Add additional seats"" input field with unpaid seats number for GL.com","## Summary
-
-As part of the flow for [adding additional seats for gitlab.com subscriptions](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1098), we should prefill the input field for adding additional seats with the difference between seats in use and seats in subscription, and prevent the user from inputting a number less than their seats owed.
-
-| Scenario | Image |
-| --- | --- |
-|_I'm a customer with 20 seats in my subscription. I currently have 30 seats in use. When I click `Add more seats`, the number `10` will be prefilled into the additional seats field. The user will be able to increase this amount, but not put in a smaller quantity._ | |
-
-## Proposal
-
-To make this clear to the user, we'll add this copy as description text to the field (not sure if the form field component we use in CDot puts the description text above or below the field itself, but either is fine):
-
-`This number must be 10 (your owed seats) or more.`
-
-----
-
-Considerations for possible errors:
-- the group and subscription are no longer linked because the group has been deleted
-- the group and subscription are no longer linked because the gitlab.com user no longer has Owner access to the group
-
-If the check fails, should we error out or should we allow them to update the subscription, without the connection to gitlab.com?",2
-71083688,2020-09-13 23:50:11.094,Consume Countries GraphQL Endpoint,"As a simple test case, consume the new Countries GraphQL endpoint in the FE",3
-71083587,2020-09-13 23:36:57.216,Create Namespace GraphQL endpoint,Create an authenticated GraphQL API which returns the namespaces associated with the current customer,3
-71083285,2020-09-13 23:07:25.400,Create Countries GraphQL endpoint,"This endpoint can be unauthenticated.
-
-```graphql
- query {
- country(id: ""USA"") {
- id
- states {
- id
- code
- name
- }
- }
- }
- ```",2
-71083211,2020-09-13 22:56:35.881,Add GraphQL Authentication,"The common way for authentication is by tokens. Luckily, we have `authentication_token` for both models `Admin` and `Customers`. We can use either classic method with sending signed cookies or modify our sign in process to use tokens. For MVC I propose the first way: the classic method with signed cookies.",2
-71083181,2020-09-13 22:53:51.674,"Create ""Do Nothing"" test GraphQL endpoint",Create an GraphQL which does nothing to test the infrastructure on the FE and BE.,2
-71083176,2020-09-13 22:53:21.711,Add GraphQL NPM Packages to Customers Portal,"The following NPM packages need to be added to support graphQL
-
-- [apollo-client](https://www.npmjs.com/package/apollo-client)
-- [apollo-cache-inmemory](https://www.npmjs.com/package/apollo-cache-inmemory)
-- [vue-apollo](https://www.npmjs.com/package/vue-apollo)
-- [jest-transform-graphql](https://www.npmjs.com/package/jest-transform-graphql)",1
-71083171,2020-09-13 22:52:44.174,Add GraphQL Gems to Customer Portal,"The following gems need to be added to Customers Portal to support GraphQL
-
-- [graphql](https://rubygems.org/gems/graphql)
-- [graphiql-rails](https://rubygems.org/gems/graphiql-rails)
-- [graphql-docs](https://rubygems.org/gems/graphql-docs)",1
-71017226,2020-09-11 09:11:39.245,Upgrade success page headings need more spacing,"
-
-### Problem to solve
-
-At the moment, there is too little space between the top two headings of the upgrade success page. We should ensure that our UI is consistent with the Pajamas UX guidelines.
-
-
-
-### Intended users
-
-
-
-### User experience goal
-
-
-
-
-### Proposal
-
-
-
-### Further details
-
-
-
-### Permissions and Security
-
-
-
-### Documentation
-
-
-
-### Availability & Testing
-
-
-
-### What does success look like, and how can we measure that?
-
-
-
-### What is the type of buyer?
-
-
-
-### Is this a cross-stage feature?
-
-
-
-#### Conditional release requirements
-
-
-
-#### How should this feature impact existing customers?
-
-
-#### Billing constraints or considerations
-
-
-### Links / references",1
-71014255,2020-09-11 08:10:59.527,Replace newSubscription with purchaseSubscription,"The following discussion from !1941 should be addressed:
-
-- [ ] @dbodicherla started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1941#note_410733506): (+3 comments)
-
- > **question:** We seem to be doing a very similar thing within the `createOrUpdateSubscription` method. Do we plan to update that method eventually or are these two different code flows?
-
- > So after some digging, I found out that changing namespace and addon transactions use the `createOrUpdateSubscription` method which hits the same endpoint as `newSubscription` and I believe the payloads look same as well.
-
-### Update
-
-After a chat with @rhardarson, he told me that we should be used `purchaseSubscription` instead of `newSubscription`.
-
-Using `newSubscription` does not wait for the new credit card to be stored and processed before continue the request to purchase the subscription.
-
-Another interesting thing he mentioned:
-
-> When purchasing a subscription for an account without any previous purchases (e.g. CI minutes) we'll be hitting the endpoint using `PUT` while we'll use `POST` for purchasing a subscription without any previous purchases.",2
-70977546,2020-09-10 12:22:38.390,Error in feature VCR cassette for upgrading a subscription,"While working on https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1281, I noticed that a VCR cassette included a 500 code for a pending migration. As this is not supposed to be there, let's fix it by rerecording that VCR cassette.
-
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/ac07762fec2ee9bc0dff55dbd19f98e9979a1272/spec/fixtures/vcr_cassettes/upgrading_subscriptions/with_pajamas_upgrade_subscription_enabled/successfully_upgrades_plan.yml#L2211:
-```
-string: ""ActiveRecord::PendingMigrationError at /api/v4/namespaces/70\n============================================================\n\n>
- Migrations are pending. To resolve this issue, run:\n\n rails db:migrate
- RAILS_ENV=development\n\n\n\nlib/gitlab/middleware/basic_health_check.rb,
- line 25\n----------------------------------------------------\n\n``` ruby\n
- \ 20 def initialize(app)\n 21 @app = app\n 22 end\n
- \ 23 \n 24 def call(env)\n> 25 return @app.call(env)
- unless env['PATH_INFO'] == HEALTH_PATH\n 26 \n 27 # We should
- be using ActionDispatch::Request instead of\n 28 # Rack::Request
- to be consistent with Rails, but due to a Rails\n 29 # bug described
- in\n 30 # https://gitlab.com/gitlab-org/gitlab-foss/issues/58573#note_149799010\n```\n\nApp
- backtrace\n-------------\n\n - lib/gitlab/middleware/basic_health_check.rb:25:in
- `call'\n - lib/gitlab/middleware/handle_ip_spoof_attack_error.rb:25:in `call'\n
- - lib/gitlab/middleware/request_context.rb:23:in `call'\n - config/initializers/fix_local_cache_middleware.rb:9:in
- `call'\n - lib/gitlab/middleware/static.rb:11:in `call'\n - lib/gitlab/webpack/dev_server_middleware.rb:27:in
- `perform_request'\n - lib/gitlab/metrics/requests_rack_middleware.rb:60:in
- `call'\n - lib/gitlab/middleware/release_env.rb:12:in `call'\n\nFull backtrace\n--------------\n\n
- - activerecord (6.0.3.1) lib/active_record/migration.rb:586:in `check_pending!'\n
- - activerecord (6.0.3.1) lib/active_record/migration.rb:564:in `call'\n -
- actionpack (6.0.3.1) lib/action_dispatch/middleware/callbacks.rb:27:in `block
- in call'\n - activesupport (6.0.3.1) lib/active_support/callbacks.rb:101:in
- `run_callbacks'\n - actionpack (6.0.3.1) lib/action_dispatch/middleware/callbacks.rb:26:in
- `call'\n - actionpack (6.0.3.1) lib/action_dispatch/middleware/executor.rb:14:in
- `call'\n - actionpack (6.0.3.1) lib/action_dispatch/middleware/actionable_exceptions.rb:17:in
- `call'\n - better_errors (2.7.1) lib/better_errors/middleware.rb:84:in `protected_app_call'\n
- - better_errors (2.7.1) lib/better_errors/middleware.rb:79:in `better_errors_call'\n
- - better_errors (2.7.1) lib/better_errors/middleware.rb:57:in `call'\n - actionpack
- (6.0.3.1) lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call'\n
- - actionpack (6.0.3.1) lib/action_dispatch/middleware/show_exceptions.rb:33:in
- `call'\n - lib/gitlab/middleware/basic_health_check.rb:25:in `call'\n - railties
- (6.0.3.1) lib/rails/rack/logger.rb:37:in `call_app'\n - railties (6.0.3.1)
- lib/rails/rack/logger.rb:26:in `block in call'\n - activesupport (6.0.3.1)
- lib/active_support/tagged_logging.rb:80:in `block in tagged'\n - activesupport
- (6.0.3.1) lib/active_support/tagged_logging.rb:28:in `tagged'\n - activesupport
- (6.0.3.1) lib/active_support/tagged_logging.rb:80:in `tagged'\n - railties
- (6.0.3.1) lib/rails/rack/logger.rb:26:in `call'\n - sprockets-rails (3.2.1)
- lib/sprockets/rails/quiet_assets.rb:13:in `call'\n - actionpack (6.0.3.1)
- lib/action_dispatch/middleware/remote_ip.rb:81:in `call'\n - lib/gitlab/middleware/handle_ip_spoof_attack_error.rb:25:in
- `call'\n - lib/gitlab/middleware/request_context.rb:23:in `call'\n - request_store
- (1.5.0) lib/request_store/middleware.rb:19:in `call'\n - actionpack (6.0.3.1)
- lib/action_dispatch/middleware/request_id.rb:27:in `call'\n - rack (2.0.9)
- lib/rack/method_override.rb:22:in `call'\n - rack (2.0.9) lib/rack/runtime.rb:22:in
- `call'\n - rack-timeout (0.5.2) lib/rack/timeout/core.rb:123:in `block in
- call'\n - rack-timeout (0.5.2) lib/rack/timeout/support/timeout.rb:19:in `timeout'\n
- - rack-timeout (0.5.2) lib/rack/timeout/core.rb:122:in `call'\n - config/initializers/fix_local_cache_middleware.rb:9:in
- `call'\n - actionpack (6.0.3.1) lib/action_dispatch/middleware/executor.rb:14:in
- `call'\n - actionpack (6.0.3.1) lib/action_dispatch/middleware/static.rb:126:in
- `call'\n - lib/gitlab/middleware/static.rb:11:in `call'\n - lib/gitlab/webpack/dev_server_middleware.rb:27:in
- `perform_request'\n - rack-proxy (0.6.0) lib/rack/proxy.rb:57:in `call'\n
- - rack (2.0.9) lib/rack/sendfile.rb:111:in `call'\n - actionpack (6.0.3.1)
- lib/action_dispatch/middleware/host_authorization.rb:82:in `call'\n - lib/gitlab/metrics/requests_rack_middleware.rb:60:in
- `call'\n - sentry-raven (2.9.0) lib/raven/integrations/rack.rb:51:in `call'\n
- - railties (6.0.3.1) lib/rails/engine.rb:527:in `call'\n - railties (6.0.3.1)
- lib/rails/railtie.rb:190:in `method_missing'\n - lib/gitlab/middleware/release_env.rb:12:in
- `call'\n - rack (2.0.9) lib/rack/urlmap.rb:68:in `block in call'\n - rack
- (2.0.9) lib/rack/urlmap.rb:53:in `call'\n - gitlab-puma (4.3.3.gitlab.2) lib/puma/configuration.rb:228:in
- `call'\n - gitlab-puma (4.3.3.gitlab.2) lib/puma/server.rb:691:in `handle_request'\n
- - gitlab-puma (4.3.3.gitlab.2) lib/puma/server.rb:481:in `process_client'\n
- - gitlab-puma (4.3.3.gitlab.2) lib/puma/server.rb:335:in `block in run'\n
- - gitlab-puma (4.3.3.gitlab.2) lib/puma/thread_pool.rb:138:in `block in spawn_thread'\n\n""
-
-```",1
-70964515,2020-09-10 08:00:03.884,Be explicit in plan order when upgrading subscriptions,"
-
-### Problem
-
-We're iterating over available plans to upgrade to. However we're not forcing any order.
-
-This makes for a discrepancy between environments
-
-| Order in production | Order in development and on staging |
-| ------ | ------ |
-|  |  |
-
-
-### Proposal
-
-We should be explicit on the order of the plans. Let's make a decision and enforce it with code.",2
-70953275,2020-09-09 23:58:08.062,Sentry capture for certain user actions is malformed,"### Summary
-User actions like add seats and change namespace wires malformed message to Sentry (check the screenshot)
-
-### Steps to reproduce
-No real steps but check the `Extra steps` section in the Sentry issue https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/1774487/?query=is%3Aunresolved%20user%3A129432
-
-### What is the current *bug* behavior?
-
-(What actually happens)
-
-### What is the expected *correct* behavior?
-
-(What you should see instead)
-
-### Relevant logs and/or screenshots
-
-
-### Workarounds
-
-(Ways to get around the issue)
-
-### Reported examples
-
-1.
-1.
-1.
-
-",2
-70946860,2020-09-09 18:59:31.115,Follow-up: change admin history table dates format,"This is a follow-up to https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1009#note_410094661
-
-### Problem
-
-The admin views are too congested.
-
-
-### Proposal
-
-@timnoah [said in the main issue's MR](https://gitlab.com/gitlab-org/customers-gitlab-com/merge_requests/858#note_269208798):
-
-> As this is quite a congested table to relieve some of the pressure on wrapping headers could we change the date formatting on **created at** and **updated at** to `MM DD, YYYY hh:mm` Example, **Dec 20, 2019 15:34**?
-
-@aalakkad said:
-
-> I'm not sure how easy it is to do that in rails_admin, for a quick search I found [a way](https://stackoverflow.com/a/32631342) to configure the date format, but I can't be sure if it has any implications for other parts of the system.
-
-An update to the List of Customers view was made in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1009, this follow-up issue is to make a similar change in the History view.",2
-70946762,2020-09-09 18:57:01.807,Spike: Investigate using OriginalId for Zuora Subscriptions,"### Problem
-
-In Zuora, Subscriptions ID change throughout the life of the subscription as amendments are made. We used to track subscriptions in the Customer Portal primarily using subscription IDs but changed to preferring the subscription name as the ID would change. We've discovered an attribute called `OriginalId` which is advertised an immutable id for the life of the subscription. This idea was raised as part of [this discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1926#note_410082430).
-
-More information in the [Zuora Docs](https://knowledgecenter.zuora.com/Billing/Subscriptions/Subscriptions/A_Subscription_Introduction).
-
-### Proposal
-
-We should look into using this `OriginalId` to track subscriptions in the Portal instead of using subscription name or id. If this is indeed a fixed ID, it would simplify logic in our system that does lookup by name or id.
-
-If it looks like it will work as we expect, create an epic or issues to outline a transition plan to using the new `OriginalId` attribute",2
-70753029,2020-09-04 21:45:18.849,Follow-up from Web Direct Opportunities Need Quote and Product Data,"## Summary
-
-As a follow-up from work related to #911 , we need to make the following adjustments:
-
-1. [x] Add Country and State to Salesforce Contacts created during checkout. This is required for Zuora and should use the same logic we asked for when creating accounts.
- - Location: https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/app/services/create_salesforce_contact_service.rb#L21
- - Logic used at Account Level: https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/app/services/create_salesforce_account_service.rb#L61
-1. [x] Set Quantity of seats in Quote Rate Plan Charge equal to the Quantity of the Order. We had set it to 1 for testing. Lets expand it to the full value.
- - Location: https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/app/services/salesforce/create_quote_rate_plan_charge_service.rb#L71
-1. [x] Set additional fields on Quote with on hand subscription Data.
- - Location: https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/app/services/salesforce/create_quote_service.rb#L45
- - Please set `zqu__Hidden_Subscription_Name__c` to the Zuora Subscription Name Please set `zqu__ZuoraSubscriptionID__c` to the Zuora Subscription ID (Current ID, NOT Original ID)
-1. [x] Append ""Type"" data down to more objects based on the Amendment Type of the Order or Opportunity Type of the Opportunity created (those are all ready tied together, use which ever is easiest). See the following Chart.
-
-| | zqu__SubscriptionType__c | zqu__Type__c | zqu__AmendmentType__c |
-|--|--------------------------|--------------|-----------------------|
-| Opportunity Type | Quote | Quote Amendment | Quote Rate Plan |
-| -------------------------- | -------------------- | ----------------------- | ----------------- |
-| New Business | New Subscription | NewProduct | NewProduct |
-| Add-On Business | Amend Subscription | UpdateProduct | UpdateProduct |
-| Renewal | Renew Subscription | Renewal | Renewal |",2
-70750153,2020-09-04 19:27:52.333,UX: Prevent deletion of groups/namespaces when they have a subscription,"This is the UX design issue for https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1879
-
-UX ask: we need placement and text for the reason why the ability to delete the group is removed.",1
-70744173,2020-09-04 16:04:35.076,Investigate missing props in subscriptions list component,"### Problem
-
-I noticed in `subscription_list.vue` we're using `subscription` component with 3 missing props.
-
-
-
-### Proposal
-
-We should either add the missing props or update the `subscription` component props to be optional.
-
-### Result
-
-Consistent code base and fewer potential errors in the future.
-
-### Next steps (if any)
-
-Schedule for development
-
-### How will we measure success?",2
-70737460,2020-09-04 13:24:09.199,Refactor plans setup with keys(POC),"The following discussion from !1893 should be addressed:
-
-- [ ] @dstull started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1893#note_406260952): (+3 comments)
-
- > **thought (non-blocking):**
- >
- > This is starting to feel like it doesn't scale too well as we keep adding to it.
- >
- > A possible alternative would be to add a table to store all of these `product_rate_plan_id` along with a `type` column to the table and leverage that to determine the actual plan zuora is sending back - by changing the way we store this data for retrieval, we could simplify things here a bit.
- >
- > For instance:
- >
- > Adding a table with `product_rate_plan_id` as `id` and `type` and `year`(1, 2, 3 or 5 if needed). We could then have STI models where we have `StarterRatePlan`, `UltimateRatePlan`, etc... with a `RatePlan` model that base off of this one - we could also create multiple tables if wanted instead of STI and have a similar concept.
- >
- >
- > We then would be able simplify the case statement you have below - probably change the concept a bit more here by leveraging something like `RatePlan.find_by(id: product_rate_plan_id).type`, where type would be `starter`, `premium`, etc
- >
- > food for thought as an alternative here...could likely also achieve similar code simplification perhaps be a slight restructure of the plans in the `application.yml` and then leverage includes and other enumerable tools.",3
-70694537,2020-09-03 15:27:44.778,"Follow-up from ""Add UI for adding seats to a dotcom subscription""","The following discussion from !1830 should be addressed:
-
-In a review comment for https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1830#note_406673174 it was brought up that the partial names that are rendered in the `subscriptions#edit` action can be misleading. Therefore renaming them would make their purpose clearer when reading them.
-
-Let's rename these two partials in `app/views/subscriptions/`:
-
-* `edit_ee_subscription` -> `add_more_seats`
-* `edit_gitlab_com_subscription` -> `change_linked_namespace`",1
-70691136,2020-09-03 14:54:36.665,Upgrade PG to v12 (or latest version matching GitLab),"### Problem
-
-In a [recent Slack conversation](https://gitlab.slack.com/archives/CMJ8JR0RH/p1599142834248400), the idea of upgrading the PG version for CI was raised. However, it would not be compatible with staging and production. In fact, staging and production (v9.5) are already out of sync with CI (v10).
-
-### Proposal
-
-We should upgrade PG to at least v12 (or the latest version GitLab is using) and ensure all environments and all documentation are updated accordingly.
-
-### Result
-More modern version of PG with consistency across environments.",2
-70665190,2020-09-03 05:51:26.639,"Follow-up from ""Disable sync to GitLab for self-managed subs""","The following discussion from !1894 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1894#note_406268457):
-
- > **Suggestion (non-blocking):** In a future iteration, we could probably break this out into a separate method to reduce the amount of conditionals and nesting in this method. It's very minor but might help with readability.
-
-Move code regarding syncing the plan to GitLab in the `Gitlab::HostedPlans::UpgradeSubscriptionPlanService` to an extra method.",1
-70649695,2020-09-02 19:03:33.639,Resolve dependent destroy exceptions,"The following discussion from !1889 should be addressed:
-
-- [ ] @dstull started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1889#note_405612134): (+2 comments)
-
- > I believe we should resolve these - perhaps in a follow up.",2
-70645822,2020-09-02 17:32:11.579,Align migration helper dir structure with GitLab's,"The following discussion from !1879 should be addressed:
-
-- [ ] @dstull started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1879#note_404886055):
-
- > we should try and move this and the migration helper code under a dir structure that more closely mirrors where we need to sync it from for ease of updating - `spec/lib/gitlab/database/migrations_helper_spec.rb` and `lib/gitlab/database/migrations_helper.rb`. - I'll spawn a follow up as well once MR is reviewed a bit.",1
-70645693,2020-09-02 17:27:58.672,"Add ""Max Seats Used"" to the Customers Portal Admin view","## Summary
-
-Currently we display `Seats currently in use` for SaaS subscriptions in the Customers Portal admin view on the `GitLab Groups` page. Sales needs to view the `Max Seats Used` as well.
-
-Let's add this to the view next to the `Seats Currently in Use` column.
-
-",3
-70644881,2020-09-02 17:06:54.061,Create test plan for Web Direct Opportunities Need Quote and Product Data,"## Summary
-
-As https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1379 and https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1380 have closed, we need to test the integration prior to shipping to production.
-
-[These action](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/911#note_406203237) are the next steps to test in order to gain approval for deploying to production:
-
-* [ ] Clone [customers.gitlab.com](https://gitlab.com/gitlab-org/customers-gitlab-com)
-* [ ] Work with @vshumilo and @cwiesner to get Ruby and the IRB working with customers, please tell us if there is existing documentation
-* [ ] Point your local environment at our Sandbox, using your creds (so we can tell our tests apart from others)
-* [ ] Put together a test script of the IRB commands you are firing and then checking the results in Salesforce sandbox.
-* [ ] **Stretch Goal:** Be able to do a complete purchase via the Portal App running locally and verify results.
-
-Noting that @jpetr will be the lead from the SFDC side.",2
-70644848,2020-09-02 17:05:26.637,Refactor CreateSalesforceLeadService code paths to be more declarative,"Do not trigger off of merge 2 times. We know when we call this class what 'type' we are, but then we try to 'figure it out' again inside the class.
-
-The following discussion from !1879 should be addressed:
-
-- [ ] @dstull started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/1879#note_404893174): (+3 comments)
-
- > I marked this one as a `todo` because I see why it is needed in the current condition of this class - However, I think this could be improved from the code side.
- >
- > For instance, this seems to be called only a handful of places and could be broken up into 2-3 classes instead of one and each called from the outside correctly - that would greatly reduce the switching/conditional logic in the current class and therefore simplify the tests and eventually make this logic unneeded....
- >
- > I'll generate a follow up issue once this has passed through reviews a bit more.",2
-70642663,2020-09-02 16:04:57.500,Discussion: Why do we reset the subscription start/end date when we downgrade someone to free?,"# Overview
-As part of the .com downgrade effort, we have a banner that is intended to display if the customer is past their subscription end date AND on a free plan.
-
-During testing we realized that the downgrade code initiated through Zuora as well as the Customers Portal reset the subscription start date to the date of the downgrade and clears out the end date.
-
-
-We would like to understand why this is the case and if there would be any unforeseen consequences if we were to change it.
-
-Please discuss.
-
-CC @amandarueda @chris_baus @jameslopez @pcalder @jejacks0n @jayswain",1
-120526365,2022-12-16 10:59:18.708,Add CI mins product details section in subscription-v2 component,"
-### Proposal
-Similar to https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5379, create a new section to show CI minutes product details.
-
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?
-
-Design: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3916",2
-120525854,2022-12-16 10:48:03.260,Add storage product details section in subscription-v2 component,"
-### Proposal
-Similar to https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5379, create a new section to show storage product details.
-
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?
-
-Design: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3916",2
-120525080,2022-12-16 10:30:45.915,Add main product details section in subscription-v2 component,"
-### Proposal
-Add the section to show main product details in the `subscription-v2` component that will be created in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5376. This section will be used to display the main product details only (and not addon products like CI mins and storage since they have a slightly different UI).
-
-
-Design: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3916
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-120515941,2022-12-16 07:59:24.426,Add subscription level details to new subscription card for ramp subscriptions,"
-### Proposal
-Add subscription level details section as per the [new designs](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3916/) for the subscription card for ramp subscriptions.
-Note: The side menu bar to modify the subscription is out of scope of this issue and will be tackled in a separate issue.
-
-
-The new component should be behind the `display_ramp_subscriptions` feature flag which will be added in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5373.
-
-
-
-### Result
-
-### Next steps (if any)
-| Task | MR | Status |
-| ------ | ------ |------ |
-| Introduce card & storybook | https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/6244 | ~""workflow::complete"" |
-| Tooltip content | https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/6269 | ~""workflow::complete""
-| UI tweaks | https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/6318 | ~""workflow::complete"" |
-### How will we measure success?
-
-**Design:** https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3916/ and https://www.figma.com/file/U9JvYVy1Ls9IKrrPw1vt38/Subscription-management?node-id=239%3A10609&t=RFsPIuAGNurLWCJB-0",3
-120515591,2022-12-16 07:50:27.754,Add ramp details in SubscriptionPresenter,"
-
-### Problem
-Currently the ramp details are not sent to the frontend under the products.
-
-
-### Proposal
-Add a new attribute `ramps` for each subscription in `subscription_presenter.rb` which will return the list of ramps in that subscription. Details needed in every ramp are -
-1. Start date
-2. End Date
-3. Quantity
-4. Price per unit
-5. Product Name
-6. Rate Plan Id
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",3
-120514935,2022-12-16 07:29:10.540,Add `is_ramp_subscription` flag in SubscriptionPresenter,"
-
-### Proposal
-Add `is_ramp_subscription` flag in `subscription_presenter.rb` which can be used on the frontend to identify whether the subscription is a ramp subscription.
-
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",1
-120512343,2022-12-16 05:46:06.579,[Feature flag] Create new feature flag `display_ramp_subscriptions`,"
-
-### Problem
-Create a [new feature flag](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags) `display_ramp_subscriptions` which can be used to control the display of the [new card design](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3916/) for ramp subscriptions.
-
-Rollout issue: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5385
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",1
-120505940,2022-12-15 23:31:09.511,[FF cleanup] Subscription update Preview: use_orders_api_to_preview_amendment,"### Problem
-
-The scope of this issue is to perform cleanup tasks for FF `use_orders_api_to_preview_amendment` ([original rollout issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4774)).
-
-### Proposal
-
-Perform `Release the feature` tasks:
-
-* [ ] Create a merge request to remove `` feature flag
- * [ ] Remove all references to the feature flag from the codebase
-* [ ] Ensure that the cleanup MR has been deployed to both staging and production
-* [ ] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [ ] Ensure production environment is still working as expected
-* [ ] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [ ] Close this issue.",1
-120505915,2022-12-15 23:28:50.197,[FF cleanup] Subscription upgrade Preview: use_orders_api_to_preview_upgrade,"### Problem
-
-The scope of this issue is to perform cleanup tasks for FF `use_orders_api_to_preview_upgrade` ([original rollout issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5051)).
-
-### Proposal
-
-Perform `Release the feature` tasks:
-
-* [x] Create a merge request to remove `` feature flag
- * [x] Remove all references to the feature flag from the codebase
-* [x] Ensure that the cleanup MR has been deployed to both staging and production
-* [x] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [x] Ensure production environment is still working as expected
-* [x] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [x] Close this issue.",1
-120505670,2022-12-15 23:15:24.020,"[FF cleanup] Auto renewal, Reconciliation Preview and Order Preview GraphQL endpoint","### Problem
-
-The scope of this issue is to perform cleanup tasks for Auto renewal, Reconciliation Preview and Order Preview GraphQL endpoint feature flags noted below:
-
-- [x] `use_orders_api_to_preview_quoted_invoice_amount` ([link to original rollout issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5068)) - [Cleanup MR](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/6254)
-- [x] `use_orders_api_preview_in_upcoming_saas_mailer` ([link to original rollout issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5070)) - [Cleanup MR](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/6266)
-- [x] `use_orders_api_in_preview_graphql_resolver ` ([link to original rollout issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5072)) - [Cleanup MR](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/6278)
-
-### Proposal
-
-Perform `Release the feature` tasks:
-
-1. **FF `use_orders_api_to_preview_quoted_invoice_amount`**
-
-* [x] Create a merge request to remove `` feature flag
- * [x] Remove all references to the feature flag from the codebase
-* [x] Ensure that the cleanup MR has been deployed to both staging and production
-* [x] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [x] Ensure production environment is still working as expected
-* [x] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [ ] Close this issue.
-
-2. **FF `use_orders_api_preview_in_upcoming_saas_mailer`**
-
-* [x] Create a merge request to remove `` feature flag
- * [x] Remove all references to the feature flag from the codebase
-* [x] Ensure that the cleanup MR has been deployed to both staging and production
-* [x] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [x] Ensure production environment is still working as expected
-* [x] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [ ] Close this issue.
-
-3. **FF `use_orders_api_in_preview_graphql_resolver`**
-
-* [x] Create a merge request to remove `` feature flag
- * [x] Remove all references to the feature flag from the codebase
-* [x] Ensure that the cleanup MR has been deployed to both staging and production
-* [x] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [x] Ensure production environment is still working as expected ([related log](https://console.cloud.google.com/logs/query;cursorTimestamp=2023-01-12T18:37:45.384Z;query=%22OrderPreview%22%0Atimestamp%3D%222023-01-12T18:37:45.384Z%22%0AinsertId%3D%22wha5a5fctxmgw%22?project=gitlab-subscriptions-prod))
-* [x] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [ ] Close this issue.",3
-120504603,2022-12-15 22:46:54.939,[FF cleanup] Reconciliation: use_orders_api_reconciliation_workflow,"### Problem
-
-The scope of this issue is to perform cleanup tasks for FF `use_orders_api_reconciliation_workflow` [QSR original rollout issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5066)).
-
-### Proposal
-
-Perform `Release the feature` tasks:
-
-* [x] Create a merge request to remove `` feature flag
- * [x] Remove all references to the feature flag from the codebase
-* [x] Ensure that the cleanup MR has been deployed to both staging and production
-* [x] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [x] Ensure production environment is still working as expected
-* [x] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [x] Close this issue.",1
-120504584,2022-12-15 22:46:19.822,[FF cleanup] Auto renewal: use_orders_api_auto_renew_workflow,"### Problem
-
-The scope of this issue is to perform cleanup tasks for FF `use_orders_api_auto_renew_workflow` ([AR original rollout issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5064).
-
-### Proposal
-
-Perform `Release the feature` tasks:
-
-* [x] Create a merge request to remove `` feature flag
- * [x] Remove all references to the feature flag from the codebase
-* [x] Ensure that the cleanup MR has been deployed to both staging and production
-* [x] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [x] Ensure production environment is still working as expected
-* [x] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [x] Close this issue.",1
-120504502,2022-12-15 22:43:01.905,[FF cleanup] Subscription update: use_orders_api_subscription_update_workflow,"### Problem
-
-The scope of this issue is to perform cleanup tasks for FF `use_orders_api_subscription_update_workflow` ([original rollout issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4775)).
-
-### Proposal
-
-Perform `Release the feature` tasks:
-
-* [x] Create a merge request to remove `` feature flag
- * [x] Remove all references to the feature flag from the codebase
-* [x] Ensure that the cleanup MR has been deployed to both staging and production
-* [x] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [x] Ensure production environment is still working as expected (verified [logs](https://console.cloud.google.com/logs/query;query=resource.type%3D%22gce_instance%22%0A%22Zuora::Orders::OrderManagerService%22;timeRange=2023-03-08T15:43:43.199Z%2F2023-03-09T19:33:43.199Z;cursorTimestamp=2023-03-09T19:29:09.244Z?project=gitlab-subscriptions-prod) for subscription update)
-* [x] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [x] Close this issue.",1
-120504359,2022-12-15 22:37:15.224,[FF cleanup] Subscription upgrade: use_orders_api_upgrade_workflow,"### Problem
-
-The scope of this issue is to perform cleanup tasks for FF `use_orders_api_upgrade_workflow` ([original rollout issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5050)).
-
-### Proposal
-
-Perform [`Release the feature`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5050#release-the-feature) tasks:
-
-* [x] Create a merge request to remove `` feature flag
- * [x] Remove all references to the feature flag from the codebase
-* [x] Ensure that the cleanup MR has been deployed to both staging and production
-* [x] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [x] Ensure production environment is still working as expected
-* [x] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [x] Close this issue.",1
-120504112,2022-12-15 22:30:42.504,[FF cleanup] New subscription preview: use_orders_api_preview_subscription,"
-
-### Problem
-
-The scope of this issue is to perform cleanup tasks for FF `use_orders_api_preview_subscription` ([original rollout issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4648)).
-
-### Proposal
-
-
-
-Perform [`Release the feature`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4648#release-the-feature) tasks:
-
-* [x] Create a merge request to remove `` feature flag
- * [x] Remove all references to the feature flag from the codebase
-* [x] Ensure that the cleanup MR has been deployed to both staging and production
-* [x] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [x] Ensure production environment is still working as expected
-* [x] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-* [x] Close this issue.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-120442288,2022-12-15 02:19:55.811,Improve the spec file spec/workers/workato/create_lead_worker_spec.rb,"
-There are two improvments suggested during the MR review:
-1. https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5984#note_1209853648
-> question: Do we actually care about the return value for this worker? I think this is fine to test, but if we don't care what it returns, then maybe it's enough to assert that it executes the service.
-
-2. https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5984#note_1209861342
-> If it is necessary, do we have a test covering this demonstrating why we need to do this?
-
-Proposal:
- Improve the spec file spec/workers/workato/create_lead_worker_spec.rb to address the above suggestions.",1
-120440606,2022-12-15 00:38:46.454,Upgrading from Starter to Premium for above 25 seats does not display error message,"
-
-# Bug
-
-When upgrading Starter to Premium as part of Renewal, and the number of seats is greater than 25, the subscription card is no longer in view and the message `Could not get the data properly. If the problem persists, contact support.` is displayed:
-
-https://www.loom.com/share/ff16c192dd4343a5a51d3cf7c52fe5d6
-
-[Logs](https://console.cloud.google.com/logs/query;cursorTimestamp=2022-12-15T00:32:47.977Z;query=%22A-S00174606%22%0Atimestamp%3D%222022-12-15T00:32:47.977Z%22%0AinsertId%3D%221gqh0gdf2gqgbx%22;timeRange=PT15M?project=gitlab-subscriptions-staging) indicate exceeded 25 seats maximim:
-
-
-
-When I tried locally, I got the following error message. I could have a few FF disabled, so I'm not sure if this is the expected behavior.
-
-
-
-25 is the max. seat limit, not sure if the expected behavior shows a better error message with the subscription card. Since the FF `use_orders_api_to_preview_amendment ` is globally enabled, I did not disable on staging and test it out the behavior on staging.
-
-## Summary
-
-(Summarize the bug encountered concisely)
-
-Compare with Amend API workflow, and ensure both behave the same in EoA upgrade subscription preview.
-
-## Steps to reproduce
-
-1. Purchase Starter self managed subscription with end date in the last 3 days ([example request](https://gitlab.com/gitlab-org/customers-gitlab-com/-/snippets/2469063) to create subscription via API)
-3. Access the subscription card in CDot
-4. Select 'Renew', select 'Premium' plan and set quantity to `26`. Observe the error
-
-## What is the current *bug* behavior?
-
-(What actually happens)
-
-## What is the expected *correct* behavior?
-
-(What you should see instead)
-
-## Relevant logs and/or screenshots
-
-(Paste any relevant logs - please use code blocks (```) to format console output,
-logs, and code as it's tough to read otherwise.)
-
-## Workarounds
-
-(Ways to get around the issue)
-
-## Reported examples
-
-1.
-1.
-1.
-
-",2
-120439578,2022-12-14 23:33:03.081,Subscriptions with multiple rate plans should not auto-renew (temporary),"### Problem
-
-Subscriptions that have multiple rate plans (for the same renewable plan) are auto-renewing incorrectly. See [this comment](https://gitlab.com/gitlab-com/Finance-Division/finance/-/issues/5399#note_1209871296) for additional context.
-
-### Proposal
-
-Do not auto-renew subscriptions with multiple rate plans. We are [already doing it for EOA subscriptions](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5226), but this should be extended to all subscription.
-
-### Result
-
-Subscriptions with multiple rate plans do not auto-renew.
-
-### Next steps (if any)
-
-Fix the auto-renewal functionality to account for multiple rate plans.
-
-### How will we measure success?",2
-120431033,2022-12-14 18:37:14.693,Fix blank (not nil) zuora_account_id for customers,"### Summary
-
-There are `Customer` records in production where the `zuora_account_id` is blank (not nil)
-
-```
-Loading production environment (Rails 6.1.7)
-irb(main):001:0> Customer.where(zuora_account_id: '').count
-=> 132
-```
-
-We want to evaluate if this is worth fixing given we are planning to get rid of the column soon.
-
-### Related discussion
-
-The following discussion from !5998 should be addressed:
-
-- [ ] @vshumilo started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5998#note_1199010692): (+2 comments)
-
- > **question:** Is this a double check for if there is a last minute change for the record and the `zuora_account_id` is cleared?",2
-120423451,2022-12-14 16:21:21.546,Document license key and activation code generation,"
-
-### Problem
-
-It is currently not documented how these processes work. We should add documentation for GitLab stakeholders to figure this out.
-
-### Proposal
-
-
-
-Add this to the docs in this repository:
-
-1. [This is the code](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/9ae796fa8060281378ff6800f2ad0aefa582821b/app/models/license.rb#L218) that creates a `GitLab::License` (that’s the object from the `gitlab-license` gem). We use this object within our `License` model. The referenced code is called on [creation](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/9ae796fa8060281378ff6800f2ad0aefa582821b/app/models/license.rb#L84) of a `License` object only.
-1. [This is the code](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/1219d82057ecc80468e9c515587ee24a185b9111/app/models/subscription.rb#L441-457) that creates the activation code which is stored in our `CloudActivation` model. This code is called during a Zuora callback [here](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/4e3b474803252e89bc46ac679932fa836f7acf6c/app/workers/zuora_callback_worker.rb#L23) and also when the [controller action](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/74259337a9748b56e2412d98d016704810b63d4b/app/controllers/subscriptions_controller.rb#L104) `subscriptions#create` is used (which comes down to this code).",1
-120392120,2022-12-14 09:54:47.978,Upgrade rails_admin gem to version 3,"
-
-### Problem
-
-`rails_admin` gem is blocking our upgrade to Rails 7:
-
-```shell
-Bundler could not find compatible versions for gem ""rails"":
- In Gemfile:
- rails (~> 7.0.4)
-
- rails_admin (~> 2.2.0) was resolved to 2.2.1, which depends on
- rails (< 7, >= 5.0)
-```
-
-In order to upgrade CustomersDot to Rails 7 we have to upgrade `rails_admin` gem to version 3. We use version `2.2.0` but version `3.1.0` is available and supports Rails 7 - https://github.com/railsadminteam/rails_admin/blob/master/rails_admin.gemspec#L13
-
-Unfortunately there is not straightforwad upgrade path for this gem as new version has [many breaking changes](https://github.com/railsadminteam/rails_admin/blob/master/CHANGELOG.md#300beta---2021-12-20). Attempting to perform an upgrade in a dumb way:
-
-```shell
-### Upgrading RailsAdmin from 2.x.x to 3.x.x ###
-
- Due to introduction of Webpack/Webpacker support, some additional dependencies and configuration will be needed.
- Running `bin/rails g rails_admin:install` will suggest required changes, based on the current setup of your app.
-```
-
-Results in a missing method `assets`:
-
-```shell
-/Users/vslobodin/.asdf/installs/ruby/2.7.7/lib/ruby/gems/2.7.0/gems/railties-6.1.7/lib/rails/railtie/configuration.rb:97:in `method_missing': undefined method `assets' for #
-Did you mean? asset_host (NoMethodError)
-```
-
-Which indicates we have to load `sprockets`. Applying a small patch for that:
-
-```diff
-diff --git a/config/application.rb b/config/application.rb
-index cb0b3a821..1a4fc7e26 100644
---- a/config/application.rb
-+++ b/config/application.rb
-@@ -13,6 +13,7 @@
- require 'active_job/railtie'
- require 'active_storage/engine'
- require 'prometheus/client'
-+require 'sprockets/railtie'
-
- # Require the gems listed in Gemfile, including any gems
- # you've limited to :test, :development, or :production.
-```
-
-Results in a missing `sassc`:
-
-```shell
-cannot load such file -- sassc
-```
-
-Adding it (`gem 'sassc-rails'`) makes the application starting at least but attempting to visit any admin page result in:
-
-```
-Showing /Users/vslobodin/.asdf/installs/ruby/2.7.7/lib/ruby/gems/2.7.0/gems/rails_admin-3.1.0/app/views/rails_admin/main/_dashboard_history.html.erb where line #22 raised:
-
-uninitialized constant RailsAdmin::Adapters::ActiveRecord::AbstractObject
-Did you mean? RailsAdmin::AbstractModel
-```
-
-This happens because `AbstractObject` was deprecated in favour of plain ActiveRecord https://github.com/railsadminteam/rails_admin/commit/af88091d11590dc95df4866c62fba0c49a7bb9a8
-
-To sum up, to achieve this upgrade we need to:
-
-- apply all patches above or find another way to workaround mentioned issues.
-- validate we load all JS and CSS correctly
-- validate the whole RailsAdmin works with new version
-- check and fix our tests in `spec/feature/rails_admin`
-
-### Availability & Testing
-
-
-
-It is imperative to monitor Staging end-to-end test runs once this gets merged.",4
-120359277,2022-12-13 19:02:09.120,Hide tooltip and term duration for CI minutes purchase,"### Problem
-
-On customers staging, when purchasing CI minutes, the date of purchase is displayed as 1 day.
-
-The tooltip information next to it displays, `Your storage subscription has the same term as your main subscription, and the price is prorated accordingly.`
-
-Additional CI minute purchases are added onto your existing subscription (if available), the duration of the term is for the existing subscription. But CI minutes are valid for 1 year after the purchase date, so the start date of the subscription is irrelevant and confusing making the term duration incorrect.
-
-
-
-
-_PS - The error might also be occurring on the Production server._
-
-### Proposal
-
-Tooltip and the term duration shouldn't be displayed for CI minutes purchase flow. They apply only for Storage purchase. (similar to how we handle this on GitLab.com)
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",1
-120258061,2022-12-12 11:45:28.878,[Placeholder] Implementation of displaying ramps subscriptions,"
-
-### Problem
-Placeholder issue to indicate the tentative weight for implementation of displaying ramps subscriptions.
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",0
-120257760,2022-12-12 11:41:14.565,Issue breakdown to display ramps subscriptions,"
-
-### Problem
-Placeholder issue to breakdown the implementation to display ramps subscriptions.
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",3
-120186383,2022-12-10 01:46:32.422,Subscription sync alert banner no longer presents after clicking on Sync subscription details button,"
-
-# Bug
-
-## Summary
-
-Subscription sync alert banner no longer presents after clicking on Sync subscription details button
-
-This is causing self-managed e2e test job to fail - https://gitlab.com/gitlab-org/customers-gitlab-com/-/pipelines/717640365
-
-
-## Steps to reproduce
-
-1. Activate local gdk with an valid cloud activation code
-2. Click `Sync subscription details` button
-3. Subscription sync alert banner shows and disappears
-
-## Screenshot
-
-
-## Proposal
-Resolve banner issue to ensure it is displayed correctly.",5
-120167293,2022-12-09 17:01:14.402,POD for Partners: Add Invoice Owner CC to SaaS Vouchers,"
-
-### Problem
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3372+ implemented CC's to partners on all Self Managed mailers to improve visibility into the license process. We should do this same thing for SaaS mailers, as partners have an interest in this as well.
-
-### Proposal
-
-- Introduce a voucher email to be sent along the notification about SaaS purchases initiated in SFDC ([`CustomerMailer#gl_com_purchase_from_sf`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/b54a3198a732d5b2662928acd86f4fba6d45a9f8/app/mailers/customer_mailer.rb#L35)).
-
-- Include the `Sold To Contact` email address of the quote's `Invoice Owner` as CC as well.
-
-
-
-
-### Result
-Partners are aware of their customer's SaaS provisioning real-time.",2
-120138877,2022-12-09 07:55:18.079,[Feature flag] Enable through_version_manager,"# Summary
-
-This issue is to rollout [Order#current_subscription to use version manager](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/6094) on CustomersDot production,
-that is currently behind the [`through_version_manager`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/185/edit) feature flag.
-
-This is for issue https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4884
-
-## Owners
-
-- Team: ~""group::provision""
-- Most appropriate Slack channel to reach out to: `#g_provision`
-- Best individual to reach out to: @lulalala
-- PM: @courtmeddaugh
-- EM: @mlunoe
-
-## Stakeholders
-
-
-
-## The Rollout Plan
-
-- Rollout Feature for everyone as soon as it's ready
-
-
-
-## Testing User/Customer IDs
-
-
-
-## Expectations
-
-### What are we expecting to happen?
-
-No behavior change
-
-### What might happen if this goes wrong?
-
-Reconciliation and SeatLink uses wrong subscription
-
-### What can we monitor to detect problems with this?
-
-- Sentry
-- Grafana health score
-
-## Rollout Steps
-
-### Rollout on non-production environments
-
-- [x] Ensure that the feature MRs have been deployed to non-production environments, i.e. `customers-staging`.
-- [x] Consider announcing that the flag will be enabled to potentially impacted groups, e.g. `#s_fulfillment_engineering`
-- [x] Enable the feature globally on non-production environments by applying the appropriate environment, e.g. `customers-staging` and `customers-development`.
-- [x] Notify the Software Engineers in Test (SETs) for Fulfillment via Slack and in a comment in this issue when enabling a feature flag in `customers-staging` as it can impact the QA pipeline.
-- [x] Verify that the feature works as expected. Posting the QA result in this issue is preferable.
-
-### Preparation before production rollout
-
-- [x] Ensure that the feature MRs have been deployed to production
-- [-] Check if the feature flag change needs to be accompanied with a
- [change management issue](https://about.gitlab.com/handbook/engineering/infrastructure/change-management/#feature-flags-and-the-change-management-process).
- Cross link the issue here if it does.
-- [x] Ensure that you or a representative in Fulfillment can be available for at least 2 hours after feature flag updates in production.
- If a different developer will be covering, or an exception is needed, please inform the Fulfillment team in #s_fulfillment_engineering
-- [-] Ensure any documentation has been updated
-- [-] Announce on [the feature issue](ISSUE LINK) an estimated time this will be enabled on production if applicable
-- [-] If the feature might impact the user experience, notify `#s_fulfillment` and potentially `#support_gitlab-com`, as well as your team channel ([more guidance when this is necessary in the dev docs](https://docs.gitlab.com/ee/development/feature_flags/controls.html#communicate-the-change)).
-
-### Global rollout on CustomersDot production
-
-- [x] Confirm the feature flag is enabled on `staging` without incident
-- [-] Roll out the feature to targeted testing users first (if applicable)
-- [-] If applicable, [incrementally roll out](https://docs.gitlab.com/ee/operations/feature_flags.html#percent-rollout) the feature.
-- [-] Verify the change has the desired outcome with the limited rollout before enabling the feature globally on production.
-- [x] Enable the feature globally on production environment
-- [x] Announce on [the feature issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4884) that the feature has been globally enabled.
-- [x] Wait for [at least one day for the verification term](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release).
-
-### Release the feature
-
-After the feature has been [deemed stable](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release),
-the clean up should be done as soon as possible to permanently enable the feature and reduce complexity in the codebase.
-
-
-- [x] Create a merge request to remove `` feature flag
- - [x] Remove all references to the feature flag from the codebase
-- [x] Ensure that the cleanup MR has been deployed to both staging and production
-- [x] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [x] Ensure production environment is still working as expected
-- [x] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [x] Close this rollout issue.
-
-## Rollback Steps
-
-- [ ] This feature can be disabled by performing the following actions:
- - [ ] Disable the Unleash flag on the [feature flag page](LINK TO THE FEATURE FLAG EDIT PAGE)",1
-120123355,2022-12-08 23:02:17.080,Orders created without some subscription data,"### Problem
-
-It was discovered, as discussed in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5249#note_1197338320, that there are many Orders in production associated with a subscription (e.g. have `subscription_name` present) but are missing many subscription-related attributes like `start_date`, `end_date`, and `subscription_id`.
-
-We [determined the problem](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5249#note_1200272445) to be with [this line](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/70d456ed746c25b659f2b70052f28df936353b42/app/controllers/subscriptions_controller.rb#L63) in the `SubscriptionsController#edit` action. If the order was not already created at this point, one would be created but not with all the necessary subscription info.
-
-### Proposal
-
-We should replace this logic in the controller to use the `CreateOrderService` which we know creates an order with all the necessary subscription data points. This is used in other places in the app to create orders.",1
-119991392,2022-12-07 09:12:37.882,Clean up portal_price_before_proration & portal_proration_credit calculation from backend,"
-
-### Problem
-
-After https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5106 we will no longer be using these values in the frontend in CustomerDot and Gitlab. We can remove these calculations so that we don't have dead code.
-
-### Proposal
-
-
-
-1. These values are being passed in `orderPreview` graphql query to gitlab. Remove these values from the endpoint (& from schema in gitlab)
-2. Remove the calculations from `amendment_base_service.rb` & `preview_service.rb`
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-119967619,2022-12-06 20:40:30.103,Refactor Customer/Account form,"## Proposal
-
-Once the `account_data_structure` flag is enabled/stable and we start working towards https://gitlab.com/groups/gitlab-org/-/epics/8951+, the Account/Customer form in CustomersDot should be in a position to be refactored in a few ways. Please see https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/6037#note_1196864310 for more background.
-
-Here are a few things we can consider:
-1. ~~Avoid showing or updating `Customer.company` in this form. At this point, `BillingAccount.zuora_account_name` should be the attribute used across the app. There should be no need to maintain `company`~~. EDIT: follow-up in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5656
-2. `UpdateContactService` is called only from a Customer model callback. It's only triggered when the virtual attr `sync_with_zuora` is set, which only happens [in the RegistrationsController](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/37933553209ad5c0b13c33ab2a786200c2aa4d27/app/controllers/registrations_controller.rb#L36). It would be nice to avoid this callback altogether and move this logic to the `RegistrationsController`. This service could be refactored (and renamed) to clarify it's scope.
-
-### Follow up
-
-The following discussion from !6037 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/6037#note_1196864310): (+4 comments)
-
- > **Suggestion:** What do you think about updating the BillingAccount last (or at least after the Zuora account? Just want to avoid a situation where the BillingAccount is updated but something fails updating the ZuoraAccount and the two are not in sync.
-
-The following discussion from !6355 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/6355#note_1246463812):
-
- > **Thought (non-blocking):** There are some known problems with this service, one of which is that it's not transactional. If the zuora account update fails on this line, it seems like it will continue to update the billing account and zuora contacts, but that might not be ideal.",3
-119760980,2022-12-02 15:30:28.580,Drop PSQL 10.17 from supported tools,"We migrated all our environments to CloudSQL on GCP. Both production and staging environments are on PSQL 12 now.
-That means we can safely drop PSQL 10 from the list of supported runtimes and tools. Currently we have it in the `.tool-versions` file and in order to remove it from this file we should create or document convenient way for upgrading existing databases of team members (located in `./db/postgesql`).
-
-## How to upgrade local PSQL database from 10 to 12
-
-Given the database is running in `./db/postgresql` we can perform the following steps to upgrade it:
-
-1. Stop the application
-2. Stop the PSQL master:
-
- ```shell
- asdf exec pg_ctl stop -D ./db/postgresql
- ```
-
-3. Demote the data folder to old cluster:
-
- ```shell
- mv ./db/postgresql ./db/postgresql-10
- ```
-
-3. Activate PostgreSQL 12 binaries:
-
- ```shell
- asdf shell postgres 12.12
- ```
-
- Verify it with `psql --version`. This command must output `psql (PostgreSQL) 12.12`
-
-4. Check the upgrade path:
-
- ```shell
- asdf exec pg_ctl initdb -D ./db/postgresql-12
- asdf exec pg_upgrade --old-bindir=$(asdf where postgres 10.17)/bin --new-bindir=$(asdf where postgres 12.12)/bin --old-datadir=./db/postgresql-10 --new-datadir=./db/postgresql-12 --check
- ```
-
- Look for the `*Clusters are compatible*` line at the end. If not, please report in this issue.
-
-5. Do the upgrade:
-
- ```shell
- asdf exec pg_upgrade --old-bindir=$(asdf where postgres 10.17)/bin --new-bindir=$(asdf where postgres 12.12)/bin --old-datadir=./db/postgresql-10 --new-datadir=./db/postgresql-12
- ```
-
-6. Start the new PSQL 12 master:
-
- ```shell
- asdf exec pg_ctl start -D ./db/postgresql-12
- ```
-
-7. Generate minimal optimizer statistics to verify the new database: `./analyze_new_cluster.sh`
-8. Run the script to delete the old database data: `./delete_old_cluster.sh`
-9. Move the new database cluster to the old location `./db/postgresql`:
-
- ```shell
- asdf exec pg_ctl stop -D ./db/postgresql-12 && mv ./db/postgresql-12 ./db/postgresql
- ```
-
-10. Remove migration files: `rm analyze_new_cluster.sh delete_old_cluster.sh update_extensions.sql`
-11. Start the new database cluster and verify your local copy of CustomersDot still works:
-
- ```shell
- asdf exec pg_ctl start -D ./db/postgresql
- ```",1
-119743087,2022-12-02 10:06:57.035,Add logging in CloudActivations::ActivateService when seat link creation failed,"### Problem
-
-When an activation of a self-managed instance with an activation code failed because of an error while creating the seat link data, the error is [logged by the SeatLinkCreateService](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/e9eaf1283947f750b763c9e179626f0bbb341284/app/services/seat_link_create_service.rb#L24-27). The `SeatLinkCreateService` is used in other workflows like the daily seat link sync. This makes debugging for errors during an activation a little bit harder since the `CloudActivations::ActivateService` [does not log anything](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/e9eaf1283947f750b763c9e179626f0bbb341284/app/services/cloud_activations/activate_service.rb#L89) about this with its own context and the errors have to be looked up with a `SeatLinkCreateService` context.
-
-### Proposal
-
-Even though the [`SeatLinkCreateService` has logging for an unsuccessful processing](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/e9eaf1283947f750b763c9e179626f0bbb341284/app/services/seat_link_create_service.rb#L24-27), it might make sense to add additional logging in the
-`CloudActivations::ActivateService` when the [response of the `SeatLinkCreateService` is unsuccessful](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/e9eaf1283947f750b763c9e179626f0bbb341284/app/services/cloud_activations/activate_service.rb#L89). This could make debugging errors during an activation a bit easier and quicker since we would be able to actually find error loggings for the `CloudActivations::ActivateService` even when the actual error happened in the `SeatLinkCreateService`.
-
-### Result
-
-Additional error logging that helps with debugging errors during activation quicker since we'll be able to find something specifically linked to the activation when the seat link creation failed.",2
-119742259,2022-12-02 09:49:33.222,Ensure to log service class name in `log_warn` and `log_error`,"When checking logs, sometimes it is tricky to know where does an error come from. One example is https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5264#note_1194023547.
-
-
-ATM we only log service class name in [log_info](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/96fcaba30e1df12ecf6f5ddd1cb88923455fd56b/lib/gitlab/logger_helpers.rb#L7-9).
-
-```
- def log_info(message, extra: {})
- log(:info, ""#{self.class.name}: #{message}"", extra: extra)
- end
-```
-
-I think we should ensure we log the `self.class.name` for [log_warn](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/96fcaba30e1df12ecf6f5ddd1cb88923455fd56b/lib/gitlab/logger_helpers.rb#L11-14) and [log_error](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/96fcaba30e1df12ecf6f5ddd1cb88923455fd56b/lib/gitlab/logger_helpers.rb#L16-18) as well.
-
-
-### Problem
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-119736543,2022-12-02 08:17:40.529,Update iron_bank gem to fix known vulnerabilities,"We should update `iron_bank` to the latest version so we can fix some Security vulnerabilities.
-
-See https://github.com/zendesk/iron_bank/pull/90",1
-119680789,2022-12-01 09:23:42.910,Purchase fails with error: is not a valid hosted payment method.,"
-
-# Bug
-
-## Summary
-
-Sometimes purchases fail with the generic error `An error occurred in the purchase step. If the problem persists please contact support at https://support.gitlab.com.` but when we check the logs we find an error log that states:
-
-```
- is not a valid hosted payment method.
-```
-
-## Relevant logs and/or screenshots
-
-Example [GCP Logs (internal)](https://console.cloud.google.com/logs/query;cursorTimestamp=2022-12-01T08:57:39.987Z;query=%22A-S00041396%22%0Atimestamp%3D%222022-12-01T08:57:39.987Z%22%0AinsertId%3D%228lrda1g2ua8331%22;timeRange=P7D?project=gitlab-subscriptions-prod)
-
-## Workarounds
-
-1. Use an incognito window to make the purchase (worked for 1)
-2. Use a different device i.e. mobile phone (worked for 4)
-
-## Reported examples
-
-1. https://gitlab.zendesk.com/agent/tickets/335749
-1. https://gitlab.zendesk.com/agent/tickets/346748
-1. https://gitlab.zendesk.com/agent/tickets/350388
-2. https://gitlab.zendesk.com/agent/tickets/356964 (Purchase via Chrome incognito/private mode didn't work for this customer; trying on Chrome Mobile worked)
-
-
-",5
-119663561,2022-12-01 00:18:26.785,Enable `try it` on marketplace openAPI document page,"We have openAPI document for marketplace:
-- internally viewable from gitlab blob viewer: https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/doc/api/openapi.yaml. This requires CustomersDot repository access, as CustomersDot is a private project
-- publicly viewable from https://customers.staging.gitlab.com/openapi_docs/marketplace and https://customers.gitlab.com/openapi_docs/marketplace
-
-For the publicly document(https://customers.staging.gitlab.com/openapi_docs/marketplace and https://customers.gitlab.com/openapi_docs/marketplace), it will be helpful to allow `Try it out` from this page. I think this will be convenient for marketplace partners, and it will help to reduce the integration frictions.
-
-### Problem
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-119658060,2022-11-30 21:07:42.343,[SM] Use term end date for all ramp enabled subscription licenses,"### Background
-Historically, all ramp licenses were generated for term start date + 1 year. With Zuora Ramps, we are establishing automated provisioning of licenses for the entire ramp subscription period, so this shortened term is no longer necessary.
-
-With the Zuora workflow being setup by EntApps, callouts will be sent from Zuora to CDot whenever a new ramp interval starts in order to provision additional seats at the start at each ramp interval.
-
-### Problem
-
-As discussed in this thread https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4295#note_1189876785, ramped subscriptions where cloud licensing is enabled have licenses generated for the full subscription term. For example, if a subscription has a 3 one year ramps, the full subscription term is 3 years, and therefore has a license generated for the full 3 years. If the quantity changes when a new ramp begins, a callout will be sent to CDot to generate a new license with the new quantity for the full term.
-
-The logic for determining the license end date can be [found here](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/ec6b3cc9dca0e511568ba86c0b3d6db99cfdcd19/app/models/concerns/license_creation.rb#L15). Currently, this logic only applies to Subscriptions with cloud licensing enabled, but we need it for Subscriptions with legacy licenses too.
-
-### Proposal
-
-Update the `LicenseCreation#license_end_date` method to determine the license end date consistently for all ramp enabled subscriptions, using the term end date.
-
-
-### Proposal Summary
-
-Generate the initial license for a ramp subscription for the entire 3 year subscription term (and then send a new license for only the additional users at the start of each year).
-
-Reason for this proposal, rather than generating the initial license for 1 year and sending a new license for the full user amount at the start of each year:
-1. We are moving towards generating all licenses for the entire subscription term, not just ramps ([example](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4816)), as it requires less manual intervention. Option 2 is consistent with this motion.
-1. There is no risk of the customer losing access entirely if there is any provision failure at the start of years 2/3 - only not having access to the additional seats. Seems this could result in fewer support escalations.
-1. This was the plan with cloud license enabled subscriptions, so to me it makes sense to keep both types consistent.
-
-### Proposal Details
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/4879 updated the existing license end date logic to generate ramp enabled licenses for the full subscription term for cloud enabled subscriptions _only_. We should remove this condition on cloud enabled by updating [this line](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/ec6b3cc9dca0e511568ba86c0b3d6db99cfdcd19/app/models/concerns/license_creation.rb#L15).
-
-I think we want to update this:
-> `# If Subscription is cloud and (reconciliations or ramps enabled), we issue it for the full term`
-
-To this:
-> `# If Subscription is (cloud and reconciliations) or ramps enabled, we issue it for the full term`
-
-Side note, once https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4816 is implemented, the logic will actually be:
-> `# If Subscription is cloud or ramps enabled, we issue it for the full term`
-
-### Result
-All ramp licenses (whether cloud or not) are created for the full term.",1
-119653137,2022-11-30 19:07:07.068,Deprecate Unified License mailers & remove SS aware check,"
-
-### Background
-We currently have 4 mailers that can be sent to customers when a Self Managed subscription is purchased - a legacy specific mailer, an offline license specific mailer, a cloud license specific mailer, and a unified mailer.
-
-The unified mailer was initially established in the early days of Cloud Licensing and contained _both_ the legacy license and a cloud license activation code. This was sent to customers who had `TurnOnCloudLicensing` set to `null`. As part of SCL, we removed the legacy license from this mailer as we began to treat `TurnOnCloudLicensing` = `null` customers the same as `TurnOnCloudLicensing` = `Yes`. Therefore it is now a duplicate of the activation code mailer.
-
-In addition, the check for `super_sonics_aware` is no longer necessary. Since we are over 1 year past the launch of Super Sonics (August 2021), all new or renewal subscriptions will now be super sonics aware. This can be removed as unnecessary logic.
-
-Related part of code:
-
-
-### Proposal
-Deprecate the unified license mailer and simplify the existing mailer logic to send only the legacy, offline or activation code mailer as is appropriate based on the license type the customer will receive, with no dependency on `super_sonics_aware`.
-
-Rough suggestion:
-* If legacy, send legacy mailer
-* If offline, send offline mailer
-* Else, must be online, so send online mailer (reordered as I think online mailer should be the default)
-
-In addition, we should deprecate the related [unified voucher email](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/spec/mailers/unified_license_voucher_mailer_spec.rb), as this will no longer be needed.
-
-### Result
-Simplification in our customer mailers.
-
-### Availability & Testing
-
-
-
-This refactor change will likely result in a lot of changed files and tests. On hand-hand, this should be a simple consolidation however on the other hand, we risk breaking something.
-
-We should be able to move all existing tests from our other mailers into one mailer as proposed, but it's possible more will have to be done to ensure everything works properly.
-
-From a ~Quality perspective, let's make sure these MRs are reviewed from the ~test perspective and that we don't suffer test coverage loss due to this change.",2
-119634264,2022-11-30 14:55:00.495,[SM] Avoid license notification when provisioning is not needed when ramps begin,"### Problem
-
-Once https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5247 is completed, all ramp subscriptions will have licenses generated for the full subscription term. For example if a 3 year subscription might have 3 one year ramps. Any licenses generated for this subscription would be created for the full 3 years.
-
-However, as discussed in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4295#note_1190124058, there may be times when nothing changes to the subscription when a new ramp starts that affects provisioning (e.g. the quantity does not change). If that's the case, a callout will still be sent to CDot to provision for the new ramp. An identical license would generated and notification sent to the customer, leading to confusion as a new license would not be necessary.
-
-### Proposal
-
-Let's update CDot to avoid generating a new license and avoid notifying the customer when this scenario arises.
-
-This filtering logic probably will need to be done when processing the callout. It might be similar to what CDot for [the Seat Link Service](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/4ae39fa629f11d88d5575837412df990e624b9a5/app/services/seat_link_create_service.rb#L193). The service [compares the most recent license to the new license](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/3e8889422f9bc05f57cb205fb025364b28ccdcef/app/services/build_license_from_subscription_service.rb#L45) and only generates the new one if needed.",3
-119555172,2022-11-29 12:30:52.043,[Follow up] Update usage of allow_buy_subscription method,"
-
-### Problem
-Follow up issue from this MR conversation - https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5958#note_1188823085.
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",0
-119466630,2022-11-28 08:27:35.774,Simplify support of multiple class objects in VoucherMailer,"### Problem
-
-As part of https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5929#note_1180208624, the logic to find the email, name and company of the recipient as well as the log info in the `VoucherMailer` was getting too complex. This is because there are now three classes (`License`, `Subscription` and `Customer`) that are supported by the `VoucherMailer`. In the linked thread there were a few options that were discussed. But [one](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5929#note_1182039949) seemed like the way to go.
-
-### Proposal
-
-All three classes, `License`, `Subscription` and `Customer`, used in the `VoucherMailer` should respond to the same methods. E.g. currently only `License` and `Customer` respond to an `email` method and `Subscription` has to use the `sold_to_contact&.work_email` methods to get to the same info. If all three classes respond to the same method name, a single object could be provided to the VoucherMailer and removes all the current complexity by calling the method names that are supported by all three classes.
-
-### Result
-
-Remove complexity around the logic to find the email, name and company of the recipient as well as the log info in the `VoucherMailer`.",2
-119465391,2022-11-28 08:06:16.681,Use constants for mailer subject,"### Problem
-
-In a [review comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5929#note_1182039948), it was suggested to use constants for the mailer subject to reuse them in voucher mailer counterparts. This will ensure that the email subject is always the same for the voucher email (the email that goes to SFDC) as in the actual email that goes out to the customer.
-
-### Proposal
-
-Replace hard coded subjects in mailers with constants and reuse them in existing voucher mailers.
-
-### Result
-
-Consistency in mailer subjects.",2
-119404411,2022-11-25 22:18:01.268,"Follow-up from ""Persist billing account via FindOrCreateCustomerService""","The following discussion from !5807 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5807#note_1164663028): (+3 comments)
-
- > **Suggestion (non-blocking):** I suppose we could add some specs for if the `UpdateBillingAccountService` service returns an error result, just to make sure the compose works as we'd expect. Maybe something to think about for a follow-up?",1
-119403121,2022-11-25 21:04:26.913,Update billing account on customer salesforce_account_id update,"The following discussion from !5660 should be addressed:
-
-- [ ] @vshumilo started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5660#note_1153053368): (+4 comments)
-
- > **context:** I will layer in the `salesforce_account_id` in a follow up.
- >
- > I know there will be some feedback on this one given I think I want to propose to favor Zuora's value given the changes in CDot reflect in Zuora but manual SFDC account merges that are synced to Zuora currently do not sync back to CDot.
- >
- > On the other hand we might want to create the Account with the exact information that the user has and I want to gather some thoughts around what is the best approach therefore don't want to delay this MR with this:
- >
- > ```ruby
- > # option 1
- > salesforce_account_id: zuora_account.crm_id || customer.salesforce_account_id
- >
- > # option 2
- > salesforce_account_id: customer.salesforce_account_id
- > ```
- >
- > Plus the billing account too needs to be updated every time the `salesforce_account_id` for the customer changes -> I think we might use a separate issue to handle this SFDC value in the `BillingAccount`. Do you think another issue will better separate this update @tyleramos
-
-### Acceptance criteria
-
-- [x] Agree on a strategy to populate the billing account's `salesforce_account_id`.
-- [ ] ~~Update the code so every time the `salesforce_account_id` is updated for the `customer`, its associated billing account is updated as well.~~
-- [x] Hide the `salesforce_account_id` from the Customer's Admin show and edit views when the `:account_data_structure` feature flag is enabled: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/6134
-
-As part of this we want to also question if with the current setup we are willing to trust the `customer.salesforce_account_id` or we want to always fetch it from the zuora account associated to the `customer`. Note we don't have a callback that will sync back to CDot changes on the Zuora account `crm_id` that result from merging SFDC accounts and manually updated the references to the surviving account. [Opional context here](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4822#note_1166606063)",2
-119388177,2022-11-25 14:03:55.085,"A couple of follow-ups from ""Set urgency class attribute""","The discussions from !5979 should be addressed. Two points:
-- Rename `FeatureCategorizable` as its scope now broadened with the introduction of the `urgency` class attributes.
-- The body of `Metrics::RequestCollector#controller` is the same as another method in `Metrics::RequestEndpoints`. Extract that shared logic.
-
-cc @qzhaogitlab",1
-119015936,2022-11-18 23:54:48.539,CloudLicenseMailer notifications do not send a voucher,"
-
-### Problem
-
-The recently created CloudLicense mailers for [`renewal_notification`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/3cbef4c4b31ea7553f33165166e5dcef3f09e7d6/app/mailers/cloud_license_mailer.rb#L19) (introduced in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4542) and [`subscription_update_notification`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/3cbef4c4b31ea7553f33165166e5dcef3f09e7d6/app/mailers/cloud_license_mailer.rb#L12) (introduced in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4543) do not implement a voucher mailer, so no notification to the SFDC BCC or the reseller email is sent.
-
-Both mailers send a [BCC](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/3cbef4c4b31ea7553f33165166e5dcef3f09e7d6/app/mailers/cloud_license_mailer.rb#L10) to the revenue team email address (licenses@gitlab.com).
-
-Since we are trying to improve our Proof of License Delivery mechanisms for resellers, ensuring that Cloud Licensing renewals and subscription updates are available for them seems like a logic next step.
-
-### Proposal
-
-Introduce a new `CloudLicenseVoucherMailer` with two methods (one for renewals and another for subscription updates) and call those methods from the corresponding notification.
-
-### Result
-
-* The vouchers provide better visibility for the Sales and Order Management teams by storing them in SFDC
-* The vouchers provide better visibility for resellers by sending them to the `Invoice Owner` of the partner
-
-### Reported Examples
-1. https://gitlab.zendesk.com/agent/tickets/351040 - OM team requesting copy of renewal on CL
-2.",3
-118998012,2022-11-18 14:49:43.125,Document interactions between GitLab User / CustomersDot User / Zuora Contact / SFDC Contact,"### Proposal
-
-As mentioned in the [Architecture Review: Fulfillment Platform meeting on 2022-11-16](https://docs.google.com/document/d/1_YbxNCo3KXK1-KdIZTgSvmU9kIslYjQnFZAmmu1DSqQ/edit#heading=h.1nmnr3rsvzrk), we want to document the workflows involving interactions between GitLab Users, CustomersDot Users, Zuora Contacts, and SFDC Contacts.
-
-This is important for the following reasons:
-- Help to understand how to keep all these related “User/Contact"" objects in sync
-- Help to understand what we should do with the CustomersDot `customers` (to be renamed `users`) table
-- Help to understand how to tie the work from https://gitlab.com/groups/gitlab-org/-/epics/8331+ in with https://gitlab.com/groups/gitlab-org/-/epics/8905+",1
-118934040,2022-11-17 18:53:54.609,🎄 Suspend deployments during December 2022 holidays,"We will suspend all production deployments during the holidays. Here's a link to the handbook page describing Production Change Locks (PCL) and the timing of the upcoming lock. Please raise any concerns or comments on this issue.
-
-There will be limited coverage as most people will be away. This should effectively limit the need to have someone on call to resolve any development-related issues in production during the holidays period.
-
-~~We'll need 2 volunteers from the teams to add/remove the label and notify Slack.~~
-
-## Process
-
-- [x] @tyleramos On **2022-12-23 23:00 UTC** add the ~""production::blocker"" label to this issue.
-- [x] @tyleramos Then, notify #s_fulfillment, #s_fulfillment_engineering, #s_fulfillment_fyi, #support_licensing-subscription, and #production about the freeze
-- [x] @cwiesner On **2023-01-03 09:00 UTC** remove the ~""production::blocker"" label from this issue.
-- [x] @cwiesner Then, notify #s_fulfillment, #s_fulfillment_engineering, #s_fulfillment_fyi, #support_licensing-subscription, and #production about the freeze
-
-Please keep this issue public.
-
-cc @fulfillment-group",0
-118903404,2022-11-17 10:56:45.501,Implement Auto renewal payment method changes in Orders API,"
-
-### Problem
-
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5034 implemented a few changes in the update payment method workflow during auto renewal. This issue is to apply in Orders API workflow as well.
-
-Related MRs:
-- https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5748
-- https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5806
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-118892547,2022-11-17 09:02:24.434,Invoice item created in inconsistent order causes mismatch in few SalesForce object attributes,"
-
-### Problem
-
-**Context**:
-
-When upgrading a subscription from `Premium` to `Ultimate` plan (for example), there are two invoice items generated:
-
-1. Remove Premium plan
-2. Add Ultimate plan
-
-In Zuora staging environment, the order in which the invoice items generated are different for Amend and Orders API:
-
-- When using Amend API: `Remove Premium plan`, `Add Ultimate plan`
-- When using Orders API: `Add Ultimate plan`, `Remove Premium plan`
-
-The order of Order actions is: `RemoveProduct`, `AddProduct` (see example [Order object](https://test.zuora.com/apps/newlogin.do?retURL=/orders#/view/O-00150386))
-
-**Problem statement**:
-
-When creating SalesForce objects, a [single Quote Rate Plan](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/4beb9cee77c7b495c0bd9e3f543599c919beaadf/app/services/salesforce/create_quote_objects_service.rb#L168) is created for an invoice (based on the first invoice item).
-
-The order of the invoice items therefore becomes significant, as it causes [`zqu__ProductRatePlan__c`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/a83ed49dff1dc0dddce7105d26af4244fbf0de72/app/services/salesforce/create_quote_rate_plan_service.rb#L80) and [`zqu__ProductRatePlanZuoraId__c`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/a83ed49dff1dc0dddce7105d26af4244fbf0de72/app/services/salesforce/create_quote_rate_plan_service.rb#L81) attributes to be different in both cases.
-
-In the case of Amend API, `zqu__ProductRatePlanZuoraId__c` is associated with Premium Plan, while in Orders API it is associated with Ultimate Plan.
-
-This [spreadsheet](https://docs.google.com/spreadsheets/d/1ltJBcLwOau3-95CuHCwlXiZP200XkCqdeKtdpoYNUBI/edit?usp=drive_web&ouid=113070913643997337994) documents the comparison.
-In the case of sandbox environment, I observed the order of the invoice items to be the same (see [spreadsheet, tab 1](https://docs.google.com/spreadsheets/d/1mydR5iZd4709tLkKRal30vE3Xad1dsxGOzCwhiwB7HQ/edit)).
-
-The scope of this issue is to understand:
-
-- Should a single Quote Rate Plan OR multiple Quote Rate Plans (one for each invoice item) be created
-- Based on the answer to the above question, if a single Quote Rate Plan needs to be created, should it be created for `RemoveProduct` or `AddProduct` or if it does not have a significance.
-
-Related Slack conversation: https://gitlab.slack.com/archives/C043J3R2L9F/p1668494901620589
-
-### Proposal
-
-
-
-Summarizing the [comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5193#note_1179678115), the following changes need to be applied when creating objects using Orders API:
-
-1. Based on SalesForce package, for each order action type, 1 Quote Amendment, 1 Quote Rate Plan and 1 Quote Rate Plan Charge needs to be created. This approach will also resolve the inconsistent order detailed in this issue.
-
- In the existing Amend API workflow, 1 Quote Amendment is created for each amendment type. For every invoice, 1 Quote Rate Plan is created, and for every invoice item, 1 Quote Rate Plan Charge is created. No change to be made in this workflow.
-
-1. Additionally, charge summary needs to be created for each amendment type. Given this is not currently created in Amend API, created https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5211 to follow-up on the requirement.
-
-1. `Amendment.Id` and `Amendment.Name` is `nil` in the case of Orders API. @sbaranidharan to confirm if these attributes can be determined from any other object in Zuora.
-
- -> The Zuora team mentioned the values will be `nil` since we have orders harmonization enabled.
-
-### Result
-
-With the above approach, the problem stated in this issue is resolved as we create Quote Rate plan for every order action type and are no longer dependent on the order of order action types.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-118807974,2022-11-16 08:31:48.435,Refactor feature specs for rails admin,"### Problem
-
-In https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5886#note_1172520728, it was brought up that having 2 actions with 2 assertions in one example isn't usually best practice. The example in the merge request uses the search on an index page twice, the first assertion is for a result while the second is for no results. This is a pattern that is used throughout other feature specs for rails admin too.
-
-### Proposal
-
-Evaluate all feature specs for rails admin and split up examples that cover more than one action. Some specs could even use `RSpec::Parameterized::TableSyntax`.
-
-If needed this issue could be promoted to an epic.
-
-### Result
-
-Following best practices for RSpec.",3
-118784327,2022-11-16 01:13:11.165,Use presenter for community renewals,"
-
-### Problem
-As suggested in this [comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/4372#note_865226482), it would be a good idea to move the logic block in `subscriptions/community_program/renew_subscription.html.haml` into a helper. With this we would get the additional advantage of being tested. The same helper could be used for `subscriptions/community_program/renew_subscription`(https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/602a40bbc66d0c353787fea9f56b9f8b6efea4e3/app/views/subscriptions/community_program/renew_subscription.html.haml#L1) too as it has similar logic.
-
-### Proposal
-Create a presenter with logic that can be shared with the `renew_subscription` file.",2
-118760572,2022-11-15 16:42:11.330,Investigate high quantity for existing_renewal_error (auto-renew) SaaS,"### Problem
-
-While reviewing [Subscription Management Performance dashboard](https://app.periscopedata.com/app/gitlab:safe-dashboard/1092507/WIP:-Fulfillment:-Subscription-Management-Performance-dashboard), I noticed that [Number of Auto-renew errors by Product type](https://app.periscopedata.com/app/gitlab:safe-dashboard/1092507/WIP:-Fulfillment:-Subscription-Management-Performance-dashboard?widget=15776195&udv=1803088) and [% split of SaaS AutoRenew errors by error type](https://app.periscopedata.com/app/gitlab:safe-dashboard/1092507/WIP:-Fulfillment:-Subscription-Management-Performance-dashboard?widget=15776187&udv=1803088) look off.
-
-
-
-
-
-We only had this many SaaS and SM subscriptions up for auto-renewal:
-
-| Aug-2022 | Sep-2022 | Oct-2022 |
-|----------|----------|----------|
-| 585 | 755 | 881 |
-
-
-It seems that `existing_renewal_error` is reporting way too many times.
-
-### Proposal
-
-Investigate whether our tracking is working as expected.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",1
-122355483,2022-11-15 16:39:06.272,Fulfillment Platform PI instrumentalization: Developer Productivity,"## Overview
-
-We want to measure `MTTR` (mean time to recovery) as one of the ~""group::fulfillment platform"" performance indicators. This will help us to capture the state and progress of the developer productivity within the fulfillment infrastructure we provide.
-
-## Details
-
-The proposal and progress of the PI is captured in the [Fulfillment PI internal handbook section](https://internal-handbook.gitlab.io/handbook/company/performance-indicators/product/fulfillment-section/#fulfillment-platform---mean-time-to-recovery-mttr).
-
-**Definition of MTTR: Measure time (in minutes) between interruption of service(s) due to deployment/system failure and full recovery**
-
-After a [first feedback loop](https://gitlab.com/gitlab-org/fulfillment-meta/-/issues/876#note_1165028722), and a sync discussion we identified a way how to instrument this metric:
-
-We capture events whenever CustomersDot enters and leaves maintenance mode. This is visible when the `HealthCheck::Zuora` and `HealthCheck::Gitlab` jobs are triggered and when they catch changes of availability of these third-party services.
-
-Additionally, triggering the maintenance mode manually (through the `customers:maintenance_mode` rake task) should also capture such events for the creation of this metric.
-
-
-## Outcome
-
-We can measure and see MTTR as a first iteration in the ~""group::fulfillment platform"" Grafana Dashboard.
-
-
-## High-level implementation
-
-Below is an attempt to come-up with a plan to achieve the outcome highlighted above. This is likely to be refined before we start work.
-
-This plan also takes into consideration requirements outlined in [this other issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5579), as there are overlaps between both issues:
-
-1. Update our Prometheus collector
- - Our metrics collector is currently suited for Sidekiq jobs and app/api controllers. We'll have to update it so that it can also capture data when entering / leaving maintenance mode (and when raising Zuora error, wrt to this other issue)
-2. Implement new Prometheus collection
- - Apply actual collection of data in related Health cron jobs and the maintenance rake task.
-3. Update [the Runbooks project](https://gitlab.com/gitlab-com/runbooks)
- - We need to do that so that we can bridge data from Prometheus to new graphs in Grafana
-
-### Issue breakdown
-
-The plan above led to the creation of the following issue breakdown:
-
-1. [ ] [Allow Prometheus collection of maintenance events](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5718)
-2. [ ] [Add Grafana dashboard to show new MTTR indicator](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5725)",8
-118736303,2022-11-15 11:29:07.781,Search by subscription name does not work for License Seat Links in Admin,"### Problem
-
-Searching by subscription name does not work on the License Seat Link index page in Admin.
-
-### Proposal
-
-Fix the search by subscription name.
-
-### Result
-
-Allow search by subscription name on the License Seat Link index page in Admin",1
-118728270,2022-11-15 09:36:47.843,"Rename ZuoraAccountMixin#sold_to_contact (Follow-up from ""License model - use of account_data_structure feature flag"")","The following discussion from !5798 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5798#note_1171316453): (+1 comment)
-
- > **Question:** With this MR, we have a new abstraction called `BillingAccountContact` and this method called `contact`, in addition to the existing method `sold_to_contact` in `ZuoraAccountMixin` [here](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/b834e92525d563dde9bd1fbb7175a11c4c5907a8/app/models/concerns/zuora_account_mixin.rb#L80). I wonder if this will be a little confusing knowing what kind of object you get from these methods. Perhaps, the `sold_to_contact` could be clarified as `sold_to_zuora_contact`? That could be done as a follow-up to this to keep this change smaller.
- >
- > Thoughts?",1
-118718420,2022-11-15 07:02:48.146,Consolidate the openAPI doc into a single file,"Due to a security fix, the openAPI doc ref links are not supported by Gitlab. This might be fixed, but we do not know when. The tracking issue is gitlab-org/gitlab#381047+.
-
-This impact [CDot openAPI doc](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/doc/api/openapi.yaml) rendering.
-
-Since we do not have lots of endpoints in the api doc, I suggest we consolidate it into one single file.
-
-This seems to be align with the new version of the [Optic cli tool](https://github.com/opticdev/optic) as well. ATM we are using the previous Optic version's `api` command, which seems to be deprecated by the latest Optic version.
-
-
-### Problem
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-118675850,2022-11-14 14:13:22.492,[Spike] Investigate and break down work for Customer-Dot ruby version >=3.0,"
-
-### Problem
-
-In order to plan the upgrade to Ruby version >=3.0 for `customers-gitlab-com` , we want to understand the work that needs to be done to do so. Therefore, we would like to get that understanding during this spike.
-
-### Proposal
-
-Let's break down the work in this spike, and add issues to https://gitlab.com/groups/gitlab-org/-/epics/5149.
-
-Crafting a list of all blockers for the Ruby 3.0 upgrade will help a lot. This list could consist of changes in our code, gems we have to update or drop (or replace), etc.
-
-We need to decide if we upgrade to Ruby version 3.0 and afterwards to a higher version or directly to a higher version.
-
-### Result
-
-As a result/outcome we will have:
-
-- Decide for a ruby version to upgrade (3.0 or higher?)
-- List for all blockers/dependencies for the upgrade
-- Break down the work to upgrade the ruby version for `customers-gitlab-com` and add issues to https://gitlab.com/groups/gitlab-org/-/epics/5149",2
-118673354,2022-11-14 12:18:33.017,[Spike] Investigate Upgrade to Rails 7.0,"### Problem
-
-In order to [Upgrade rails to version 7.0](https://gitlab.com/groups/gitlab-org/-/epics/9235), we need to identify the work, places and steps where we need to take action to facilitate a smooth upgrade.
-
-### Proposal
-
-The outcome of this spike issue should be a plan, broken down in issues attached to the [epic](https://gitlab.com/groups/gitlab-org/-/epics/9235) that informs the person(s) handling the upgrade what steps need to be done and we can schedule the work in to corresponding milestone(s).",2
-118645435,2022-11-14 06:08:36.522,Document the meaning of Super Sonics flag,We have a need to explain the meaning of Super Sonic flag and what it does (see https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5619#note_1167360683),1
-118729444,2022-11-10 16:53:11.534,Dos via lack of input validation ( customers.gitlab.com ),"**[HackerOne report #1765576](https://hackerone.com/reports/1765576)** by `mrhacker404` on 2022-11-08:
-
-[Report](#report) | [Attachments](#attachments) | [How To Reproduce](#how-to-reproduce)
-
-## Report
-
-##### Summary
-
-(there is an lack of input validation via email parameter. giving high lenghts will prompt 500 Internal error. making fast requests to the internal server error will make the server down for everyone ! )
-
-##### Steps to reproduce
-
-(Step-by-step guide to reproduce the issue, including:)
-
-1. Register like any new user. use random details.
-1. The next page should be ( /email_confirmations )
-1. So now upload my payload from the attachement and use it on the email input.
-1. Make sure to send the request in repeater and you receive 500 internal error.
-1. Run turbo intruder or intruder. ( i used turbo-intruder ) good threads then start the attack.
-
-##### Impact
-
-(Summarize the impact on users)
-
-No one will be able to login or navigate into Gitlab Customers . the server has been highly affected with only an test attack ! server has been down for long time ! and i believe the same issue will happen on gitlab.com ( official server ) i tried just to get the 500 internal error on the main website and yeah i got it !
-
-#### Impact
-
-A Denial-of-Service (DoS) attack is an attack meant to shut down a machine or network, making it inaccessible to its intended users. DoS attacks accomplish this by flooding the target with traffic, or sending it information that triggers a crash.
-
-## Attachments
-
-**Warning:** Attachments received through HackerOne, please exercise caution!
-
-* [publicdown2.png](https://h1.sec.gitlab.net/a/30c9b9c4-4ea1-4f24-afbe-d8245063798f/publicdown2.png)
-* [publiccheck1.png](https://h1.sec.gitlab.net/a/560bd0a6-d78b-48d5-8edc-48664cb78f02/publiccheck1.png)
-* [DOWN.png](https://h1.sec.gitlab.net/a/fdb5a210-a03f-4fce-b48b-994ca130209d/DOWN.png)
-* [500forall.png](https://h1.sec.gitlab.net/a/1d4cece0-ddf0-4d96-b59b-0673cf36f26e/500forall.png)
-* [payload.txt](https://h1.sec.gitlab.net/a/21d12a27-9c3d-4f54-888f-4d142f06c8f6/payload.txt)
-* [17min-idk.png](https://h1.sec.gitlab.net/a/ee1c1301-a8a4-4f86-866d-fdc72419654a/17min-idk.png)
-* [2022-11-08_04-13-47.mkv](https://h1.sec.gitlab.net/a/535a4ab8-452a-4d1a-af07-5e551b0894a6/2022-11-08_04-13-47.mkv)
-
-## How To Reproduce
-
-Please add [reproducibility information] to this section:
-
-1.
-1.
-1.
-
-[reproducibility information]: https://about.gitlab.com/handbook/engineering/security/#reproducibility-on-security-issues",1
-118429246,2022-11-09 13:58:21.462,Remove breadcrumbs,"### Problem
-
-Long time ago we introduced breadcrumbs for CustomersDot but the application has changed a lot since then and I suggest we remove breadcrumbs from the application because of following reasons:
-
-1. We don't have more than 2 level of nesting pages anywhere in the application. That means breadcrumbs always render two levels: `Manage purchases -> New Subscription`
-2. We use them only on `Manage purchases` pages.
-3. And they do not match our Pajamas Design https://design.gitlab.com/components/breadcrumb/ :smile:
-
-
-
-### Proposal
-
-Let's just remove them?
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",1
-118395820,2022-11-09 04:29:28.089,Port GL code for urgency setting for Rails controllers,"### Problem
-
-CDot lacks ability to set `urgency` on controller. `urgency` is available in [gitlab repo](https://docs.gitlab.com/ee/development/application_slis/rails_request_apdex.html#how-to-adjust-the-urgency) to allow devs to specify a fairer expectation of acceptable request duration. This means our APDEX scores are less useful, treating low and hight priorities as the same.
-
-Currently on CDot, I think [any request taking more than 0.4 seconds](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/e7dd35ba9aec7a01e4dc89dd4b15c0ed61dc826b/lib/metrics/request_collector.rb#L31-L31) are counted as failure.
-
-This will help https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4884
-
-We ported [feature categorization earlier](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5287), and this will be build on top of that.
-
-### Proposal
-
-We need to port [GitLab's `urgency` setting over](https://gitlab.com/gitlab-org/gitlab/blob/61750d46bc057c63b072f34b885679091ba1a35c/lib/gitlab/endpoint_attributes.rb#L20), so we can set different `urgency` on different controllers.
-
-### Result
-
-More useful APDEX score
-
-### Next steps (if any)
-
-### How will we measure success?",2
-118393636,2022-11-09 02:58:11.680,Update billing account when setting customer zuora_account_id,"### Problem
-
-As part of https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4795 the `UpdateBillingAccountService` was introduced to find or create a billing account for the customer based on its `zuora_account_id`.
-
-Basically every time the `zuora_account_id` is set for the customer we want to also call the `UpdateBillingAccountService` to keep the customer's associated billing account up to date. This includes when the `zuora_account_id` is set to `nil`.
-
-Reference MRs that do this:
-- https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5810+
-- https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5808+
-- https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5811+
-
-### Proposal
-
-Update the code within `qa` / `quality` that sets customer's `zuora_account_id` to also update the billing account in a similar way.
-
-Some places that do this (might not be the entire set):
-* `PostZuoraRefreshTask`
-* `OrderApiClient`
-* `QA::Resource::Subscription`",2
-118367804,2022-11-08 16:31:59.165,Add BE tracking to the subscription cancelation,"Add BE tracking to cancel subscription transaction.
-
-| Type | Description | Event Category | Event Label | Event Action |
-|------|-------------|----------|----------------|----------------|
-| Event | Cancel subscription transaction is successful | `SubscriptionsController` | `cancel_subscription_sm`/`cancel_subscription_saas` | `transaction_successful` |",2
-118258759,2022-11-07 11:17:44.652,Replace btn-gitlab with pajamas buttons,Replace the [`btn-gitlab` style](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/main/app/assets/stylesheets/components.scss#L8) with relevant classes from GitLab UI library.,1
-118258602,2022-11-07 11:14:42.170,Eliminate dead code in pages.scss,Out `pages.scss` contains some dead code (leftovers) like `.gitlab-com-notification` or `plan-info`. This issue is about going through all root selectors and removing ones we don't use in our application.,1
-118258231,2022-11-07 11:08:38.125,Remove heading overrides,"
-
-### Problem
-
-Currently we override headings (h1, h2) styles in https://gitlab.com/gitlab-org/customers-gitlab-com/blob/main/app/assets/stylesheets/main.scss#L8 We need to remove these, add proper spacing anywhere if required.
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",1
-118203932,2022-11-05 20:59:51.258,Update CDot Storage purchase flow to behave like the one in gitlab.com,"### Problem
-
-It has been identified that CDot Storage purchase flow is [incompatible with the new Orders API](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4891#note_1141305264), due to some missing parameters in the Orders Preview API response to enable the user experience.
-
-Click to see a screenshot
-
-
-
-CDot Storage purchase flow is being used by customers purchasing Storage for their personal namespaces and [customers with no last name](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4891#note_1150817989).
-
-This issue is a blocker to completing https://gitlab.com/groups/gitlab-org/-/epics/8665+.
-
-For additional discussions about this issue, please see https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4891.
-
-
-### Proposal
-
-1. Update CDot Storage purchase flow to look like and behave like gitlab.com Storage purchase flow (reference in Emily's [comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4891#note_1141770681))
-1. CDot flow uses some variables that are not available once we transition to Orders API
-1. We want CDot flow not to use those variables, and one way to do it is to align it to gitlab.com flow (which doesn't use `unit_price` variable)
-
-Click to see a screenshot
-
-
- ",5
-118127982,2022-11-04 08:12:25.357,Old licenses unable to seat link due to missing zuora_subscription_name,"### Problem
-
-In 2021/03 [we started to add `zuora_subscription_name`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/2985/diffs#e4b267ec5ccedfebb4a6917d5f020bb4a4162d1b_83_83) when generating licenses.
-
-However the current seat link requires `zuora_subscription_name` for the purpose of finding `Order`. Therefore old licenses would fail to seat link.
-
-Example: https://sentry.gitlab.net/gitlab/customersgitlabcom/issues/3443377/events/119391762/
-
-~~This error counts towards our error budget.~~ Currently this cause 422 response and should not count as apdex failures.
-
-### Proposal
-
-Either of the following:
-
-1. Old licenses still has `subscription_id`. We can use that to either find Order directly, or find the subscription name.
-1. Or, we can make seat link skip these type of errors, so they won't count towards error budget. This may be preferable if we don't care about old license data too much, and they will be rarer as time goes by.
-
-### Result
-
-Old license can still seat link.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-118091441,2022-11-03 15:25:27.390,Whitespaces in contact email lead to validation error on customer creation,"### Problem
-
-While looking into failed `Provision` records (e.g. https://customers.gitlab.com/admin/provision/10708 or https://customers.gitlab.com/admin/provision/10853), it turned out that they were audited as failed because a `Customer` record could not be created. It could not be created due to the used email already existing in the system in a `Customer` record.
-
-The used workflow for the `Customer` record creation uses [FindOrCreateCustomerService](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/e9eaf1283947f750b763c9e179626f0bbb341284/app/services/find_or_create_customer_service.rb). This service first attempts to [find a `Customer` record](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/e9eaf1283947f750b763c9e179626f0bbb341284/app/services/find_or_create_customer_service.rb#L14) via email before [creating a new one](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/e9eaf1283947f750b763c9e179626f0bbb341284/app/services/find_or_create_customer_service.rb#L17) in case none was found. This doesn't add up with the error we are seeing though (since first no record was found but then on creation there suddenly was one). Looking closer into the used emails, it turns out that the two mentioned examples both have a `\t` (some kind of whitespaces) at the end of the email. While it's correct that no `Customer` record is found when looking for one by email, upon attempting to create one, I think devise will automatically strip the whitespace from the email ([code](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/e9eaf1283947f750b763c9e179626f0bbb341284/config/initializers/devise.rb#L56)). Which explains why the email already exists error shows up at that step.
-
-### Proposal
-
-Strip any whitespaces before looking for a `Customer` record by email in the `FindOrCreateCustomerService` ([code](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/e9eaf1283947f750b763c9e179626f0bbb341284/app/services/find_or_create_customer_service.rb#L45)).
-
-### Result
-
-Stripping the whitespace before the lookup will find the already existing `Customer` record and any workflow that is supposed to be executed along with this logic will succeed and not fail anymore.",1
-117986550,2022-11-02 08:28:37.491,"Follow-up from ""Use orders api in order preview graphql resolver""","The following discussion from !5701 should be addressed:
-
-- [x] @tvellishetty started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5701#note_1156798990): (+2 comments)
-
- > That seems to be a fairly new change in AmendSubscriptionService, do you think we should consider doing the same in AmendmentManagerService instead of accepting a customer param?
-
-# Proposal
-
-use `subscription.sold_to_customer` in `AmendmentManagerService` instead of accepting a customer param to be consistent with `AmendSubscriptionService`",2
-117767305,2022-10-28 17:12:06.748,Update Subject Line of SaaS Provisioning Email for more obvious CTA,"
-
-### Problem
-Currently the SaaS provisioning subject line does not make it obvious that action needs to be taken.
-
-A change in subject line was first proposed in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5003, but this issue is expected to take a long time to deploy given it is blocked by https://gitlab.com/groups/gitlab-org/-/epics/8941.
-
-### Proposal
-
-Update the subject line of the SaaS Provisioning email from `[GitLab Transactions] Thanks for purchasing our GitLab.com hosted plan!` to `[GitLab Transactions] Set up your new subscription to get started`.
-
-
-
-### Result
-Email contains a more obvious CTA, customers know they need to open the email.
-
-### Availability & Testing
-
-
-
-If we do not have one already, we should consider adding a Mailer spec to validate this subject text.
-
-```ruby
-expect(mailer.subject).to eq('[GitLab Transactions] Set up your new subscription to get started')
-```",1
-117728815,2022-10-28 07:41:08.427,[Reseller] Hide `Buy new subscription` button for customers who have purchased subscription through reseller,"
-
-### Problem
-For customers who have purchased subscriptions through resellers, we should hide the ""Buy new subscription"" button.
-
-
-
-Note: Subscription management buttons will be hidden for reseller subscriptions in this issue - https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4946. In the current issue we need to tackle hiding the `Buy new subscription` button.
-
-### Proposal
-
-1. If a customer has an active subscription that was purchased via a Reseller, they **should not be able** to buy a new subscription.
- * Add 30 days to the SubscriptionEndDate of `Active (reseller) subscription` to account for the renewal term
- * 30 days is based on https://about.gitlab.com/handbook/sales/field-operations/order-processing/#late-renewals
-1. If a customer purchased via a reseller in the past, and no longer has an active (reseller) subscription, they **should be able** to buy a new subscription.
-
-### Implementation
-| MR | Description |
-| ------ | ------ |
-| https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5925 | Add `managed_by_reseller` attribute to subscription presenter output |
-| https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5926 | Hide `Buy new subscription` button if any of the subscriptions have `managed_by_reseller` true |
-
-### Result
-
-### Next steps (if any)
-
-- [x] @tgolubeva: Respond to https://gitlab.com/gitlab-com/support/ticket-attention-requests/-/issues/3095#note_1166598959 once this issue is closed.
-
-### How will we measure success?",2
-117728333,2022-10-28 07:34:29.373,[Testing] Use of Orders API in Order Preview GraphQL endpoint,"### Problem
-
-This issue is to track the verification process to enable the use of [Use of Orders API in Order Preview GraphQL endpoint](https://gitlab.com/groups/gitlab-org/-/epics/9118).
-
-**Associated FF:** [`use_orders_api_in_preview_graphql_resolver`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5068)
-
-### Testing scenarios
-| Scenario | Steps | Expected result | Pass? (Staging environment) | Notes |
-|----------|-------|-----------------|-----------------------------|-------|
-| Preview storage purchase in Gitlab | 1. In Gitlab open an existing group with a paid plan or create a one.
2. Navigate to Group > Settings > Usage Quotas > Storage tab
3. Click on Purchase more storage | We should see the correct prorated ""Total"" in the UI | yes | |
-
-### Result
-
-### Next steps (if any)",1
-117728046,2022-10-28 07:31:15.873,[Feature Flag] Enable use_orders_api_in_preview_graphql_resolver - Order Preview GraphQL endpoint,"
-
-# Summary
-
-
-
-This issue is to rollout [Use of Orders API in Order Preview GraphQL endpoint](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5024) on CustomersDot production,
-that is currently behind the [`use_orders_api_in_preview_graphql_resolver`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/177/edit) feature flag.
-
-## Owners
-
-- Team: Fulfillment Platform
-- Most appropriate Slack channel to reach out to: `#g_fulfillment_platform`
-- Best individual to reach out to: @tvellishetty
-- PM: GITLAB_HANDLE
-
-## Stakeholders
-
-
-
-## The Rollout Plan
-
-- Partial Rollout with specific Customers on CustomersDot, [via Unleash](https://docs.gitlab.com/ee/operations/feature_flags.html#user-ids)
-- Rollout on CustomersDot for a certain period (How long)
-- Percentage Rollout on CustomersDot
-- Rollout Feature for everyone as soon as it's ready
-
-
-
-## Testing User/Customer IDs
-
-
-
-## Expectations
-
-### What are we expecting to happen?
-
-
-
-### What might happen if this goes wrong?
-
-
-
-### What can we monitor to detect problems with this?
-
-
-
-## Rollout Steps
-
-### Rollout on non-production environments
-
-- [x] Ensure that the feature MRs have been deployed to non-production environments, i.e. `customers-staging`.
-- [x] Consider announcing that the flag will be enabled to potentially impacted groups, e.g. `#s_fulfillment_engineering`
-- [x] Enable the feature globally on non-production environments by applying the appropriate environment, e.g. `customers-staging` and `customers-development`.
-- [x] Notify the Software Engineers in Test (SETs) for Fulfillment via Slack and in a comment in this issue when enabling a feature flag in `customers-staging` as it can impact the QA pipeline.
-- [x] Verify that the feature works as expected. Posting the QA result in this issue is preferable.
-
-### Preparation before production rollout
-
-- [x] Ensure that the feature MRs have been deployed to production
-- [ ] Check if the feature flag change needs to be accompanied with a
- [change management issue](https://about.gitlab.com/handbook/engineering/infrastructure/change-management/#feature-flags-and-the-change-management-process).
- Cross link the issue here if it does.
-- [x] Ensure that you or a representative in Fulfillment can be available for at least 2 hours after feature flag updates in production.
- If a different developer will be covering, or an exception is needed, please inform the Fulfillment team in #s_fulfillment_engineering
-- [x] Ensure any documentation has been updated
-- [ ] Announce on [the feature issue](ISSUE LINK) an estimated time this will be enabled on production if applicable
-- [ ] If the feature might impact the user experience, notify `#s_fulfillment` and potentially `#support_gitlab-com`, as well as your team channel ([more guidance when this is necessary in the dev docs](https://docs.gitlab.com/ee/development/feature_flags/controls.html#communicate-the-change)).
-
-### Global rollout on CustomersDot production
-
-- [x] Confirm the feature flag is enabled on `staging` without incident
-- [ ] Roll out the feature to targeted testing users first (if applicable)
-- [ ] If applicable, [incrementally roll out](https://docs.gitlab.com/ee/operations/feature_flags.html#percent-rollout) the feature.
-- [ ] Verify the change has the desired outcome with the limited rollout before enabling the feature globally on production.
-- [x] Enable the feature globally on production environment
-- [x] Announce on [the feature issue](ISSUE LINK) that the feature has been globally enabled.
-- [ ] Wait for [at least one day for the verification term](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release).
-
-### Release the feature
-
-After the feature has been [deemed stable](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release),
-the clean up should be done as soon as possible to permanently enable the feature and reduce complexity in the codebase.
-
-
-- [ ] Create a merge request to remove `` feature flag
- - [ ] Remove all references to the feature flag from the codebase
-- [ ] Ensure that the cleanup MR has been deployed to both staging and production
-- [ ] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Ensure production environment is still working as expected
-- [ ] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Close this rollout issue.
-
-## Rollback Steps
-
-- [ ] This feature can be disabled by performing the following actions:
- - [ ] Disable the Unleash flag on the [feature flag page](LINK TO THE FEATURE FLAG EDIT PAGE)",1
-117726253,2022-10-28 07:21:27.181,[Testing] Auto renewal preview using Orders API,"### Problem
-
-This issue is to track the verification process to enable the use of [Using Orders API when previewing ineligibility for auto renewal notification AND upcoming auto renewal notification job](https://gitlab.com/groups/gitlab-org/-/epics/9047).
-
-**Associated FF:** [`use_orders_api_preview_in_upcoming_saas_mailer`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5070)
-
-### Testing scenarios
-| Scenario | Steps | Expected result | Pass? (Staging environment) | Notes |
-|----------|-------|-----------------|-----------------------------|-------|
-| Upcoming auto renewal notification | 1. Start the GDK, CustomersDot and ZSim if testing in local
2. Create a subscription in Zuora that has a term end date next week (set order date to last year + 1 week)
3. Change linked namespace to a group in gitlab
4. Wait for the order to sync, then find the order in the console `order = Order.last`
5. Run `AutoRenew::SendUpcomingNotificationService.new(order: order).execute` from the console | Sends the notification email stating card will be charged | yes | |
-| Ineligibility for auto renewal notification | follow till step 4. from above
5. Turn of autopay for zuora customer
6. set `eligibility_response = ServiceResponse.error(message: 'Ineligible for custom auto renew',payload: { reasons: [:auto_pay_disabled], order_id: order.id })`
7. run `AutoRenew::SendIneligibleForUpcomingRenewalNotificationService.new(order: order, eligibility_response: eligibility_response).execute` | Sends the notification email stating invoice will be sent | yes | Workflow might no longer be in use.
`enable_sales_assisted_autorenew` ff is enabled in prod so required condition `:auto_pay_disabled` [will not be satisfied](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/app/services/auto_renew/eligibility_service.rb#L79).
Manually creating response and testing this to make sure there's no regression if the ff is turned off |
-
-### Result
-
-### Next steps (if any)",2
-117726196,2022-10-28 07:21:11.583,[Feature Flag] Enable use_orders_api_preview_in_upcoming_saas_mailer - Auto renewal preview,"
-
-# Summary
-
-
-
-This issue is to rollout [Using Orders API when previewing ineligibility for auto renewal notification AND upcoming auto renewal notification job](https://gitlab.com/groups/gitlab-org/-/epics/9047) on CustomersDot production,
-that is currently behind the [`use_orders_api_preview_in_upcoming_saas_mailer`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/174/edit) feature flag.
-
-## Owners
-
-- Team: Fulfillment Platform
-- Most appropriate Slack channel to reach out to: `#g_fulfillment_platform`
-- Best individual to reach out to: @tvellishetty
-- PM: GITLAB_HANDLE
-
-## Stakeholders
-
-
-
-## The Rollout Plan
-
-- Partial Rollout with specific Customers on CustomersDot, [via Unleash](https://docs.gitlab.com/ee/operations/feature_flags.html#user-ids)
-- Rollout on CustomersDot for a certain period (How long)
-- Percentage Rollout on CustomersDot
-- Rollout Feature for everyone as soon as it's ready
-
-
-
-## Testing User/Customer IDs
-
-
-
-## Expectations
-
-### What are we expecting to happen?
-
-
-
-### What might happen if this goes wrong?
-
-
-
-### What can we monitor to detect problems with this?
-
-
-
-## Rollout Steps
-
-### Rollout on non-production environments
-
-- [x] Ensure that the feature MRs have been deployed to non-production environments, i.e. `customers-staging`.
-- [ ] Consider announcing that the flag will be enabled to potentially impacted groups, e.g. `#s_fulfillment_engineering`
-- [x] Enable the feature globally on non-production environments by applying the appropriate environment, e.g. `customers-staging` and `customers-development`.
-- [x] Notify the Software Engineers in Test (SETs) for Fulfillment via Slack and in a comment in this issue when enabling a feature flag in `customers-staging` as it can impact the QA pipeline.
-- [ ] Verify that the feature works as expected. Posting the QA result in this issue is preferable.
-
-### Preparation before production rollout
-
-- [x] Ensure that the feature MRs have been deployed to production
-- [ ] Check if the feature flag change needs to be accompanied with a
- [change management issue](https://about.gitlab.com/handbook/engineering/infrastructure/change-management/#feature-flags-and-the-change-management-process).
- Cross link the issue here if it does.
-- [x] Ensure that you or a representative in Fulfillment can be available for at least 2 hours after feature flag updates in production.
- If a different developer will be covering, or an exception is needed, please inform the Fulfillment team in #s_fulfillment_engineering
-- [ ] Ensure any documentation has been updated
-- [x] Announce on [the feature issue](ISSUE LINK) an estimated time this will be enabled on production if applicable
-- [ ] If the feature might impact the user experience, notify `#s_fulfillment` and potentially `#support_gitlab-com`, as well as your team channel ([more guidance when this is necessary in the dev docs](https://docs.gitlab.com/ee/development/feature_flags/controls.html#communicate-the-change)).
-
-### Global rollout on CustomersDot production
-
-- [x] Confirm the feature flag is enabled on `staging` without incident
-- [ ] Roll out the feature to targeted testing users first (if applicable)
-- [ ] If applicable, [incrementally roll out](https://docs.gitlab.com/ee/operations/feature_flags.html#percent-rollout) the feature.
-- [ ] Verify the change has the desired outcome with the limited rollout before enabling the feature globally on production.
-- [x] Enable the feature globally on production environment
-- [x] Announce on [the feature issue](ISSUE LINK) that the feature has been globally enabled.
-- [ ] Wait for [at least one day for the verification term](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release).
-
-### Release the feature
-
-After the feature has been [deemed stable](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release),
-the clean up should be done as soon as possible to permanently enable the feature and reduce complexity in the codebase.
-
-
-- [ ] Create a merge request to remove `` feature flag
- - [ ] Remove all references to the feature flag from the codebase
-- [ ] Ensure that the cleanup MR has been deployed to both staging and production
-- [ ] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Ensure production environment is still working as expected
-- [ ] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Close this rollout issue.
-
-## Rollback Steps
-
-- [ ] This feature can be disabled by performing the following actions:
- - [ ] Disable the Unleash flag on the [feature flag page](LINK TO THE FEATURE FLAG EDIT PAGE)",1
-117725193,2022-10-28 07:14:31.414,[Testing] Preview reconciliation workflow using Orders API,"### Problem
-
-This issue is to track the verification process to enable the use of [Use of Orders API when sending email for upcoming reconciliation AND validating quoted invoice during reconciliation](https://gitlab.com/groups/gitlab-org/-/epics/9048).
-
-**Associated FF:** [`use_orders_api_to_preview_quoted_invoice_amount`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5068)
-
-### Testing scenarios
-| Scenario | Steps | Expected result | Pass? (Staging environment) | Notes |
-|----------|-------|-----------------|-----------------------------|-------|
-| Upcoming reconciliation email | 1. In Gitlab create a new group with 1 billable user.
2. Purchase a paid plan, with subscription quantity=1.
3. In customer dot rails console run
`order = Order.find_by_gl_namespace_id(group.id)`
`reconciliation = order.reconciliations.first`
`SendUpcomingReconciliationEmailJob.perform_now(reconciliation.id)` | Should receive an email regarding upcoming reconciliation | yes | |
-| Reconciliation | above steps +
4. In customer dot rails console run `ReconciliationService.new(reconciliation).execute` | Should send email regarding completed reconciliation and can see an amendment to the subscription in zuora | yes | |
-
-### Result
-
-### Next steps (if any)",1
-117724311,2022-10-28 07:07:27.381,[Feature Flag] Enable use_orders_api_to_preview_quoted_invoice_amount - Reconciliation preview,"
-
-# Summary
-
-
-
-This issue is to rollout [Use of Orders API when sending email for upcoming reconciliation AND validating quoted invoice during reconciliation](https://gitlab.com/groups/gitlab-org/-/epics/9048) on CustomersDot production,
-that is currently behind the [`use_orders_api_to_preview_quoted_invoice_amount`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/169/edit) feature flag.
-
-## Owners
-
-- Team: Fulfillment Platform
-- Most appropriate Slack channel to reach out to: `#g_fulfillment_platform`
-- Best individual to reach out to: @tvellishetty
-- PM: GITLAB_HANDLE
-
-## Stakeholders
-
-
-
-## The Rollout Plan
-
-- Partial Rollout with specific Customers on CustomersDot, [via Unleash](https://docs.gitlab.com/ee/operations/feature_flags.html#user-ids)
-- Rollout on CustomersDot for a certain period (How long)
-- Percentage Rollout on CustomersDot
-- Rollout Feature for everyone as soon as it's ready
-
-
-
-## Testing User/Customer IDs
-
-
-
-## Expectations
-
-### What are we expecting to happen?
-
-
-
-### What might happen if this goes wrong?
-
-
-
-### What can we monitor to detect problems with this?
-
-
-
-## Rollout Steps
-
-### Rollout on non-production environments
-
-- [x] Ensure that the feature MRs have been deployed to non-production environments, i.e. `customers-staging`.
-- [x] Consider announcing that the flag will be enabled to potentially impacted groups, e.g. `#s_fulfillment_engineering`
-- [x] Enable the feature globally on non-production environments by applying the appropriate environment, e.g. `customers-staging` and `customers-development`.
-- [x] Notify the Software Engineers in Test (SETs) for Fulfillment via Slack and in a comment in this issue when enabling a feature flag in `customers-staging` as it can impact the QA pipeline.
-- [x] Verify that the feature works as expected. Posting the QA result in this issue is preferable.
-
-### Preparation before production rollout
-
-- [x] Ensure that the feature MRs have been deployed to production
-- [ ] Check if the feature flag change needs to be accompanied with a
- [change management issue](https://about.gitlab.com/handbook/engineering/infrastructure/change-management/#feature-flags-and-the-change-management-process).
- Cross link the issue here if it does.
-- [x] Ensure that you or a representative in Fulfillment can be available for at least 2 hours after feature flag updates in production.
- If a different developer will be covering, or an exception is needed, please inform the Fulfillment team in #s_fulfillment_engineering
-- [x] Ensure any documentation has been updated
-- [ ] Announce on [the feature issue](ISSUE LINK) an estimated time this will be enabled on production if applicable
-- [ ] If the feature might impact the user experience, notify `#s_fulfillment` and potentially `#support_gitlab-com`, as well as your team channel ([more guidance when this is necessary in the dev docs](https://docs.gitlab.com/ee/development/feature_flags/controls.html#communicate-the-change)).
-
-### Global rollout on CustomersDot production
-
-- [x] Confirm the feature flag is enabled on `staging` without incident
-- [ ] Roll out the feature to targeted testing users first (if applicable)
-- [ ] If applicable, [incrementally roll out](https://docs.gitlab.com/ee/operations/feature_flags.html#percent-rollout) the feature.
-- [ ] Verify the change has the desired outcome with the limited rollout before enabling the feature globally on production.
-- [x] Enable the feature globally on production environment
-- [x] Announce on [the feature issue](ISSUE LINK) that the feature has been globally enabled.
-- [ ] Wait for [at least one day for the verification term](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release).
-
-### Release the feature
-
-After the feature has been [deemed stable](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release),
-the clean up should be done as soon as possible to permanently enable the feature and reduce complexity in the codebase.
-
-
-- [ ] Create a merge request to remove `` feature flag
- - [ ] Remove all references to the feature flag from the codebase
-- [ ] Ensure that the cleanup MR has been deployed to both staging and production
-- [ ] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Ensure production environment is still working as expected
-- [ ] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Close this rollout issue.
-
-## Rollback Steps
-
-- [ ] This feature can be disabled by performing the following actions:
- - [ ] Disable the Unleash flag on the [feature flag page](LINK TO THE FEATURE FLAG EDIT PAGE)",2
-117724130,2022-10-28 07:02:44.342,[Testing] Reconciliation workflow using Orders API,"### Problem
-
-This issue is to track the verification process to enable the use of 'Orders API in Reconciliation workflow'.
-
-**Associated FF:** [`use_orders_api_reconciliation_workflow`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5066)
-
-### Testing scenarios
-| Scenario | Steps | Pass? (Staging environment) with links | Expected result |
-|----------|-------|-----------------|-----------------------------|
-| Reconciliation of Self-managed subscription | 1. Register a new user: asubramanian+qsrtest@gitlab.com
2. Purchase Self managed Ultimate license for 20 (or any qty) users
3. Modify reconciliation entry for the new order by updating the user count to new greater number (e.g. 22) `reconciliation.update!(user_count: 22)`
4. Set turn_on_cloud_licensing__c to Yes `order.z_subscription.update(turn_on_cloud_licensing__c: 'Yes')`
5. `SendUpcomingReconciliationEmailJob.perform_now(reconciliation.id)`
Invoke reconciliation service `ReconciliationService.new(reconciliation.reload).execute` | :white_check_mark:
- [Zuora subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa2a584f77d4e0184f91c0d402966)
- [Zuora order](https://test.zuora.com/orders#/view/O-00167928)
- [Zuora Invoice](https://test.zuora.com/apps/NewInvoice.do?method=view&invoiceKey=8a8aa2a584f77d4e0184f91c0e90297a&flag=1)
- [SalesForce opportunity](https://gitlab--staging.sandbox.my.salesforce.com/00674000004nnAX)
- [Quote for Opportunity 00674000004nnAXAAY](https://gitlab--staging.sandbox.my.salesforce.com/a1j74000000LGWz?srPos=1&srKp=a1j) | 1. Once the upcoming reconciliation email is triggered, verify QSR opportunity is created in SalesForce.
2. After reconciliation:
- verify seat count is updated
- Order description is set to `Automated seat reconciliation`
- `GeneratedByProcess__c` custom field in invoice is set to `Automated seat reconciliation` |
-| Reconciliation of SaaS subscription | 1. Register a new user: asubramanian+orderssaasqsr@gitlab.com
2. Purchase Self managed Ultimate license for 1 (or any qty) user
3. Add new user to the group and refresh seats
4. Set turn_on_cloud_licensing__c to Yes `order.z_subscription.update(turn_on_cloud_licensing__c: 'Yes')`
5. `SendUpcomingReconciliationEmailJob.perform_now(reconciliation.id)`.
Invoke reconciliation service `ReconciliationService.new(reconciliation.reload).execute` | :white_check_mark:
- [Zuora subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa35084f77d59018507a509c218b9)
- [Zuora order](https://test.zuora.com/orders#/view/O-00168635)
- [Zuora Invoice](https://test.zuora.com/apps/NewInvoice.do?method=view&invoiceKey=8a8aa35084f77d59018507a50b2918d4&flag=1)
- [SalesForce opportunity](https://gitlab--staging.sandbox.my.salesforce.com/00674000004npv4AAA)
- [Quote for Opportunity 00674000004nnAXAAY](https://gitlab--staging.sandbox.my.salesforce.com/a1j74000000LHCS) | 1. Once the upcoming reconciliation email is triggered, verify QSR opportunity is created in SalesForce.
2. After reconciliation:
- verify seat count is updated
- Order description is set to `Automated seat reconciliation`
- `GeneratedByProcess__c` custom field in invoice is set to `Automated seat reconciliation` |
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-117724067,2022-10-28 07:00:41.233,[Feature flag] Enable use_orders_api_reconciliation_workflow - Reconciliation,"
-
-# Summary
-
-
-
-This issue is to rollout [Transition Reconciliation (QSR) workflow to use Orders API](https://gitlab.com/groups/gitlab-org/-/epics/9048) on CustomersDot production,
-that is currently behind the [`use_orders_api_reconciliation_workflow`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/173/edit) feature flag.
-
-## Owners
-
-- Team: Fulfillment Platform
-- Most appropriate Slack channel to reach out to: `#g_fulfillment_platform`
-- Best individual to reach out to: @aish.sub
-- PM: @tgolubeva @mgass1
-
-## Stakeholders
-
-
-
-## The Rollout Plan
-
-- Partial Rollout with specific Customers on CustomersDot, [via Unleash](https://docs.gitlab.com/ee/operations/feature_flags.html#user-ids)
-- Rollout on CustomersDot for a certain period (How long)
-- Percentage Rollout on CustomersDot
-- Rollout Feature for everyone as soon as it's ready
-
-
-
-## Testing User/Customer IDs
-
-
-
-## Expectations
-
-### What are we expecting to happen?
-
-
-
-### What might happen if this goes wrong?
-
-
-
-### What can we monitor to detect problems with this?
-
-
-
-## Rollout Steps
-
-### Rollout on non-production environments
-
-- [x] Ensure that the feature MRs have been deployed to non-production environments, i.e. `customers-staging`.
-- [x] Consider announcing that the flag will be enabled to potentially impacted groups, e.g. `#s_fulfillment_engineering`
-- [x] Enable the feature globally on non-production environments by applying the appropriate environment, e.g. `customers-staging` and `customers-development`.
-- [x] Notify the Software Engineers in Test (SETs) for Fulfillment via Slack and in a comment in this issue when enabling a feature flag in `customers-staging` as it can impact the QA pipeline.
-- [x] Verify that the feature works as expected. Posting the QA result in this issue is preferable.: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5067
-
-### Preparation before production rollout
-
-- [x] Ensure that the feature MRs have been deployed to production
-- [ ] Check if the feature flag change needs to be accompanied with a
- [change management issue](https://about.gitlab.com/handbook/engineering/infrastructure/change-management/#feature-flags-and-the-change-management-process).
- Cross link the issue here if it does.
-- [x] Ensure that you or a representative in Fulfillment can be available for at least 2 hours after feature flag updates in production.
- If a different developer will be covering, or an exception is needed, please inform the Fulfillment team in #s_fulfillment_engineering
-- [ ] Ensure any documentation has been updated
-- [x] Announce on [the feature issue](ISSUE LINK) an estimated time this will be enabled on production if applicable
-- [ ] If the feature might impact the user experience, notify `#s_fulfillment` and potentially `#support_gitlab-com`, as well as your team channel ([more guidance when this is necessary in the dev docs](https://docs.gitlab.com/ee/development/feature_flags/controls.html#communicate-the-change)).
-
-### Global rollout on CustomersDot production
-
-- [x] Confirm the feature flag is enabled on `staging` without incident
-- [ ] Roll out the feature to targeted testing users first (if applicable)
-- [ ] If applicable, [incrementally roll out](https://docs.gitlab.com/ee/operations/feature_flags.html#percent-rollout) the feature.
-- [ ] Verify the change has the desired outcome with the limited rollout before enabling the feature globally on production.
-- [ ] Enable the feature globally on production environment
-- [ ] Announce on [the feature issue](ISSUE LINK) that the feature has been globally enabled.
-- [ ] Wait for [at least one day for the verification term](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release).
-
-### Release the feature
-
-After the feature has been [deemed stable](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release),
-the clean up should be done as soon as possible to permanently enable the feature and reduce complexity in the codebase.
-
-
-- [ ] Create a merge request to remove `` feature flag
- - [ ] Remove all references to the feature flag from the codebase
-- [ ] Ensure that the cleanup MR has been deployed to both staging and production
-- [ ] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Ensure production environment is still working as expected
-- [ ] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Close this rollout issue.
-
-## Rollback Steps
-
-- [ ] This feature can be disabled by performing the following actions:
- - [ ] Disable the Unleash flag on the [feature flag page](LINK TO THE FEATURE FLAG EDIT PAGE)
-
-### Availability & Testing
-
-
-
-Ensure regular runs of end-to-end tests (`qa-only:self-managed`, `qa-only:saas`) in MR phases of this Feature Flag rollout. Ensure end-to-end tests pass.",1
-117723855,2022-10-28 06:54:31.570,[Testing] Auto renewal workflow using Orders API,"### Problem
-
-This issue is to track the verification process to enable the use of 'Orders API in Auto renewal workflow'.
-
-**Associated FF:** [`use_orders_api_auto_renew_workflow`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5064)
-
-### Testing scenarios
-| Scenario | Steps | Expected result | Pass? (Staging environment) | Notes |
-|----------|-------|-----------------|-----------------------------|-------|
-| Auto renewing SaaS subscription | Create a SaaS subscription with the [subscription terms](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5065#subscription-terms) listed and fulfills [eligibility criteria](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5065#eligibility-criteria-based-on-autoreneweligibilityservice)
| - Subscription renews for 1 year
- `order.description` in Zuora is set to `AutoRenew by CustomersDot`
- Payment is processed using default payment method
- Sets `invoice.GeneratedByProcess` custom field to `AutoRenew by CustomersDot`
- Quantity equals namespace billable count
**SalesForce verification**: The subscription generates Zuora Order with action types `RenewSubscription` and `UpdateProduct`. This should generate 1 Quote Amendment, 1 Quote Rate Plan and 1 Quote Rate Plan Charge each for the order action types. | :white_check_mark:
- [Verification walkthrough video](https://drive.google.com/file/d/1UonG1pPtovu5eC5EGvnJwpm1xQuIBC4w/view?usp=share_link)
- [Example subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa1b484ea9cec0184eecd7af24825)
[Example SalesForce Quote](https://gitlab--staging.sandbox.my.salesforce.com/a1j74000000LFEk) | **Test setup**
[Payload to create a subscription due for Auto renewal snippet](https://gitlab.com/gitlab-org/customers-gitlab-com/-/snippets/2469063). Replace values as appropriate. |
-| Auto renewing self managed subscription | - Create a self-managed subscription with the [subscription terms](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5065#subscription-terms) listed and fulfills [eligibility criteria](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5065#eligibility-criteria-based-on-autoreneweligibilityservice)
- Create `reconciliation` record that reconciles 3 months prior to order `end_date`, and has `reconciled_on` set. | - Subscription renews for 1 year
- `order.description` in Zuora is set to `AutoRenew by CustomersDot`
- Payment is processed using default payment method
- Sets `invoice.GeneratedByProcess` custom field to `AutoRenew by CustomersDot`
- Quantity equals subscription's total quantity
**SalesForce verification**: The subscription generates Zuora Order with action types `RenewSubscription`. This should generate 1 Quote Amendment, 1 Quote Rate Plan and 1 Quote Rate Plan Charge each for the order action types. | :white_check_mark:
[Verification walkthrough video](https://drive.google.com/file/d/1MePcr8R-43zIBTRKmV6ASBUzCvepg-r9/view?usp=share_link)
[Example subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa2ad84eaaa1e0184ef57f08b65e2)
[Example SalesForce Quote](https://gitlab--staging.sandbox.my.salesforce.com/a1j74000000LFF9?srPos=1&srKp=a1j) | **Test setup**
[Payload to create a subscription due for Auto renewal snippet](https://gitlab.com/gitlab-org/customers-gitlab-com/-/snippets/2469063). Replace values as appropriate. |
-
-**Note**: Additional testing scenarios can be found in [this comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5065#note_1202037801).
-
-### Subscription terms
-
-- `TermEndDate` is either `today (t)` or `t-1`
-- `TurnOnAutoRenew__c` set to `Yes`
- Status is `Active`
-- Renew count is greater than 0
-
-
-#### Eligibility criteria (based on [AutoRenew::EligibilityService](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/f24d2263af46165e290c65fc1d478fe091a350a9/app/services/auto_renew/eligibility_service.rb#L22))
-
-- If EoA starter / bronze is accepted, the subscription should not have multiple main products
-- Subscription should not be an add-only only subscription
-- `customer` is present in `order`
-- For self-managed subscription, ensure `sm_auto_renew_enabled` is enabled AND cloud license is enabled for subscription
-- Default payment method is valid
-- Last reconciliation was successful
-- No renewal errors present
-- Auto pay is enabled
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-117723779,2022-10-28 06:52:05.947,[Feature flag] Enable use_orders_api_auto_renew_workflow - Auto Renewal,"
-
-# Summary
-
-
-
-This issue is to rollout [Transition Auto renewal workflow to use Orders API
-](https://gitlab.com/groups/gitlab-org/-/epics/9047) on CustomersDot production,
-that is currently behind the [`use_orders_api_auto_renew_workflow`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/168/edit) feature flag.
-
-## Owners
-
-- Team: Fulfillment Platform
-- Most appropriate Slack channel to reach out to: `#g_fulfillment_platform`
-- Best individual to reach out to: @aish.sub
-- PM: @tgolubeva @mgass1
-
-## Stakeholders
-
-
-
-## The Rollout Plan
-
-- Partial Rollout with specific Customers on CustomersDot, [via Unleash](https://docs.gitlab.com/ee/operations/feature_flags.html#user-ids)
-- Rollout on CustomersDot for a certain period (How long)
-- Percentage Rollout on CustomersDot
-- Rollout Feature for everyone as soon as it's ready
-
-
-
-## Testing User/Customer IDs
-
-
-
-## Expectations
-
-### What are we expecting to happen?
-
-
-
-### What might happen if this goes wrong?
-
-
-
-### What can we monitor to detect problems with this?
-
-
-
-## Rollout Steps
-
-### Rollout on non-production environments
-
-- [x] Ensure that the feature MRs have been deployed to non-production environments, i.e. `customers-staging`.
-- [x] Consider announcing that the flag will be enabled to potentially impacted groups, e.g. `#s_fulfillment_engineering`
-- [x] Enable the feature globally on non-production environments by applying the appropriate environment, e.g. `customers-staging` and `customers-development`.
-- [x] Notify the Software Engineers in Test (SETs) for Fulfillment via Slack and in a comment in this issue when enabling a feature flag in `customers-staging` as it can impact the QA pipeline.
-- [x] Verify that the feature works as expected. Posting the QA result in this issue is preferable.
-
-### Preparation before production rollout
-
-- [x] Ensure that the feature MRs have been deployed to production
-- [ ] Check if the feature flag change needs to be accompanied with a
- [change management issue](https://about.gitlab.com/handbook/engineering/infrastructure/change-management/#feature-flags-and-the-change-management-process).
- Cross link the issue here if it does.
-- [x] Ensure that you or a representative in Fulfillment can be available for at least 2 hours after feature flag updates in production.
- If a different developer will be covering, or an exception is needed, please inform the Fulfillment team in #s_fulfillment_engineering
-- [ ] Ensure any documentation has been updated
-- [ ] Announce on [the feature issue](ISSUE LINK) an estimated time this will be enabled on production if applicable
-- [ ] If the feature might impact the user experience, notify `#s_fulfillment` and potentially `#support_gitlab-com`, as well as your team channel ([more guidance when this is necessary in the dev docs](https://docs.gitlab.com/ee/development/feature_flags/controls.html#communicate-the-change)).
-
-### Global rollout on CustomersDot production
-
-- [x] Confirm the feature flag is enabled on `staging` without incident
-- [ ] Roll out the feature to targeted testing users first (if applicable)
-- [ ] If applicable, [incrementally roll out](https://docs.gitlab.com/ee/operations/feature_flags.html#percent-rollout) the feature.
-- [ ] Verify the change has the desired outcome with the limited rollout before enabling the feature globally on production.
-- [ ] Enable the feature globally on production environment
-- [ ] Announce on [the feature issue](ISSUE LINK) that the feature has been globally enabled.
-- [ ] Wait for [at least one day for the verification term](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release).
-
-### Release the feature
-
-After the feature has been [deemed stable](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release),
-the clean up should be done as soon as possible to permanently enable the feature and reduce complexity in the codebase.
-
-
-- [ ] Create a merge request to remove `` feature flag
- - [ ] Remove all references to the feature flag from the codebase
-- [ ] Ensure that the cleanup MR has been deployed to both staging and production
-- [ ] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Ensure production environment is still working as expected
-- [ ] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Close this rollout issue.
-
-## Rollback Steps
-
-- [ ] This feature can be disabled by performing the following actions:
- - [ ] Disable the Unleash flag on the [feature flag page](LINK TO THE FEATURE FLAG EDIT PAGE)",1
-117723503,2022-10-28 06:43:11.320,[Testing] Preview subscription update workflow using Orders API,"### Problem
-
-This issue is to track the verification process to enable the use of 'Orders API in Subscription Upgrade workflow'.
-
-**Associated FF:** [`use_orders_api_to_preview_amendment`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4774)
-
-### Testing scenarios
-| Scenario | Steps | Expected result | Pass? (Staging environment) | Notes |
-|----------|-------|-----------------|-----------------------------|-------|
-| 1. Purchase additional seats | 1. Go to manage purchases
2. Choose an active subscription or create one
3. Click on Add more seats | Values match when ff is on and off | :white_check_mark: Verified. https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5063#note_1207670522. | |
-| 2. CI minutes purchase from customers app | 1. Go to manage purchases
2. Choose an active subscription or create one
3. Click on Buy more CI minutes | Values match when ff is on and off | :white_check_mark: Verified. https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5063#note_1207693427 | |
-| ~CI minutes purchase from Gitlab app~ | | | | N/A. Doesn't use amendments, fetches plans data via graphql. |
-| 3. Storage purchase from customers app | 1. Go to manage purchases
2. Choose an active subscription or create one
3. Click on Buy more storage | Values match when ff is on and off | :white_check_mark: Verified. https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5063#note_1207697540 | |
-| ~Storage purchase from Gitlab app~ | | | | N/A. Covered in preview graphql scenario|
-| 4. Renew without upgrade | 1. Go to manage purchases
2. Choose an active subscription thats up for renewal or create a subscription with activation date in the past via the API
3. Click on Renew | Values match when ff is on and off | :white_check_mark: Verified. https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5063#note_1208808134 | |
-| 5. Renew with upgrade | 1. Go to manage purchases
2. Choose an active subscription thats up for renewal or create a subscription with activation date in the past via the API
3. Click on Renew
4. On renewal page change plan to Ultimate | Values match when ff is on and off | :white_check_mark: Verified. https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5063#note_1208810015 | |
-| 6. Renew with purchase of true ups | 1. Go to manage purchases
2. Choose an active subscription thats up for renewal or create a subscription with activation date in the past via the API
3. Click on Renew
4. On renewal page add additional seats | Values match when ff is on and off | :white_check_mark: Verified. https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5063#note_1208813697 | |
-| 7. Renew with purchase of true ups and upgrade | 1. Go to manage purchases
2. Choose an active subscription thats up for renewal or create a subscription with activation date in the past via the API
3. Click on Renew
4. On renewal page add additional seats and upgrade option | Values match when ff is on and off | :white_check_mark: Verified. https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5063#note_1208814642 | |
-| 8. Change namespace to group with insufficient seats | 1. Go to manage purchases
2. Choose an active gitlab.com subscription
3. Click on Change namespace
4. In the change namespace screen choose a group that is using more seats than the current one | Values match when ff is on and off | :white_check_mark: Verified. https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5063#note_1208815854 | |
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-117723497,2022-10-28 06:43:01.786,[Testing] Update subscription workflow using Orders API,"
-
-### Problem
-
-This issue is to track the verification process to enable the use of 'Orders API in Subscription Update workflow'.
-
-**Associated FF:** [`use_orders_api_subscription_update_workflow` ](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4775)
-
-### Testing scenarios
-
-
-
-|Scenario|Steps|Pass? (Staging environment) with links|Expected result|Notes|
-|---|---|---|---|---|
-| Add seats | 1. Purchase a SaaS or self-managed subscription
2. Access the subscription card in CDot
3. Select 'Add more seats'
4. Enter billing and quantity details. Click submit | :white_check_mark:
- [Zuora subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa38684f77d5401850917c88f443b)
- [Zuora Order](https://test.zuora.com/orders#/view/O-00169074)
- [SalesForce Opportunity](https://gitlab--staging.sandbox.my.salesforce.com/00674000004nr5r)
- [SalesForce Quote object](https://gitlab--staging.sandbox.my.salesforce.com/a1j74000000LHW3) | 1. Verify the new quantity is updated in Zuora and CDot.
2. Zuora Order with order action type: `UpdateProduct`
**SalesForce verification:**
- Opportunity is created
- Quote objects: 1 QA, 1 QRP and 1 QRPC for type `UpdateProduct` ||
-|Buy CI minutes (from CDot) | 1. Purchase a SaaS or self-managed subscription
2. Access the subscription card in CDot
3. Select 'Buy more CI minutes'
4. Enter billing and quantity details. Click submit | :white_check_mark:
- [Zuora subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa2a5850b398901850ca9350f4d59)
- [Zuora Order](https://test.zuora.com/orders#/view/O-00169926)
- [SalesForce opportunity](https://gitlab--staging.sandbox.my.salesforce.com/00674000004nswd)
- [SalesForce quote object](https://gitlab--staging.sandbox.my.salesforce.com/a1j74000000LIGO?srPos=0&srKp=a1j) | 1. Verify new version of subscription is created in Zuora with `AddProduct` type order action.
2. Verify the CI minute product was purchased with appropriate quantity. Invoice was generated and payment was processed.
**SalesForce verification:**
- Opportunity is created
- Quote objects: 1 QA, 1 QRP and 1 QRPC for type `NewProduct` ||
-|Buy CI minutes (from gitlab.com)| 1. Create a group and project (within in it) in dot com. Upgrade to Premium or Ultimate subscription
2. Navigate to `Usage Quotas`
3. Select `Pipelines` and click `Buy additional minutes`. Enter billing and quantity details. Click submit | :white_check_mark:
- [Zuora subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa13f850b2c3301850df39aeb18ac)
- [Zuora Order](https://test.zuora.com/orders#/view/O-00170212)
- [SalesForce opportunity](https://gitlab--staging.sandbox.my.salesforce.com/00674000004o57L)
- [SalesForce quote object](https://gitlab--staging.sandbox.my.salesforce.com/a1j74000000LIUB?srPos=0&srKp=a1j) |1. Verify new version of subscription is created in Zuora with `AddProduct` type order action.
2. Verify the CI minute product was purchased with appropriate quantity. Invoice was generated and payment was processed.
**SalesForce verification:**
- Opportunity is created
- Quote objects: 1 QA, 1 QRP and 1 QRPC for type `NewProduct`||
-|Buy additional storage (from CDot)|1. Purchase a SaaS or self-managed subscription
2. Access the subscription card in CDot
3. Select 'Buy more storage'
4. Enter billing and quantity details. Click submit|:white_check_mark:
- [Zuora subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa021850b2c3b01850df913ad2f17)
- [Zuora Order](https://test.zuora.com/orders#/view/O-00170213)
- [SalesForce opportunity](https://gitlab--staging.sandbox.my.salesforce.com/00674000004o57Q)
- [SalesForce quote object](https://gitlab--staging.sandbox.my.salesforce.com/a1j74000000LIUG?srPos=0&srKp=a1j) |1. Verify new version of subscription is created in Zuora with `AddProduct` type order action.
2. Verify the additional storage was purchased with appropriate quantity in CDot and gitlab.com. Invoice was generated and payment was processed.
**SalesForce verification:**
- Opportunity is created
- Quote objects: 1 QA, 1 QRP and 1 QRPC for type `NewProduct`|---|
-|Buy additional storage (from gitlab.com)|1. Create a group and project (within in it) in dot com. Upgrade to Premium or Ultimate subscription
2. Navigate to `Usage Quotas`
3. Select `Storage` and click `Purchase more storage`. Enter billing and quantity details. Click submit|:white_check_mark:
- [Zuora subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa13f850b2c3301850dfdf8f906f3)
- [Zuora Order](https://test.zuora.com/orders#/view/O-00170214)
- [SalesForce opportunity](https://gitlab--staging.sandbox.my.salesforce.com/00674000004o57f)
- [SalesForce quote object](https://gitlab--staging.sandbox.my.salesforce.com/a1j74000000LIUL?srPos=0&srKp=a1j)|1. Verify new version of subscription is created in Zuora with `AddProduct` type order action.
2. Verify the additional storage was purchased with appropriate quantity in CDot and gitlab.com. Invoice was generated and payment was processed.
**SalesForce verification:**
- Opportunity is created
- Quote objects: 1 QA, 1 QRP and 1 QRPC for type `NewProduct`|---|
-|Renewal only|1. Create a group in dot com. Purchase Premium/Ultimate subscription with end date in the last 3 days ([example request](https://gitlab.com/gitlab-org/customers-gitlab-com/-/snippets/2469063) to create subscription via API)
3. Access the subscription card in CDot
4. Select 'Renew', enter quantity same as existing quantity. Fill in the billing details. Submit the form.|:white_check_mark:
- [Zuora subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa2a5850fd41b018511dcf9d7129a)
- [Zuora Order](https://test.zuora.com/orders#/view/O-00170813)
- [SalesForce opportunity](https://gitlab--staging.sandbox.my.salesforce.com/00674000004peJZ)
- [SalesForce quote object](https://gitlab--staging.sandbox.my.salesforce.com/a1j74000000LIaJ?srPos=0&srKp=a1j) |1. Verify new version of subscription is created in Zuora with `RenewSubscription` order action type.
2. Verify the subscription is renewed, quantity is reflected in Zuora, CDot and dot com. Invoice is generated and payment is posted.
**SalesForce verification:**
- Opportunity is created
- Quote objects: 1 QA, 1 QRP and 1 QRPC for type `RenewSubscription`|---|
-|Renewal + Update|1. Create a group in dot com. Purchase Premium/Ultimate subscription with end date in the last 3 days ([example request](https://gitlab.com/gitlab-org/customers-gitlab-com/-/snippets/2469063) to create subscription via API)
3. Access the subscription card in CDot
4. Select 'Renew', fill in the billing and quantity details and submit. | :white_check_mark:
- [Zuora subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa2a5850fd41b018511b1563d3547)
- [Zuora Order](https://test.zuora.com/orders#/view/O-00170686)
- [SalesForce opportunity](https://gitlab--staging.sandbox.my.salesforce.com/00674000004peCO)
- [SalesForce quote object](https://gitlab--staging.sandbox.my.salesforce.com/a1j74000000LIUa?srPos=0&srKp=a1j) | 1. Verify new version of subscription is created in Zuora with `UpdateProduct` and `RenewSubscription` order action type.
2. Verify the subscription is renewed, quantity is updated in Zuora, CDot and dot com. Invoice is generated and payment is posted.
**SalesForce verification:**
- Opportunity is created
- Quote objects: 1 QA, 1 QRP and 1 QRPC for type `UpdateProduct` and `RenewSubscription` |
-|Renewal + Upgrade|1. Create a group in dot com. Purchase Premium subscription with end date in the last 3 days ([example request](https://gitlab.com/gitlab-org/customers-gitlab-com/-/snippets/2469063) to create subscription via API)
3. Access the subscription card in CDot
4. Select 'Renew', select 'Ultimate' plan and fill in the billing, quantity details. Submit form. | :white_check_mark:
- [Zuora subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa01c850fc2c1018512013ef90232)
- [Zuora Order](https://test.zuora.com/orders#/view/O-00170893)
- [SalesForce opportunity](https://gitlab--staging.sandbox.my.salesforce.com/00674000004peXv)
- [SalesForce quote object](https://gitlab--staging.sandbox.my.salesforce.com/a1j74000000LIeG?srPos=0&srKp=a1j) |1. Verify new version of subscription is created in Zuora with `RemoveProduct`, `AddProduct` and `RenewSubscription` order action type.
2. Verify the subscription is renewed, upgraded and quantity is updated in Zuora, CDot, dot com. Invoice is generated and payment is posted.
**SalesForce verification:**
- Opportunity is created
- Quote objects: 1 QA, 1 QRP and 1 QRPC for type `AddProduct` and `RenewSubscription`
1 QA, 1 QRP for `RemoveProduct`. No QRPC for `RemoveProduct`|---|
-|Renewal + Upgrade + trueups|1. Purchase Premium self managed subscription with end date in the last 3 days ([example request](https://gitlab.com/gitlab-org/customers-gitlab-com/-/snippets/2469063) to create subscription via API)
3. Access the subscription card in CDot
4. Select 'Renew', select 'Ultimate' plan and fill in the billing, quantity details and true up quantity. Submit form.|:white_check_mark:
- [Zuora subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa2a5850fd41b018512b7b7cf1c65)
- [Zuora Order](https://test.zuora.com/orders#/view/O-00170968)
- [SalesForce opportunity](https://gitlab--staging.sandbox.my.salesforce.com/00674000004q1MA)
- [SalesForce quote object](https://gitlab--staging.sandbox.my.salesforce.com/a1j74000000LIhy?srPos=0&srKp=a1j) |1. Verify new version of subscription is created in Zuora with `AddProduct` (for true up plan), `RemoveProduct`, `AddProduct` (for Ultimate subscription), `RenewSubscription` order action type.
2. Verify the subscription is renewed, upgraded and quantity is updated in Zuora, CDot. Invoice is generated and payment is processed for both true up and Ultimate purchase.
**SalesForce verification:**
- Opportunity is created
- Quote objects: 1 QA, 1 QRP and 1 QRPC for type two `AddProduct` and `RenewSubscription`
1 QA, 1 QRP for `RemoveProduct`. No QRPC for `RemoveProduct`|---|
-|Renewal + Upgrade + trueups an EoA subscription|1. Purchase Starter self managed subscription with end date in the last 3 days ([example request](https://gitlab.com/gitlab-org/customers-gitlab-com/-/snippets/2469063) to create subscription via API)
3. Access the subscription card in CDot
4. Select 'Renew', select 'Premium' plan and fill in the billing, quantity details (less than 25) and true up quantity. Submit form.|:white_check_mark:
- [Zuora subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa01c850fc2c10185131b26c15004)
- [Zuora Order](https://test.zuora.com/orders#/view/O-00170980)
- [SalesForce opportunity](https://gitlab--staging.sandbox.my.salesforce.com/00674000004q1Px)
- [SalesForce quote object](https://gitlab--staging.sandbox.my.salesforce.com/a1j74000000LIiX?srPos=0&srKp=a1j)|1. Verify new version of subscription is created in Zuora with `AddProduct` (for true up plan), `RemoveProduct`, `AddProduct` (for Premium subscription), `RenewSubscription` order action type.
2. Verify the new seats are purchased at discounted price of $ `108` per user.
3. Verify the subscription is renewed, upgraded and quantity is updated in Zuora, CDot. Invoice is generated and payment is processed for both true up and Premium purchase.
**SalesForce verification:**
- Opportunity is created
- Quote objects: 1 QA, 1 QRP and 1 QRPC for type two `AddProduct` and `RenewSubscription`
1 QA, 1 QRP for `RemoveProduct`. No QRPC for `RemoveProduct`|---|
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-117713861,2022-10-28 00:14:08.222,[Feature flag] Persist Billing Account related data,"
-
-# Summary
-
-We are introducing logic that will populate `BillingAccount` and `BillingAccountMembership` as part of https://gitlab.com/groups/gitlab-org/-/epics/8950+ given we are going to iteratively add small bits we want to make sure we update at least all the places listed in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4795+ before start collecting the data in production.
-
-This issue is to rollout the persistence of the data related to `BillingAccount` and `BillingAccountMembership` currently behind the [`account_data_persistence`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/171/edit) feature flag.
-
-## Owners
-
-- Team: ~""group::fulfillment platform""
-- Most appropriate Slack channel to reach out to: `#g_fulfillment_platform`
-- Best individual to reach out to: @tyleramos or @vshumilo
-- PM: @mgass1
-
-## Stakeholders
-
-No other stakeholders.
-
-## The Rollout Plan
-
-Rollout Feature for everyone as soon as it's ready
-
-## Expectations
-
-### What are we expecting to happen?
-
-Customer's associated billing account is kept up to date with `customer.zuora_account_id`.
-
-### What might happen if this goes wrong?
-
-- Disruptive exceptions in the code.
-
-### What can we monitor to detect problems with this?
-
-- Keep an eye on [Sentry](https://sentry.gitlab.net/gitlab/customersgitlabcom/#).
-- Check `#s_fulfillment_status` for errors.
-
-## Rollout Steps
-
-### Rollout on non-production environments
-
-- [x] Ensure that the feature MRs have been deployed to non-production environments, i.e. `customers-staging`.
-- [x] Consider announcing that the flag will be enabled to potentially impacted groups, e.g. `#s_fulfillment_engineering`
-- [x] Enable the feature globally on non-production environments by applying the appropriate environment, e.g. `customers-staging` and `customers-development`.
-- [x] Notify the Software Engineers in Test (SETs) for Fulfillment via Slack and in a comment in this issue when enabling a feature flag in `customers-staging` as it can impact the QA pipeline.
-- [x] Verify that the feature works as expected. Posting the QA result in this issue is preferable.
-
-### Preparation before production rollout
-
-- [x] Ensure that the feature MRs have been deployed to production
-- [x] Check if the feature flag change needs to be accompanied with a
- [change management issue](https://about.gitlab.com/handbook/engineering/infrastructure/change-management/#feature-flags-and-the-change-management-process) - **Lena: Based on the criteria there is no need for change management issue
- Cross link the issue here if it does.**
-- [x] Ensure that you or a representative in Fulfillment can be available for at least 2 hours after feature flag updates in production.
- If a different developer will be covering, or an exception is needed, please inform the Fulfillment team in #s_fulfillment_engineering
-- [x] Ensure any documentation has been updated
-- [x] Announce on [the feature issue](ISSUE LINK) an estimated time this will be enabled on production if applicable
-- [x] If the feature might impact the user experience, notify `#s_fulfillment` and potentially `#support_gitlab-com`, as well as your team channel ([more guidance when this is necessary in the dev docs](https://docs.gitlab.com/ee/development/feature_flags/controls.html#communicate-the-change)).
-
-### Global rollout on CustomersDot production
-
-- [x] Confirm the feature flag is enabled on `staging` without incident
-- [x] Roll out the feature to targeted testing users first (if applicable)
-- [x] If applicable, [incrementally roll out](https://docs.gitlab.com/ee/operations/feature_flags.html#percent-rollout) the feature.
-- [x] Verify the change has the desired outcome with the limited rollout before enabling the feature globally on production.
-- [x] Enable the feature globally on production environment
-- [x] Announce on [the feature issue](ISSUE LINK) that the feature has been globally enabled.
-- [x] Wait for [at least one day for the verification term](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release).
-
-### Release the feature
-
-After the feature has been [deemed stable](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release),
-the clean up should be done as soon as possible to permanently enable the feature and reduce complexity in the codebase.
-
-
-- [x] Create a merge request to remove `` feature flag
- - [x] Remove all references to the feature flag from the codebase
-- [x] Ensure that the cleanup MR has been deployed to both staging and production
-- [x] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [x] Ensure production environment is still working as expected
-- [x] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [x] Close this rollout issue.
-
-## Rollback Steps
-
-- [ ] This feature can be disabled by performing the following actions:
- - [ ] Disable the Unleash flag on the [feature flag page](LINK TO THE FEATURE FLAG EDIT PAGE)",2
-117707761,2022-10-27 20:15:10.704,Create SaaS Subscription Update specific mailer,"## Problem
-Today, SaaS customers do not receive an email when they update their subscription (i.e. add seats). This is not a great customer experience, because they have no confirmation that the purchase went through.
-
-
-## Proposal
-Similar to what was done in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4543 for Cloud Licensing SM customers, setup a new mailer for subscription updates (e.g. new seats, upgrade plan, etc.) for SaaS customers that:
-1. Provides a confirmation to customers that their additional purchase was successful, in a way that makes it clear this was an update/add-on to an existing subscription
-1. Gives the customer an audit trail to follow in email
-
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5057+ will implement a similar email for renewals.
-
-Add the new mailer to the [mailers doc](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/doc/mailers/index.md).
-
-
-### Proposed Template
-
-NOTE: this will apply for additional seats, CI Minutes, Storage or an upgrade, so it needs to be somewhat vague.
-
-Current email screenshot
-
-
-
-
-```
-
-Hi Courtney👋
-Thanks for your GitLab purchase! We appreciate your loyalty as a GitLab customer!
-
-Your purchase will be automatically applied to the same namespace on the start date listed below. Here are the details of your subscription:
-
-1. `product name`
-2. `term start date`
-2. `term end date`
-3. `quantity`
-
-If you require any assistance, contact GitLab support.
-
-Thanks,
-
-The GitLab Team
-
-```
-
-Note: keep the existing link to GitLab Support (https://about.gitlab.com/support/#contact-support) in the last line.
-
-### Technical Requirements
-
-1. Send these mailers for all subscription updates when:
- 1. Purchase is of a SaaS subscription
-1. Amendment Type is `NewProduct`, `UpdateProduct` or `UpdateSubscription`.
-1. Namespace info is present.
- 1. If the namespace info is missing the unlinked SaaS purchase email should be used instead.
-1. Update logic to send the correct mailer based on subscription type (Renewal, Amendment, New Subscription)
-1. Ensure the newer version of the template design is used, consistent with the current New Subscription SaaS purchase email
-1. Put the new mailer behind a feature flag ([`new_saas_mailers`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/209/edit), same as used for https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5057+) until the voucher email is implemented.
-
-**Note:** https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/6086+ should be completed directly after this one.
-
-### Result
-1. Customer receives an email confirmation when a SaaS product update is completed that clearly outlines an add-on/upgrade occurred.
-
-### Availability & Testing
-
-
-
-Adding a mailer, should be accompanied by several tests.
-
-- Mailer Specs
- - Mailer Subject
- - Mailer To/From (multiple To's? If so, which is first?)
- - Mailer Body?
-- When is this Mailer activated? Only during update? During creation?",2
-117707740,2022-10-27 20:14:44.500,Create SaaS renewal specific mailer,"## Problem
-Today, SaaS customers receive the same new purchase email no matter if they are purchasing a new subscription, renewing an existing, or simply adding a few seats. This is not a great customer experience, especially given how ""new purchase"" oriented the current email is.
-
-
-## Proposal
-Similar to what was done in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4542 for Cloud Licensing SM customers, setup a new mailer for renewing SaaS customers that:
-1. Provides a confirmation to customers that their subscription renewal was successful, in a way that makes it clear this was a renewal and not a new subscription purchase
-1. Gives the customer an audit trail to follow in email
-
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5058+ will implement a similar email for subscription updates.
-
-Add the new mailer to the [mailers doc](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/doc/mailers/index.md).
-
-### Proposed Template
-
-Current email screenshot
-
-
-
-
-```
-
-Hi Courtney👋
-Thanks for renewing your GitLab SaaS subscription! We appreciate your loyalty as a GitLab customer!
-
-Your purchase will be automatically applied to the same namespace on the start date listed below. Here are the details of your subscription:
-
-1. `product name`
-2. `term start date`
-2. `term end date`
-3. `quantity`
-
-If you require any assistance, contact GitLab support.
-
-
-Thanks,
-
-The GitLab Team
-
-```
-
-Note: keep the existing link to GitLab Support (https://about.gitlab.com/support/#contact-support) in the last line.
-
-### Technical Requirements
-1. Send these mailers for all subscription updates when:
- 1. Purchase is of a SaaS subscription
-1. Order Type = `Renewal`
-1. Namespace info is present.
- 1. If the namespace info is missing the new subscription mail should be used instead.
- 1. Remove the reference to ""new subscription"" in the email subject and body.
-1. Update logic to send the correct mailer based on subscription type (Renewal, Amendment, New Subscription)
-1. Ensure the newer version of the template design is used, consistent with the current New Subscription SaaS purchase email
-1. Put the new mailer behind a feature flag ([`new_saas_mailers`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/209/edit)) until the voucher email is implemented.
-
-**Note:** https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/6085+ should be completed directly after this one.
-
-### Result
-1. Customer and revenue receive an email confirmation when a SaaS renewal is completed that clearly outlines a renewal occurred.
-
-
-### Availability & Testing
-
-
-
-Adding a mailer, should be accompanied by several tests.
-
-- Mailer Specs
- - Mailer Subject
- - Mailer To/From (multiple To's? If so, which is first?)
- - Mailer Body?
-- When is this Mailer activated? Only during renewal?",3
-117686598,2022-10-27 13:06:20.013,[Testing] Preview subscription upgrade workflow using Orders API,"### Problem
-
-This issue is to track the verification process to enable the use of 'Orders API in Preview Subscription Upgrade workflow'.
-
-**Associated FF:** [`use_orders_api_to_preview_upgrade `](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5051)
-
-### Testing scenarios
-| Scenario | Steps | Expected result | Pass? (Staging environment) | Notes |
-|----------|-------|-----------------|-----------------------------|-------|
-| Upgrade Saas | 1. Create anew SaaS subscription or find an existing active subscription in customerDot
2. Click on `Upgrade plan`
3. Verify details | details match when ff is both enabled and disabled | yes | |
-| Upgrade SM | 1. Create anew SM subscription or find an existing active subscription in customerDot
2. Click on `Upgrade plan`
3. Verify details | details match when ff is both enabled and disabled | yes | |
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-117686338,2022-10-27 13:01:56.234,[Testing] Upgrade subscription workflow using Orders API,"
-
-### Problem
-
-This issue is to track the verification process to enable the use of 'Orders API in Subscription Upgrade workflow'.
-
-**Associated FF:** [`use_orders_api_upgrade_workflow` ](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5050)
-
-### Testing scenarios
-
-
-
-|Scenario|Steps|Expected result|Pass? (Staging environment)|Notes|
-|---|---|---|---|---|
-| SaaS - Upgrade Subscription from Premium to Ultimate from gitlab.com | 1. Create a group in gitlab.com
2. Purchase Premium subscription for the group
3. Navigate to the billing page of the group, and upgrade it to Ultimate. | Verify subscription is upgraded, SalesForce opportunity and objects created as expected | :white_check_mark:
[Verification walkthrough](https://drive.google.com/file/d/13tkqZjfsUCFo98G0XUUlBEYLbvSTXrXe/view?usp=share_link)
[Zuora subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa1b48461fe190184665b96f07eda) | |
-| Self Managed - Upgrade Subscription from Premium to Ultimate from gitlab.com | 1. Purchase Premium Self managed subscription in CustomersDot
3. Navigate to the subscription card, and upgrade it to Ultimate. | Verify subscription is upgraded, SalesForce opportunity and objects created as expected | :white_check_mark:
[Verification walkthrough](https://drive.google.com/file/d/16pHEwfIxWBqkNfctEVpnuxYBKq0D1wTY/view?usp=share_link)
[Zuora subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa13f8475790b018475c45c9a0834) | |
-| EoA Upgrade Subscription from Starter to Ultimate from gitlab.com (**seat limit not exceeded**) | 1. Purchase starter plan with seat limit less than 25
2. Sign in to CustomersDor
3. Select subscription card, upgrade it to Premium. Verify discounted price shows up. | Verify subscription is upgraded with appropriate discount applied | :white_check_mark:
[Verification walkthrough](https://drive.google.com/file/d/14aqBO6JWf4rCrSjZskvHCe6h4Bj6LAlw/view?usp=share_link)
[Zuora subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa06b8475791c018476009a5f123d) | |
-| EoA Upgrade Subscription from Starter to Ultimate from gitlab.com (**seat limit exceeded**) | 1. Purchase starter plan with seat limit greater than 25
2. Sign in to CustomersDor
3. Select subscription card, upgrade it to Ultimate. | Verify subscription is upgraded with **no** discount applied | :white_check_mark:
[Verification walkthrough](https://drive.google.com/file/d/1z62e5J7hF8YuhIKE1LFY1mssaUfaIziy/view?usp=share_link)
[Zuora subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa1e08475790b018475eedf720d8b) | |
-|SalesForce attribute verification| Upgrade subscription using any one of the above scenarios | - Creates `QuoteAmendment` for `RemoveProduct`, `AddProduct`
- Creates `QuoteRatePlan` for `RemoveProduct`, `AddProduct`
- Creates `QuoteRatePlanCharge` for `AddProduct`
[Comparison sheet](https://docs.google.com/spreadsheets/d/1ltJBcLwOau3-95CuHCwlXiZP200XkCqdeKtdpoYNUBI/edit#gid=0) | :white_check_mark: [SalesForce Quote](https://gitlab--staging.sandbox.my.salesforce.com/a1d740000011D5p) |
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",3
-117685296,2022-10-27 12:46:52.579,[Feature Flag] Enable use_orders_api_to_preview_upgrade - Preview Subscription Upgrade,"
-
-# Summary
-
-
-
-This issue is to rollout [Use of Orders API when previewing subscription Upgrade workflow](https://gitlab.com/groups/gitlab-org/-/epics/9045) on CustomersDot production,
-that is currently behind the [`use_orders_api_to_preview_upgrade`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/172/edit) feature flag.
-
-## Owners
-
-- Team: Fulfillment Platform
-- Most appropriate Slack channel to reach out to: `#g_fulfillment_platform`
-- Best individual to reach out to: @tvellishetty
-- PM: GITLAB_HANDLE
-
-## Stakeholders
-
-
-
-## The Rollout Plan
-
-- Partial Rollout with specific Customers on CustomersDot, [via Unleash](https://docs.gitlab.com/ee/operations/feature_flags.html#user-ids)
-- Rollout on CustomersDot for a certain period (How long)
-- Percentage Rollout on CustomersDot
-- Rollout Feature for everyone as soon as it's ready
-
-
-
-## Testing User/Customer IDs
-
-
-
-## Expectations
-
-### What are we expecting to happen?
-
-
-
-### What might happen if this goes wrong?
-
-
-
-### What can we monitor to detect problems with this?
-
-
-
-## Rollout Steps
-
-### Rollout on non-production environments
-
-- [x] Ensure that the feature MRs have been deployed to non-production environments, i.e. `customers-staging`.
-- [ ] Consider announcing that the flag will be enabled to potentially impacted groups, e.g. `#s_fulfillment_engineering`
-- [x] Enable the feature globally on non-production environments by applying the appropriate environment, e.g. `customers-staging` and `customers-development`.
-- [x] Notify the Software Engineers in Test (SETs) for Fulfillment via Slack and in a comment in this issue when enabling a feature flag in `customers-staging` as it can impact the QA pipeline.
-- [ ] Verify that the feature works as expected. Posting the QA result in this issue is preferable.
-
-### Preparation before production rollout
-
-- [x] Ensure that the feature MRs have been deployed to production
-- [ ] Check if the feature flag change needs to be accompanied with a
- [change management issue](https://about.gitlab.com/handbook/engineering/infrastructure/change-management/#feature-flags-and-the-change-management-process).
- Cross link the issue here if it does.
-- [x] Ensure that you or a representative in Fulfillment can be available for at least 2 hours after feature flag updates in production.
- If a different developer will be covering, or an exception is needed, please inform the Fulfillment team in #s_fulfillment_engineering
-- [ ] Ensure any documentation has been updated
-- [x] Announce on [the feature issue](ISSUE LINK) an estimated time this will be enabled on production if applicable
-- [ ] If the feature might impact the user experience, notify `#s_fulfillment` and potentially `#support_gitlab-com`, as well as your team channel ([more guidance when this is necessary in the dev docs](https://docs.gitlab.com/ee/development/feature_flags/controls.html#communicate-the-change)).
-
-### Global rollout on CustomersDot production
-
-- [x] Confirm the feature flag is enabled on `staging` without incident
-- [ ] Roll out the feature to targeted testing users first (if applicable)
-- [ ] If applicable, [incrementally roll out](https://docs.gitlab.com/ee/operations/feature_flags.html#percent-rollout) the feature.
-- [ ] Verify the change has the desired outcome with the limited rollout before enabling the feature globally on production.
-- [x] Enable the feature globally on production environment
-- [x] Announce on [the feature issue](ISSUE LINK) that the feature has been globally enabled.
-- [ ] Wait for [at least one day for the verification term](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release).
-
-### Release the feature
-
-After the feature has been [deemed stable](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release),
-the clean up should be done as soon as possible to permanently enable the feature and reduce complexity in the codebase.
-
-
-- [ ] Create a merge request to remove `` feature flag
- - [ ] Remove all references to the feature flag from the codebase
-- [ ] Ensure that the cleanup MR has been deployed to both staging and production
-- [ ] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Ensure production environment is still working as expected
-- [ ] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Close this rollout issue.
-
-## Rollback Steps
-
-- [ ] This feature can be disabled by performing the following actions:
- - [ ] Disable the Unleash flag on the [feature flag page](LINK TO THE FEATURE FLAG EDIT PAGE)",1
-117685281,2022-10-27 12:46:36.376,[Feature flag] Enable use_orders_api_upgrade_workflow - Subscription Upgrade,"
-
-# Summary
-
-
-
-This issue is to rollout [Use of Orders API in Subscription Upgrade workflow](https://gitlab.com/groups/gitlab-org/-/epics/9045) on CustomersDot production,
-that is currently behind the [`use_orders_api_upgrade_workflow `](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/162/edit) feature flag.
-
-## Owners
-
-- Team: Fulfillment Platform
-- Most appropriate Slack channel to reach out to: `#g_fulfillment_platform`
-- Best individual to reach out to: @aish.sub
-- PM: @tgolubeva, @mgass1
-
-## Stakeholders
-
-
-
-## The Rollout Plan
-
-- Partial Rollout with specific Customers on CustomersDot, [via Unleash](https://docs.gitlab.com/ee/operations/feature_flags.html#user-ids)
-- Rollout on CustomersDot for a certain period (How long)
-- Percentage Rollout on CustomersDot
-- Rollout Feature for everyone as soon as it's ready
-
-
-
-## Testing User/Customer IDs
-
-
-
-## Expectations
-
-### What are we expecting to happen?
-
-
-
-### What might happen if this goes wrong?
-
-
-
-### What can we monitor to detect problems with this?
-
-
-
-## Rollout Steps
-
-### Rollout on non-production environments
-
-- [x] Ensure that the feature MRs have been deployed to non-production environments, i.e. `customers-staging`.
-- [x] Consider announcing that the flag will be enabled to potentially impacted groups, e.g. `#s_fulfillment_engineering`
-- [x] Enable the feature globally on non-production environments by applying the appropriate environment, e.g. `customers-staging` and `customers-development`.
-- [x] Notify the Software Engineers in Test (SETs) for Fulfillment via Slack and in a comment in this issue when enabling a feature flag in `customers-staging` as it can impact the QA pipeline.
-- [x] Verify that the feature works as expected. Posting the QA result in this issue is preferable.
-
-### Preparation before production rollout
-
-- [x] Ensure that the feature MRs have been deployed to production
-- [ ] Check if the feature flag change needs to be accompanied with a
- [change management issue](https://about.gitlab.com/handbook/engineering/infrastructure/change-management/#feature-flags-and-the-change-management-process).
- Cross link the issue here if it does.
-- [x] Ensure that you or a representative in Fulfillment can be available for at least 2 hours after feature flag updates in production.
- If a different developer will be covering, or an exception is needed, please inform the Fulfillment team in #s_fulfillment_engineering
-- [ ] Ensure any documentation has been updated
-- [ ] Announce on [the feature issue](ISSUE LINK) an estimated time this will be enabled on production if applicable
-- [x] If the feature might impact the user experience, notify `#s_fulfillment` and potentially `#support_gitlab-com`, as well as your team channel ([more guidance when this is necessary in the dev docs](https://docs.gitlab.com/ee/development/feature_flags/controls.html#communicate-the-change)).
-
-### Global rollout on CustomersDot production
-
-- [x] Confirm the feature flag is enabled on `staging` without incident
-- [ ] Roll out the feature to targeted testing users first (if applicable)
-- [x] If applicable, [incrementally roll out](https://docs.gitlab.com/ee/operations/feature_flags.html#percent-rollout) the feature.
-- [ ] Verify the change has the desired outcome with the limited rollout before enabling the feature globally on production.
-- [ ] Enable the feature globally on production environment
-- [ ] Announce on [the feature issue](ISSUE LINK) that the feature has been globally enabled.
-- [ ] Wait for [at least one day for the verification term](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release).
-
-### Release the feature
-
-After the feature has been [deemed stable](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release),
-the clean up should be done as soon as possible to permanently enable the feature and reduce complexity in the codebase.
-
-
-- [ ] Create a merge request to remove `` feature flag
- - [ ] Remove all references to the feature flag from the codebase
-- [ ] Ensure that the cleanup MR has been deployed to both staging and production
-- [ ] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Ensure production environment is still working as expected
-- [ ] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Close this rollout issue.
-
-## Rollback Steps
-
-- [ ] This feature can be disabled by performing the following actions:
- - [ ] Disable the Unleash flag on the [feature flag page](LINK TO THE FEATURE FLAG EDIT PAGE)",1
-117672442,2022-10-27 09:09:48.712,Switch to JSON formatting for Puma logs,"
-
-### Problem
-
-Puma logs are unstructured, unlike those of Rails and Sidekiq. The benefits of structured logs goes without saying.
-
-### Proposal
-
-Add a JSON formatter for Puma, GitLab has one already (implemented [here](https://gitlab.com/gitlab-org/gitlab/-/blob/38bf33e1ae652b3b752557ecb5da4ecd41d74a42/config/puma.rb.example#L81) and [here](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/puma_logging/json_formatter.rb)), so it should be very easy to make the switch.
-
-",2
-117652330,2022-10-26 22:38:08.259,Fix GraphQL deprecation warnings,"### Problem
-
-We are getting two GraphQL deprecation warnings:
-
-```
-Legacy `.graphql_definition` objects are deprecated and will be removed in GraphQL-Ruby 2.0. Use a class-based definition instead.
-```
-
-```
-Legacy `.to_graphql` objects are deprecated and will be removed in GraphQL-Ruby 2.0. Remove `.to_graphql` to use a class-based definition instead.
-```
-
-These are coming from `spec/support/helpers/graphql_helpers.rb`, [here](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/spec/support/helpers/graphql_helpers.rb#L104) and [here](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/spec/support/helpers/graphql_helpers.rb#L155) respectively.
-
-### Proposal
-
-##### Proposal 1
-The only tests that use `GraphqlHelpers` is https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/spec/graphql/resolvers/subscription_spec.rb. IMO we should:
-
-1. Move any missing test coverage from the [resolver spec](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/spec/graphql/resolvers/subscription_spec.rb) to the [request spec](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/spec/requests/graphql/subscription_spec.rb)
-2. Remove `GraphqlHelpers`. This helper recreates behavior from the GraphQL gem instead of testing it directly. I don't think this is worth any potential test suite speed increase we may see from using it.
-
-##### Proposal 2
-
-Alternatively, we could probably pull in the latest [`GraphqlHelper` from Gitlab](https://gitlab.com/gitlab-org/gitlab/-/blob/master/spec/support/helpers/graphql_helpers.rb)",1
-117645253,2022-10-26 19:43:49.038,Self Managed instance generating new cloud license each sync,"# Bug
-
-## Summary
-
-Customer is using a cloud license activation code on two separate instances. One instance has activated and installed one license; the other instance appears to be syncing and retrieving a new cloud license every day for the same subscription
-
-[customer ticket](https://gitlab.zendesk.com/agent/tickets/336444)
-[customer account](https://customers.gitlab.com/admin/customer/1315/edit)
-[subscription](https://www.zuora.com/apps/Subscription.do?method=view&id=8a128eda83b63aee0183c25ad8dc10cb)
-[instance activations](https://customers.gitlab.com/admin/cloud_activation/12486/list_self_managed_instance_activations)
-
-**The server duplicating licenses is instance id 4632**
-
-```ruby
-#
-#
-
-#
-#
-```
-
-According to the most recent `LicenseSeatLink` entries for each instance:
-
-instance id 4642 is running GitLab 15.3.4-ee as of Wed, 26 Oct 2022 04:56:09.270189000 UTC
-instance id 4632 is running GitLab 15.4.0-ee as of Wed, 26 Oct 2022 04:18:07.674231000 UTC
-
-
-```ruby
-SelfManagedInstanceActivation.find(4717).licenses.count
-=> 13
-
-SelfManagedInstanceActivation.find(4727).licenses.count
-=> 2
-```
-
-## Steps to reproduce
-
-Unsure
-
-
-## Relevant logs and/or screenshots
-
-screenshot from customer's server with the duplicate licenses, taken roughly 2022-10-18
-
-
-
-## Workarounds
-
-This is mostly cosmetic on the customer's side. On our side, it is generating superfluous licenses but otherwise causes no issues that I see
-
-## Reported examples
-
-1. https://gitlab.zendesk.com/agent/tickets/336444
-1. https://gitlab.zendesk.com/agent/tickets/340985
-1. https://gitlab.zendesk.com/agent/tickets/341699
-2. https://gitlab.zendesk.com/agent/tickets/339642
-3. https://gitlab.zendesk.com/agent/tickets/352894
-4. https://gitlab.zendesk.com/agent/tickets/372289
-5. https://gitlab.zendesk.com/agent/tickets/373382
-
-
-
-## Proposal
-
-We could look into changing one of these two:
-1. Changing the callback from `before_validation` to `after_initialize` ([relevant code](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/53b47c47e5ed54c849dc014d8b710d367250cacf/app/models/license.rb#L83))
-2. Perform a `valid?` call on the new built license before comparing it to the most recent license ([relevant code](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/53b47c47e5ed54c849dc014d8b710d367250cacf/app/services/build_license_from_subscription_service.rb#L43) and [this code](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/53b47c47e5ed54c849dc014d8b710d367250cacf/app/services/license_notification_service.rb#L92)).
- - We could even consider calling the `valid?` in the [`License#equal_to?` method](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/53b47c47e5ed54c849dc014d8b710d367250cacf/app/models/license.rb#L157).",1
-117568193,2022-10-25 21:06:01.497,Scheduled maintenance for CustomersDot on 2022-11-13 03:00 UTC,"Zuora Billing will undergo planned maintenance on 2022-11-13 from 03:00 UTC to 04:00 UTC. This means CustomersDot (CDot) should be in maintenance mode during this window to avoid any errors for customers. CDot can automatically put itself into maintenance mode based on health checks (which include Zuora) but we should still have someone on standby to ensure that CDot goes into and out of maintenance mode as expected.
-
-## Maintenance window
-
-Sunday 2022-11-13 03:00 - 04:00 UTC
-
-- https://gitlab.com/gitlab-com/business-technology/enterprise-apps/financeops/finance-systems/-/issues/952+
-- See [official release](https://community.zuora.com/communities/community-home/digestviewer/viewthread?GroupId=475&MessageKey=ec7a72cc-934e-45ae-8987-aa0961991be0&CommunityKey=c91d3142-7e65-4715-9e11-7eb5c768c213&ReturnUrl=%2fcommunities%2fcommunity-home%2fdigestviewer%3fcommunitykey%3dc91d3142-7e65-4715-9e11-7eb5c768c213) from Zuora regarding this episode of planned maintenance**
-
-## Process
-
-Toggle `maintenance_mode` in https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/111/edit
-
-[ASSIGNED-USERNAME] - On Stand-by to monitor maintenance mode activities and jump in to assist as needed.
-
-1. [x] Created scheduled maintenance issue in https://gitlab.com/gitlab-com/gl-infra/production for the CMOC to update the GitLab status page
- - https://gitlab.com/gitlab-com/gl-infra/production/-/issues/7929
-1. [ ] Set maintenance mode in CustomersDot at 2022-11-13 03:00 UTC
- - This step could be done automatically by CDot. An engineer could just check that maintenance mode was enabled after Zuora health checks started failing.
-1. [ ] Test the maintenance page is working at 2022-11-13 03:00 UTC
-1. [ ] Quiet Sidekiq process from [Sidekiq Admin UI](https://customers.gitlab.com/sidekiq/busy) at 7PM PT
- - This will prevent Sidekiq from processing new queued jobs but jobs will continue to enqueue.
-1. [ ] [Ensure the CMOC](https://about.gitlab.com/handbook/engineering/infrastructure/incident-management/#how-to-engage-the-cmoc) has updated status.gitlab.com
-1. [ ] Remove maintenance mode in CustomersDot at 2022-11-13 04:00 UTC
- - This step could be done automatically by CDot. An engineer could just check that maintenance mode was disabled after Zuora health checks began passing again.
-1. [ ] Test the maintenance page is gone at 2022-11-13 04:00 UTC
-1. [ ] Manually restart Sidekiq at 2022-11-13 04:00 UTC
- - Connect to CDot production server and run `sudo supervisorctl restart customers-sidekiq` as [documented here](https://gitlab.com/gitlab-org/customers-gitlab-com#deployments)
-1. [ ] [Ensure the CMOC](https://about.gitlab.com/handbook/engineering/infrastructure/incident-management/#how-to-engage-the-cmoc) has updated status.gitlab.com
-1. [ ] Manually enqueue scheduled jobs from [the Recurring Jobs tab](https://customers.gitlab.com/sidekiq/recurring-jobs) missed during maintenance window
- - These were likely the jobs missed based on the planned outage window:
- - `ExpireOrderCronJob`
- - `BillingRateUpdateCronJob`
- - `ReconciliationCronJob`
- - `UpcomingReconciliationNotificationCronJob`
- - `AutoRenewCronJob`",0
-117521500,2022-10-25 09:21:50.841,FF use of Orders API in Order Preview GraphQL endpoint,"
-
-### Problem
-
-Now that [preview amendment using orders API](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4694) is merged, we can update the workflows to preview using the orders API using a feature flag to control its rollout.
-
-This issue integrates the use of Orders API in GraphQL endpoint for Order Preview.
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-117520161,2022-10-25 09:03:14.590,FF use of Orders API in auto renewal workflow,"
-
-### Problem
-
-Now that [preview amendment using orders API](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4694) is merged, we can update the workflows to preview using the orders API using a feature flag to control its rollout.
-
-This issue integrates the use of Orders API in auto renewal workflow:
-
-* Ineligibility for renewal notification job
-* Upcoming notification job
-
-### Proposal
-
-
-
-### Result
-
-In `AutoRenew::SendUpcomingNotificationService` and `AutoRenew::SendIneligibleForUpcomingRenewalNotificationService`, invoke `Zuora::Orders::AmendmentManagerService` if the request is to preview and FF `` is enabled.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-117519646,2022-10-25 08:53:31.538,FF use of Orders API in reconciliation workflow,"
-
-### Problem
-
-Now that [preview amendment using orders API](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4694) is merged, we can update the workflows to preview using the orders API using a feature flag to control its rollout.
-
-This issue integrates the use of Orders API in reconciliation workflow:
-
-- upcoming reconciliation
-- validating quoted invoice during reconciliation
-
-### Proposal
-
-
-
-In `SendUpcomingReconciliationEmailJob` and `ReconciliationService`, invoke `Zuora::Orders::AmendmentManagerService` if the request is to preview and FF `use_orders_api_to_preview_quoted_invoice_amount` is enabled.
-
-### Result
-
-Orders API is used in reconciliation workflow as a replacement to Amend API.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-114125773,2022-08-30 06:24:13.768,Add data mapping for Arrowsphere,"### Background:
-
-Previously Arrow system talks to Gitlab Platypus API endpoint(and then Platypus talks to CustomersDot). We will remove Platypus in this communication chain.
-
-* previously(as of today): `Arrow -> Platypus -> CustomersDot`
-* after removing Platypus, Arrow will directly talk to CustomersDot: `Arrow -> CustomersDot`
-
-In order to achieve this, there are several changes required on CustomersDot side.
-
-1. implement OAuth provider in CustomersDot. This allows secure API access control. We propose to use `doorkeeper` gem.
-1. add required data mapping in CustomersDot. This maps some Arrow payload data to the CustomersDot/Zuora/SFDC required values.
-1. track the Arrow order status. The status is used to: allow Arrow to poll the order status; validate duplicate requests; ensure to take action safely only on the right order status.
-1. provide API endpoint for Arrow to poll the order status.
-
-For more information, refer to the task breakdown at https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4637#note_1062429151.
-
-### This issue's scope
-
-This issue covers the second task `add required data mapping in CustomersDot`
-
-#### Proposal
-Below are required mappings. Refer to [Arrow to Platypus mapping column](https://docs.google.com/spreadsheets/d/138UqGiYfGc8A4HyBin6JrsRelmjfGbqvg3UZ0nJaLTU/edit#gid=0&range=B1) to find the information on how to map these values.
- * externalSubscriptionSource: generated based on authenticated client(ATM the value is `Arrowsphere`)
- - Once doorkeeper authentication succeeds, we could get from `doorkeeper_token.application.name`. (when creating the OAuth application, set the application name as `Arrowsphere`)
- * fulfillmentDistributor: add a section in `application.yml`
- * $\['orderLines'\]\[0\]\['productId'\]: add a section in `application.yml`
- * $\['invoiceOwnerId'\]: add a section in `application.yml`
- * invoiceOwnerAccountNumber: add a section in `application.yml`
-
-
-### Problem
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-114125393,2022-08-30 06:17:28.605,Implement OAuth provider in CDot,"### Background:
-
-Previously Arrow system talks to Gitlab Platypus API endpoint(and then Platypus talks to CustomersDot). We will remove Platypus in this communication chain.
-- previously(as of today): `Arrow -> Platypus -> CustomersDot`
-- after removing Platypus, Arrow will directly talk to CustomersDot: `Arrow -> CustomersDot`
-
-In order to achieve this, there are several changes required on CustomersDot side.
-1. implement OAuth provider in CustomersDot. This allows secure API access control. We propose to use `doorkeeper` gem.
-2. add required data mapping in CustomersDot. This maps some Arrow payload data to the CustomersDot/Zuora/SFDC required values.
-3. track the Arrow order status. The status is used to: allow Arrow to poll the order status; validate duplicate requests; ensure to take action safely only on the right order status.
-4. provide API endpoint for Arrow to poll the order status.
-
-For more information, refer to the task breakdown at https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4637#note_1062429151.
-
-### This issue's scope
-
-This issue covers the first task `implement OAuth provider in CustomersDot`
-
-#### Proposal
- * Use `doorkeeper` gem. Follow the documentation https://doorkeeper.gitbook.io/guides/ to configure and coding.
- * For the marketplace, we only need to secure API endpoint. So only support `client_credentials` flow is OK.
- * Configure scope(s)
- * **Question**: it seems we do not need to configure resource_owner_authenticator to secure API?
- * I skipped this part in my local configuration, and it works. All resource_owner_id is `null` in the `oauth_access_tokens` table. As in API, we only care about the client itself.
- * **Answer** I believe so for `client_credentials`.
- * The `client_credentials` grant type provides an application with a way to access its own service account.
- * Marketplace application's `own service account` is the this Marketplace provider(e.g. Arrow)'s Zuora account. Once authenticated, the application has access to resources belonging to the Zuora subscriptions whose `invoice owner account is the Marketplace provider's Zuora account`. For example, such resources could be `status` in `MarketplaceOrder` table, Zuora subscriptions, etc.
- * In CustomersDot, one easy and reliable way to check whether a Zuora subscription is owned by a Marketplace provider is: check the `Zuora subscription's external_subscription_source == Marketplace provider's name`
- * In `POST /v1/orders`, we should always set the `external_subscription_source` -- We already did this.
- * In `GET /v1/orders/{external_subscription_id}`, we should only search subscriptions with `external_subscription_source == the Marketplace provider's name`.
- * The `Marketplace provider's name` should be discovered by `doorkeeper_token.application.name`. **NOTE**: for security reasons, we should **NEVER get this value from user input**(such as: request URL, request header, or request body). We should **ALWAYS get the value from the valid access_token**. This is important to ensure one Marketplace provider cannot create/query resources owned by other Marketplace providers.-- ATM we only have `Arrowsphere`, but in the future, we could have more Marketplace providers.
- * Generate `client_id`/`client_secret`(with `scope`) and send to Arrow.
- * we can do this through rails console `Doorkeeper::Application.create(name: ""MyApp"", redirect_uri: """", scopes: [""marketplace_order_create""])`
- * Arrow: update `client_id`/`client_secret`/`scope` generated from CDot
-
-### Problem
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
- * Generate `client_id`/`client_secret`(with `scope`) and send to Arrow.
- * we can do this through rails console `Doorkeeper::Application.create(name: ""MyApp"", redirect_uri: """", scopes: [""marketplace_order_create""])`
- * Arrow: update `client_id`/`client_secret`/`scope` generated from CDot
- * Arrow send API request to test the authentication
-
-### How will we measure success?",3
-114110139,2022-08-29 21:48:17.798,Rename AmendmentManagerService service class,"The following discussion from !5248 should be addressed:
-
-- [x] @jagood started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5248#note_1079726703): (+4 comments)
-
- > **thought**: I wondered at some point if it might make sense for this to be in the `Amendment` module? :thinking:
- >
- > ```ruby
- > module Zuora
- > module Orders
- > module Amendment
- > module ManagerService
- > ```
- >
- > Though I kind of like the combined `AmendmentManagerService` name better, I wonder if this might put it closer to other relevant code? If it doesn't, then I wonder if that's a sign that there may be a better name for the class?",1
-114028718,2022-08-29 13:36:56.280,Use named subject in upcoming renewal issues notifications spec,"
-
-### Problem
-As per this [comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5307#note_1078434673), using a named subject could shorten the ~~`spec/services/auto_renew/send_upcoming_renewal_issues_notification_service_spec.rb`~~ `spec/services/auto_renew/send_ineligible_for_upcoming_renewal_notification_service_spec.rb` (file was [renamed](https://gitlab.com/gitlab-org/customers-gitlab-com/-/commit/2ecf43e7fd462b18d962345e8946f34e562a736a)) spec a lot.
-### Proposal
-Use named subject in ~~`spec/services/auto_renew/send_upcoming_renewal_issues_notification_service_spec.rb`~~ `/spec/services/auto_renew/send_ineligible_for_upcoming_renewal_notification_service_spec.rb` (file was [renamed](https://gitlab.com/gitlab-org/customers-gitlab-com/-/commit/2ecf43e7fd462b18d962345e8946f34e562a736a)) as per this [comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5307#note_1078434673).
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",1
-113925225,2022-08-26 15:18:00.271,Determine RenewSubscription order action using ActionTypeGenerator,"
-
-### Problem
-
-Use `ActionTypeGenerator` to determine when a request pertains to Renewing a subscription.
-
-### Proposal
-
-
-
-
-
-In this issue, we address (1), (2) and (3) for 'RenewSubscription' functionality in the following ways:
-
-(1) Add method `#check_renew_subscription` to `Orders::Amendment::ActionTypesGenerator`. The method returns based on the `params` whether a subscription is bring renewed. Use existing logic from `AmendSubscriptionService`.
-
-(2) Add method `#renew_subscription` to `Zuora::Orders::FeatureAvailability`. This checks if `Unleash.enabled?(:use_orders_api_renew_subscription_workflow)` is enabled. Add `renew_subscription` to `SUPPORTED_TYPES` constant
-
-(3) Create validator `Zuora::Orders::Amendment::Validators::RenewSubscription`. Implement `#validate` method that validates if the request for renewing a subscription is valid. Use existing validation logic from `AmendSubscriptionService`. If no validation is present, the validator can return an empty array.
-
-Create FF `use_orders_api_renew_subscription_workflow`.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",3
-113922729,2022-08-26 14:33:22.080,Determine AddProduct order action using ActionTypeGenerator,"
-
-### Problem
-
-Use `ActionTypeGenerator` to determine when a request pertains to Adding a Product to a subscription.
-
-### Proposal
-
-
-
-
-
-In this issue, we address (1), (2) and (3) for 'AddProduct' functionality in the following ways:
-
-(1) Add method `#check_add_product` to `Orders::Amendment::ActionTypesGenerator` (see [`#check_renewal`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/25b8a23273d49cd86daeb538700f254c9e09fb75/app/services/zuora/orders/amendment/action_types_generator.rb) for implementation structure). The method returns based on the `params` whether a product is being added to subscription. Use existing logic from `AmendSubscriptionService`.
-
-(2) Add method `#add_product` to `Zuora::Orders::FeatureAvailability`. This checks if `Unleash.enabled?(:use_orders_api_add_product_workflow)` is enabled. Add `add_product` to `SUPPORTED_TYPES` constant
-
-(3) Create validator `Zuora::Orders::Amendment::Validators::AddProduct`. Implement `#validate` method that validates if the request for adding a product is valid. (see [`Renewal validator`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/25b8a23273d49cd86daeb538700f254c9e09fb75/app/services/zuora/orders/amendment/validators/renew_subscription.rb) for implementation structure). Use existing validation logic from `AmendSubscriptionService`. If no validation is present, the validator can return an empty array.
-
-Create FF `use_orders_api_add_product_workflow`.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-113922701,2022-08-26 14:33:05.392,Determine RemoveProduct order action using ActionTypeGenerator,"
-
-### Problem
-
-Use `ActionTypeGenerator` to determine when a request pertains to Adding a Product to a subscription.
-
-### Proposal
-
-
-
-
-
-In this issue, we address (1), (2) and (3) for 'RemoveProduct' functionality in the following ways:
-
-(1) Add method `#check_remove_product` to `Orders::Amendment::ActionTypesGenerator` (see `#check_renewal` for implementation structure). The method returns based on the `params` whether a product is being removed from subscription. Use existing logic from `AmendSubscriptionService`.
-
-(2) Add method `#remove_product` to `Zuora::Orders::FeatureAvailability`. This checks if `Unleash.enabled?(:use_orders_api_remove_product_workflow)` is enabled. Add `remove_product` to `SUPPORTED_TYPES` constant
-
-(3) Create validator `Zuora::Orders::Amendment::Validators::RemoveProduct`. Implement `#validate` method that validates if the request for removing a product is valid. (see `Renewal validator` for implementation structure). Use existing validation logic from `AmendSubscriptionService`. If no validation is present, the validator can return an empty array.
-
-Create FF `use_orders_api_remove_product_workflow`.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-113922691,2022-08-26 14:32:51.563,Determine UpdateProduct order action using ActionTypeGenerator,"
-
-### Problem
-
-Use `ActionTypeGenerator` to determine when a request pertains to Updating a Product in a subscription.
-
-### Proposal
-
-
-
-
-
-In this issue, we address (1), (2) and (3) for 'UpdateProduct' functionality in the following ways:
-
-(1) Add method `#check_update_product` to `Orders::Amendment::ActionTypesGenerator` (see `#check_renewal` for implementation structure). The method returns based on the `params` whether a product is being updated. Use existing logic from `AmendSubscriptionService`.
-
-(2) Add method `#update_product` to `Zuora::Orders::FeatureAvailability`. This checks if `Unleash.enabled?(:use_orders_api_update_product_workflow)` is enabled. Add `update_product` to `SUPPORTED_TYPES` constant
-
-(3) Create validator `Zuora::Orders::Amendment::Validators::UpdateProduct`. Implement `#validate` method that validates if the request for updating a product is valid. (see `Renewal validator` for implementation structure). Use existing validation logic from `AmendSubscriptionService`. If no validation is present, the validator can return an empty array.
-
-Create FF `use_orders_api_update_product_workflow`.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-113922256,2022-08-26 14:23:42.000,Integrate Remove product order action with OrderManagerService,"### Problem
-
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4721 implemented Order action `Zuora::Orders::Actions:: RemoveProduct` that constructs the request body to remove a product from a subscription.
-
-The next step is to integrate this order action in `OrderManagerService`.
-
-### Proposal
-
-- Add ParamConstructor that constructs the payload required to remove a product.
-
-Currently, removing a product is applicable:
-
-1. when [upgrading / downgrading subscription's main product](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/d2d6b0627183cb23baa6b296d76c3718ae7b56b5/app/services/amend_subscription_service.rb#L30)
-1. when [migrating to ee v2 plan](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/d2d6b0627183cb23baa6b296d76c3718ae7b56b5/app/services/amend_subscription_service.rb#L81)
-
-Please note upgrade validation will be added as part of https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4753 and setting default payment before upgrade will be handled as part of https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4764.
-
-### Result
-
-Upgrading a subscription, requires both Adding a Product and Removing a Product functionalities.
-
-Consequently, the upgrade workflow will not be e2e complete with this issue. However, we can use it to test a product is getting removed from a subscription.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-113922236,2022-08-26 14:23:10.984,Integrate AddProduct order action with OrderManagerService,"### Problem
-
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4722 implements Order action `Zuora::Orders::Actions:: AddProduct` that constructs the request body to remove a product from a subscription.
-
-The next step is to integrate this order action in `OrderManagerService`.
-
-### Proposal
-
-* Add ParamConstructor that constructs the payload required to remove a product.
-
-Currently, add a product is applicable when:
-
-1. when [upgrading / downgrading subscription's main product](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/d2d6b0627183cb23baa6b296d76c3718ae7b56b5/app/services/amend_subscription_service.rb#L30)
-1. when [migrating to ee v2 plan](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/d2d6b0627183cb23baa6b296d76c3718ae7b56b5/app/services/amend_subscription_service.rb#L81)
-1. when [adding a new product / addon](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/d2d6b0627183cb23baa6b296d76c3718ae7b56b5/app/services/amend_subscription_service.rb#L142)
-1. when [adding a trueup](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/d2d6b0627183cb23baa6b296d76c3718ae7b56b5/app/services/amend_subscription_service.rb#L162)
-1. when [adding option products](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/d2d6b0627183cb23baa6b296d76c3718ae7b56b5/app/services/amend_subscription_service.rb#L116)
-Please note upgrade validation will be added as part of https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4753 and setting default payment before upgrade will be handled as part of https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4764.
-
-Please note upgrade validation will be added as part of https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4753 and setting default payment before upgrade will be handled as part of https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4764.
-
-### Result
-
-This completion of this issue will enable performing e2e test of Upgrade workflow (requires `RemoveProduct` and `AddProduct`)
-
-### Next steps (if any)
-
-### How will we measure success?",2
-113874873,2022-08-25 19:13:58.764,Update default payment when customer is already associated with a Zuora account,"
-
-# Bug
-
-For customers already associated with a Zuora account, the default payment ID needs to be set before creating a subscription.
-
-If not, the subscription creation will result in the error: `To collect payment, the customer account must have a default payment method.`
-
-`SubscribeService` [updated default payment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/9d9d6d56f56d596e0f98c52009e2a3638575f1c7/app/services/subscribe_service.rb#L20) before making a [subscription request](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/9d9d6d56f56d596e0f98c52009e2a3638575f1c7/app/services/subscribe_service.rb#L22) if the customer already has a Zuora account associated. This likely got missed when migrating to Orders API.
-
-In addition, `CreationFollowupService` also needs to update the default payment ID (as done [here](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/9d9d6d56f56d596e0f98c52009e2a3638575f1c7/app/services/subscribe_service.rb#L195) in SubscribeService).
-
-As part of the fix also update `OrderManagerService` spec to use `:with_zuora_account` trait (see [comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5290#note_1078327840)).
-
-## Summary
-
-(Summarize the bug encountered concisely)
-
-## Steps to reproduce
-
-(How one can reproduce the issue - this is very important)
-
-## What is the current *bug* behavior?
-
-(What actually happens)
-
-## What is the expected *correct* behavior?
-
-(What you should see instead)
-
-## Relevant logs and/or screenshots
-
-(Paste any relevant logs - please use code blocks (```) to format console output,
-logs, and code as it's tough to read otherwise.)
-
-## Workarounds
-
-(Ways to get around the issue)
-
-## Reported examples
-
-1.
-1.
-1.
-
-",2
-113699258,2022-08-23 14:15:30.666,Order action for TermsAndConditions,"
-
-### Problem
-
-Similar to the other Order actions implemented to renew a subscription, add, update and remove a product, we need an Order action to update [Terms and conditions](https://knowledgecenter.zuora.com/Billing/Subscriptions/Orders/AC_Orders_Tutorials/C_Change_the_Terms_and_Conditions_of_a_Subscription?_gl=1%2A1l4o63o%2A_ga%2AMzk3MTU1OTE4LjE2NDgwNjkzODE.%2A_ga_MY8CQ650DH%2AMTY2MTI2MzQ2My4yMTYuMS4xNjYxMjYzNTgzLjAuMC4w&_ga=2.3888562.30517363.1661062519-397155918.1648069381) of a subscription.
-
-In the current workflow, terms and conditions of a subscription are updated when a subscription is auto-renewed ([source](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/3c782065f5922a8b54c1ebec1449d4f1f0edabe8/app/services/amend_subscription_service.rb#L141)).
-
-### Proposal
-
-In the module `app/services/zuora/orders/actions`, create a service class `UpdateTermsAndConditions`.
-
-The service implements the following:
-
-* inherits `Zuora::Orders::Actions::BaseService`
-* defines `.execute` method that accepts `params` and instantiates an object of the class and invoked `#execute`
-* defines `#execute` method
-
-The `#execute` method constructs `orderAction` object to update terms and conditions of a subscription, with the below parameters:
-
-| Parameter | Type | Description |
-|-----------|------|-------------|
-| `type` | String | Constant value: `TermsAndConditions` |
-| `triggerDates` | Array of Objects | Each object has the keys: `name` and `triggerDate`. Defines `ContractEffective`, `ServiceActivation` and `CustomerAcceptance` dates as appropriate (see what dates existing workflow implements)|
-| `auto_renew` | Boolean | Based on user input (included in `params`) |
-
-Params are set in accordance to the current logic for updating terms and conditions in `AmendSubscriptionService`, please verify if any other param is set in existing implementation.
-
-
-
-### Result
-
-The service constructs the `orderActions` object to update terms and conditions of a subscription.
-
-### Next steps (if any)
-
-### How will we measure success?",2
-113634419,2022-08-22 13:58:59.582,Preview amendment using Order's API,"
-
-### Problem
-
-Similar to amendment preview (before the actual purchase), we need a way to use the Orders API to preview an amendment.
-
-### Proposal
-
-
-
-Use Order Preview functionality introduced in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4476.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-113597736,2022-08-22 00:21:23.658,Feature flag use of Orders API when updating subscription,"
-
-### Problem
-
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5254 introduced AmendmentManagerService that serves as an entry point to perform amendment operation using Order's API.
-
-In order to use this service for Amendment operations, this issue pertains with using it in `SelfService::Subscriptions::UpdateService`.
-
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-113533862,2022-08-19 14:36:12.404,Refactor can_activate_cloud_license logic,"### Problem
-The current activation code logic includes a check for eligibility: `can_activate_cloud_license?`
-
-This eligibility is currently dependent on the other Super Sonics fields being populated. This is causing problems and is not a relevant dependency.
-
-### Proposal
-Remove this SS dependency to ease the creation of activation codes.
-
-In the check for `can_activate_cloud_license?` ([code](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/fe7feb2659aff9cd2bf60e998e91c042462a29c8/app/models/subscription.rb#L461)), remove:
-
-* `ContractSeatReconciliation__c` is not `null`
-* `ContractAutoRenew__c` is not `null`
-* `ContractOperationalMetrics__c` is not `null`
-* The method `Subscription#can_activate_cloud_license?` would only check for `self_service?` which can be used directly instead
-
-
-### Result
-In tandem with https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4688, this will remove the dependency of the other SS fields being populated on the creation of a cloud license activation code.
-
-### Availability & Testing
-
-
-
-Based on the description:
-
-> ... Super Sonics fields being populated. **This is causing problems** and is not a relevant dependency.
-
-These problems are likely to have risen from a lack of test coverage. Let's isolate and determine where the test gap is and fill it.",1
-113481799,2022-08-18 16:16:29.220,Clean up SaaS Provisioning Email,"
-
-### Problem
-I noticed while recording an [updated SaaS provisioning flow walkthrough](https://www.youtube.com/watch?v=rg8liZIQ2Mo) ([issue](https://gitlab.com/gitlab-org/gitlab/-/issues/370481)) that the SaaS provisioning email is not the greatest UX. Let's try to clean this one up however possible.
-
-This is for the html email for a GL.com purchase from Salesforce `CustomerMailer.gl_com_purchase_from_sf` - found here: https://gitlab.com/-/ide/project/gitlab-org/customers-gitlab-com/tree/remove_quotes_in_gl_com_purchase_from_sf_html_email/-/app/views/customer_mailer/gl_com_purchase_from_sf.html.haml/
-
-**Current View:**
-
-
-
-### Proposal
-
-
-
-
-
-#### Figma Design
-[Figma File](https://www.figma.com/file/RwDEORCySqiDhagP7OJSde/Clean-up-SaaS-Privisioning-Email?node-id=0%3A1)
-
-First iteration design and design feedback can be found here - https://gitlab.com/gitlab-org/gitlab/-/issues/370481/designs/SaaS_Provisioning.png
-
-### Links
-| Linked Email Text | URL |
-| ------ | ------ |
-| login | https://gitlab.com/users/sign_in |
-| register | https://gitlab.com/users/sign_up |
-| Create a new group | https://docs.gitlab.com/ee/user/group/manage.html#create-a-group |
-| Owner | https://docs.gitlab.com/ee/user/permissions.html#group-members-permissions |
-| Contact our support team | https://support.gitlab.com/hc/en-us/requests/new?ticket_form_id=360000803379 |
-| Link your GitLab user account to your Customers Portal account | https://docs.gitlab.com/ee/subscriptions/index.html#change-the-linked-account |
-| Link your subscription to your namespace | https://docs.gitlab.com/ee/subscriptions/index.html#change-the-linked-namespace |
-| view your GitLab SaaS subscription | https://docs.gitlab.com/ee/subscriptions/gitlab_com/#view-your-gitlab-saas-subscription |
-| GitLab Support | https://about.gitlab.com/support/ |
-| footer: logo | https://about.gitlab.com/ |
-| footer: Support | https://about.gitlab.com/support/ |
-| footer: Customers Portal | https://customers.gitlab.com/customers/sign_in |
-| footer: Blog | https://about.gitlab.com/blog/ |
-| footer: Contact Sales | https://about.gitlab.com/sales/ |
-
-## Result
-* Email is clearer, more concise, and more visually appealing with obvious sections",2
-113464394,2022-08-18 12:17:01.879,"Add validations on the use of feature category (Follow-up from ""Link the ""feature_category"" class attribute to the Prometheus collector"")","The following discussion from !5241 should be addressed:
-
-- [ ] @reprazent started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5241#note_1067118408): (+3 comments)
-
- > Should we still populate the labels for these controllers if they can receive requests? We can have the `endpoint_id` built and use the fallback feature category.
- >
- > Only if they'd never receive requests, we can exclude them. Is that the case here?",1
-113426773,2022-08-17 21:31:07.073,Use Per Unit Charge Model to create new subscription,"
-
-# Bug
-
-## Summary
-
-While purchasing new subscriptions, the price is determined based on the quantity of a service or product purchased.
-
-The current implementation uses [`recurringVolume`](spec/services/zuora/orders/entities/subscribe_to_rate_plans_spec.rb) pricing, while it should use [Per Unit Charge Model](https://knowledgecenter.zuora.com/Billing/Subscriptions/Product_Catalog/B_Charge_Models#Per_Unit_Charge_Model).
-
-Per the [docs](https://knowledgecenter.zuora.com/Billing/Subscriptions/Product_Catalog/B_Charge_Models#Per_Unit_Charge_Model) for Per Unit Charge Model:
-
-> With the per unit charge model, the amount to charge is expressed as a price per unit. The price is calculated based on the quantity of a service or product purchased by the customer, where the total price charged per period would be the quantity multiplied by the per-unit price. An example of a per unit charge would be a software-as-a-service vendor that charges $50 per user per month for their service.
-
-> Per unit pricing can be used with one-time, recurring, or usage charges.
-
-[Docs](https://knowledgecenter.zuora.com/Billing/Subscriptions/Product_Catalog/B_Charge_Models#Volume_Pricing_Charge_Model) for Volume Pricing Charge Model:
-
-> With a volume pricing charge model, the price to be charged is based on the volume purchased. When setting up a volume charge model, a price table is used to define the pricing for each range of volumes, as well as the pricing rule to apply if the customer purchases a quantity that falls within the range of that tier. Each tier is defined by a starting unit, an ending unit, a list price, and a price format (which can be either flat fee or per unit).
-
-Please note that this is **currently not impacting** the existing new subscriptions purchased:
-
- 1. When additional CI minutes is purchased for a new customer (having no prior subscriptions). It uses Order's API workflow for new subscriptions, and the pricing model is `One-Time - Per Unit Pricing`.
-
-
-
-- [Link to Subscription ](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa38682aad91e0182adf139042df4)
-- [Verification walkthrough](https://drive.google.com/file/d/1cfBlfMUtXaUK8P4PJg2OayPbz9R_gM3C/view?usp=sharing)
-
- 2. When customer purchases new subscription for a plan. It uses Order's API workflow for new subscriptions, and the pricing model is `Recurring - Per Unit Pricing`.
-
-- [Link to Subscription](https://test.zuora.com/apps/Subscription.do?method=view&id=8a8aa0a082aa6f8c0182ade15fc915f6)
-- [Verification walkthrough](https://drive.google.com/file/d/1BpRbusMjgNbMczWDinx9AV8ZboNy0q3i/view?usp=sharing)
-
-This is likely due to the fact that the request also includes [`product_rate_plan_charge_id`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/6909e8dfb20722b24f3fbbcf4ea07ba8d5a37a9d/app/services/zuora/orders/entities/subscribe_to_rate_plans.rb#L38) (confirmation pending).
-
-## Steps to reproduce
-
-(How one can reproduce the issue - this is very important)
-
-1. Navigate to the billing page of a namespace in gitlab.com
-2. Select a plan and enter pricing details
-3. Verify the request defines pricing model as `recurringVolume`
-
-## What is the current *bug* behavior?
-
-Although no impact was observed in the subscriptions created in Zuora, the pricing model in the request needs update.
-
-## What is the expected *correct* behavior?
-
-New subscriptions should be created with `Per Unit Pricing` pricing model.
-
-- for add-ons (CI minutes, storage): use `One-Time - Per Unit Pricing`
-- for plans: use `Recurring - Per Unit Pricing`
-
-(What you should see instead)
-
-## Relevant logs and/or screenshots
-
-(Paste any relevant logs - please use code blocks (```) to format console output,
-logs, and code as it's tough to read otherwise.)
-
-## Workarounds
-
-(Ways to get around the issue)
-
-## Reported examples
-
-1.
-1.
-1.
-
-",3
-113423268,2022-08-17 19:35:03.203,Improve license text on subscription page,"
-
-### Problem
-
-Currently, some of the text displayed on the Subscription Admin Page and Admin Overview page within a self-managed subscription is confusing to customers.
-* The text ""Renews: in X days"" is confusing/alarming to customers:
- * Who are not on auto-renew - this is not accurate as they actually will lose access
- * Who have already purchased a renewal subscription that is an upgrade from their current - this is not accurate
-* The text ""Valid From"" isn't very clear - saying something simpler may be clearer to customers
-* ""Expires on"" is harsh, and can imply the end of a subscription even if a customer has already renewed
-
-### Proposal
-
-#### Changes on the Admin > Subscription page
-
-Update the following text under `Subscription details` to reduce customer confusion:
-1. Change `Renews` to `End date`
-1. Change the End date format from an relative date (eg, `in 11 days`) to an absolute date (eg, `2022-08-06`)
-1. Change `Started` to `Start date`
-1. Change `Last Sync` to `Last sync` (sentence case)
-1. Update the order to be:
- - Start date
- - End date
- - Last sync
-
-
-Update the following text under `Subscription History`:
-1. Change ""Valid From"" to ""Start date""
-2. Change ""Expires On"" to ""End date""
-3. Change ""Activated on"" to ""Activation date""
-
-
-
-
-#### Changes on the Admin > Overview page
-
-Update the following text under `License overview` to reduce customer confusion:
-1. Change `Expires` to `End date`
-
-
-
-### Result
-Customer is more clearly able to understand the current state of their subscription.",1
-113355133,2022-08-16 15:50:32.826,Introduce Manager Service for amendments,"
-
-### Problem
-
-Introduce `AmendmentManagerService` that will serve as an entry point for amendment workflow.
-
-The purpose of this service is to:
- - determine the order action types for the request (based on `params`)
- - verify feature availability for the determined order action types
- - trigger order manager service if feature availability passed
-
-### Proposal
-
-
-
-Create `ActionTypeGenerator` that determines possible order action types. Create `AmendmentManagerService` that does the following:
-
- - invokes `ActionTypeGenerator` to get possible order action types. If no order actions were found, return an error response so we can fallback to existing amendment workflow.
- - run feature availability on the order action types
- - trigger order manager service if feature availability returns `true`. If `false`, return an error response so we can fallback to existing amendment workflow.
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-113292980,2022-08-15 14:23:53.997,Integrate UpdateProduct order action with OrderManagerService,"
-
-### Problem
-
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5162 introduced an order action service for `UpdateProduct`. This issue pertains with integrating it in the amendment workflow.
-
-### Proposal
-
-
-
-Product update is being handled in [AmendSubscriptionService](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/app/services/amend_subscription_service.rb).
-
-For the options that are needed in `UpdateProduct` we can either pass the options directly from `AmendSubscriptionService` or pass params to a `FilterService` which returns the required options.
-
-note: `AmendSubscriptionService` handles multiple amendments in a single call, we need to check if we can replace individual amendment actions with the new order service or do we need to wait for all actions to be implemented before we can integrate the new order service.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-113153295,2022-08-11 19:28:40.478,"Follow-up: remove ""optional"" from cancellation survey checkboxes section","
-
-# Feature Request
-
-## Problem
-
-
-
-As part of the changes made in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4035, we added to the header that the selection of cancellation reason is optional. See before/after here: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4035#note_971075680
-
-This then lead to a drop in responses as outlined in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4035#note_1052667342
-
-## Proposal
-
-
-
-We'd like to remove the `(optional)` from the top header, so instead of
-`Could you tell us a bit more about your cancellation? (optional)`
-
-It should read
-`Could you tell us a bit more about your cancellation?`
-
-Note that the actual selection should continue to be optional, just like it has always been, and we shouldn't block the form submission on requiring them to select an option.
-
-## Next steps (if any)
-
-
-
-## How will we measure success?
-
-Increase in submissions.",1
-113126277,2022-08-11 10:43:04.900,Revise cancellation modal to include a dropdown vs multiselect,"
-
-## Problem
-
-Currently, the cancellation modal is very busy – primarily due to the 'cancellation reason' options. This increases cognitive load for the user. Given that there is also an [issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3981) to add content to this modal regarding overages, it may be wise to look at a simpler design for this modal.
-
-##### Current Experience
-
- 
-
-## Proposal
-
-
-Replace the multi select options with a dropdown, which will include all the current options.
-
-## Design
-[Figma File](https://www.figma.com/file/WfIcP3jg6nkBT0GCqkZvTE/Cancellation-%E2%80%93%C2%A0Info-on-overages?node-id=0%3A1)",2
-113113546,2022-08-11 07:26:34.213,Add script for generating feature categories,"
-
-### Problem
-
-Port the [`update-feature-categories`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/scripts/update-feature-categories) script and generate `config/feature_categories.yml` file.
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",1
-113106538,2022-08-11 03:56:14.317,Expired subscription has a Cancel subscription button,"
-
-# Bug
-
-## Summary
-
-The customer subscription failed to auto renew because of payment failure. When the subscription expires, there's no renew button but the `Cancel Subscription` button.
-
-## Steps to reproduce
-
-(How one can reproduce the issue - this is very important)
-
-## What is the current *bug* behavior?
-
-(What actually happens)
-
-## What is the expected *correct* behavior?
-
-(What you should see instead)
-
-## Relevant logs and/or screenshots
-
-(Paste any relevant logs - please use code blocks (```) to format console output,
-logs, and code as it's tough to read otherwise.)
-
-
-
-## Workarounds
-
-(Ways to get around the issue)
-
-## Reported examples
-
-1. https://gitlab.zendesk.com/agent/tickets/314929
-1.
-1.
-
-",2
-113023599,2022-08-09 19:24:45.432,[Feature flag] Enable use_orders_api_preview_subscription,"
-
-# Summary
-
-
-
-This issue is to rollout [Order preview for new subscriptions](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4476) on CustomersDot production,
-that is currently behind the [`use_orders_api_preview_subscription`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/150/edit) feature flag.
-
-## Owners
-
-- Team: Fulfillment Platform
-- Most appropriate Slack channel to reach out to: `#g_fulfillment_platform`
-- Best individual to reach out to: @aish.sub
-- PM: @tgolubeva
-
-## Stakeholders
-
-
-
-## The Rollout Plan
-
-- Partial Rollout with specific Customers on CustomersDot, [via Unleash](https://docs.gitlab.com/ee/operations/feature_flags.html#user-ids)
-- Rollout on CustomersDot for a certain period (How long)
-- Percentage Rollout on CustomersDot
-- Rollout Feature for everyone as soon as it's ready
-
-
-
-## Testing User/Customer IDs
-
-
-
-## Expectations
-
-### What are we expecting to happen?
-
-
-
-When customer's preview subscription before purchase, the request in the backend uses Zuora's [Preview an Order API](https://www.zuora.com/developer/api-reference/#operation/POST_PreviewOrder) instead of Subscribe API.
-
-### What might happen if this goes wrong?
-
-
-
-Customer's may not be able to preview subscription accurately before purchase.
-
-### What can we monitor to detect problems with this?
-
-
-
-## Rollout Steps
-
-### Rollout on non-production environments
-
-- [x] Ensure that the feature MRs have been deployed to non-production environments, i.e. `customers-staging`.
-- [x] Consider announcing that the flag will be enabled to potentially impacted groups, e.g. `#s_fulfillment_engineering`
-- [x] Enable the feature globally on non-production environments by applying the appropriate environment, e.g. `customers-staging` and `customers-development`.
-- [x] Notify the Software Engineers in Test (SETs) for Fulfillment via Slack and in a comment in this issue when enabling a feature flag in `customers-staging` as it can impact the QA pipeline.
-- [x] Verify that the feature works as expected. Posting the QA result in this issue is preferable.
-
-### Preparation before production rollout
-
-- [x] Ensure that the feature MRs have been deployed to production
-- [ ] Check if the feature flag change needs to be accompanied with a
- [change management issue](https://about.gitlab.com/handbook/engineering/infrastructure/change-management/#feature-flags-and-the-change-management-process).
- Cross link the issue here if it does.
-- [x] Ensure that you or a representative in Fulfillment can be available for at least 2 hours after feature flag updates in production.
- If a different developer will be covering, or an exception is needed, please inform the Fulfillment team in #s_fulfillment_engineering
-- [ ] Ensure any documentation has been updated
-- [ ] Announce on [the feature issue](ISSUE LINK) an estimated time this will be enabled on production if applicable
-- [ ] If the feature might impact the user experience, notify `#s_fulfillment` and potentially `#support_gitlab-com`, as well as your team channel ([more guidance when this is necessary in the dev docs](https://docs.gitlab.com/ee/development/feature_flags/controls.html#communicate-the-change)).
-
-### Global rollout on CustomersDot production
-
-- [x] Confirm the feature flag is enabled on `staging` without incident
-- [ ] Roll out the feature to targeted testing users first (if applicable)
-- [x] If applicable, [incrementally roll out](https://docs.gitlab.com/ee/operations/feature_flags.html#percent-rollout) the feature.
-- [x] Verify the change has the desired outcome with the limited rollout before enabling the feature globally on production.
-- [x] Enable the feature globally on production environment
-- [x] Announce on [the feature issue](ISSUE LINK) that the feature has been globally enabled.
-- [ ] Wait for [at least one day for the verification term](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release).
-
-### Release the feature
-
-After the feature has been [deemed stable](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release),
-the clean up should be done as soon as possible to permanently enable the feature and reduce complexity in the codebase.
-
-
-- [x] Create a merge request to remove `` feature flag
- - [x] Remove all references to the feature flag from the codebase
-- [ ] Ensure that the cleanup MR has been deployed to both staging and production
-- [ ] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Ensure production environment is still working as expected
-- [ ] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [ ] Close this rollout issue.
-
-## Rollback Steps
-
-- [ ] This feature can be disabled by performing the following actions:
- - [ ] Disable the Unleash flag on the [feature flag page](LINK TO THE FEATURE FLAG EDIT PAGE)",2
-112997074,2022-08-09 11:14:39.697,Activate cloud license during installation,"### Problem
-
-Customers were able to add their [license file during installation](https://docs.gitlab.com/ee/user/admin_area/license_file.html#add-your-license-file-during-installation) of their GitLab instance when using a legacy license. With Cloud License this is no longer possible.
-
-Please note more details in this issue: https://gitlab.com/gitlab-org/gitlab/-/issues/383878
-
-### Workaround
-
-Request an [offline cloud license](https://about.gitlab.com/pricing/licensing-faq/cloud-licensing/#offline-cloud-licensing), which can be applied during installation.
-
-### Proposal
-
-Add the ability to add activation code during the installation of a GitLab instance, similar to what was possible for legacy licenses: https://docs.gitlab.com/ee/user/admin_area/license_file.html#add-your-license-file-during-installation.
-
-### Reported Examples
-1. https://gitlab.zendesk.com/agent/tickets/315115
-1. https://gitlab.zendesk.com/agent/tickets/343826
-2. https://gitlab.zendesk.com/agent/tickets/365130",3
-112969772,2022-08-08 22:31:50.773,Use OrderManagerService to renew subscription,"
-
-### Problem
-
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4326 implemented Order action `Zuora::Orders::Actions:: RenewSubscription` that constructs the request body to renew a subscription.
-
-The next step is to use this order action in `OrderManagerService` to renew a subscription.
-
-### Proposal
-
-
-
-:warning: Depends on [AmendmentManagerService](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5254) to be complete.
-
-- Use `ActionTypesGenerator` to determine if a request pertains to renewing a subscription: see separate issue: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4723
-- Integrate `RenewSubscription` order action with OrderManagerService: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5290
-
-### Result
-
-When renewing a subscription, there are other order actions involved: Adding a Product, Removing a product, Updating a product.
-
-Consequently, the renewal workflow will not be e2e complete with this issue. However, we can use it to test a subscription is getting renewed without any seat / product changes.
-
-### Next steps (if any)
-
-### How will we measure success?",3
-112864577,2022-08-05 19:56:14.063,"Follow-up from ""SFDC: during opportunity creation, create account if absent""","The following discussion from !5186 should be addressed:
-
-- [ ] @a_luna started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5186#note_1051504289): (+2 comments)
-
- > **thought (non-blocking):** The comment here is good but since `CreateSalesforceAccountService` basically does a `find_or_create`, maybe it would be better to clarify that in the service name? Renaming it to something like `FindOrCreateSalesforceAccountService` would be longer but self-explanatory.
- >
- > I see this service has been like this for a while so definitely something that could be handled in a follow up!",1
-112860691,2022-08-05 17:34:25.955,"Investigate ""Update GitLab Plan"" function / mechanizer incident","The [update gitlab plan function](https://gitlab.com/gitlab-com/support/toolbox/console-training-wheels/-/blob/master/lib/support_team.rb#L86) seems to be the root cause of https://gitlab.com/gitlab-com/gl-infra/production/-/issues/7555
-
-We need to investigate why.
-
-From `@jameslopez`:
-
-> its process was using up to half the total memory and killing it brought the system back up (as well as reducing CPU load). there could be many causes to this, from a race condition to a memory leak somwhere",5
-112811238,2022-08-04 18:29:52.757,Remove Customer dependency from Subscription model,"### Problem
-
-In CustomersDot, a `Subscription` model exists as a wrapper around a `Zuora::Subscription` object. This wrapper is meant to contain business logic specific to CustomersDot. The `Subscription` class has an initialization dependency on having a `Customer` record ([see code](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/99ecaa74572bcf1542b5ab9fadba3f410b402b18/app/models/subscription.rb#L93)). This dependency does not seem to be necessary and only adds to the complexity in our system.
-
-In most places, the `Customer` record is used simply as a way to determine the `zuora_account_id` for the subscription, but we should be getting this directly from the `Zuora::Subscription` instead. In other places, it is used to determine who should receive provisioning emails, but this can also be determined from using Zuora (the Sold To contact of the Zuora Account).
-
-### Proposal
-
-Identify and update all places where the `customer` is referenced from the `Subscription` object, and eventually remove the dependency altogether. We can start with the easy references where customer is used to get the `zuora_account_id`.
-
-### Result
-
-A much cleaner and understandable `Subscription` class. This will also enable us to rely more on Zuora data and less on the customer data in CDot which helps towards the initiative in https://gitlab.com/groups/gitlab-org/-/epics/8331.",8
-125858767,2022-08-04 10:09:12.035,Provide the ability in CustomerDot to send a cloud activation code to another account,"[[_TOC_]]
-
-## Step 1: Describe what this request is about by answering the following questions
-
-### What is the problem/opportunity?
-
-Currently, in CustomerDot it is only possible to send a cloud activation code to the account owner. As shown below:
-
-
-
-
-
-However, it is possible to forward a license file to another account
-
-
-
-
-This problem was exposed by a customer in a [zendesk ticket](https://gitlab.zendesk.com/agent/tickets/310143) when the account owner was on vacation and the other users did not have access to GitLab as a result.
-
-### Who is it for?
-
- 1. External: SM customers
-
-
-### Why is this important?
-
-It is important that CustomerDot provides the parity of functionality for Cloud Licensing Activation Codes that it does for Offline/legacy licenses
-
-### How do you propose we solve for it?
-
-Create forward license activation code functionality
-
-
-### What does success look like, and how can we measure that?
-
-CustomerDot provides the ability to send the Activation Code to another email
-
-## Proposal
-Implement the same process used today by legacy licenses.
-
-### Availability & Testing
-
-
-
-We will need to create many lower-level tests including, but not limited to:
-
-- Unit specs
-- Controller specs
-- Jest specs
-- Email validity
-- Likely Model validation specs(?) [are we validating email via the model, controller?]
-- Feature specs
-- Mailer specs(?) [test that the email has indeed been sent to the appropriate email]
-
-Other things to consider:
-
-- When the customer adds a new email, are we saving this email somewhere, so it can be sent later from a list of valid emails?
-- What email validation regex are we going to be using? Will this validation regex allow wildcard emails? (e.g.: ddavison+fulfillment[at]gitlab.com)",3
-112753832,2022-08-03 21:27:42.075,Order should be rejected if an existing customer tries to purchase through Arrow,"### Problem
-
-We identified when discussing the [scorecard for UAT](https://docs.google.com/spreadsheets/d/1innM5QJP11Cc_0yuejYCkgyFqWrsuShgMG_pG-iN43s/edit#gid=0) as a group that orders need to be rejected when an existing customer attempts to make a purchase through Arrowsphere. There are a few reasons for this:
-
-1. We don't want to allow existing Customers with access to the Customer Portal to be able to make a purchase via Arrowsphere and allow them to manage their subscription through the Portal.
-2. Customers may be looking to make adjustments to existing subscriptions through Arrowsphere by mistake. By preventing this action, we are saving some headache and directing them to the sales-assisted route.
-
-### Proposal
-
-If a Customer record already exists, reject a subscription from being created through the marketplace subscriptions API.
-
-We got clarification from the team that CustomersDot should block an Order if a Customer record exists with the email address (Sold To) and has an associated Zuora Account. That means even if the Customer record was created through an earlier Arrowsphere order, it will still be rejected.",1
-112703434,2022-08-03 07:05:25.367,Refactor SubscriptionSerializer in License creation,"This is a refactoring suggestion to merge `SubscriptionSerializer` with `License` model.
-
-`SubscriptionSerializer` was originally created to serialize Zuora callback data so we can send it to LicenseApp for creating a license.
-
-LicenseDot is now merged with CDot, so its only usage is in `License#build_from_subscription`. We can consider it as an unnecessary layer of abstraction, with readability drawback: we can't easily tell how Zuora callback attributes are mapped to License record. Additional attribute name aliases were also introduced by this serializer, adding more cognitive load.
-
-## Proposal
-
-Two opposite proposals:
-
-1. inline `SubscriptionSerializer` into `License#build_from_subscription`
-2. turn `SubscriptionSerializer` into a License factory, which would replace `License#build_from_subscription`",2
-112642898,2022-08-02 07:38:20.070,Switch to asdf-postgres,"
-
-### Problem
-
-Our installation guide has a section for installing PostgreSQL via Homebrew and via `asdf`. So we have two tools for installing two things and that might cause problems like if you installed everything via Homebrew and then decided to switch to `asdf`. Which database will be used in this case? The answer is unknown.
-
-### Proposal
-
-Let's switch to a single tool for installing our dependencies. GDK and CustomersDot as well as other projects in GitLab uses `adsf` as default tool for managing runtimes. GDK also uses `asdf` to install the correct PostgreSQL version so we should to the same to eliminate possible discrepancies and simplify our setup documentation.",1
-112410343,2022-07-28 21:41:34.045,[Feature flag] Enable use_orders_api_subscription_workflow,"
-
-# Summary
-
-
-
-This issue is to rollout [FEATURE NAME](ISSUE LINK) on CustomersDot production,
-that is currently behind the [``](LINK TO THE FEATURE FLAG EDIT PAGE) feature flag.
-
-## Owners
-
-- Team: Fulfillment Platform
-- Most appropriate Slack channel to reach out to: `#g_fulfillment_platform`
-- Best individual to reach out to: @aish.sub
-- PM: @tgolubeva
-
-## Stakeholders
-
-
-
-## The Rollout Plan
-
-| Step | Due date | Status |
-|---|---|---|
-| Enable flag `use_orders_api_subscription_workflow on staging| 2022-07-21 | :white_check_mark: |
-| Perform test runs for use cases listed in issue: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4562| 2022-07-29 | :white_check_mark: |
-| Monitoring period | Until 2022-08-03 | :white_check_mark: |
-| Enable on production | 2022-08-03 | :white_check_mark: [Link](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4601#note_1050040212) |
-| Cleanup https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5206 | 2022-08-12 | :white_check_mark: |
-
-
-
-## Testing User/Customer IDs
-
-
-
-## Expectations
-
-### What are we expecting to happen?
-
-
-
-Subscriptions are created in Zuora using Order's API for all types except Marketplace.
-
-### What might happen if this goes wrong?
-
-
-
-Subscriptions not created in Zuora, this could be a high risk for customers.
-
-### What can we monitor to detect problems with this?
-
-
-
-Sentry, #s_fulfillment_status channel
-
-## Rollout Steps
-
-### Rollout on non-production environments
-
-- [x] Ensure that the feature MRs have been deployed to non-production environments, i.e. `customers-staging`.
-- [x] Consider announcing that the flag will be enabled to potentially impacted groups, e.g. `#s_fulfillment_engineering`
-- [x] Enable the feature globally on non-production environments by applying the appropriate environment, e.g. `customers-staging` and `customers-development`.
-- [x] Notify the Software Engineers in Test (SETs) for Fulfillment via Slack and in a comment in this issue when enabling a feature flag in `customers-staging` as it can impact the QA pipeline.
-- [x] Verify that the feature works as expected. Posting the QA result in this issue is preferable.
-
-### Preparation before production rollout
-
-- [x] Ensure that the feature MRs have been deployed to production
-- [ ] Check if the feature flag change needs to be accompanied with a
- [change management issue](https://about.gitlab.com/handbook/engineering/infrastructure/change-management/#feature-flags-and-the-change-management-process).
- Cross link the issue here if it does.
-- [x] Ensure that you or a representative in Fulfillment can be available for at least 2 hours after feature flag updates in production.
- If a different developer will be covering, or an exception is needed, please inform the Fulfillment team in #s_fulfillment_engineering
-- [ ] Ensure any documentation has been updated
-- [ ] Announce on [the feature issue](ISSUE LINK) an estimated time this will be enabled on production if applicable
-- [x] If the feature might impact the user experience, notify `#s_fulfillment` and potentially `#support_gitlab-com`, as well as your team channel ([more guidance when this is necessary in the dev docs](https://docs.gitlab.com/ee/development/feature_flags/controls.html#communicate-the-change)).
-
-### Global rollout on CustomersDot production
-
-- [x] Confirm the feature flag is enabled on `staging` without incident
-- [ ] Roll out the feature to targeted testing users first (if applicable)
-- [x] If applicable, [incrementally roll out](https://docs.gitlab.com/ee/operations/feature_flags.html#percent-rollout) the feature.
-- [x] Verify the change has the desired outcome with the limited rollout before enabling the feature globally on production.
-- [x] Enable the feature globally on production environment
-- [x] Announce on [the feature issue](ISSUE LINK) that the feature has been globally enabled.
-- [x] Wait for [at least one day for the verification term](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release).
-
-### Release the feature
-
-After the feature has been [deemed stable](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release),
-the clean up should be done as soon as possible to permanently enable the feature and reduce complexity in the codebase.
-
-
-- [x] Create a merge request to remove `` feature flag
- - [x] Remove all references to the feature flag from the codebase
-- [x] Ensure that the cleanup MR has been deployed to both staging and production
-- [x] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [x] Ensure production environment is still working as expected: 
-- [x] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [x] Close this rollout issue.
-
-## Rollback Steps
-
-- [ ] This feature can be disabled by performing the following actions:
- - [ ] Disable the Unleash flag on the [feature flag page](LINK TO THE FEATURE FLAG EDIT PAGE)
-
-/label ~""DevOps::fulfillment"" ~""section::fulfillment"" ~""feature flag""
-/assign `DRI`",3
-112266837,2022-07-26 23:40:23.205,Include customer VAT code for new account,"
-
-### Problem
-
-Similar to the [Subscribe API](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/2d39af088c7f64fd534fc55cee7aabc3b5f53ead/app/services/subscribe_service.rb#L56), include customer's VAT code when creating an account for a new subscription.
-
-### Proposal
-
-
-
-Update `Zuora::Orders::Entities::NewAccount` to include to pass `vat_code` in `tax_info` object.
-
-### Result
-
-VAT ID is set for the new account in Zuora if customer's account has a VAT code set.
-
-### Next steps (if any)
-
-### How will we measure success?",1
-112259267,2022-07-26 19:30:29.385,"Follow-up from ""Generate order action for renew subscription""","The following discussion from !5077 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5077#note_1039042561): (+2 comments)
-
- > **Suggestion:** Since this type name matches the class name (minus the namespace), [just like the one defined in `CreateSubscription`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5077/diffs#305e4eb502d53caa9613283a073924536c92e484_39_39), what do you think about defining a `type` method for this in `Zuora::Orders::Actions:BaseService` and removing the ones in the subclasses?
- >
- > ```
- > def type
- > self.class.name.demodulize
- > end
- > ```
- >
- > If we think they'll always match the Action name, that might be a nice optimization. This could be done in a follow-up as well. WDYT?
-
-### Proposal
-
-1. Consider defining `action_type` in `Zuora::Orders::Actions:BaseService` that returns the class name:
-
-```ruby
-def action_type
- self.class.name.demodulize
-end
-```
-2. Remove `type` definition from the action classes (`CreateSubscription`, `RenewSubscription`)
-3. Update `type` to `action_type` in the `#execute` method in each of the action class",1
-112143190,2022-07-25 10:44:20.242,Replace usages of order.customer_id in feature flags and logging,"Update uses of `order.customer_id` with `order.current_customer.id` following discussion from !5057:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5057#note_1035847495): (+1 comment)
-
- > There are a handful of places where `order.customer_id` is used for scoping of `Unleash.enabled?` or logging. I suspect these could be updated as well.",1
-112120153,2022-07-25 03:44:19.781,[Feature flag] remove include_future_subscriptions,"
-
-# Summary
-
-
-
-This issue is to rollout [include_future_subscriptions](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3800) on CustomersDot production,
-that is currently behind the [`include_future_subscriptions`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags/112/edit) feature flag.
-
-## Owners
-
-- Team: Fulfillment::Provision
-- Most appropriate Slack channel to reach out to: `#g_provision`
-- Best individual to reach out to: @lulalala
-- PM: @courtmeddaugh
-
-## Expectations
-
-### What are we expecting to happen?
-
-
-
-### What might happen if this goes wrong?
-
-
-
-### Release the feature
-
-After the feature has been [deemed stable](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/#including-a-feature-behind-feature-flag-in-the-final-release),
-the clean up should be done as soon as possible to permanently enable the feature and reduce complexity in the codebase.
-
-
-- [x] Create a merge request to remove include_future_subscriptions feature flag
- - [x] Remove all references to the feature flag from the codebase
-- [x] Ensure that the cleanup MR has been deployed to both staging and production
-- [x] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [x] Ensure production environment is still working as expected
-- [x] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [x] Close this rollout issue.
-
-## Rollback Steps
-
-- [ ] This feature can be disabled by performing the following actions:
- - [ ] Disable the Unleash flag on the [feature flag page](LINK TO THE FEATURE FLAG EDIT PAGE)",1
-111991239,2022-07-21 15:50:33.229,Switch SFDC BCC for Cloud Activation emails to Voucher email,"
-
-### Problem
-Today, in order to show proof of license delivery in SFDC of Cloud Activation emails, we BCC the SFDC email address on the activation emails sent to customers. These emails include the activation codes customers use to activate their subscription. Providing this data to anyone with access to SFDC is problematic for compliance reasons, given anyone could use this code to activate a subscription.
-
-### Proposal
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4565+ will create a voucher email for cloud license activation emails that will contain subscription details but will remove the activation code. This voucher will also include the relevant SFDC ID.
-
-Remove the SFDC BCC from the current cloud license activation email, and ~~instead add the SFDC BCC to the voucher email created in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4565~~ The SFDC BCC email is already set as default recipient in `VoucherMail`. Making it BCC again in `ActivationCodeVoucherMailer` would be redundant.",1
-111922224,2022-07-20 13:49:26.228,[Testing] New subscription workflow using Orders API,"
-
-### Problem
-
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4319 created FF `use_orders_api_subscription_workflow`, when enabled will use the Orders API for new subscription (except for marketplace and in preview mode).
-
-This issue is to track the testing progress before the go-live of this functionality.
-
-Part of [Orders API upgrade epic](https://gitlab.com/groups/gitlab-org/-/epics/6438).
-
-### Testing scenarios
-
-
-
-|Scenario|Steps|Expected result|Pass? (Staging environment)|Notes|
-|---|---|---|---|---|
-|Create a new SAAS subscription for a new customer from gitlab.com|1. Create new user in gitlab.com
2. Create a group
3. Navigate to billings page
4. Select a plan and fill billing details
5. Purchase subscription
|Customer, Order and Subscription is created with appropriate attributes| :white_check_mark: [Verification link](https://drive.google.com/file/d/1CzBtMrDXiMe3XeTNrxmIyeEbRHwDEkWi/view?usp=sharing)
:white_check_mark: [automated test](https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347667) | `vat_id` is not set for new customer: [Issue](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4584), [MR](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5143): [fixed](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4584#note_1046761737) |
-|Create a new SAAS subscription for a new customer from CDot|1. Create a new user new user in gitlab.com
2. Sign in CDot via gitlab.com
3. Select 'Buy a new subscription'
4. Enter plan and billing details
5. Purchase subscription|Customer, Order and Subscription is created with appropriate attributes| :white_check_mark: [Verification link](https://drive.google.com/file/d/1W1K5cQ5Xc05V3uj-XJr-qAXwj4U6T-Ca/view?usp=sharing)
:white_check_mark: [automated test](https://gitlab.com/gitlab-org/customers-gitlab-com/-/quality/test_cases/2749)||
-|Create a new SAAS subscription for an existing customer from gitlab.com|1. Sign in to an existing user in gitlab.com
2. Create a group
3. Navigate to billings page
4. Select a plan and fill billing details
5. Purchase subscription
|Order and Subscription is created with appropriate attributes| :white_check_mark: [Verification link](https://drive.google.com/file/d/1BMfZkI0t7PPUICtLWZceqLN1mVjuvxi5/view?usp=sharing)
:white_check_mark: [automated test](https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/349085)||
-|Create a new SAAS subscription for an existing customer from CDot|1. Sign in to an existing user in CDot
2. Select 'Buy a new subscription'
3. Enter plan and billing details
4. Purchase subscription |Order and Subscription is created with appropriate attributes| :white_check_mark: [Verification link](https://drive.google.com/file/d/1oy6TZkd41TWc7VrBl7Fc3RdT-RkK8LR7/view?usp=sharing)
:white_check_mark: [automated test](https://gitlab.com/gitlab-org/customers-gitlab-com/-/quality/test_cases/2752)||
-|Create a new self managed subscription for a new customer from CDot|1. Sign up CDot
2. In billing page, select option to buy 'self-managed' subscription'
3. Enter active user count and billing details
4. Purchase subscription | Order and Subscription is created with appropriate attributes. Activation code is emailed to user | :white_check_mark: [Verification link](https://drive.google.com/file/d/15uSeIB693OuqvzcKoNTmfkhFVqlnL_mR/view?usp=sharing)
:white_check_mark: [automated test](https://gitlab.com/gitlab-org/customers-gitlab-com/-/quality/test_cases/3096)||
-|Create a new self managed subscription for an existing customer from CDot|1. Sign in to an existing user in CDot
2. In billing page, select option to buy 'self-managed' subscription'
3. Enter active user count and billing details
4. Purchase subscription | Order and Subscription is created with appropriate attributes. Activation code is emailed to user | :white_check_mark: [Verification link](https://drive.google.com/file/d/1Qs0qAhmyrGRr2KESGZ3XzCxGP3jkyJbz/view?usp=sharing)
:white_check_mark: [automated test](https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347667) ||
-|Preview a subscription |1. Login to CDot
2. Visit url to create subscription with plan param ([http://localhost:5000/subscriptions/new?plan_id=2c92c0f97700a4f7017704c7fe465919 example](url))
3. Enter purchase details | Request is directed to Subscribe API. Orders API is not used for preview | :white_check_mark: [Verification video](https://drive.google.com/file/d/14KZVb0unCTO36OO2cj0KVxOgbcUmM8tA/view?usp=sharing)
:white_check_mark: [automated test](https://gitlab.com/gitlab-org/customers-gitlab-com/-/quality/test_cases/3424) ||
-|Create a new marketplace subscription for an existing customer| Follow the description in this [comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4562#note_1033256197) | Request is directed to Subscribe API. Orders API is not used for preview(Marketplace subscription does not use the preview) | :white_check_mark: [Verification video](https://drive.google.com/file/d/1DYJnjh8cGyewP1doGcjM7WtEuYCEXAL2/view?usp=sharing) | |
-|Create a new marketplace subscription for a new customer| Follow the description in this [comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4562#note_1033256197) | Request is directed to Subscribe API. Orders API is not used for preview(Marketplace subscription does not use the preview) | :white_check_mark: [Verification link](https://drive.google.com/file/d/1DryYncJvJ41yDpaLaHQCo115zswI5Cc_/view?usp=sharing) | |
-| Purchase additional CI minutes (new add-on subscription) | 1. Create a new user on gitlab.com
2. Create a group
3. Navigate to Usage Quotas -> Pipeline tab
4. Click on 'Buy additional minutes'
5. Fill in quantity and payment details. Submit form | New subscription is created for additional CI minutes purchase using Order's API. Reflects in gitlab.com | :white_check_mark: [Verification link](https://drive.google.com/file/d/1Ii_a7QWgFeZEZgMJmZIapZxH_bNnaSs6/view?usp=sharing) | |
-| Purchase additional storage (new add-on subscription) | 1. Create a new user on gitlab.com
2. Create a group
3. Navigate to Usage Quotas -> Storage tab
4. Click on 'Buy storage'
5. Fill in quantity and payment details. Submit form | New subscription is created for additional storage purchase using Order's API. Reflects in gitlab.com | :white_check_mark: [Verification link](https://drive.google.com/file/d/1HUDdEXxihEOETEsdRU41QT9fFbW7QufC/view?usp=sharing) | |
-| New OSS SaaS subscription | 1. Generate coupon (refer doc/coupon.md)
2. Create a new group gitlab.com
3. Sign in CDot via gitlab.com
4. Navigate to [Community Program Page for OSS](https://customers.staging.gitlab.com/subscriptions/community_program/new?product=oss) and select `Claim SaaS`
5. Select group
6. Enter quantity and coupon details
7. Purchase subscription | New subscription is created using Order's API for the quantity specified. Reflects in gitlab.com. Amount is 0. | :white_check_mark: [Verification link](https://drive.google.com/file/d/1uE24F8Q_iLkz_zudLBs9o44od0p7gsQW/view?usp=sharing) | |
-| New EDU SaaS subscription | 1. Generate coupon (refer doc/coupon.md)
2. Create a new group gitlab.com
3. Sign in CDot via gitlab.com
4. Navigate to [Community Program Page for EDU](https://customers.staging.gitlab.com/subscriptions/community_program/new?product=edu) and select `Claim SaaS`
5. Select group
6. Enter quantity and coupon details
7. Purchase subscription | New subscription is created using Order's API for the quantity specified. Reflects in gitlab.com. Amount is 0. | :white_check_mark: [Verification link](https://drive.google.com/file/d/103DnUBkOO5wfByI9kAW796KuM8__qlEO/view?usp=sharing) | |
-| New OSS self managed subscription | 1. Generate coupon (refer doc/coupon.md)
2. Sign in CDot
3. Navigate to [Community Program Page for OSS](https://customers.staging.gitlab.com/subscriptions/community_program/new?product=oss) and select `Claim self-managed`
4. Enter number of seats
5. Enter coupon code
6. Purchase subscription | New subscription is created using Order's API for the quantity specified. Amount is 0. | :white_check_mark: [Verification link](https://drive.google.com/file/d/1Ec95P7F6PeSdcNezEFtfwtL_v8dCKITZ/view?usp=sharing) | |
-| New EDU self managed subscription | 1. Generate coupon (refer doc/coupon.md)
2. Sign in CDot
3. Navigate to [Community Program Page for EDU](https://customers.staging.gitlab.com/subscriptions/community_program/new?product=edu)
4. Enter number of seats
5. Enter coupon code and select `Claim self-managed`
6. Purchase subscription | New subscription is created using Order's API for the quantity specified. Amount is 0. | :white_check_mark: [Verification link](https://drive.google.com/file/d/10Z9LGbw2krfXxbrUxyDZEfRuFPsIwQB_/view?usp=sharing) | |
-| Amend an existing subscription by purchasing new seats | 1. Create a group
2. Upgrade the group to a paid plan
3. Update seat quantity | Verify amendment API is used.
Seat quantity is updated
Reflects in gitlab.com, CDot | :white_check_mark: [Verification link](https://drive.google.com/file/d/1opWVVtPxiGvtAxh7crPhWbZem-qxOjW0/view?usp=sharing) | |
-| Amend an existing subscription by purchasing additional minutes | 1. Create a group and a project within the group. Verify shared runners is enabled (`Settings` -> `CI/CD` -> `Runners`)
2. Upgrade the group to a paid plan
3. Navigate to `Settings` -> `Usage Quota` (Pipelines tab).
4. Click 'Buy additional minutes'
5. Fill in quantity and payment details. Submit. | Verify Amendment API is used to purchase additional minutes.
Additional CI minutes purchased is reflected in gitlab.com, CDot and Zuora | :white_check_mark: [Verification link](https://drive.google.com/file/d/1sBfZNIrZkG05MdnSeKbcugqoxzwtifZj/view?usp=sharing) | |
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-111850600,2022-07-19 11:49:08.174,Clean up tracking_subscription_management FF,"## Summary
-
-This issue is to cleanup the `tracking_subscription_management` feature flag, after the feature flag has been enabled by default for an appropriate amount of time in production.
-
-The feature flag is enabling/disabling frontend and backend tracking for all subscription management events for SaaS and SM subscriptions.
-
-## Owners
-
-- Team: ~25005342
-- Most appropriate slack channel to reach out to: `#g_billing_and_subscription`
-- Best individual to reach out to: @dzubova
-- PM: @tgolubeva
-
-## Expectations
-
-### What might happen if this goes wrong?
-
-### Cleaning up the feature flag
-
-
-- [x] Create a merge request to remove `:tracking_subscription_management` feature flag
- - [x] Remove all references to the feature flag from the codebase
-- [x] Ensure that the cleanup MR has been deployed to both staging and production
-- [x] Disable the feature flag via the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)
-- [x] Ensure production environment is still working as expected
-- [x] Remove the Unleash feature flag from the [CustomersDot dashboard](https://gitlab.com/gitlab-org/customers-gitlab-com/-/feature_flags)",1
-111843959,2022-07-19 09:44:11.824,Flaky spec spec/requests/marketo_request_spec.rb,"
-
-### Problem
-
-This spec `spec/requests/marketo_request_spec.rb` started failing recently:
-
-* https://gitlab.com/gitlab-org/customers-gitlab-com/-/jobs/2739474113
-* https://gitlab.com/gitlab-org/customers-gitlab-com/-/jobs/2734260310
-
-### Proposal
-
-
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",1
-111841337,2022-07-19 09:05:04.128,"Follow-up from ""Number of users field should default to empty in CP SM purchase flow""","## Problem
-
-The following discussion from !5039 should be addressed:
-
-- [ ] @pslaughter started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5039#note_1028174844): (+2 comments)
-
- > **suggestion (ux):** Could we add a placeholder to the user quantity input? As-is I don't think it's obvious to the user what they are supposed to do. I'm not sure it's even clear this is supposed to be a number :thinking:
- >
- > 
- >
- > What do you think @vvempati / @esybrant?
-
-
-## Proposal
-
-Add a sentence of description to the subscription details section, similar to what we're doing for the standard subscription renewal flow.
-
-For the technical proposal, see [this comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4552#note_1141749523).
-
-
-
-See how the description looks in the standard subscription renewal flow
-
-
-
-
-
-
-#### Design
-
-
-
-Copy:
-
->>>
-
-If you've already configured your instance, enter the current number of billable users or greater if you expect more users. If you haven't yet configured your instance, enter the number of users you expect to have.
-
-[Where to find this](/gitlab-org/customers-gitlab-com/-/blob/main/gitlab-org/customers-gitlab-com/-/blob/main/url)
-
->>>
-
-Styling for the copy should be the same as in the standard subscription renewal flow, see image above in the proposal section.",1
-111820070,2022-07-19 00:31:12.705,Replace custom implementation of findByTestId in tests,"Created as a follow up to https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4064.
-
-We currently have 14 instances of this, once https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5023 is merged we can start replacing these to use the wrapper.",1
-111667320,2022-07-14 23:42:02.885,Update new account custom fields to use snake case,"The following discussion from !4989 should be addressed:
-
-- [x] @jagood started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/4989#note_1025656052): (+3 comments)
-
- > I wonder if it might look better to have a more descriptive function name for this that might give a clue as to why we're doing this?
- >
- > ```ruby
- > def subscription_params
- > return unless args.key?(:subscriptions)
- >
- > args.fetch(:subscriptions).map { |subscription| prep_custom_fields!(subscription) }
- >
- > camelize_params(:subscriptions)
- > end
- >
- > def prep_custom_fields!(params)
- > params[:custom_fields].deep_transform_keys!(&:capitalize)
- > end
- > ```
- >
- > Hmmm, I'm not sure. That might not help. :thinking:
- >
- > On a related note, is the `custom_fields` key of the `subscriptions` the only place we'll ever have to worry about this? If not, I wonder about solving this for the general case in `camelize_params`. Maybe something kind of like...
- >
- > ```ruby
- > def camelize_params(parameter)
- > return unless args.key?(parameter.to_sym)
- >
- > params = prep_custom_fields(args.fetch(parameter.to_sym))
- >
- > IronBank::Object.new(params).deep_camelize(type: :lower)
- > end
- >
- > def prep_custom_fields(params)
- > case params
- > when Array
- > params.map { |i| prep_custom_fields(i) }
- > when Hash
- > params.deep_transform_keys { |k| k.end_with?('__c') ? k.capitalize : k }
- > else
- > params
- > end
- > end
- > ```
- >
- > That may still need some work.
- >
- > But if we did this, then we wouldn't change line 25.
-
-More specifically, [new account custom fields](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/app/services/zuora/orders/custom_fields/new_account.rb#L15) need to be updated to snake case:
-
-> On a related note, is the `custom_fields` key of the `subscriptions` the only place we'll ever have to worry about this?
-
-### Proposal
-
-Convert `SSPChannel__c` and `Entity__c` to `s_s_p_channel__c` and `entity__c` respectively.",2
-111652649,2022-07-14 17:00:54.391,Document Order services architecture,"
-
-### Problem
-
-As part of the [Orders API upgrade](https://gitlab.com/groups/gitlab-org/-/epics/6438) efforts, we've implemented a design pattern to structure the Order related services.
-
-- `OrderManagerService` as the entry point for triggering a request to create an order. Based on the type of order operation (such as creating a new subscription, renewing, cancelling a subscription, updating a product, etc.), the `OrderManagerService` internally invokes the `order action` services that generate the parameters required to perform the operation
-- `orders/actions` contain services pertaining to order actions
-- `orders/entities` construct particular entity object (that can be shared and re-used by multiple order actions). For e.g. `NewAccount`, `RatePlan` object.
-- `orders/custom_fields` generate custom fields for subscription, account, orders
-
-
-
-
-
-### Proposal
-
-
-
-Document the design choice, approach, and implementation details.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-111622394,2022-07-14 07:29:48.137,Hard to read link in error message,"### Problem
-
-After enabling Strict Cloud License, the license for cloud licenses is no longer available for download. When attempting to download it via a direct url call by visiting `/licenses/`, an error message is displayed after the redirect. The error message contains a link to the Support team that is rendered in a white color, making it hard to read on the light red background:
-
-
-
-This may also happen with other error messages too.
-
-### Proposal
-
-Change the color of the link to something more readable.
-
-### Result
-
-Easier readable link in the error message.",1
-111609161,2022-07-13 22:27:08.135,Use Order manager service to create subscriptions initiated from marketplace,"
-
-### Problem
-
-Support marketplace attributes when creating a new subscription using Orders API.
-Looking at `Marketplace::CreateSubscriptionService`, it appears the following attributes need to be supported:
-
-```
-external_subscription_id
-trading_partner_id
-fulfillment_distributor
-lead_source
-unit_price (products -> main)
-```
-
-### Proposal
-
-
-
-This issue entails the following three steps:
-
-- [x] Identify the corresponding parameters in Orders API
-- [x] Include the attributes in `Zuora::Orders::OrderManagerService` or `Zuora::Orders::Actions::CreateSubscription` as appropriate (based on whether it is an order param or subscription param). Create entities if need be.
-- [x] Allow Marketplace subscriptions to be created via Orders API ([remove the eligibility `false` condition when the request is initiated from marketplace](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/6ef9daf015f8a7e748195917f0fec0ee82966cf9/app/services/zuora/orders/feature_availability.rb#L17): depends on https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5058 to be merged)
-
-### Result
-
-Marketplace subscriptions use Orders API to create subscriptions instead of Subscribe API.",2
-111517772,2022-07-12 14:40:17.030,Update Unified Email template for SCL,"
-
-### Problem
-It's been discovered that the unified email template ([text version](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/b0767104a78c6e573e93b55fbbf105c5d0d8b1b3/app/views/unified_license_mailer/license_information_email.text.erb#L30-31) and [html version](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/b0767104a78c6e573e93b55fbbf105c5d0d8b1b3/app/views/unified_license_mailer/license_information_email.html.haml#L51-52)) currently still has text that is no longer relevant after the launch of strict cloud licensing, specifically directing customers to download their license from the Customers Portal, where it is no longer available.
-
-This can result in a confusing customer experience.
-
-
-
-### Proposal
-Update the email template text as stated below.
-
-**Current Template:**
-
-```erb
-### Unable to use the activation code?
-
-If you have an offline or air gapped environment, or you're unable to upgrade to 14.1 and later, you cannot use the activation code.
-
-* If you purchased directly from GitLab, download your license from the Customers Portal.
- <%= subscriptions_url %>
-* If you purchased from a reseller, submit a support ticket to receive your license.
- https://support.gitlab.com/hc/en-us/requests/new
-
-```
-
-**Proposed Template:**
-
-```
-### Offline or air gapped instance?
-
-If you have an offline or air gapped environment, you must use an offline license file or key. To request an offline license, submit a support ticket, https://support.gitlab.com/hc/en-us/requests/new
-```",1
-111030070,2022-07-01 14:54:11.332,Set invoice owner for marketplace,"## Problem statement
-
-For subscriptions originating from marketplace, the invoice owner needs to be set to be explicitly set ([reference](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/22a611f9c8795a7d9b7796c302bbbfee2cdf6650/app/services/subscribe_service.rb#L138)). This needs to be incorporated in the Orders API workflow.
-
-## Proposed solution
-
-@qzhaogitlab helped investigating a way to set the invoice owner using the [Change owner of subscription](https://knowledgecenter.zuora.com/Billing/Subscriptions/Orders/AC_Orders_Tutorials/C_Change_the_Owner_of_a_Subscription#Use_the_REST_API) Order action.
-
-From https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5011#note_1013232946:
-
-Per some Zuora documentation, I tend to think this is not possible.
-
-* from [Preview an order](https://www.zuora.com/developer/api-reference/?_ga=2.258925834.1822949724.1656638338-1336953299.1647685508&_gl=1*1h2399g*_ga*MTMzNjk1MzI5OS4xNjQ3Njg1NTA4*_ga_MY8CQ650DH*MTY1NjY2NDQ4MC40OC4xLjE2NTY2NjQ5NDIuMA..#operation/POST_PreviewOrder) section, it says:
-
-> existingAccountNumber string <= 70 characters The account number that this order will be created under. It can be either the accountNumber or the account info. It will return an error if both are specified. Note that invoice owner account of the subscriptions included in this order should be the same with the account of the order.
-
-* from [Create an order](https://www.zuora.com/developer/api-reference/?_ga=2.258925834.1822949724.1656638338-1336953299.1647685508&_gl=1*1h2399g*_ga*MTMzNjk1MzI5OS4xNjQ3Njg1NTA4*_ga_MY8CQ650DH*MTY1NjY2NDQ4MC40OC4xLjE2NTY2NjQ5NDIuMA..#operation/POST_Order), it says:
-
-> existingAccountNumber string <= 70 characters The account number that this order will be created under. It can be either the accountNumber or the account info provided. It will return an error if both are specified. Note that this actually specifies the invoice owner account of the subscriptions included in this order.
-
-> newAccount object (Account) The information of the new account to be created with the order. Note that this actually specifies the invoice owner account of the subscriptions included in this order. To create the new account, either a creditCard structure or the hpmCreditCardPaymentMethodId field (but not both) should be provided. The one provided becomes the default payment method for this account. If the credit card information is declined or can't be verified, then the account is not created.
-
-* from [Overview of orders](https://knowledgecenter.zuora.com/Billing/Subscriptions/Orders/AA_Overview_of_Orders), it says:
-
-> The following components represent an Order:
->
-> Order A contractual agreement between a merchant and a customer. One order can affect multiple subscriptions and order line items which belong to the same invoice owner account. These subscriptions and order line items can be owned by multiple customers.
-
-From the above documentations, it sounds to me, both `preview order` and `create order` do NOT allow setting `invoice account` explicitly (Zuora will set the `invoice account` to the same value as `subscription owner account` by default).
-
-So I think, for the marketplace `invoice owner` setting, we will have to create another Order to [change the subscription owner](https://knowledgecenter.zuora.com/Billing/Subscriptions/Orders/AC_Orders_Tutorials/C_Change_the_Owner_of_a_Subscription#Use_the_REST_API). I had a quick try, it works:
-
-```
-[173] pry(#)> transfer_owner_params
-=> {:order_date=>Fri, 01 Jul 2022,
- :existing_account_number=>""A00518100"",
- :subscriptions=>
- [{:subscription_number=>""A-S00216818"",
- :order_actions=>
- [{:type=>""OwnerTransfer"",
- :trigger_dates=>
- [{:name=>""ContractEffective"", :trigger_date=>Fri, 01 Jul 2022},
- {:name=>""ServiceActivation"", :trigger_date=>Fri, 01 Jul 2022},
- {:name=>""CustomerAcceptance"", :trigger_date=>Fri, 01 Jul 2022}],
- :owner_transfer=>{:destination_invoice_account_number=>""A00005485""}}]}]}
-[174] pry(#)> test_transfer_owner = Zuora::Orders::Create.perform_now(transfer_owner_params)
-[ActiveJob] [Zuora::Orders::Create] [e68e488d-ac65-4825-ba33-7f00437cfdfe] Performing Zuora::Orders::Create (Job ID: e68e488d-ac65-4825-ba33-7f00437cfdfe) from Sidekiq(zuora) enqueued at with arguments: {:order_date=>Fri, 01 Jul 2022, :existing_account_number=>""A00518100"", :subscriptions=>[{:subscription_number=>""A-S00216818"", :order_actions=>[{:type=>""OwnerTransfer"", :trigger_dates=>[{:name=>""ContractEffective"", :trigger_date=>Fri, 01 Jul 2022}, {:name=>""ServiceActivation"", :trigger_date=>Fri, 01 Jul 2022}, {:name=>""CustomerAcceptance"", :trigger_date=>Fri, 01 Jul 2022}], :owner_transfer=>{:destination_invoice_account_number=>""A00005485""}}]}]}
-[ActiveJob] [Zuora::Orders::Create] [e68e488d-ac65-4825-ba33-7f00437cfdfe] Performed Zuora::Orders::Create (Job ID: e68e488d-ac65-4825-ba33-7f00437cfdfe) from Sidekiq(zuora) in 4939.16ms
-=> {:success=>true,
- :order_number=>""O-00135400"",
- :account_number=>""A00518100"",
- :status=>""Completed"",
- :subscription_numbers=>[""A-S00216818""]}
-```",2
-111007464,2022-07-01 08:03:47.966,Add feature tests for form submit preventing logic,"We want to make sure the newly added logic that prevents the form from being submitted when emojis are present is also tested at the integration level.
-
-The reason is that while the unit test [in here](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/spec/frontend/sessions/register_form_spec.js#L134) gives some confidence about the Register form behaviour, (as [suggested](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/4887#note_1012878978)) an integration test would yield a result closer to the real-life behaviour.
-
-### Proposed solution
-
-It should be sufficient to add an expectation to the current set of tests [here](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/spec/features/customer_sign_up_spec.rb).
-
-### Proposed number of MRs
-
-|Description|MR
-|-|-|
-| Add feature specs | 1 |",1
-113533122,2022-06-30 22:16:58.442,Remove cloud compatible check and add GitLab EE check,"## Background
-Currently, cloud license activation codes are generated only when a customer is ""eligible"". Eligibility is systematically determined based on the status ""Super Sonics"" fields:
-
-* An activation code (`cloud activation`) will be created for a SM plan [here](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/8baa35bbd603bf60a75a6981da4f1fbb70abe934/app/workers/zuora_callback_worker.rb#L21) if the following conditions are fulfilled (see [this method](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/fe7feb2659aff9cd2bf60e998e91c042462a29c8/app/models/subscription.rb#L401)):
- * A cloud license can be activated ([code](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/fe7feb2659aff9cd2bf60e998e91c042462a29c8/app/models/subscription.rb#L461)) which means one of the following condition should be true:
- * the subscription was self serviced (subscription bought via CustomersDot)
- * `ContractSeatReconciliation__c` is not `null`
- * `ContractAutoRenew__c` is not `null`
- * `ContractOperationalMetrics__c` is not `null`
-
- * The subscription is cloud compatible ([code](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/d1f1aac64a4b6cb99bbf47838d1fde5116b6468b/lib/zuora/subscription.rb#L47)) which means `TurnOnSeatReconciliation__c` is present.
-If the above is met, the customer will receive either the unified mailer or the activation code mailer, and also have the option to copy the activation code from the subscription in CustomersDot. If not, we are assuming the customer is on the old terms (purchase completed prior to 2022-08-01), and not creating or providing an activation code.
-
-## Proposal
-Remove the dependency on the Super Sonics fields in order to generate a cloud license. Instead, generate an activation code for all customers where `TurnOnCloudLicensing` is not = `No`.
-
-Specifically, remove the following conditions:
-
-* Remove check for subscription is cloud compatible ([code](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/d1f1aac64a4b6cb99bbf47838d1fde5116b6468b/lib/zuora/subscription.rb#L47))
- * Refactor logic around [SubscriptionCloudCompatibleVersionFinder](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/8260397dabda85e49c6b7642892c9fd83496fa63/lib/subscription_cloud_compatible_version_finder.rb) & rename
-
-* When removing the cloud license compatible check on manual offline cloud license creation ([code](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/fbeeb5178fe0f004d18e772b70af7b271fcb74ba/app/services/rails_admin/create_license_service.rb#L154)), add a condition that checks the license belongs to a GitLab EE plan now as an extra safety
-
-## Why
-There is a bug in SFDC that is resulting in the Super Sonics fields occasionally being cleared out. Details of this issue are captured [here](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4599) and we are working with Sales Systems to correct this problem as part of this epic: https://gitlab.com/groups/gitlab-com/-/epics/1886.
-* ~~This is reducing adoption of Cloud Licensing as these customers are receiving only the Legacy mailer (which does NOT have an activation code) and they cannot access the activation code from within CustomersDot~~
-* This is actually causing customers to receive the activation code mailer _without_ a cloud license attached, which is a terrible customer experience, and could result in us recognizing revenue at the wrong time.
-
-In looking at New and Renewal quotes created after 2022-08-01, about 390 have these fields blanked out.
-
-| Quote Status | TurnOnSeatReconciliation__c | # of Primary Quotes |
-|-------------------------|-----------------------------|-------|
-| New | No | 2038 |
-| New | Yes | 1112 |
-| New | (blank) | 82 |
-| **New Total** | | **3232** |
-| Sent to Z-Billing | No | 4774 |
-| Sent to Z-Billing | Yes | 3417 |
-| Sent to Z-Billing | (blank) | 305 |
-| **Sent to Z-Billing Total** | | **8496** |
-| **Grand Total** | | **11728** |
-
-
-Example reported in Slack
-https://gitlab.slack.com/archives/C018C623KBJ/p1656623411693169
-
-
-
-This also impacts their Customer Portal experience and prevents the customer from accessing their activation code there, so these customers are then downloading legacy licenses from the portal and activating with that. Example of this reported here: https://gitlab.com/gitlab-org/fulfillment-meta/-/issues/459#note_1064490965
-
-### Availability & Testing
-
-
-
-Ensure sufficient test coverage is added to account for these different permutations and conditions..",3
-110988232,2022-06-30 21:36:03.037,Custom fields for new Zuora account,"
-
-### Problem
-
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/4961 introduced the following custom attributes: `SSPChannel__c` and `Entity__c` and set `IsInvoiceSeparate = true` for all Marketplace subscriptions.
-
-This change needs to be incorporated for Orders API.
-
-### Proposal
-
-
-
-Create custom attributes service class for New account and set the values appropriately. Consider moving the methods to subscription helper class.
-
-
-### Result
-
-The newly introduced custom attributes are set in the Orders workflow.",2
-110942114,2022-06-30 07:31:17.350,Missing condition when creating missing cloud activation in admin area,"### Problem
-
-While looking into the code logic for the cloud activation creation, it was found that the checks for the automatic workflow (when a subscription callback comes from Zuora to CustomersDot) differ from the ones in place for the admin area workflow to create a missing cloud activation.
-
-The automatic workflow [checks](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/bd99d8091d28f26aa62eec6578495da0a3ee9cbd/app/models/subscription.rb#L416-418) three conditions:
-1. Does the subscription have a GitLab EE plan? ([code](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/bd99d8091d28f26aa62eec6578495da0a3ee9cbd/app/models/subscription.rb#L190))
-2. Is the subscription cloud license compatible? ([code](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/bd99d8091d28f26aa62eec6578495da0a3ee9cbd/lib/zuora/subscription.rb#L47))
- * `TurnOnSeatReconciliation__c` is set
-3. Can the subscription be cloud license activated? ([code](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/bd99d8091d28f26aa62eec6578495da0a3ee9cbd/app/models/subscription.rb#L475)) Which requires one of the following condition to return `true`:
- * the subscription was self serviced (subscription bought via CustomersDot)
- * `ContractSeatReconciliation__c` is not `null`
- * `ContractAutoRenew__c` is not `null`
- * `ContractOperationalMetrics__c` is not `null`
-
-The admin area workflow [checks](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/bd99d8091d28f26aa62eec6578495da0a3ee9cbd/app/models/subscription.rb#L440-441) contain the checks from 1. and 2. but are missing 3.
-
-### Proposal
-
-Align both workflows to do the same checks to ensure a cloud activation can only be created for eligible subscriptions. To do this, the [checks](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/bd99d8091d28f26aa62eec6578495da0a3ee9cbd/app/models/subscription.rb#L440-441) for the admin area workflow have to contain the check for a subscription to be cloud license activated ([code](https://gitlab.com/gitlab-org/customers-gitlab-com/blob/bd99d8091d28f26aa62eec6578495da0a3ee9cbd/app/models/subscription.rb#L475)).
-
-To ensure later modifications will be applied to both workflows, the three checks could be moved to their own method to be easily reused in the two workflows.
-
-### Result
-
-The automatic workflow and the admin area workflow are aligned with the checks for eligible subscriptions when checking if a cloud activation needs to be created.",1
-110930718,2022-06-30 01:06:40.886,Revert PaymentTerm setting for Marketplace Zuora account,"### Problem
-
-Per [this discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4081#note_1011074254): we do not need to set Marketplace end user Zuora account `PaymentTerm` differently.
-
-> the payment term only needs to be set on the Invoice Owner Account (Arrowsphere: Net 30 EOM). The payment term of the end user is irrelevant.
-
-### Proposal
-
-To clean up the code logic, we should revert related changes:
-- https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/55a49713a3cd40a12e1334f7ba7fae4d6b5ffae2/app/services/zuora/helpers/subscription.rb#L24-29
-- https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/55a49713a3cd40a12e1334f7ba7fae4d6b5ffae2/app/services/zuora/helpers/subscription.rb#L45-49
-
-After revert, all paymentTerm will be the default value `DEFAULT_PAYMENT_TERM = 'Due Upon Receipt'`
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",1
-110918001,2022-06-29 18:09:29.992,Set correct Terms of Service for Community program subscription renewal,"## Problem
-
-Similar to https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3185+, we should set correct subscription fields when Community Programs subscription renews, but ONLY if these fields have not been set already.
-
-If the following fields are already set (from when the new subscription was created), do not change them.
-
-## Proposal
-
-Update fields according to this logic
-
-### For SaaS
-
-- `ContractAutoRenew__c` = No
-- `TurnOnAutoRenew__c` = No
-- `ContractSeatReconciliation__c` = No
-- `TurnOnSeatReconciliation__c` = No
-
-
-### For SM
-
-- `ContractAutoRenew__c` = No
-- `TurnOnAutoRenew__c` = No
-- `ContractSeatReconciliation__c` = No
-- `TurnOnSeatReconciliation__c` = No
-- `TurnOnCloudLicensing__c` = No
-- `ContractOperationalMetrics__c` = No
-- `TurnOnOperationalMetrics__c` = No
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?
-
----
-
-**Iteration MR/Issues Count:** 1
-
-**Testing considerations:**
-
-* Check community program renewals callback **updates** the super sonics flag correctly, if not set.
-* Check community program renewals callback **does not change** the super sonics flag, if already set
-* Tips on how to create subscription ready for renewal: https://gitlab.com/gitlab-org/fulfillment-meta/-/blob/master/docs/tips_and_tricks/zuora.md#create-a-subscription-with-activation-date-in-the-past",3
-110910907,2022-06-29 15:34:03.740,Prevent subscription purchase when quantity is invalid,"### Problem
-
-When user enters 0 as quantity during subscription purchase, subscription purchase/claim CTA is enabled even if quantity is invalid and user can successfully buy the subscription despite the invalid quantity entered. The subscription purchased is for the previous valid quantity entered. For example, user enters 3 for quantity, then changes to 0, clicks on Buy subscription - this will successfully create a subscription for 3 users.
-
-| Feature | Current |
-|-|-|
-| New standard SM | |
-| New CP SM |  |
-| New standard SaaS |  |
-| New CP SaaS |  |
-
-### Proposal
-
-1. Disable the CTA when quantity is invalid so user can't purchase subscription when latest entered quantity is invalid
-2. Replace the dollar value with `–` when quantity is invalid (replace the dollar values in the `order total` and the two `subtotal` lines)
-
-
-
-[Original discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4392#note_1010282717)",2
-110866491,2022-06-29 01:47:25.333,"Follow-up from ""Notify Platypus when marketplace subscription provisioned""","There are two suggestions from MR review, which could be nice improvements:
-
-The following discussion from !4982 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/4982#note_1009838193):
-
- > **Suggestion:** I thought rubocop warned about this but I think the preference is to break out the namespace hierarchy using `module` like you did for the class above.
- >
- > ```
- > module Platypus
- > class MarkSubscriptionProvisionedWorker
- > ```
-
-- [ ] Another suggestion is [this comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/4982#note_1009838197):
->>>
-**Suggestion (non-blocking):** If we don't end up using the instance features of this class, you could consider a class that `extends self` instead, then the API to interact with this class is a little nicer (e.g. `Platypus::MarkSubscriptionProvisionedService.execute()`.
-
-OR, if you wanted to keep it as-is, you could pass the attributes in `initialize`. This would allow you to set attr_readers for `external_subscription_source` and `external_subscription_id`. You could also break up this execute method a bit more this way. For instance, `access_token` could be it's own method.
->>>",1
-110855738,2022-06-28 18:29:08.343,Process payments for new subscription in Orders API,"The following discussion from !4947 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/4947#note_1009249862): (+1 comment)
-
- > **Question:** Will this logic for processing payments be captured in a later MR? I'm just curious and totally fine if it's not included in this MR. :smile:
-
-### Problem statement
-
-Similar to how processing payment options are included in [Subscribe api](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/90fc752163c1f6f83cc104773b30289226ca166c/app/services/subscribe_service.rb#L103), we need a mechanism to set this in Orders API.
-
-### Proposed solution
-
-Cross posting the inferences from [this thread](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4446#note_1012628875):
-
-In the subscribe api, the following options are sent in `subscribe_options` object:
-
-```ruby
-subscribeOptions: {
- generateInvoice: true,
- processPayments: ,
- subscribeInvoiceProcessingOptions: {
- invoiceDate: ,
- invoiceProcessingScope: 'Subscription',
- invoiceTargetDate:
- }
-}
-```
-
-While trying to map to Orders API, the following is what I was able to infer based on the description:
-| Subscribe API | Orders API | Notes |
-|---------------|------------|-------|
-| `generateInvoice` | `runBilling` | |
-| `processPayments` | `collectPayment` | |
-| `InvoiceDate` | `documentDate` | |
-| `InvoiceDate` | `targetDate` | |
-| `subscribeInvoiceProcessingOptions` | - | Not required in Orders API |",2
-110785158,2022-06-27 17:54:10.434,Refactor Order related implementation service methods to a class method,"The following discussion from !4865 should be addressed:
-
-- [ ] @tyleramos started a [discussion](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/4865#note_1004957734): (+1 comment)
-
- > **Suggestion (non-blocking):** I wonder if it would be nice to consider adding class level methods for these new classes that allow us to execute by avoiding the `.new(...).execute` standard. It would be a more convenient API, especially when it comes to stubbing in our tests.
- >
- > `expect(OrderManagerService).to receive(:execute)`
- >
- > vs.
- >
- > ```
- > expect_next_instance_of(OrderManagerService) do |service|
- > expect(service).to receive(:execute)
- > ```
- >
- > Maybe something to consider in a future MR for these new Order classes if you like the idea.",1
-110784646,2022-06-27 17:35:29.622,Implement Order preview,"
-
-### Problem
-
-Similar to subscription preview (before the actual purchase), we need a way to use the Orders API to preview an order.
-
-### Proposal
-
-
-
-Use the [Preview an order API](https://www.zuora.com/developer/api-reference/#operation/POST_PreviewOrder) for the preview workflow.
-
-This is 3 step process:
-
-| Step | Description | MR |
-|------|-------------|----|
-| Step 1 | Create Order Preview client and worker job that invokes the client | https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5170 |
-| Step 2 | OrderPreview service | https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5168 |
-| Step 3 | Using OrderPreview service in subscription preview workflow | https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/5192 |
-
-### Result
-
-Preview subscription uses Order Preview API instead of Subscribe API.
-
-### Next steps (if any)
-
-### How will we measure success?",3
-110762500,2022-06-27 11:30:27.538,[SaaS] Number of users field should default to group's billable user count in purchase flow,"## Problem to solve
-
-The number of users field in the new community programs SaaS subscription purchase flow defaults to `1`. [This has caused users](https://gitlab.com/gitlab-com/marketing/community-relations/community-operations/community-operations/-/issues/155#note_976584791) to accidentally purchase subscriptions for 1 user, because they do not change the default.
-
-
-
-
-
-## Proposal
-
-For the new community programs SaaS subscription purchase flow, the default for the number of users field should be group's billable user count.
-
-The sections should also be reordered so that the namespace selection section comes before the user quantity section.",2
-110629231,2022-06-23 18:12:37.709,Backfill to sync missing namespace data from CustomersDot to SFDC,"## Problem
-
-We recently identified a set of subscriptions with missing namespace fields. This results in SFDC users unable to generate complete reports or view relevant customer subscription data.
-
-## Background
-The likely causes for missing data values are as follows:
-1. Zuora data null prior to ([sync integration](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/1989)) implementation - expected since the work was move forward only. Technical work would be to backfill the data from GitLab.com-CustomersDot data.
-1. Zuora data null post implementation - could be one of two causes:
- - Sales-assisted subscription in which the customer hasn't connected their namespace to the subscription yet. There's no technical work here.
- - Data sync issue, somewhere between Zuora-CustomersDot-GitLab.com, data is out of sync. Technical work would be to find the data issue, resolve it, and push the data to Zuora.
-1. SFDC data null prior to the [latest work](https://gitlab.com/gitlab-com/business-technology/enterprise-apps/intake/-/issues/314) to bring the data in (I'm not sure of the date tbh) - I'd defer to the team who implemented the work, I'm not sure if they backfilled data which existed in Zuora.
-1. SFDC data null post the latest work to bring the data in. - would be the same root cause as 2.2 above
-
-## Proposal
-
-Create a process to backfill missing namespace field values.
-
-## Communication Plan
-
-- [ ] Evaluate when this can be scheduled
-- [ ] Once scheduled, communicate to Customer Success",8
-110626005,2022-06-23 17:01:24.288,Include subscription custom attributes in Orders API,"
-
-### Problem
-
-https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4382 created a service that generates custom attributes required for new Subscription order action.
-
-The [Orders API](https://www.zuora.com/developer/api-reference/#operation/POST_Order) requires subscription custom attributes to be sent in the `subscriptions` object:
-
-```
-{
- orderDate: ...,
- ...
- subscriptions: [
- {
- customFields: {
-
- },
- orderActions: [],
- ...
- }
- ]
-}
-```
-
-### Proposal
-
-
-
-In [OrderManagerService](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/d1f43892b1be3add5afba0f9f55a1719a9cb6470/app/services/zuora/orders/order_manager_service.rb), invoke the service `Zuora::Orders::CustomFields::CreateSubscription.new(customer: customer, params: params).execute` when order action is of New Subscription type.
-
-### Result
-
-New order includes the subscription custom fields set.",2
-110625063,2022-06-23 16:36:33.396,Add feature spec for cancel flash notice behavior,"
-
-### Problem
-We need to add a feature spec to verify the URL navigation behavior with the new [Vue cancelation modal](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/62e7646f3ba331c9892ff5f31d52207aaac5ac55/app/frontend/javascripts/subscription/components/cancellation_modal.vue). Thread [here](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/4910#note_1000412840).
-
-Also remove [this unit test](https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/4910/diffs?diff_id=419419267#f07ba46d14657e90fe9c115cec0bd944f7d112e7_195_223) since the feature spec will better cover that scenario.
-
-### Proposal
-Add a test identical/very similar to [this](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/62e7646f3ba331c9892ff5f31d52207aaac5ac55/spec/features/existing_customers/renewal_spec.rb#L25) that uses the new Vue cancellation modal.
-
-### Result
-We have better coverage of the new Vue cancel modal behavior when the user cancels their subscription.",1
-110624142,2022-06-23 16:16:40.499,Use current subscription instead of active for Ramp subscriptions when downloading/copying license,"### Problem
-
-In https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3969, we updated the provisioning logic in CDot to support SM ramp subscriptions. This involved using the `Subscription.build` method in places where licenses are provisioned like when activating a Cloud subscription or when processing a Zuora callout. The `Subscription.build` method can build a ramped `Subscription` object with products from the current ramp interval rather than using the latest/active subscription information. For instance, if interval 1 had a quantity of 5 and interval 3 had a quantity of 20, the license would be generated initially with a quantity of 5.
-
-However, when downloading/copying a license from the CustomersDot Manage Subscriptions page, this Subscription is loaded without this logic, so the license will always use the active/last interval quantity (e.g. 20).
-
-## Proposal
-For Ramp subscriptions only, update the download/copy action for a Self Managed subscription on the `Manage Purchases` page to use the `Subscription.build` method. This will ensure only the current ramp interval is used.
-
-This issue is related to https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3916+ where we are considering UX changes in CDot related to ramp subscriptions.",1
-110546787,2022-06-22 12:46:25.932,Add ability to use Zuora Data Query,"### Problem
-
-The [gem `iron_bank`](https://github.com/zendesk/iron_bank/) that we use as a third party tool to connect CustomersDot to Zuora doesn't support complex query (like joining two data models). To find eligible subscriptions in https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4405+, we need to use a complex query. The query will use the `Subscription` as the main data model and join the `Account` and `Contact` data models to get to the data we need for the mentioned issue (to send reminder emails to instance admin/sold to contacts of a subscription).
-
-With IronBank that isn't possible, but with [Zuora's Data Query](https://apisandbox.zuora.com/platform/data-query), this can be achieved (also see [API docs](https://www.zuora.com/developer/api-reference/#tag/Data-Queries)).
-
-One thing to note is that Data Query is async and will not return the result directly.
-
-### Proposal
-
-Add the ability to use Zuora's Data Query.
-
-### Result
-
-The complex query needed for https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4405 can be done with the help of Zuora Data Query.",3
-110469859,2022-06-21 11:32:14.340,Staging sanity of CustomersDot application - CI Decomposition,"
-
-As mentioned in https://gitlab.com/gitlab-org/gitlab/-/issues/365739, we need to perform a sanity testing of the functionality for CustomersDot application.",1
-110415737,2022-06-20 13:25:37.813,Remove discount alerts for deprecated subscriptions,"### Problem
-
-We have alerts in our code base that we show we customer **upgrades to** the deprecated subscription type (Bronze/Silver/Gold/Starter) that are eligible for discounts. Right now there is no valid case when we should show it (see [internal slack thread](url)).
-
-`""Don't miss out on your exclusive deal""` alerts should be safe to remove now, the renewal form is already a complex component and we should keep it clean.
-
-| SelfManaged | SaaS |
-| ------ | ------ |
-|  |  |
-
-### Proposal
-
-Remove the alerts from the source code.",1
-110261772,2022-06-16 20:51:13.836,New account data for Orders API,"
-
-### Problem
-
-When creating a new order, the account details can be provided by specifying either of the two attributes: `existingAccountNumber` or `newAccount`.
-
-As the name suggests, `existingAccountNumber` is used for an existing account, and `newAccount` for a new account.
-
-While OrderManagerService currently supports pass the [`existingAccountNumber`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/618359c09943f0c8716ad277b6c546562c103d40/app/services/zuora/orders/order_manager_service.rb#L40), we need a mechanism to send the `newAccount` object for new customers.
-
-### Proposal
-
-
-
-Create an entity that constructs account object. It should return existing or new data based on whether the customer has an account or not.
-
-### Result
-
-### Next steps (if any)
-
-### How will we measure success?",2
-110207920,2022-06-16 04:26:13.687,Add fields to GraphQL API to support community program management in GitLab,"### Problem
-
-This is foundational work for https://gitlab.com/gitlab-org/gitlab/-/issues/363439+ and https://gitlab.com/gitlab-org/gitlab/-/issues/363440+.
-
-We need to know what date a subscription is eligible for renewal from and whether or not the subscription can have seats added to it so that we can show the correct UI to the user, at the correct time for self managing their subscriptions in GitLab.
-
-Currently this information is hard-coded in the GitLab codebase, but with the introduction of community programs, the renewal dates are different and not all subscriptions are eligible to have their seat count modified.
-
-### Proposal
-
-Update the [`SubscriptionType`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/a56a94813b677713d9f8c43e320ca06cd3314c3f/app/graphql/types/subscription_type.rb) to have the attributes `enable_renew_from: Date` and `can_add_seats: Boolean` in the response.
-
-- `enableRenewFrom` should have the same behaviour as [the method on `Subscription`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/a56a94813b677713d9f8c43e320ca06cd3314c3f/app/models/subscription.rb#L684)
-- `canAddSeats` should be `false` for community program subscriptions (and `true` for all others?)
-
-More discussion in planning issue here: https://gitlab.com/gitlab-org/gitlab/-/issues/363537
-
-### Result
-
-These attributes are available on the `SubscriptionType` in the CustomersDot GraphQL API.",3
-110195583,2022-06-15 21:16:28.510,More customizations when creating marketplace subscriptions,"### Background
-
-We found out in [this thread](https://gitlab.com/groups/gitlab-org/-/epics/6873#note_993065034) that more customizations are needed when creating accounts and subscriptions in the Marketplace API in CDot.
-
-### Proposal
-
-The following 3 customizations are needed. As I understand it, these fields will be static for all Marketplace orders.
-
-#### 1. `IsInvoiceSeparate = TRUE`
-
-All Arrow subscriptions should be invoiced separately (e.g. `IsInvoiceSeparate` = `true`). The default setting for `IsInvoiceSeparate` = `false` for subscriptions. However, in order to ensure that we have a 1:1 relationship between subscription and invoice, we will need this setting set to `true`.
-
-The `IsInvoiceSeparate` attribute can be passed in the subscribe request body as seen in [the Zuora docs](https://www.zuora.com/developer/api-reference/#operation/Action_POSTsubscribe). This will be set in the request body where `request_body['subscribes'][0]['SubscriptionData]['Subscription']['IsInvoiceSeparate']` is `TRUE` .
-
-#### 2. `SSPChannel__c = ""Reseller""`
-
-SSP Channel should be set as `Reseller` for the Arrow account in Zuora as well as all end user accounts. This means setting `SSPChannel__c` to ""Reseller"" for accounts created in the subscribe request.
-
-This field has not be set in the `SubscribeService` before and may require a change to the IronBank schema.
-
-#### 3. `Entity__c`
-
-> Entity MUST be the same on all end user and Arrow account (if Arrow is US end user must be US) - this is a revenue requirement
-
-We don't currently set `Entity__c` when creating accounts as part of the subscribe request so this will be a new attribute to set in the request. As per [this comment](https://gitlab.com/groups/gitlab-org/-/epics/6873#note_993248300), this attribute should be set to `""US""` for all Arrow orders. ~~It's not clear yet whether this applies to all Marketplace orders or just Arrow. We've [asked about this below](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4430#note_995757617), as it may impact where the default lives; a) in Platypus, then passed to CDot in the marketplace request, OR 2) in CDot for all marketplace orders.~~
-
-~~**Update**: per [comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4430#note_995956944), we hope to have the `Entity__c` value passed through the Marketplace API request from Platypus.~~
-
-**Update again**: per [comment](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/4430#note_1000132233), we will set `Entity__c = ""US""` for all Marketplace orders in this iteration.",2
-110192701,2022-06-15 20:00:54.936,Remove storyshots,"
-
-### Problem
-
-When we added storyshots we wanted to test that rendering components do not produce error but turns out Jest does not treat error as errors.
-
-
-See the detailed output of our storyshot tests under the summary
-
-
-
-```shell
-
-
-
-
-
-
-
-
-
-
-
- at warn (node_modules/vue/dist/vue.runtime.common.dev.js:621:15)
- at node_modules/vue/dist/vue.runtime.common.dev.js:3520:36
- at VueComponent.reactiveSetter [as $listeners] (node_modules/vue/dist/vue.runtime.common.dev.js:1047:9)
- at updateChildComponent (node_modules/vue/dist/vue.common.dev.js:4150:17)
- at prepatch (node_modules/vue/dist/vue.common.dev.js:3147:5)
- at patchVnode (node_modules/vue/dist/vue.common.dev.js:6343:7)
- at VueComponent.patch [as __patch__] (node_modules/vue/dist/vue.common.dev.js:6515:9)
- at VueComponent.Vue._update (node_modules/vue/dist/vue.common.dev.js:3960:19)
- at VueComponent.updateComponent (node_modules/vue/dist/vue.common.dev.js:4078:10)
- at Watcher.get (node_modules/vue/dist/vue.common.dev.js:4490:25)
- at Watcher.run (node_modules/vue/dist/vue.common.dev.js:4565:22)
- at flushSchedulerQueue (node_modules/vue/dist/vue.common.dev.js:4323:13)
- at Array. (node_modules/vue/dist/vue.common.dev.js:1994:12)
- at flushCallbacks (node_modules/vue/dist/vue.common.dev.js:1920:14)
-
- console.error
- [Vue warn]: Missing required prop: ""subscription""
-
- found in
-
- --->
-
-
-
-
-
-
-
- at warn (node_modules/vue/dist/vue.common.dev.js:630:15)
- at assertProp (node_modules/vue/dist/vue.common.dev.js:1686:5)
- at validateProp (node_modules/vue/dist/vue.common.dev.js:1637:5)
- at loop (node_modules/vue/dist/vue.common.dev.js:4673:17)
- at initProps (node_modules/vue/dist/vue.common.dev.js:4704:33)
- at initState (node_modules/vue/dist/vue.common.dev.js:4647:21)
- at VueComponent.Vue._init (node_modules/vue/dist/vue.common.dev.js:5010:5)
- at new VueComponent (node_modules/vue/dist/vue.common.dev.js:5157:12)
- at createComponentInstanceForVnode (node_modules/vue/dist/vue.common.dev.js:3307:10)
- at init (node_modules/vue/dist/vue.common.dev.js:3136:45)
- at createComponent (node_modules/vue/dist/vue.common.dev.js:6013:9)
- at createElm (node_modules/vue/dist/vue.common.dev.js:5960:9)
- at VueComponent.patch [as __patch__] (node_modules/vue/dist/vue.common.dev.js:6510:7)
- at VueComponent.Vue._update (node_modules/vue/dist/vue.common.dev.js:3957:19)
-
- console.error
- [Vue warn]: Invalid prop: type check failed for prop ""subscription"". Expected Object, got Undefined
-
- found in
-
- --->
-
-
-
-
-
-
-
-
- at warn (node_modules/vue/dist/vue.common.dev.js:630:15)
- at assertProp (node_modules/vue/dist/vue.common.dev.js:1711:5)
- at validateProp (node_modules/vue/dist/vue.common.dev.js:1637:5)
- at loop (node_modules/vue/dist/vue.common.dev.js:4673:17)
- at initProps (node_modules/vue/dist/vue.common.dev.js:4704:33)
- at initState (node_modules/vue/dist/vue.common.dev.js:4647:21)
- at VueComponent.Vue._init (node_modules/vue/dist/vue.common.dev.js:5010:5)
- at new VueComponent (node_modules/vue/dist/vue.common.dev.js:5157:12)
- at createComponentInstanceForVnode (node_modules/vue/dist/vue.common.dev.js:3307:10)
- at init (node_modules/vue/dist/vue.common.dev.js:3136:45)
- at createComponent (node_modules/vue/dist/vue.common.dev.js:6013:9)
- at createElm (node_modules/vue/dist/vue.common.dev.js:5960:9)
- at createChildren (node_modules/vue/dist/vue.common.dev.js:6088:9)
- at createElm (node_modules/vue/dist/vue.common.dev.js:5989:9)
-
- console.error
- [Vue warn]: Error in render: ""TypeError: Cannot read properties of undefined (reading 'name')""
-
- found in
-
- --->
-
-
-
-
-
-
-
-
- at warn (node_modules/vue/dist/vue.common.dev.js:630:15)
- at logError (node_modules/vue/dist/vue.common.dev.js:1898:5)
- at globalHandleError (node_modules/vue/dist/vue.common.dev.js:1893:3)
- at handleError (node_modules/vue/dist/vue.common.dev.js:1853:5)
- at VueComponent.Vue._render (node_modules/vue/dist/vue.common.dev.js:3570:7)
- at VueComponent.updateComponent (node_modules/vue/dist/vue.common.dev.js:4078:21)
- at Watcher.get (node_modules/vue/dist/vue.common.dev.js:4490:25)
- at new Watcher (node_modules/vue/dist/vue.common.dev.js:4479:12)
- at mountComponent (node_modules/vue/dist/vue.common.dev.js:4085:3)
- at VueComponent.Object..Vue.$mount (node_modules/vue/dist/vue.common.dev.js:9084:10)
- at VueComponent.Object..Vue.$mount (node_modules/vue/dist/vue.common.dev.js:11989:16)
- at init (node_modules/vue/dist/vue.common.dev.js:3140:13)
- at createComponent (node_modules/vue/dist/vue.common.dev.js:6013:9)
- at createElm (node_modules/vue/dist/vue.common.dev.js:5960:9)
-
- console.error
- TypeError: Cannot read properties of undefined (reading 'name')
- at Proxy.render (/home/vitaly/Development/gitlab/customers-gitlab-com/app/frontend/javascripts/subscription/components/subscription_buttons/subscription_buttons_saas.vue:80:1)
- at VueComponent.Vue._render (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:3568:22)
- at VueComponent.updateComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4078:21)
- at Watcher.get (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4490:25)
- at new Watcher (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4479:12)
- at mountComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4085:3)
- at VueComponent.Object..Vue.$mount (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:9084:10)
- at VueComponent.Object..Vue.$mount (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:11989:16)
- at init (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:3140:13)
- at createComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6013:9)
- at createElm (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:5960:9)
- at createChildren (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6088:9)
- at createElm (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:5989:9)
- at createChildren (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6088:9)
- at createElm (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:5989:9)
- at VueComponent.patch [as __patch__] (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6510:7)
- at VueComponent.Vue._update (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:3957:19)
- at VueComponent.updateComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4078:10)
- at Watcher.get (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4490:25)
- at new Watcher (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4479:12)
- at mountComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4085:3)
- at VueComponent.Object..Vue.$mount (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:9084:10)
- at VueComponent.Object..Vue.$mount (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:11989:16)
- at init (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:3140:13)
- at createComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6013:9)
- at createElm (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:5960:9)
- at VueComponent.patch [as __patch__] (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6510:7)
- at VueComponent.Vue._update (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:3957:19)
- at VueComponent.updateComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4078:10)
- at Watcher.get (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4490:25)
- at new Watcher (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4479:12)
- at mountComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4085:3)
- at VueComponent.Object..Vue.$mount (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:9084:10)
- at VueComponent.Object..Vue.$mount (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:11989:16)
- at init (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:3140:13)
- at createComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6013:9)
- at createElm (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:5960:9)
- at createChildren (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6088:9)
- at createElm (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:5989:9)
- at VueComponent.patch [as __patch__] (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6510:7)
- at VueComponent.Vue._update (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:3957:19)
- at VueComponent.updateComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4078:10)
- at Watcher.get (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4490:25)
- at new Watcher (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4479:12)
- at mountComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4085:3)
- at VueComponent.Object..Vue.$mount (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:9084:10)
- at VueComponent.Object..Vue.$mount (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:11989:16)
- at init (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:3140:13)
- at createComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6013:9)
- at createElm (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:5960:9)
- at createChildren (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6088:9)
- at createElm (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:5989:9)
- at VueComponent.patch [as __patch__] (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6510:7)
- at VueComponent.Vue._update (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:3957:19)
- at VueComponent.updateComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4078:10)
- at Watcher.get (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4490:25)
- at new Watcher (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4479:12)
- at mountComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4085:3)
- at VueComponent.Object..Vue.$mount (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:9084:10)
- at VueComponent.Object..Vue.$mount (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:11989:16)
- at init (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:3140:13)
- at createComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6013:9)
- at createElm (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:5960:9)
- at createChildren (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6088:9)
- at createElm (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:5989:9)
- at VueComponent.patch [as __patch__] (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6510:7)
- at VueComponent.Vue._update (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:3957:19)
- at VueComponent.updateComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4078:10)
- at Watcher.get (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4490:25)
- at new Watcher (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4479:12)
- at mountComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4085:3)
- at VueComponent.Object..Vue.$mount (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:9084:10)
- at VueComponent.Object..Vue.$mount (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:11989:16)
- at init (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:3140:13)
- at createComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6013:9)
- at createElm (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:5960:9)
- at createChildren (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6088:9)
- at createElm (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:5989:9)
- at VueComponent.patch [as __patch__] (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6510:7)
- at VueComponent.Vue._update (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:3957:19)
- at VueComponent.updateComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4078:10)
- at Watcher.get (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4490:25)
- at new Watcher (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4479:12)
- at mountComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4085:3)
- at VueComponent.Object..Vue.$mount (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:9084:10)
- at VueComponent.Object..Vue.$mount (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:11989:16)
- at init (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:3140:13)
- at createComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6013:9)
- at createElm (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:5960:9)
- at Vue.patch [as __patch__] (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:6510:7)
- at Vue._update (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:3957:19)
- at Vue.updateComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4078:10)
- at Watcher.get (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4490:25)
- at new Watcher (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4479:12)
- at mountComponent (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:4085:3)
- at Vue.Object..Vue.$mount (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:9084:10)
- at Vue.Object..Vue.$mount (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/vue/dist/vue.common.dev.js:11989:16)
- at getRenderedTree (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/@storybook/addon-storyshots/dist/ts3.9/frameworks/vue/renderTree.js:19:15)
- at /home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/@storybook/addon-storyshots/dist/ts3.9/test-bodies.js:49:24
- at Object. (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/@storybook/addon-storyshots/dist/ts3.9/api/snapshotsTestsTemplate.js:29:24)
- at Object.asyncJestTest (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
- at /home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/jest-jasmine2/build/queueRunner.js:45:12
- at new Promise ()
- at mapper (/home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
- at /home/vitaly/Development/gitlab/customers-gitlab-com/node_modules/jest-jasmine2/build/queueRunner.js:75:41
- at processTicksAndRejections (node:internal/process/task_queues:96:5)
-
- at logError (node_modules/vue/dist/vue.common.dev.js:1902:13)
- at globalHandleError (node_modules/vue/dist/vue.common.dev.js:1893:3)
- at handleError (node_modules/vue/dist/vue.common.dev.js:1853:5)
- at VueComponent.Vue._render (node_modules/vue/dist/vue.common.dev.js:3570:7)
- at VueComponent.updateComponent (node_modules/vue/dist/vue.common.dev.js:4078:21)
- at Watcher.get (node_modules/vue/dist/vue.common.dev.js:4490:25)
- at new Watcher (node_modules/vue/dist/vue.common.dev.js:4479:12)
- at mountComponent (node_modules/vue/dist/vue.common.dev.js:4085:3)
- at VueComponent.Object..Vue.$mount (node_modules/vue/dist/vue.common.dev.js:9084:10)
- at VueComponent.Object..Vue.$mount (node_modules/vue/dist/vue.common.dev.js:11989:16)
- at init (node_modules/vue/dist/vue.common.dev.js:3140:13)
- at createComponent (node_modules/vue/dist/vue.common.dev.js:6013:9)
- at createElm (node_modules/vue/dist/vue.common.dev.js:5960:9)
- at createChildren (node_modules/vue/dist/vue.common.dev.js:6088:9)
-
- console.error
- [Vue warn]: $attrs is readonly.
-
- found in
-
- --->