-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Action inputs to dispatch n-runs of a single test in CI #6297
base: main
Are you sure you want to change the base?
Conversation
…poral into cdf/rerun-functional-test
Can we create a separate workflow file for this purpose? |
A separate workflow file that we run only rarely will rot and be likely to be broken when someone wants to use it. Integrating it into the main one makes it much more likely to be maintained and working |
What changed?
Add workflow dispatch options to the functional tests Github Action to allow us to run n-iterations of a single functional test with a configurable timeout.
WARNING: This will definitely be oomkilled for n>=100, likely for n=>50 too. I suggest to start with n=10 and then try n=20 to see how the memory goes.
Why?
To aid in the diagnosis and treatment of flaky tests.
How did you test it?
Tested in github actions.
Here is the action run normally, with no new input parameters: https://github.com/temporalio/temporal/actions/runs/9962219294
Here is the action run on one test multiple times: https://github.com/temporalio/temporal/actions/runs/9962244076
Potential risks
Our functional test pipeline could be broken by this PR, but we would notice that pretty immediately
Documentation
How to run it yourself
Is hotfix candidate?