Skip to content

ci: pin Linux jobs to ubuntu-24.04 - #18

Merged
demy00 merged 2 commits into
mainfrom
feature/fm-ci-runner-pin
Oct 30, 2026
Merged

demy00 merged 2 commits into
mainfrom
feature/fm-ci-runner-pin

Conversation

@demy00

@demy00 demy00 commented Oct 30, 2026

Copy link
Copy Markdown
Owner

Intent

Firstmate's GitHub CI went red for every PR because ubuntu-latest moved to Ubuntu 26.04: on PR #17 six checks fail for reasons outside that change, four reproduced on main's code under 26.04 and pass on 24.04. Upstream kunchenguid/firstmate pinned its Linux jobs to ubuntu-24.04 in commit 003b695 ("ci: pin Linux jobs to ubuntu-24.04 (kunchenguid#7798)", 2026-10-26) and its CI is green on that pin. The failures were recorded as checks that pass on the ubuntu-24.04 runner and fail only on the ubuntu-26.04 runner that ubuntu-latest now resolves to.

What Changed

  • Switched every Linux job's runs-on from ubuntu-latest to ubuntu-24.04. In .github/workflows/ci.yml that covers lint, test coverage guard, portable parallel 1/2, portable serial shards, Herdr tests, the timing aggregate and repo invariants. It also covers the check job in .github/workflows/no-mistakes-required.yml.
  • Added a comment to ci.yml explaining the pin. Once ubuntu-latest resolved to ubuntu-26.04, checks that pass on 24.04 started failing, so the pin should only move after the suite is green on the newer image.
  • Updated docs/fm-test-portable-shards.md: balance hints are now described as coming from the Ubuntu runner that ci.yml pins, not from ubuntu-latest.

Risk Assessment

✅ Low: The change only swaps the runs-on label from ubuntu-latest to ubuntu-24.04 on every Linux job, matching the upstream pin and the stated intent; the macOS and Windows jobs are unchanged and no logic changed.

Testing

The change only touches GitHub Actions config, so no local test suite applies. I loaded the workflow files at the base and target commits and compared each job's runner: every Linux job moves to ubuntu-24.04 and the macOS and Windows jobs are unchanged. GitHub's logs for PR #17 show its six failed checks ran on ubuntu-26.04, and all six are in jobs this change pins. The upstream fix (003b695) changes the same lines the same way. Whether CI actually goes green on 24.04 can only be shown by the remote CI run for this branch.

Evidence: runs-on per job, before vs after (parsed YAML)

Source: runs-on per job, before vs after (parsed YAML)

== e1b3a90
ci.yml                     lint                       ubuntu-latest
ci.yml                     test-coverage              ubuntu-latest
ci.yml                     tests-portable-parallel-1  ubuntu-latest
ci.yml                     tests-portable-parallel-2  ubuntu-latest
ci.yml                     tests-portable-serial      ubuntu-latest
ci.yml                     tests-herdr                ubuntu-latest
ci.yml                     tests-timing-aggregate     ubuntu-latest
ci.yml                     macos-stock-bash           macos-latest
ci.yml                     invariants                 ubuntu-latest
no-mistakes-required.yml   check                      ubuntu-latest
windows-herdr-spike.yml    measure                    windows-latest
== bdabe94
ci.yml                     lint                       ubuntu-24.04
ci.yml                     test-coverage              ubuntu-24.04
ci.yml                     tests-portable-parallel-1  ubuntu-24.04
ci.yml                     tests-portable-parallel-2  ubuntu-24.04
ci.yml                     tests-portable-serial      ubuntu-24.04
ci.yml                     tests-herdr                ubuntu-24.04
ci.yml                     tests-timing-aggregate     ubuntu-24.04
ci.yml                     macos-stock-bash           macos-latest
ci.yml                     invariants                 ubuntu-24.04
no-mistakes-required.yml   check                      ubuntu-24.04
windows-herdr-spike.yml    measure                    windows-latest
Evidence: PR #17 CI: failing jobs ran on ubuntu-26.04

Source: PR #17 CI: failing jobs ran on ubuntu-26.04

PR #17 CI run 40973815018 - failing jobs and their runner image:
Behavior portable parallel 1 -> ubuntu-26.04
Behavior portable parallel 2 -> ubuntu-26.04
Behavior portable serial 1 -> ubuntu-26.04
Behavior portable serial 2 -> ubuntu-26.04
Behavior portable serial 3 -> ubuntu-26.04
Behavior portable serial 4 -> ubuntu-26.04
Behavior portable serial 5 -> ubuntu-26.04
Behavior portable serial 6 -> ubuntu-26.04
Behavior portable serial 7 -> ubuntu-26.04
Behavior portable serial 8 -> ubuntu-26.04
Behavior portable serial 9 -> ubuntu-26.04
Behavior tests (Herdr) -> ubuntu-26.04
Behavior timing aggregate -> ubuntu-26.04
Lint 1 -> ubuntu-26.04
Lint 2 -> ubuntu-26.04
Repo invariants -> ubuntu-26.04
Stock macOS Bash snapshot compatibility -> macos-26-arm64
Test coverage guard -> ubuntu-26.04

Failed:
Behavior tests (Herdr)
Behavior portable serial 6
Behavior portable serial 2
Behavior portable serial 3
Behavior portable parallel 1
Behavior portable serial 8

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

⚠️ **Review** - 1 info
  • ℹ️ docs/fm-test-portable-shards.md:8 - The doc says balance hints come from serial runs on ubuntu-latest. The Linux lanes now run on ubuntu-24.04, so the label no longer names the runner the hints describe. Suggest changing it to ubuntu-24.04 so future rebalancing measures on the pinned image.
✅ **Test** - passed

✅ No issues found.

  • Loaded every workflow file at the base and target commits with yaml.safe_load and compared each job's runs-on value: all Linux jobs move from ubuntu-latest to ubuntu-24.04, and macos-latest / windows-latest are unchanged
  • gh run view 40973815018 --repo demy00/firstmate --log: every Linux job in PR #17's failing CI run ran on the ubuntu-26.04 image
  • gh run view 40973815018 --json jobs: the 6 failed jobs (Herdr, portable parallel 1, portable serial 2/3/6/8) all belong to jobs this change pins
  • gh api repos/kunchenguid/firstmate/commits/003b695b: upstream changes the same 8 ci.yml runs-on lines from ubuntu-latest to ubuntu-24.04
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

Mirrors upstream kunchenguid/firstmate 003b695 (kunchenguid#7798); ubuntu-latest moved to 26.04 and broke unrelated checks.
@demy00
demy00 merged commit 04e25db into main Oct 30, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant