Repository navigation
ci: route complete docs-only merge groups to lightweight validation - #764
Conversation
Codex Review SummaryThis 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. |
There was a problem hiding this comment.
Code Review
This pull request introduces a lightweight CI routing path for merge_group events when only documentation files are modified. It updates .github/scripts/resolve_rust_ci_mode.py to parse merge group parameters and evaluate if the changes are docs-only, and adds corresponding unit tests in .github/scripts/test_ci_planners.py. Feedback on the changes points out an issue in test_merge_group_rename_delete_and_uncertain_metadata_stays_full where --merge-group-comparison-complete is set to "false", bypassing the status-filtering logic that the test is intended to verify.
Summary
Route only a complete docs-only merge_group queue-base to synthetic-head delta to the targeted documentation validation lanes. Every Rust, mixed, workflow, unknown, rename/delete, unavailable, malformed, incomplete, truncated, or uncertain comparison remains on the full route.
Exact candidate
c39d2f2f58508c28ca99d1e6ead1b1e428a667b83c7702f270b1feff373b3fff9b0d9d4b3badf8784448e27c35055e4f4cb954c3261630e7d6494ce0ddf04ad26789d040f9ef6a96736f76602e35a6cc.github/scripts/resolve_rust_ci_mode.py,.github/scripts/test_ci_planners.py,.github/workflows/rust-ci.ymlSafety contract
A/M, and known line-count metadata.Validation
A Luna/high read-only semantic review on the exact head returned clean after a causal repair. Local builds/tests were intentionally not run on the coordination-only workstation. Required proving is GitHub-hosted: fresh PR checks, a merge_group event with exact base/synthetic-head readback, required CI + CodeQL conclusions, branch-protection/ruleset evidence, protected landing, and post-main proof. No queue or protection settings are changed by this PR.