Repository navigation
ci: Linux jobs run on ubuntu-24.04 and Node jobs on Node 24 (C5) - #715
Merged
Merged
Conversation
From the CI audit of 2026-10-05, ahead of 2026-10-19: - ubuntu-latest moves to Ubuntu 26 from 2026-10-19, which would change apt packages (wabt), Playwright's --with-deps and every preinstalled tool without a commit here. Every Linux job is pinned to ubuntu-24.04; moving to 26.04 is a deliberate edit of that label. - Node 20 reached end of life in April 2026. The viewer, audit and release smoke jobs use Node 24, the active LTS. - publish.yml notes what replaces macos-15-intel, GitHub's last Intel macOS image, for the x86_64 wheel when it retires. The check names that carry the runner label change with it (build + real files / ubuntu-24.04 / ...); the ruleset requires CI passed alone.
DrunkOnJava
added a commit
that referenced
this pull request
Oct 18, 2026
…e release binaries (C10) The rest of the audit's C10 items, and the findings zizmor (#721) reported: - impostor-commit / ref-version-mismatch: dtolnay/rust-toolchain regenerates its stable, nightly and master branches, so the pinned commits were on no branch. Re-pinned to the current heads (stable 89b1218, nightly 0e28dd9, master 7e38f4b, read from the API today); the next regeneration will flag them again. - artipacked: `persist-credentials: false` on the 32 checkouts that kept the token. No workflow pushes; the `gh` calls authenticate with GH_TOKEN. - cache-poisoning: publish.yml restores no cache, so a release is built from nothing a pull request's run could have written. It also gains a concurrency group that queues a second release run instead of racing it. - The Python packages CI installs move into tools/ci/requirements-ifc.txt (ifcopenshell 0.8.5) and requirements-test.txt (jsonschema 4.26.0, pytest 8.4.2), which a new Dependabot pip entry watches. IfcOpenShell 0.9 and pytest 9 are major updates and stay the maintainer's call. - codeql.yml runs on ubuntu-24.04, which C5 (#715) missed. - Release binaries are built with cargo auditable 0.7.7, so `cargo audit bin` can check a shipped binary against RustSec.
DrunkOnJava
added a commit
that referenced
this pull request
Oct 18, 2026
…e release binaries (C10) (#733) These are the CI audit's last C10 items, plus fixes for the findings zizmor reported after #721. **zizmor findings** - **impostor-commit and ref-version-mismatch.** - dtolnay/rust-toolchain rebuilds its `stable`, `nightly` and `master` branches, so the commits we had pinned were no longer on any branch. - Every use is re-pinned to one commit of the action's `master` branch, `683b588` (2026-10-16), with the `toolchain` input each already passed. `master` only moves forward, so the pin cannot become an impostor commit again; `stable` had diverged from the commit pinned on 2026-10-05 by the time this landed. zizmor's `ref-version-mismatch` still warns when `master` moves on (#765 replaces the action with `rustup`). - **artipacked.** The 32 checkouts that kept the token now set `persist-credentials: false`. No workflow pushes, and every `gh` call authenticates with `GH_TOKEN`. - **cache-poisoning.** publish.yml no longer restores any cache, so a release is built from nothing a pull request's run could have written. **Other C10 items** - publish.yml gets a concurrency group with `cancel-in-progress: false`, so a second release run waits instead of racing the first. - CI's Python packages are pinned in `tools/ci/requirements-ifc.txt` (ifcopenshell 0.8.5) and `tools/ci/requirements-test.txt` (jsonschema 4.26.0, pytest 8.4.2), and a new Dependabot `pip` entry watches them. - IfcOpenShell 0.9 and pytest 9 are major updates, so moving to them stays the maintainer's call. - codeql.yml now runs on `ubuntu-24.04`; C5 (#715) missed it. - Release binaries are built with `cargo auditable` 0.7.7, so `cargo audit bin` can check a shipped binary against RustSec. There is a CHANGELOG entry for this. The release-binaries job then reads each Linux binary's section headers and fails if `.dep-v0` is gone; on this PR's run it was present in `rvt-info`, `rvt-ifc` and `rvt-analyze` on both musl targets, with `[profile.release] strip = true` unchanged. **Testing** - The ci.yml jobs that install from the requirements files run on this pull request. - release-binaries runs on this pull request because its own workflow file changed (#722). - publish.yml runs only on a tag, so its cache and concurrency changes are checked by YAML parsing and zizmor alone.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
From the CI audit of 2026-10-05, ahead of the 2026-10-19 runner change.
ubuntu-latestmoves to Ubuntu 26 from 2026-10-19. That would change apt packages (wabt), Playwright's--with-depsand every preinstalled tool without a commit here. Every Linux job is now pinned toubuntu-24.04, so moving to 26.04 becomes a deliberate edit of that label.publish.ymlnotes what replacesmacos-15-intel, GitHub's last Intel macOS image, for the x86_64 wheel when it retires.This renames the matrix checks that carry the runner label, so it merges only after the main-protection ruleset requires
CI passedalone (C1).Note
Low Risk
Infrastructure-only workflow and doc edits; behavior should match current
ubuntu-lateston 24.04, with a one-time risk of Node 24 surfacing viewer dependency issues.Overview
Pins all Linux GitHub Actions jobs from
ubuntu-latesttoubuntu-24.04across CI, release, deploy, fuzz, measure, and nightly workflows, with a note inci.ymlthat this blocks an unreviewed jump whenubuntu-latestbecomes Ubuntu 26 (2026-10-19). Matrix job names that embed the runner label (e.g. MSRVbuild + real files / ubuntu-24.04 / msrv) anddocs/maintaining.mdare updated to match.Viewer and release smoke jobs that install Node via
actions/setup-nodemove from Node 20 to Node 24 (ci.ymlviewer-dependencies,deploy-viewer.yml,publish.ymlviewer-release-smoke).publish.ymladds a short comment onmacos-15-intelbeing the last Intel macOS image and the planned Rosetta/cross-build fallback when it retires. No application or library code changes.Reviewed by Cursor Bugbot for commit 7b0eed6. Configure here.