Change contract
Prediction Markets CI keeps every main push run alive while still cancelling superseded runs on PR and other non-main refs.
Evidence
Five main runs were cancelled by later pushes on 2026-07-29. The broadened Aliyun main trigger in #613 would make the same gap easier to reproduce: a deployment-only replacement run does not necessarily rerun source-selected image lanes from the cancelled commit.
Acceptance
Dependencies
None. This must merge before #613 resumes because both PRs modify .github/workflows/ploy-ci.yml and its contract test.
Out of scope
- Changing Monorepo CI concurrency, which already protects main
- Cache key or sccache changes
- Aliyun scope routing itself
- ACR publication or deployment
Rollout/rollback
CI scheduling only. Rollback is revert, which restores the documented main-run cancellation risk.
Change contract
Prediction Markets CI keeps every
mainpush run alive while still cancelling superseded runs on PR and other non-main refs.Evidence
Five main runs were cancelled by later pushes on 2026-07-29. The broadened Aliyun main trigger in #613 would make the same gap easier to reproduce: a deployment-only replacement run does not necessarily rerun source-selected image lanes from the cancelled commit.
Acceptance
cancel-in-progressis false only forrefs/heads/mainDependencies
None. This must merge before #613 resumes because both PRs modify
.github/workflows/ploy-ci.ymland its contract test.Out of scope
Rollout/rollback
CI scheduling only. Rollback is revert, which restores the documented main-run cancellation risk.