Repository navigation
Add explicit GitHub App observer mode to PR watcher - #811
Conversation
Codex Review SummaryThis 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.
Code Review
This pull request introduces an explicit --installation-observer mode to the PR watcher script (gh_pr_watch.py). This read-only mode is designed for environments using short-lived GitHub App installation tokens, skipping the /user endpoint query and leaving the authenticated identity unbound while maintaining conservative review filtering. It also adds corresponding CLI validation, extensive unit tests, and updated documentation. I have no feedback to provide as there are no review comments to evaluate.
* Add explicit GitHub App observer mode to PR watcher * Guard App observer mode against rerun mutations
Summary
--installation-observermode for read-only GitHub App installation-token observationGET /userlookup while retaining conservative review filtering--retry-failed-nowbefore any GitHub callValidation
codex.agent-workflow-sanityis the required hosted validation lane for the watcher and broker paths91d390db949969c01bd93abf8690bf23fae14967The default human-authenticated watcher path remains unchanged. No credential activation or token minting is part of this change.