Skip to content

CI: pin hosted Linux jobs to Ubuntu 24.04 - #3568

Merged
integry merged 1 commit into
mainfrom
ci/pin-ubuntu-24-04
Nov 14, 2026
Merged

integry merged 1 commit into
mainfrom
ci/pin-ubuntu-24-04

Conversation

@integry

@integry integry commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Why

GitHub has started serving ubuntu-latest jobs on the Ubuntu 26.04 image. On that image the full test suite fails on every run:

  • apps/desktop/src/rpm-maker.test.ts: rpmbuild fails in %install with cp: cannot stat 'usr/*': No such file or directory (the electron-installer-redhat spec no longer runs in the staged directory under the newer rpmbuild).
  • apps/desktop/scripts/rpm-signing.test.mjs: three subtests fail, ending in RPM must have verified header and package signatures from the pinned identity.

Seen on three of three 26.04 runs across #3566 and #3567 today; the same tests passed on 24.04 an hour earlier. One 26.04 run also failed scripts/ci-install-chromium.sh on missing font packages, and passed on the retry.

What changes

Every ubuntu-latest in .github/workflows becomes ubuntu-24.04 (39 places in 11 files), and the runner contract tests that name the label follow. docs/ci-runners.md records why, and that moving to a newer image belongs with the RPM packaging fix.

Jobs routed to the self-hosted rootless pool are unaffected.

Verification

  • test/ciRunnerRouting.test.mjs (51), test/ciFullSuiteSelection.test.mjs (78), test/ciHostedCapacity.test.mjs (5), test/ciWorkflowDeduplication.test.mjs (11) and apps/desktop/scripts/linux-preview-workflow.test.mjs (17) pass.
  • actionlint reports no errors.
  • This PR's own full test suite run is the check that the two RPM tests pass again.

Not in this PR

Making the desktop RPM build work on Ubuntu 26.04.

🤖 Generated with Claude Code

GitHub moved ubuntu-latest to Ubuntu 26.04. rpmbuild there fails the
desktop RPM build (%install cannot find the staged usr/ directory), so
rpm-maker.test.ts and rpm-signing.test.mjs fail in every full test
suite run.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@integry
integry merged commit 2be18cd into main Nov 14, 2026
19 of 38 checks passed
@integry
integry deleted the ci/pin-ubuntu-24-04 branch November 14, 2026 10:14
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.

2 participants