Repository navigation
fix: guard low-signal PR closes - #482
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c910696432
ℹ️ 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".
| const lowSignalBlockReason = | ||
| closeReason === "low_signal_unmergeable_pr" | ||
| ? lowSignalUnmergeablePrApplyBlockReason(number) | ||
| ? lowSignalUnmergeablePrApplyBlockReasonSafe(number, staleMinAgeDays) |
There was a problem hiding this comment.
Check low-signal liveness before syncing close comments
For an unsynced low_signal_unmergeable_pr report whose live PR is now mergeable or has recent author activity, this guard runs only after the earlier needsReviewCommentSync block has already upserted the durable close-proposal comment, and it can be skipped entirely for the run if that sync hits the processed limit. That leaves a public ClawSweeper “close this PR” comment on a PR that the new live guard keeps open; add the low-signal block to the pre-sync gates like the product-direction and inactivity checks.
Useful? React with 👍 / 👎.
|
Codex review: needs real behavior proof before merge. Reviewed July 10, 2026, 9:55 AM ET / 13:55 UTC. Summary Reproducibility: yes. at source level. Current main’s final low-signal guard lacks the live conflict and contributor/current-head inactivity checks needed to reject the reported MERGEABLE/UNSTABLE and recently active cases. Review metrics: 3 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Keep the centralized fail-closed guard and merge it after redacted authoritative apply output demonstrates both an active MERGEABLE/UNSTABLE PR being skipped and an inactive DIRTY PR remaining eligible. Do we have a high-confidence way to reproduce the issue? Yes at source level. Current main’s final low-signal guard lacks the live conflict and contributor/current-head inactivity checks needed to reject the reported MERGEABLE/UNSTABLE and recently active cases. Is this the best way to solve the issue? Yes. Fresh fail-closed checks at the authoritative mutation boundary are the narrowest maintainable fix, and aligning stale promotion plus trusted routing prevents alternate paths from bypassing them. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 03caf65fd04a. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
Summary
mergeable=false/mergeable_state=dirtyconflict before applyinglow_signal_unmergeable_prWhy
OpenClaw PRs #91271 and #91280 were closed as low-signal even though both were
MERGEABLE/UNSTABLEand their contributor had commented and force-pushed roughly 4.5 hours earlier. The old final guard checked maintainer signals but did not verify the claimed conflict or contributor activity.Validation
pnpm test— 1454 passedpnpm run build:allpnpm run lintpnpm run format:check