Clean up use_invoice_preview_api_in_saas_purchase feature flag
What does this MR do and why?
Removes use_invoice_preview_api_in_saas_purchase
feature flag and associated code and updates tests
Related to #394636
Screenshots or screen recordings
Screenshots can be found here.
How to set up and validate locally
Prerequisite
- Customers Dot needs to be setup in order to view the billing/checkout page
- Start GDK in SaaS mode
GITLAB_SIMULATE_SAAS=1 gdk start
Viewing the checkout page
- Go to the billing page of a group with free plan
- Choose to upgrade the plan to Premium
- The price details from invoice preview API are shown on the order summary panel - API usage is indicated by the loading indicator on the summary panel
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Merge request reports
Activity
changed milestone to %16.0
assigned to @vvempati
- A deleted user
added backend label
1 Warning featureaddition and featureenhancement merge requests normally have a documentation change. Consider adding a documentation update or confirming the documentation plan with the Technical Writer counterpart.
For more information, see:
- The Handbook page on merge request types.
- The definition of done documentation.
Reviewer roulette
Changes that require review have been detected!
Please refer to the table below for assigning reviewers and maintainers suggested by Danger in the specified category:
Category Reviewer Maintainer backend Jay Montal (
@jmontal
) (UTC-6, 18 hours behind@vvempati
)Tetiana Chupryna (
@brytannia
) (UTC+2, 10 hours behind@vvempati
)frontend Rudy Crespo (
@rcrespo3
) (UTC-4, 16 hours behind@vvempati
)Jose Ivan Vargas (
@jivanvl
) (UTC-6, 18 hours behind@vvempati
)test for spec/features/*
Valerie Burton (
@vburton
) (UTC-5, 17 hours behind@vvempati
)Maintainer review is optional for test for spec/features/*
To spread load more evenly across eligible reviewers, Danger has picked a candidate for each review slot, based on their timezone. Feel free to override these selections if you think someone else would be better-suited or use the GitLab Review Workload Dashboard to find other available reviewers.
To read more on how to use the reviewer roulette, please take a look at the Engineering workflow and code review guidelines. Please consider assigning a reviewer or maintainer who is a domain expert in the area of the merge request.
Once you've decided who will review this merge request, assign them as a reviewer! Danger does not automatically notify them for you.
If needed, you can retry the
danger-review
job that generated this comment.Generated by
Dangermarked the checklist item I have evaluated the MR acceptance checklist for this MR. as completed
removed backend label
mentioned in commit gitlab-org-sandbox/gitlab-jh-validation@0441e96b
Bundle size analysis [beta]
This compares changes in bundle size for entry points between the commits 9eb3f6e0 and 5a0d8df3
Special assetsEntrypoint / Name Size before Size after Diff Diff in percent average 4.04 MB 4.04 MB - -0.0 % mainChunk 2.89 MB 2.89 MB - 0.0 %
Note: We do not have exact data for 9eb3f6e0. So we have used data from: ccfefb14.
The intended commit has no webpack pipeline, so we chose the last commit with one before it.Please look at the full report for more details
Read more about how this report works.
Generated by
DangerAllure report
allure-report-publisher
generated test report!e2e-review-qa:
test report for eebe78b2expand test summary
+-----------------------------------------------------------------------+ | suites summary | +------------------+--------+--------+---------+-------+-------+--------+ | | passed | failed | skipped | flaky | total | result | +------------------+--------+--------+---------+-------+-------+--------+ | Verify | 10 | 0 | 0 | 0 | 10 | ✅ | | Create | 28 | 0 | 1 | 0 | 29 | ✅ | | Plan | 49 | 0 | 1 | 0 | 50 | ✅ | | Data Stores | 22 | 0 | 0 | 0 | 22 | ✅ | | Govern | 24 | 0 | 0 | 0 | 24 | ✅ | | Manage | 8 | 0 | 3 | 0 | 11 | ✅ | | Framework sanity | 9 | 0 | 1 | 0 | 10 | ✅ | | Monitor | 4 | 0 | 0 | 0 | 4 | ✅ | | Package | 0 | 0 | 1 | 0 | 1 | ➖ | +------------------+--------+--------+---------+-------+-------+--------+ | Total | 154 | 0 | 7 | 0 | 161 | ✅ | +------------------+--------+--------+---------+-------+-------+--------+
e2e-package-and-test:
test report for eebe78b2expand test summary
+-----------------------------------------------------------------------+ | suites summary | +------------------+--------+--------+---------+-------+-------+--------+ | | passed | failed | skipped | flaky | total | result | +------------------+--------+--------+---------+-------+-------+--------+ | Create | 731 | 0 | 105 | 125 | 836 | ❗ | | Monitor | 50 | 0 | 0 | 50 | 50 | ❗ | | Plan | 303 | 0 | 0 | 165 | 303 | ❗ | | Data Stores | 170 | 0 | 0 | 40 | 170 | ❗ | | Verify | 270 | 0 | 20 | 220 | 290 | ❗ | | Analytics | 10 | 0 | 0 | 10 | 10 | ❗ | | ModelOps | 0 | 0 | 5 | 0 | 5 | ➖ | | Secure | 35 | 0 | 25 | 35 | 60 | ❗ | | Manage | 160 | 5 | 15 | 40 | 180 | ❌ | | Govern | 230 | 0 | 0 | 230 | 230 | ❗ | | Release | 30 | 0 | 0 | 20 | 30 | ❗ | | Package | 125 | 0 | 23 | 0 | 148 | ✅ | | Systems | 2 | 0 | 0 | 0 | 2 | ✅ | | Configure | 0 | 0 | 15 | 0 | 15 | ➖ | | Growth | 0 | 0 | 10 | 0 | 10 | ➖ | | Fulfillment | 12 | 0 | 120 | 0 | 132 | ✅ | | Framework sanity | 0 | 0 | 5 | 0 | 5 | ➖ | +------------------+--------+--------+---------+-------+-------+--------+ | Total | 2128 | 5 | 343 | 935 | 2476 | ❌ | +------------------+--------+--------+---------+-------+-------+--------+
- Resolved by Tetiana Chupryna
Hey @mtan-gitlab
, heads up that downstream needs updating for feature flag removal in this MR. Jest failure here. We should probably also update the spec file for the samesubscription_flow_paid_plan_spec.rb
.
- Resolved by Tetiana Chupryna
requested review from @mhamda
- Resolved by Tetiana Chupryna
requested review from @dzubova
- Resolved by Tetiana Chupryna
Hey @ddavison, would you have time to do test review for this please?
I couldn't find
e2e:package-and-test
job in the pipeline, I can seee2e:package-and-test-ce
,e2e:package-and-test-ee
ande2e:test-on-gdk
but not sure if they run the Fulfilment E2E testsThank you
Edited by Vamsi Vempati
requested review from @ddavison
added workflowin review label and removed workflowin dev label
@mhamda
, thanks for approving this merge request.This is the first time the merge request is approved. To ensure full test coverage, a new pipeline will be started shortly.
For more info, please refer to the following links:
added pipeline:mr-approved label
removed review request for @mhamda
requested review from @brytannia
- A deleted user
added backend label
mentioned in commit gitlab-org-sandbox/gitlab-jh-validation@272d8a25
removed review request for @brytannia
requested review from @ddavison
removed review request for @ddavison
- Resolved by Tetiana Chupryna
@brytannia @himkp
I believe we have all the necessary approvals, is one of you able to merge this MR when you get a chance please?Thank youEdited by Vamsi Vempati
mentioned in merge request !119407 (merged)
added 2074 commits
-
eebe78b2...f4697d59 - 2073 commits from branch
master
- 5a0d8df3 - Use invoice preview API to calculate plan pricing for SaaS purchase
-
eebe78b2...f4697d59 - 2073 commits from branch
mentioned in commit gitlab-org-sandbox/gitlab-jh-validation@b2db30d6
requested review from @himkp and @brytannia
enabled an automatic merge when the pipeline for 57c71ae3 succeeds
mentioned in commit gitlab-org-sandbox/gitlab-jh-validation@57c71ae3
mentioned in commit gitlab-org-sandbox/gitlab-jh-validation@1a8c7cd1
mentioned in commit 3dc2de03
added workflowstaging-canary label and removed workflowin review label
added workflowcanary label and removed workflowstaging-canary label
added workflowstaging label and removed workflowcanary label
added workflowproduction label and removed workflowstaging label
added workflowpost-deploy-db-staging label and removed workflowproduction label
added workflowpost-deploy-db-production label and removed workflowpost-deploy-db-staging label
added releasedcandidate label
mentioned in merge request kubitus-project/kubitus-installer!2145 (merged)