Repository navigation
fix(review): tell authors how to get a fresh review of a stale PR - #2126
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThe stale-review notice tells PR authors to comment Example: A PR previously reviewed at head
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it corrects misleading stale-review guidance still present on main, and no introduced correctness defect was found. Priority: P3 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe apply workflow compares the reviewed and live PR heads, renders a stale notice when they differ, and publishes it as the durable review comment. flowchart LR
A[Stored review] --> C[Apply workflow]
B[Live PR head] --> C
C --> D[Stale notice renderer]
D --> E[Durable GitHub comment]
E --> F[Author review request]
Technical reviewBest possible solution: Keep the focused wording correction in the existing stale-notice renderer. Do we have a high-confidence way to reproduce the issue? Main still tells authors to wait despite the documented explicit-request requirement; the stale-head branch directly renders that message. Is this the best way to solve the issue? Replacing the message at its existing production owner is the smallest complete fix and uses a command already available to authors. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 6901db5e2c65. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 29, 2026, 6:51 AM ET / 10:51 UTC. |
|
Landed. The stale-review notice told authors to "run or wait" for a fresh review, but pushes after the first review are only reviewed on request. It now names |
Problem
When a PR is pushed after its first review, ClawSweeper replaces the verdict with a stale notice whose next step reads "Run or wait for a fresh ClawSweeper review on the current PR head." Since #1948, pushes after the first review are not reviewed automatically, so waiting never produces a review. On 2026-10-29, 94 of 341 open non-draft
openclaw/openclawPRs showed this notice, and some looked stalled to their authors.Fix
The stale notice now says: "Comment
@clawsweeper re-reviewwhen the current head is ready; pushes after the first review are not reviewed automatically." Contributors may request reviews of their own items, so the command is available to the readers of this notice.User impact
Authors of stale PRs know what to do to get a fresh review. Review admission does not change.
Proof
node --test test/review-history.test.ts test/apply-label-sync.test.tspnpm run check:changelog