Skip to content
This repository was archived by the owner on Nov 8, 2026. It is now read-only.

Cancel superseded CI runs and bound Ubuntu mirror downloads - #536

Merged
techmore merged 5 commits into
devfrom
codex/mseries-ci-cancellation
Oct 23, 2026
Merged

techmore merged 5 commits into
devfrom
codex/mseries-ci-cancellation

Conversation

@techmore

@techmore techmore commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Older commits of one MSeries PR left whole validation matrices running and queued, consuming shared GitHub runner capacity while Rupert awaited deployment. Every PR workflow now groups concurrency by workflow name and PR number and cancels superseded PR runs. Other PRs and workflows remain independent. Non-PR runs are not preempted, and the global package publishing lock is preserved.

A lightweight workflow checks all PR workflow definitions, including newly added ones. Nine regression tests cover missing/misconfigured cancellation, workflow/PR/ref isolation, case-insensitive workflow-name collisions, future workflows, and preservation of release and publisher locks. Handoff and roadmap record activation limits.

Validation:

  • python3 mseries/ci/workflow_policy.py passed across all ten PR workflows.
  • python3 -B -m unittest discover -s mseries/ci -v: 9 passed, including mutation checks on every PR workflow.
  • Actionlint v1.7.12 passed with shell/Python lint disabled and only existing Ubuntu 26.04 runner labels allowed beyond its built-in catalog.
  • git diff --check passed.

This prevents superseded-run buildup once updated workflow revisions are in use. It does not retroactively cancel legacy runs or reserve shared capacity against legitimate current builds. No desktop installation, restart, publishing, or hardware changes.

Live verification: pushing a newer PR commit automatically cancelled older active runs 39878629706 (validation), 39878629771 (Disk Space), 39878629859 (packages), and 39878629749 (Aurora). Another PR package run 39877802029 remained in progress. A manual package control with publish=false (39879234844) continued into active jobs after a second PR update; it was then explicitly cancelled as test cleanup. No actual publishing was started. Final head f7019eb now awaits CI before merge.

Mirror hardening follow-up: Aurora dependency setup now uses signed, temporary Ubuntu ARM64 sources (HTTPS ports first, HTTPS Azure fallback), with 60-second metadata and 240-second package-download budgets. Installation uses verified downloaded packages with --no-download; runner sources and Ubuntu signing requirements stay intact. Rustup is bounded separately. All 17 CI tests pass locally, including eight mirror/timeout/installation-safety cases. The updated candidate and unified72 kernel builds and package inspection must pass before merge. Current dev documentation was merged with both sets of notes preserved to resolve a PR conflict that prevented checks from dispatching.

@techmore techmore changed the title Cancel superseded PR CI runs before they fill shared runner capacity Cancel superseded CI runs and bound Ubuntu mirror downloads Oct 23, 2026
@techmore
techmore merged commit 45dd13d into dev Oct 23, 2026
32 checks passed
@techmore
techmore deleted the codex/mseries-ci-cancellation branch October 31, 2026 17:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant