Skip to content

feat(slopcourier): pr-watch waits out rate limits instead of exiting - #319

Merged
altaywtf merged 3 commits into
mainfrom
feat/pr-watch-rate-limit-wait
Nov 6, 2026
Merged

altaywtf merged 3 commits into
mainfrom
feat/pr-watch-rate-limit-wait

Conversation

@altaywtf

@altaywtf altaywtf commented Nov 6, 2026

Copy link
Copy Markdown
Member

Problem

A babysit dies when the shared GitHub quota runs dry: prwatch exits on the first rate-limit error.

Solution

pr-watch (renamed from prwatch) waits out rate limits on GitHub and GitLab.

Rate limit Before After
Reset before the deadline exit 2 wait for the reset (gh api rate_limit), keep watching
Reset unknown (secondary limit, GitLab 429) exit 2 retry each minute
Reset after the deadline exit 2 exit 2 with the reset time
  • Waits don't count toward the three-failure limit.
  • No REST fallback: GitHub REST can't tell resolved threads, so it can't judge ready. GitLab is REST-only already.
  • The forge mapping file is now pr-watch.yaml.

Rename prwatch to pr-watch. A GitHub or GitLab rate limit now waits for
the reset (from gh api rate_limit, else one minute) while that lands
before the deadline, so a shared quota running dry no longer ends a
babysit. A reset after the deadline exits at once with its time.

A REST fallback was rejected: GitHub REST cannot say whether a review
thread is resolved, so it cannot judge ready, and GitLab is REST-only.
@cursor

cursor Bot commented Nov 6, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: 3241442a-253d-4f03-b516-8a22c3dd3fe5)

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 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
📝 Code Review ✅ Completed 2026-11-06T13:50:12.960003Z d15f512 New commits
ℹ️ 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: 26af396b7a

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

@cursor

cursor Bot commented Nov 6, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: 811bc0a0-e15d-467b-9091-87b38eade483)

@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: d15f512b6f

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

@altaywtf
altaywtf merged commit 3e63bae into main Nov 6, 2026
3 checks passed
@altaywtf
altaywtf deleted the feat/pr-watch-rate-limit-wait branch November 6, 2026 13: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