[codex] Guard release compatibility drift#180
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Code Review
This pull request enhances the release and publication invariant checks in tests/release_publish_invariants.py by adding strict SemVer tag validation, Rust MSRV compatibility checks, publication model verification, and Python package metadata validation. It also updates the minimal TOML parser to handle multiline arrays. A review comment identifies a potential bug in the updated TOML parser where nested arrays or inline tables ending with ] could prematurely close a multiline array, and suggests a robust fix to count the brackets.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Review Summary by QodoEnforce release compatibility drift guards and invariants
WalkthroughsDescription• Enforce release compatibility invariants across Rust/Python packages • Add comprehensive validation checks for MSRV, documentation, and CI sync • Improve TOML parser to handle multiline arrays correctly • Update dependency versions and tag patterns to strict SemVer format Diagramflowchart LR
A["Release Workflow"] -->|parse semver guard| B["Strict SemVer Pattern"]
C["Cargo.toml files"] -->|validate MSRV| D["Compatibility Check"]
E["README.md"] -->|verify quickstart| D
F["CI Workflows"] -->|check toolchain| D
G["Python Metadata"] -->|validate deps| H["Publication Model"]
I["cliff.toml"] -->|align tag pattern| B
D -->|all checks pass| J["Release Invariants Met"]
H --> J
File Changes1. tests/release_publish_invariants.py
|
Code Review by Qodo
1. Fallback TOML parse fails
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 484c51033c
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
e2ffc7f to
e34e012
Compare
484c510 to
1ba84d5
Compare
|
Addressed the fallback TOML parser findings in What changed:
Validation:
|
e34e012 to
b0e91a9
Compare
Signed-off-by: Nelson Spence <nelson@projectnavi.ai>
Signed-off-by: Nelson Spence <nelson@projectnavi.ai>
f980406 to
39cf499
Compare
Summary
Stacked on #179.
This lane turns the pre-release compatibility drift findings into enforced release invariants:
0.4minor line;ordvec-ffian explicitrust-version = "1.89"so every Rust surface shares the declared MSRV;cliff.tomlwith the strict no-leading-zero stable SemVer tag guard fromrelease.yml;tests/release_publish_invariants.pyto check lockstep MSRV/docs/CI sync, publication model, Python package floors, pyo3 abi3 feature settings, Dependabot NumPy floor wording, and strict release tag behavior.Review Follow-Up
An adversarial subagent review found four issues before publication; all were remediated:
jobs.guardsemver step rather than string-searching all ofrelease.yml;pyproject.toml;Validation