Skip to content

CI: isolate merge queue attempts and retry-aware watching - #559

Merged
GraciousGazelles merged 5 commits into
mainfrom
fix/merge-group-efficiency-20260731
Jul 31, 2026
Merged

GraciousGazelles merged 5 commits into
mainfrom
fix/merge-group-efficiency-20260731

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary

  • Scope merge-group concurrency to the immutable queue SHA and keep queue attempts from cancelling one another.
  • Keep the advisory downstream heavy matrix out of merge-queue admission.
  • Make the tracked workflow babysitter wait through same-run GitHub reruns before surfacing a terminal failure.
  • Publish the code-mode test proxy atomically to avoid hosted ETXTBSY races.

Validation

  • bash .github/scripts/validation-lanes/workflow-ci-sanity.sh
  • rustfmt --edition 2024 --check codex-rs/code-mode-host/tests/stdio.rs

The hosted CI run is the authoritative validation for the exact PR head.

@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 retry-aware terminal settling feature (--retry-settle-seconds) to the GitHub workflow run watcher, allowing it to track run attempts and wait during a grace period to prevent racing with automatic reruns. It also updates CI planner tests, documentation regarding merge queue exclusions, and ensures atomic writing of a test proxy script in stdio.rs to avoid ETXTBSY errors. Reviewer feedback recommends catching a broader Exception when resolving target display keys, safely handling potential integer conversion errors for run IDs, and simplifying a redundant getattr check on args.require_terminal_run to direct attribute access.

@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Jul 31, 2026
Merged via the queue into main with commit e0be1f5 Jul 31, 2026
69 checks passed
@GraciousGazelles
GraciousGazelles deleted the fix/merge-group-efficiency-20260731 branch July 31, 2026 06:15
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