Skip to content

ci: pin every GitHub-hosted job to ubuntu-24.04 - #2169

Closed
devin-ai-integration[bot] wants to merge 1 commit into
developfrom
ci/pin-ubuntu-24-04-runners
Closed

devin-ai-integration[bot] wants to merge 1 commit into
developfrom
ci/pin-ubuntu-24-04-runners

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

What and why

GitHub moved the ubuntu-latest label from ubuntu-24.04 to ubuntu-26.04 between two consecutive merge-queue runs (the run for #2149 at 04:02Z reports Image: ubuntu-24.04; the run for #2164 at 04:44Z reports Image: ubuntu-26.04, same workflow). On the new image three tests that pass on 24.04 fail, which kicked #2164 and #2163 out of the queue:

  • tests/codegen TestCompiledCalcsAgreeWithInterpreter/c and TestCompiledStepBudgetMatchesInterpreter: the newer gcc rejects generated C that calls sysml_parse_rec before it is declared (a warning on 24.04, an error now).
  • internal/frontend/repl TestOptimizeReportsABoundThatIsNotAttained and the REST TestEngineSMTDecidesSensitivity: the image's z3 reports an unattained bound as no greatest value, approaching 10.5 without attaining it where the test expects no optimum reported.

This replaces runs-on: ubuntu-latest with runs-on: ubuntu-24.04 in every workflow (49 jobs, 14 files), so the suite runs on the image every green run used. The validate-action matrix keeps ubuntu-latest on purpose: it checks the action on what consumers get. Moving the suite to 26.04 is a separate, deliberate change once the generated-C forward declaration and the solver-dependent assertion are fixed.

How it was verified

  • scripts/ci-changed-areas-test.sh: all cases pass (unchanged behaviour).
  • actionlint .github/workflows/pr.yml: no new findings (the two shellcheck style notes predate this change).
  • Compared the Runner Image block of the last green queue job and the first red one; the only environment difference is the image version.

Checklist

  • make test and make lint pass locally (no Go change; workflow files only)
  • Tests added or updated for the change (not applicable: runner label only)
  • Documentation extended where it already covers the surface (CONTRIBUTING does not name the image)
  • Changelog entry added as changes/unreleased/<slug>.<section>.md (CI-only, no user-facing change)
  • baselines regenerated and make docs-counts run if a gate count moved (none moved)
  • No internal work-item labels (waves, slices, F4, K5) in the body, docs, or changelog

Link to Devin session: https://nasa-jpl-demo.devinenterprise.com/sessions/a22ac6bb49a04224941818e07d42bed9
Open in Devin Desktop: https://nasa-jpl-demo.devinenterprise.com/desktop/session/a22ac6bb49a04224941818e07d42bed9?variant=devin
Requested by: @HuiJun


🟢 Devin Review found nothing to fix · View findings

Devin Review

ubuntu-latest moved to ubuntu-26.04 between two merge-queue runs, and its gcc and z3 fail
tests that pass on 24.04. Pin the image every green run used; moving to 26.04 is a
deliberate change with those fixes.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

Superseded by #2165, which pins the same 14 workflows (and the validate-action matrix) and has merged.

@devin-ai-integration
devin-ai-integration Bot deleted the ci/pin-ubuntu-24-04-runners branch November 23, 2026 15:24
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