fix(playbooks): repo-sweep next stops on a conflicting sweep PR - #5386
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. |
|
Claude finished @kyle-sexton's task in 3m 52s —— View job Code review (
|
|
Claude finished @kyle-sexton's task in 45s —— View job Security review complete
No security issues found. Reviewed all 7 changed files ( The functional change is narrowly scoped:
No secrets, credentials, or authorization logic are touched by this PR. |
…anches Exit 12 and exit 13 branch out of step 2 before the old step 3 ran, so a conflicting sweep PR at the finalize point skipped the stop. Fold the check into step 2 and attach the verification record for the GitHub behavior. Refs #5206 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cfe84cc9a0
ℹ️ 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".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Claude finished @kyle-sexton's task in 3m 21s —— View job Code review (
|
|
Claude finished @kyle-sexton's task in 1m 23s —— View job Security review (
|
state.sh prints mergeable CONFLICTING before the marker check, so exit 1 can carry it too. Say any exit code instead of listing three. Merges origin/main and bumps playbooks to 0.14.4. Refs #5206 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Claude finished @kyle-sexton's task in 1m 30s —— View job Code review (
|
|
Claude finished @kyle-sexton's task in 1m 20s —— View job Security review (
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Claude finished @kyle-sexton's task in 1m 13s —— View job Security review (
|
|
Claude finished @kyle-sexton's task in 1m 29s —— View job Code review (
|
Closes #5206
Summary
/playbooks:repo-sweep nextpushed a commit per step without noticing that the sweep PR had becomemergeable: CONFLICTING. GitHub runs nopull_requestworkflows on a conflicting PR, so those step commits got no CI.Fix
state.shrequestsmergeablein its existinggh pr listcall and printsmergeable CONFLICTINGfor an open PR that conflicts.MERGEABLEandUNKNOWNprint nothing. No new exit code.reference/next.mdsection 1 stops before any step when that line is present and asks the user to merge the base branch into the sweep branch, push, and rerunnext.UNKNOWNnever stops.SKILL.mdlists the new line;evals/evals.jsonhas a case for the stop.state.test.shcovers CONFLICTING (line printed, normal exit code), MERGEABLE and UNKNOWN (no line), and a merged PR (exit 11, no line).Verification
bash plugins/playbooks/skills/repo-sweep/scripts/state.test.sh: all passedscripts/check-changelog-parity.sh --check --check-order: passedscripts/validate-plugins.sh: all manifests and the catalog validatedevals.jsonparses as JSONRelated
Found in melodic-software/.github#153, where the last six step commits got no CI run.
🤖 Generated with Claude Code