Skip to content
Snippets Groups Projects

Remove merge_when_checks_pass feature flag

Merged Marc Shaw requested to merge 412995-feature-flag-rollout-of-merge_when_checks_pass into master
All threads resolved!

What does this MR do and why?

The feature flag #412995 (closed) has been turned on for a number of releases, and can be removed now.

We will remove the usage of MergeWhenPipelineSucceeds after this MR.

Related to #412995 (closed)

Edited by Marc Shaw

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Marc Shaw added 1 commit

    added 1 commit

    • 2dfff297 - Only remove the feature flag and keep the old service

    Compare with previous version

  • Marc Shaw added 718 commits

    added 718 commits

    Compare with previous version

  • Marc Shaw resolved all threads

    resolved all threads

  • Marc Shaw requested review from @jacopo-beschi

    requested review from @jacopo-beschi

  • Marc Shaw added 1 commit

    added 1 commit

    • e4f03a2e - Only remove the feature flag and keep the old service

    Compare with previous version

  • Marc Shaw requested review from @patrickbajao and removed review request for @jacopo-beschi

    requested review from @patrickbajao and removed review request for @jacopo-beschi

  • :tools: Generated by gitlab_quality-test_tooling.


    :snail: Slow tests detected in this merge request. These slow tests might be related to this merge request's changes.

    Click to expand
    Job File Name Duration Expected duration
    #8269071258 spec/features/merge_request/user_sees_merge_widget_spec.rb#L38 Merge request > User sees merge widget new merge request shows widget status after creating new merge request 53.59 s < 50.13 s
    #8292208305 spec/features/merge_request/user_resolves_wip_mr_spec.rb#L41 Merge request > User resolves Draft when there is active pipeline for merge request retains merge request data after clicking Resolve WIP status 52.02 s < 50.13 s
    #8299219395 spec/features/discussion_comments/merge_request_spec.rb#L20 Thread Comments Merge Request behaves like thread comments for issue, epic and merge request clicking "Comment" will post a comment 53.46 s < 50.13 s
    #8320163882 ee/spec/lib/ee/gitlab/import_export/project/tree_restorer_spec.rb#L119 Gitlab::ImportExport::Project::TreeRestorer restores protected_environments with deploy_access_levels is expected to eq 1 29.38 s < 27.12 s
    #8403259539 spec/features/merge_request/user_sees_merge_widget_spec.rb#L38 Merge request > User sees merge widget new merge request shows widget status after creating new merge request 52.69 s < 50.13 s
  • A deleted user added rspec:slow test detected label
  • Patrick Bajao
  • Marc Shaw added 1 commit

    added 1 commit

    • 6e9d393a - Only remove the feature flag and keep the old service

    Compare with previous version

  • Marc Shaw added 1 commit

    added 1 commit

    • adff936c - Only remove the feature flag and keep the old service

    Compare with previous version

  • Marc Shaw added 2 commits

    added 2 commits

    Compare with previous version

  • Marc Shaw requested review from @patrickbajao

    requested review from @patrickbajao

  • Marc Shaw added 1 commit

    added 1 commit

    • 3aca42a6 - Allow for existing MWPS pipelines to still run

    Compare with previous version

  • Marc Shaw added 1 commit

    added 1 commit

    • 690769ea - Allow for existing MWPS pipelines to still run

    Compare with previous version

  • E2E Test Result Summary

    allure-report-publisher generated test report!

    e2e-test-on-gdk: :white_check_mark: test report for a608af1c

    expand test summary
    +------------------------------------------------------------------+
    |                          suites summary                          |
    +-------------+--------+--------+---------+-------+-------+--------+
    |             | passed | failed | skipped | flaky | total | result |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Create      | 129    | 0      | 22      | 0     | 151   | ✅     |
    | Govern      | 75     | 0      | 3       | 0     | 78    | ✅     |
    | Plan        | 76     | 0      | 0       | 0     | 76    | ✅     |
    | Package     | 24     | 0      | 11      | 0     | 35    | ✅     |
    | Verify      | 43     | 0      | 2       | 0     | 45    | ✅     |
    | Secure      | 4      | 0      | 0       | 0     | 4     | ✅     |
    | Data Stores | 33     | 0      | 1       | 0     | 34    | ✅     |
    | Analytics   | 2      | 0      | 0       | 0     | 2     | ✅     |
    | Monitor     | 8      | 0      | 0       | 0     | 8     | ✅     |
    | Ai-powered  | 0      | 0      | 1       | 0     | 1     | ➖     |
    | Release     | 5      | 0      | 0       | 0     | 5     | ✅     |
    | Fulfillment | 2      | 0      | 0       | 0     | 2     | ✅     |
    | Manage      | 1      | 0      | 1       | 0     | 2     | ✅     |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Total       | 402    | 0      | 41      | 0     | 443   | ✅     |
    +-------------+--------+--------+---------+-------+-------+--------+

    e2e-test-on-cng: :white_check_mark: test report for a608af1c

    expand test summary
    +------------------------------------------------------------------+
    |                          suites summary                          |
    +-------------+--------+--------+---------+-------+-------+--------+
    |             | passed | failed | skipped | flaky | total | result |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Plan        | 82     | 0      | 8       | 0     | 90    | ✅     |
    | Govern      | 82     | 0      | 9       | 1     | 91    | ✅     |
    | Verify      | 49     | 0      | 16      | 0     | 65    | ✅     |
    | Package     | 24     | 0      | 14      | 0     | 38    | ✅     |
    | Ai-powered  | 0      | 0      | 2       | 0     | 2     | ➖     |
    | Monitor     | 8      | 0      | 12      | 0     | 20    | ✅     |
    | Fulfillment | 2      | 0      | 7       | 1     | 9     | ✅     |
    | Create      | 136    | 0      | 20      | 0     | 156   | ✅     |
    | Data Stores | 33     | 0      | 10      | 0     | 43    | ✅     |
    | Configure   | 0      | 0      | 3       | 0     | 3     | ➖     |
    | Growth      | 0      | 0      | 2       | 0     | 2     | ➖     |
    | Manage      | 1      | 0      | 9       | 0     | 10    | ✅     |
    | Release     | 5      | 0      | 1       | 0     | 6     | ✅     |
    | Secure      | 2      | 0      | 5       | 0     | 7     | ✅     |
    | ModelOps    | 0      | 0      | 1       | 0     | 1     | ➖     |
    | Analytics   | 2      | 0      | 0       | 1     | 2     | ✅     |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Total       | 426    | 0      | 119     | 3     | 545   | ✅     |
    +-------------+--------+--------+---------+-------+-------+--------+

    e2e-test-on-omnibus: :white_check_mark: test report for a608af1c

    expand test summary
    +---------------------------------------------------------------------+
    |                           suites summary                            |
    +----------------+--------+--------+---------+-------+-------+--------+
    |                | passed | failed | skipped | flaky | total | result |
    +----------------+--------+--------+---------+-------+-------+--------+
    | Create         | 563    | 0      | 81      | 8     | 644   | ✅     |
    | Verify         | 49     | 0      | 16      | 0     | 65    | ✅     |
    | Plan           | 83     | 0      | 8       | 0     | 91    | ✅     |
    | Govern         | 95     | 0      | 8       | 0     | 103   | ✅     |
    | Manage         | 26     | 0      | 19      | 1     | 45    | ✅     |
    | Package        | 32     | 0      | 13      | 0     | 45    | ✅     |
    | Ai-powered     | 1      | 0      | 2       | 1     | 3     | ✅     |
    | Monitor        | 12     | 0      | 13      | 0     | 25    | ✅     |
    | Data Stores    | 33     | 0      | 10      | 0     | 43    | ✅     |
    | Release        | 5      | 0      | 1       | 0     | 6     | ✅     |
    | Analytics      | 3      | 0      | 0       | 0     | 3     | ✅     |
    | Configure      | 1      | 0      | 3       | 0     | 4     | ✅     |
    | Systems        | 6      | 0      | 1       | 0     | 7     | ✅     |
    | Secure         | 5      | 0      | 3       | 0     | 8     | ✅     |
    | Fulfillment    | 4      | 0      | 7       | 0     | 11    | ✅     |
    | GitLab Metrics | 2      | 0      | 1       | 0     | 3     | ✅     |
    | ModelOps       | 0      | 0      | 1       | 0     | 1     | ➖     |
    | Growth         | 0      | 0      | 2       | 0     | 2     | ➖     |
    +----------------+--------+--------+---------+-------+-------+--------+
    | Total          | 920    | 0      | 189     | 10    | 1109  | ✅     |
    +----------------+--------+--------+---------+-------+-------+--------+
  • Marc Shaw requested review from @patrickbajao

    requested review from @patrickbajao

  • I have reviewed the merge request and left several comments, primarily focusing on the removal of the 'merge_when_checks_pass' feature flag and its implications. I estimate there is a decent amount of work required to address these concerns. The review covers topics such as potential unintended consequences, test coverage, and consistency in code changes related to the feature flag removal.

    · Leave feedback
    Edited by GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • GitLab Duo
  • Patrick Bajao
  • Patrick Bajao
  • mentioned in issue #492104 (closed)

  • Marc Shaw requested review from @patrickbajao

    requested review from @patrickbajao

  • Marc Shaw added 1 commit

    added 1 commit

    Compare with previous version

  • Patrick Bajao approved this merge request

    approved this merge request

  • Marc Shaw
  • Marc Shaw requested review from @aqualls

    requested review from @aqualls

  • Marc Shaw requested review from @mfanGitLab

    requested review from @mfanGitLab

  • Max Fan approved this merge request

    approved this merge request

  • Max Fan
  • Amy Qualls mentioned in merge request !170562 (closed)

    mentioned in merge request !170562 (closed)

  • Amy Qualls
  • Amy Qualls
  • I have small text changes, but I'm not blocking this merge request. I need to create a docs follow-up after this MR and Remove merge_when_checks_pass_merge_train featu... (!170562 - closed) both merge. I'll do most of my work there.

  • Amy Qualls approved this merge request

    approved this merge request

  • mentioned in issue #503129 (closed)

  • Marc Shaw added 1 commit

    added 1 commit

    Compare with previous version

  • Marc Shaw added 1032 commits

    added 1032 commits

    Compare with previous version

  • Marc Shaw reset approvals from @patrickbajao, @aqualls, and @mfanGitLab by pushing to the branch

    reset approvals from @patrickbajao, @aqualls, and @mfanGitLab by pushing to the branch

  • Amy Qualls approved this merge request

    approved this merge request

  • Amy Qualls mentioned in merge request !172461 (merged)

    mentioned in merge request !172461 (merged)

  • mentioned in issue #412995 (closed)

  • Author Maintainer

    Assigning to @patrickbajao while I am PTO :thumbsup:

    We are just waiting for 17.7 to merge.

  • Max Fan approved this merge request

    approved this merge request

  • It's 17.7 now! Lets get this :ship:

  • Max Fan resolved all threads

    resolved all threads

  • Max Fan enabled automatic add to merge train when checks pass

    enabled automatic add to merge train when checks pass

  • Max Fan cancelled automatic add to merge train

    cancelled automatic add to merge train

  • Max Fan resolved all threads

    resolved all threads

  • Max Fan enabled automatic add to merge train when checks pass

    enabled automatic add to merge train when checks pass

  • merged

  • Max Fan mentioned in commit 03285cfa

    mentioned in commit 03285cfa

  • added workflowstaging label and removed workflowcanary label

  • mentioned in issue #502721

  • Patrick Bajao mentioned in merge request !173827 (merged)

    mentioned in merge request !173827 (merged)

  • Please register or sign in to reply
    Loading