Our workflow triggers a job that launches a suite of functional tests.
For these tests, we use parallelism=20
and --split-by=timings
.
If tests fail, we rerun only the failed tests. Note that the original launch and the rerun have different job-ids.
The next time the workflow is invoked, functional test job fetches the historical timings from the previous job-id i.e. rerun which only contains execution times for the failed tests. We lose timings for all tests that passed on the initial run (launch). This leads to suboptimal partitioning of tests in the current workflow.
In case of a Rerun Failed Only should the artefacts from the initial run (launch) and all intermediate reruns not be carried forward to the same location as the artefacts generated by the rerun?