Repository navigation
fix: skip GitHub confirmation comments without a token - #1120
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 40 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
When Recoup receives feedback on a coding-agent PR, it queues the update and then posts a confirmation comment. If
GITHUB_TOKENis missing or empty, the comment helper currently still sends an invalid GitHub request. This change skips that request and logs one static configuration message; configured-token behavior remains unchanged.The helper and five-case regression are unchanged from the previously accepted repair. The verification note is reconciled to API #1119, which already keeps queued updates intact when a confirmation fails. This guard does not cover the caller's separate PR-details lookup or enable credentials.
Validation: 123 coding-agent tests across 28 files pass against the current API #1119 caller, including the real helper/handler integration with mocked external boundaries. Before the guard, four missing/empty-token cases fail on forbidden requests while the configured-token network-error control passes. Repository lint, targeted formatting, diff checks and focused helper type checks pass. Tests use synthetic fixtures with network access blocked; no real comment or job was triggered.
Related: the bounded finding in API #295, tracked under Mono #358. This does not restore or accept the entire historical PR.