Repository navigation
fix(ci): AUT-2243 preserve scheduled nightly runs - #3164
Conversation
Signed-off-by: svcnemo-autobot <[email protected]>
|
/ok to test 9ed68ae |
Signed-off-by: svcnemo-autobot <[email protected]>
|
/ok to test 79f2226 |
|
/claude review |
|
SHIP — LGTM, no reliability concerns. CI-only change; no verifier, scorer, async, or public-API surface touched. Semantics check out:
One NOTE (author's call, not blocking): dropping |
Signed-off-by: svcnemo-autobot <[email protected]>
|
/ok to test 016715c |
|
/claude review |
|
SHIP — LGTM, no reliability concerns. CI-config-only change; no verifier, scorer, async, or public-API surface touched.
|
## Background Gym's four-hour scheduled CICD run was cancelled by a newer push. Scheduled runs must finish independently while push runs may still supersede older pushes. ## What changed - Partition top-level CICD concurrency by event type. - Disable cancellation only for scheduled runs. - Remove concurrency from the reusable unit-test workflow; GitHub evaluates it as `workflow_call`, where event-based expressions are invalid. - Add regression coverage for the top-level contract and reusable workflow shape. ## Details ```mermaid flowchart LR S[Scheduled CICD] --> U[Reusable unit tests] P[Push CICD] --> U S -. separate caller group .- P ``` ## Tested - `ruff format --check tests/unit_tests/test_ci_environment.py` - `pytest -q tests/unit_tests/test_ci_environment.py::test_scheduled_cicd_runs_do_not_cancel_in_progress` - Previous-head GitHub lint, DCO, copyright, and secret checks passed; GitHub exposed the reusable-workflow validation failure fixed by this head. --------- Signed-off-by: svcnemo-autobot <[email protected]> Signed-off-by: Junkeun Yi <[email protected]>
Background
Gym's four-hour scheduled CICD run was cancelled by a newer push. Scheduled runs must finish independently while push runs may still supersede older pushes.
What changed
workflow_call, where event-based expressions are invalid.Details
Tested
ruff format --check tests/unit_tests/test_ci_environment.pypytest -q tests/unit_tests/test_ci_environment.py::test_scheduled_cicd_runs_do_not_cancel_in_progress