Skip to content

ci: route complete docs-only merge groups to lightweight validation - #764

Merged
GraciousGazelles merged 4 commits into
mainfrom
fix/w13804-docs-merge-group-route
Sep 5, 2026
Merged

GraciousGazelles merged 4 commits into
mainfrom
fix/w13804-docs-merge-group-route

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

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

  • Base: c39d2f2f58508c28ca99d1e6ead1b1e428a667b8
  • Head: 3c7702f270b1feff373b3fff9b0d9d4b3badf878
  • Tree: 4448e27c35055e4f4cb954c3261630e7d6494ce0
  • Upstream reference at admission: ddf04ad26789d040f9ef6a96736f76602e35a6cc
  • Changed paths: .github/scripts/resolve_rust_ci_mode.py, .github/scripts/test_ci_planners.py, .github/workflows/rust-ci.yml

Safety contract

  • Lightweight mode requires complete queue-base/synthetic-head comparison, nonempty docs/README paths, aligned statuses exactly A/M, and known line-count metadata.
  • Fetch, diff, malformed metadata, binary/unknown line-count sentinel, rename/delete, and other uncertain states fail closed to full validation.
  • Required CI and CodeQL gate, ALLGREEN/SQUASH, merge protection, review-thread resolution, exact SHA identity, and post-main checks are unchanged.

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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-05T08:18:46.603731Z 3c7702f 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.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

Comment thread .github/scripts/test_ci_planners.py Resolved
@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 5, 2026
Merged via the queue into main with commit 2ea5867 Sep 5, 2026
72 checks passed
@GraciousGazelles
GraciousGazelles deleted the fix/w13804-docs-merge-group-route branch September 5, 2026 08:43
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