perf(server): PR watches spend ~90% fewer GitHub points by checking a 1-point fingerprint first (#16270)

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
Theo BrowneandClaude Opus 5.5 authored and GitHub committed 2026-10-05 17:46:52 -07:00
1 parent dcbaf05279
commit 758dc290e9
12 files changed
+715 -44

No files matched your search

+1 -1
View File
@@ -115,7 +115,7 @@ export class GitHubCliRateLimitError extends Schema.TaggedError<GitHubCliRateLim
{ ...gitHubCliFailureFields, retryAt: Schema.optionalKey(Schema.Finite) },
) {
get detail(): string {
return "GitHub API rate limit exceeded. Run `gh api rate_limit` to inspect the quota and reset time.";
return "GitHub API rate limit exceeded. For the GraphQL quota and reset time, run `gh api graphql -f query='{rateLimit{remaining resetAt}}'`; `gh api rate_limit` reports REST.";
}
override get message(): string {