Needs work
Project:
Drupal core
Version:
main
Component:
other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2026 at 20:22 UTC
Updated:
25 Aug 2026 at 22:20 UTC
Jump to comment: Most recent
I can never remember the names of the variables when I want to run the repeat test class job. However, GitLab now has a better feature for this: job inputs.
These are predefined settings that you can require and describe in the UI, instead of having to remember or copy-and-paste variable names into a form.
Swap the variables for inputs.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
longwaveNow the job should prompt you for inputs, but if you leave the test class blank, it will fall back to the test-only method: run the tests that you changed in the MR.
This MR was largely written by Claude Code.
Comment #4
longwaveApparently I do not have access to start the job.
Comment #5
longwaveOh, it was only that GitLab had logged me out again.
Comment #6
smustgrave commentedPipeline seems to run fine, if this better helps use run repeats for random failure tickets all for it.
Comment #7
mstrelan commentedTested this with the suggested class and 5 repeats and confirm its both easier to understand and works as expected, see https://git.drupalcode.org/project/drupal/-/jobs/11484423
Can we test making a change to one or more test classes so we can check that this works with empty inputs? Either as a separate MR or as a commit to this MR that we revert afterwards?
I also tried with a preceding backslash, which is what PhpStorm gives you by default when you copy a reference to the class, and it was rejected by the regex. I think we should allow either.
One other nit: if we're providing an example I think we should use something that's efficient and likely not to be removed, e.g. if we move away from ckeditor5. Perhaps `\Drupal\Tests\UnitTestCaseTest` would be ideal.