Skip to content

ci: Pin Python 3.9 Linux checks to Ubuntu 24.04 - #403

Merged
abruption merged 1 commit into
mainfrom
ci/python39-ubuntu24
Nov 17, 2026
Merged

abruption merged 1 commit into
mainfrom
ci/python39-ubuntu24

Conversation

@abruption

@abruption abruption commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Summary

Fix the Linux/Python 3.9 compatibility-floor job after ubuntu-latest selected Ubuntu 26.04, for which setup-python has no matching 3.9 build. Replace just that matrix cell with ubuntu-24.04; keep newer Linux interpreters on latest and preserve macOS, Windows, all steps and release-gate dependencies.

Also update the existing documentation matrix checker to apply literal exclude entries before include. Previously it collected both blocks as includes. Its exact expected-cell assertion now requires the pinned 3.9 cell and rejects the excluded latest/3.9 cell.

Issue references

Refs #402.

Type

  • fix
  • chore / refactor / test / perf

Evidence

  • Failed main CI 43969310457, source f133153b32f68e39061d9c49d91e5042359e888f: 47/49 jobs succeeded. The actual failure is setup-python before project tests; the other failure is the aggregate release gate.
  • Exact error: The version '3.9' with architecture 'x64' was not found for Ubuntu 26.04.
  • The upstream versions manifest, checked 2026-11-17, provides Python 3.9.25 Linux x64 builds for Ubuntu 22.04/24.04, not 26.04.
  • PR [Codex Security] Release verifier executes Python startup hooks before authenticating assets #401 does not alter CI runner selection. Its security fix is retained; a green earlier run or other platform does not substitute for the new pinned cell.

Validation

  • macOS arm64, Apple Python 3.9.6: python -m unittest tests.docs.test_python_matrix -v: 4 passed; full python -m unittest discover -s tests/docs: 97 passed, including after final review refinements.
  • Independent YAML parsing via installed Ruby 4.0.9/Psych YAML.safe_load and separate Cartesian expansion confirms 7 core cells / 49 total jobs and unchanged steps/conditions/gate. No YAML dependency was added.
  • Negative checks: an unsupported partial modifier raises; removing the exclusion makes the existing coverage test fail as intended (in-memory mutations only).
  • python tools/generate_session_peer.py --check and git diff --check: pass.
  • Local actionlint/PyYAML: unavailable; not installed or claimed run. Native agents, messages, full runtime/optional-service suites and deployments: not run / outside this CI-only change. The PR workflow will exercise the actual hosted matrix.
  • Read-only protection check: the only required status context is release gate (strict); no individual old Ubuntu job name is required. The active ruleset protects version tags. No settings were changed.

Independent review

Applied independent-cli-review before PR creation, in parallel fresh read-only non-interactive calls with the same frozen packet:

Reviewer Requested / confirmed model CLI Result
Claude Code claude-opus-5-5 2.1.325 valid, exit 0, 63.289 s
Antigravity gemini-4-argon-medium, medium 1.5.9 SUCCESS, exit 0, 58.692 s

Input: 31259 UTF-8 bytes, SHA-256 ded580eb7da281c2c4b5055138d77411dd5cae078bc28a01976fde3c7730dc71: exact diff, complete workflow and matrix-test helper, failure/manifest facts, local test output and independent YAML-expansion proof. Input remained unchanged. Tools disabled for Claude; plan+sandbox and bounded timeout for Antigravity. No retry/fallback was used; reviewers did not execute tests or make writes.

Both found no mandatory correction. Codex adopted the optional fail-closed check for unparsed modifier rows, then reran all 97 docs tests and negative guards. These final two helper lines were source-checked by Codex, not subjected to a second model call. Required-check-name concerns were resolved by the read-only protection query above. The helper remains deliberately limited to this workflow's literal os/python modifier pairs; it is not a general GitHub matrix evaluator. Hosted execution remains an explicit gate.

Boundaries

Only the workflow matrix and its existing coverage checker change. No runtime/security-fix/dependency/version/docs translation change; no weakened tests, Python-floor removal, gate bypass, merge/tag/release/publication or operational action. Current-head hosted CI and automatic reviews must pass before merge. No manual Codex review mention is needed.

Checklist

  • CLI version/help: not run, runtime unchanged.
  • Generated standalone checked.
  • Conventional Commit.
  • User documentation/translations not applicable: existing Python floor and public behavior unchanged.
  • No secrets, tokens or session keys in diff.

Verified against

Base f133153b32f68e39061d9c49d91e5042359e888f, macOS arm64 / Python 3.9.6, no extras. Remote current-head CI and automatic review are pending at creation. Merge, tagging and publication are not performed by this task.

Current-head hosted checkpoint

At 38bb61736fbf7575f37917ead9da3c10a4b38692, test (ubuntu-24.04, python 3.9) completed successfully, including setup-python and the existing Core/Adapter/Codex/Distribution steps. This verifies the previously failing setup path on the actual pinned runner. The documentation job is also successful. Codex automatic code review completed at this head with no findings; security review and the remaining matrix/gate are still pending at this checkpoint. No manual review mention was posted.

@abruption abruption self-assigned this Nov 17, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T02:19:27.351150Z 38bb617 PR opened
🔒 Security Review ✅ Completed 2026-11-17T02:20:56.405359Z 38bb617 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@abruption
abruption merged commit 0154c33 into main Nov 17, 2026
57 checks passed
@abruption
abruption deleted the ci/python39-ubuntu24 branch November 17, 2026 02:28
@abruption abruption mentioned this pull request Nov 17, 2026
6 tasks done
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