Skip to content

Add explicit GitHub App observer mode to PR watcher - #811

Merged
GraciousGazelles merged 2 commits into
mainfrom
repair/w11999-app-installation-observer-20260907
Sep 7, 2026
Merged

GraciousGazelles merged 2 commits into
mainfrom
repair/w11999-app-installation-observer-20260907

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary

  • add an explicit --installation-observer mode for read-only GitHub App installation-token observation
  • skip the unavailable GET /user lookup while retaining conservative review filtering
  • document the read endpoint and permission contract
  • reject observer mode combined with --retry-failed-now before any GitHub call

Validation

  • codex.agent-workflow-sanity is the required hosted validation lane for the watcher and broker paths
  • candidate head: 91d390db949969c01bd93abf8690bf23fae14967

The default human-authenticated watcher path remains unchanged. No credential activation or token minting is part of this change.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-07T08:12:53.992747Z 91d390d PR opened
ℹ️ 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.

@gemini-code-assist gemini-code-assist 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.

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.

@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 7, 2026
Merged via the queue into main with commit 967d73e Sep 7, 2026
84 checks passed
@GraciousGazelles
GraciousGazelles deleted the repair/w11999-app-installation-observer-20260907 branch September 7, 2026 08:28
sedna-release-publisher Bot pushed a commit that referenced this pull request Sep 15, 2026
* Add explicit GitHub App observer mode to PR watcher

* Guard App observer mode against rerun mutations
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