Repository navigation
ci: Pin Python 3.9 Linux checks to Ubuntu 24.04 - #403
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
6 tasks done
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.
Summary
Fix the Linux/Python 3.9 compatibility-floor job after
ubuntu-latestselected Ubuntu 26.04, for which setup-python has no matching 3.9 build. Replace just that matrix cell withubuntu-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
excludeentries beforeinclude. 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
Evidence
f133153b32f68e39061d9c49d91e5042359e888f: 47/49 jobs succeeded. The actual failure is setup-python before project tests; the other failure is the aggregate release gate.The version '3.9' with architecture 'x64' was not found for Ubuntu 26.04.Validation
python -m unittest tests.docs.test_python_matrix -v: 4 passed; fullpython -m unittest discover -s tests/docs: 97 passed, including after final review refinements.YAML.safe_loadand separate Cartesian expansion confirms 7 core cells / 49 total jobs and unchanged steps/conditions/gate. No YAML dependency was added.python tools/generate_session_peer.py --checkandgit diff --check: pass.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-reviewbefore PR creation, in parallel fresh read-only non-interactive calls with the same frozen packet:claude-opus-5-5gemini-4-argon-medium, mediumInput: 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
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.