Repository navigation
fix(ci): renovate should close superseded PRs; review-pr should comment on CI failures for self-authored PRs - #1539
Merged
Merged
Conversation
…or self-authored PRs Two behavioral gaps found in hourly review of runs 23107624441, 23107689220, 23108046257: 1. claude-renovate: created PR #1538 superseding dependabot PRs #1479 and #1480 but never closed them. Add explicit instructions to close superseded PRs after creating the renovation PR. 2. review-pr on self-authored PRs: the "stay silent" instruction was interpreted as skipping CI failure analysis entirely. The bot investigated a macOS test failure thoroughly but left no trace on PR #1538. Clarify that CI failure comments should still be posted even when the initial review verdict is silent. Co-Authored-By: Claude Opus 4.6 <[email protected]>
worktrunk-bot
commented
Mar 15, 2026
worktrunk-bot
left a comment
Collaborator
Author
There was a problem hiding this comment.
macOS CI failed on test_switch_with_execute_through_wrapper — "No such file or directory (os error 2)" when running wt config shell init bash. This is unrelated to the PR changes (markdown and yaml only). The same test passes on the latest main CI run — likely a transient macOS runner issue where bash wasn't on PATH.
A re-run should clear it.
3 tasks
max-sixty
reviewed
Mar 15, 2026
| when there are concerns, or stay silent and skip to step 5. | ||
| when there are concerns, or stay silent and skip to step 5. Still monitor CI | ||
| and post a COMMENT review if a check fails — "stay silent" only applies to the | ||
| initial review verdict, not to CI failure analysis. |
Owner
There was a problem hiding this comment.
this is an example of the language being unnecessarily complicated; require from scratch to be simple
Collaborator
Author
There was a problem hiding this comment.
Agreed — simplified to a single direct sentence: "Always post CI failure analysis as a COMMENT, even on self-authored PRs."
Co-Authored-By: Claude Opus 4.6 <[email protected]>
max-sixty
pushed a commit
that referenced
this pull request
Mar 15, 2026
## Summary - Add explicit guidance to the review-pr skill's CI monitoring step: when a CI failure is a transient flake, trigger `gh run rerun --failed` on **any PR** (bot or human-authored) - After re-running, report the flake to the tracking issue (e.g., #1528) with context — PR number, platform, error snippet, run link — rate-limited to ~1 comment/day per test ## Evidence **Run 23107689220** (claude-review on PR #1538, `chore/renovate-20260315`): The review bot spent 35 tool calls investigating a macOS `test_switch_with_execute_through_wrapper` flake on bot-authored PR #1538. It correctly diagnosed the failure as transient (unrelated to the Rust 1.90→1.94 bump), but then took no action — no re-run, no comment. Someone else eventually triggered attempt 2 manually, which passed. This pattern was also seen in run 23109051326 reviewing PR #1539, where the bot posted a COMMENT about the flake but didn't trigger a re-run. **Root cause:** Step 5 of review-pr has no guidance for the "flake detected" case — only "related to PR" (dismiss approval + comment) and "all passed" (done). The bot falls through to silence. ## Test plan - [ ] Next claude-review run on a PR with a CI flake should trigger `gh run rerun --failed` - [ ] Bot should comment on the relevant flaky test tracking issue (e.g., #1528) with context - [ ] Rate limiting: bot should skip the issue comment if it already posted one today 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: worktrunk-bot <[email protected]> Co-authored-by: Claude Opus 4.6 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Hourly review of 3 Claude CI runs (23107624441, 23107689220, 23108046257) found two behavioral gaps:
Evidence from session logs
Run 23107624441 (claude-renovate): PR body mentions "Supersedes dependabot PRs #1479 and #1480" but no
gh pr closecalls appear in the session. Both PRs remain open.Run 23107689220 (claude-review on #1538): Bot identified macOS
test_switch_with_execute_through_wrapperfailure, checked 10 main branch CI runs, read test source code, concluded likely flake — but produced zero output on the PR. The skill's "stay silent and skip to step 5" was interpreted as skipping step 5's CI failure comment too.Run 23108046257 (review-reviewers): Previous hour's meta-review. Found no runs to analyze, correctly reported "all clear". No issues.
Test plan
🤖 Generated with Claude Code