Skip to content

Remove generate tests in merge requests

What does this MR do and why?

We are discontinuing support for the generate test cases use case on the merge request page. This functionality is going to be moved to Duo Chat.

In the last week, ~40 calls were made with this graphql attribute

https://log.gprd.gitlab.net/app/r/s/nweSt

To Test:

  • bundle exec rails c
  • Feature.enable(:generate_test_file_flag)
  • Open a merge request, and open the diffs tab
  • Ensure the 'generate test case' action is there
  • Switch to `434864-deprecate-and-remove-generate-tests-in-merge-requests branch
  • Reload the page, and ensure the action is not there

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #434864 (closed)

Edited by Marc Shaw

Merge request reports

Loading