Skip to content

fix: PR watch review fixes from #62 (pushed ref check, repo-scoped finding count) - #64

Merged
lx-0 merged 5 commits into
mainfrom
fix/pr-watch-under-load-review
Nov 14, 2026
Merged

lx-0 merged 5 commits into
mainfrom
fix/pr-watch-under-load-review

Conversation

@lx-0

@lx-0 lx-0 commented Nov 14, 2026

Copy link
Copy Markdown
Member

Follow-up to #62: the two Codex findings on #62 were fixed on its branch after it had already been squash-merged at 3c13b36, so the fixes are not on main. This PR carries them (cherry-picked onto d39267c).

  • Verify the pushed ref before marking a head moved (Codex P2): the PostToolUse hook reads refs/remotes/origin/<branch> after a push and sets pushed_at only when it differs from the watched head. git push origin other from a checked-out feat, or text that merely mentions a push, marks nothing.
  • Count bot findings by repository columns (Codex P2): _ is a LIKE wildcard; the merge-suggestion count now filters on repo and number.
  • Docs and spec (docs/pr-watch.md, hooks-and-state, checks-and-evals).

Verification: pr_watch 77 OK (test_push_that_leaves_the_watched_branch_unchanged_marks_nothing, test_finding_of_a_similarly_named_repository_does_not_count new), tests/pr-watch.test.sh 60 passed, bin/ytstack-check OK.

🤖 Generated with Claude Code

lx-0 and others added 3 commits November 14, 2026 23:24
…ffers; count bot findings by repo column (PR #62 review)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hooks-and-state)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-14T22:34:32.031761Z
We couldn’t complete this review. Comment @codex review to try again.
febfeb1 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 12e6516adb

ℹ️ 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".

Comment thread tools/pr-watch/prwatch/hooks.py Resolved
…e-tracking ref (PR #64 review)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lx-0

lx-0 commented Nov 14, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lx-0
lx-0 merged commit 8f03fd7 into main Nov 14, 2026
4 checks passed
@lx-0
lx-0 deleted the fix/pr-watch-under-load-review branch November 14, 2026 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant