Repository navigation
fix: PR watch under load (skipped checks, stale head, repeated block, merge suggestion) - #62
Conversation
… (issue #61) Change-class workflows skip most jobs on purpose; a skipped job read as action_required on every PR. Required checks and review-bot checks still have to pass. optional_skipped_checks is no longer needed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y on change, review-lessons only after a bot finding (issue #61) - a git push in a bound worktree marks the branch's watch (pushed_at): the line says head moved instead of the old head's findings, and the worker reads the PR on its next tick - Claude's UserPromptSubmit block is injected only when a line changed (fingerprint per session, reset on SessionStart) or a notice is pending - the merge notice comes only when the watch saw a bot finding on the PR Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-and-state, CHANGELOG) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ❌ FailedThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3c13b36338
ℹ️ 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".
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…nding count) (#64) * fix: PR watch marks a head moved only when the remote-tracking ref differs; count bot findings by repo column (PR #62 review) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: head moved needs a changed remote-tracking ref (pr-watch, spec hooks-and-state) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: spec area checks-and-evals names test_under_load.py Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: PR watch reads the local branch head when a push leaves no remote-tracking ref (PR #64 review) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: spec area checks-and-evals notes the remote_head test Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Fixes the four main points of #61 (PR watch under load: 8 to 12 open PRs, 20 background agents).
action_required. Required and review-bot checks still have to pass (a skipped required check still blocks, as before).optional_skipped_checksis no longer needed.git pushthe PostToolUse hook sees in a bound worktree setspushed_aton that branch's watch (new columnsbranch,pushed_at, migrated in place). The line then readshead moved by a push ... ago, not yet polledinstead of the old head's findings, anddue()reads the PR on the next tick.metaper session) or a notice is pending. SessionStart (start, resume, compaction) resets it.bot-thread:outbox row).ytstack-upkeepstill lists every unchecked merged PR.Not in this PR (planning with the rest of #54): the "plugin updated since this session started, reload skills" notice and one-step coordinator rotation.
Verification:
tests/pr_watch/test_under_load.py(8 new), two existing tests adapted to the new behaviour (unchanged block not repeated; merge notice needs a seen bot finding); pr_watch 75 OK on Python 3.9 and 3.13,tests/pr-watch.test.sh60 passed,tests/run-all.shALL SUITES PASSED,bin/ytstack-checkOK, spec lint clean.🤖 Generated with Claude Code