Loading
Clean up change_dap_land_default_credits experiment (invalidated)
What does this MR do and why?
The change_dap_land_default_credits experiment is invalidated. This MR reverts to the pre-experiment (control) code path.
Tests
All three spec suites pass locally:
bundle exec rspec ee/spec/helpers/billing_plans_helper_spec.rb
# 86 examples, 0 failures
bundle exec rspec ee/spec/services/gitlab_subscriptions/add_on_purchases/gitlab_com/provision_service_spec.rb
# 62 examples, 0 failures
yarn jest ee/spec/frontend/groups/billing/components/components_with_dap_monthly_commit/dap_monthly_credit_card_spec.js
# Tests: 49 passed, 49 totalGrep gate (zero matches for all four experiment identifiers across the repo):
change_dap_land_default_credits→ 0 matchesChangeDapLandDefaultCreditsExperiment→ 0 matchesclick_purchase_credits_dap_land_sku→ 0 matchesfinish_purchase_credits_dap_land_sku→ 0 matches
Validation steps
The experiment and its feature flag are removed by this MR. There is no flag to toggle for validation.
- Verify the DAP monthly credit card still renders on
/-/groups/<group>/-/billingsfor a free-plan GitLab.com-simulation group (GITLAB_SIMULATE_SAAS=1 gdk start). - Confirm the CTA at
[data-testid="dap-monthly-credit-card-cta-button"]links to.../subscriptions/purchases/gitlab?deployment_type=gitlab_com&gl_namespace_id=<id>&plan_type=gitlab_creditswith noquantity=query parameter. - Confirm the
/-/track_cart_abandonment/...POST still fires when the CTA is clicked (the axios call is not experiment-owned and stays; the Jest spec covers it).
Post-merge steps (human)
After this MR deploys:
- Prefix the cleanup issue's
## Footprintsection with**Cleaned up by <MR URL>.**and add this MR. - Post the outcome on the rollout issue: invalidated → reverted; cleanup MR URL; nothing kept.
- Run chatops:
/chatops gitlab run feature set change_dap_land_default_credits false(production and--staging) to clear the Flipper gate, then/chatops gitlab run feature delete change_dap_land_default_creditson each to remove the flag record. - Close the rollout issue and the cleanup issue.
What are the relevant issue numbers?
Edited by Roy Liu