Skip to content

Detect THROTTLED query-cost rate limits; pin uv.lock; note targeted API version - #2

Merged
acaracappa merged 2 commits into
mainfrom
chore/throttled-detection-lockfile
Jul 23, 2026
Merged

Detect THROTTLED query-cost rate limits; pin uv.lock; note targeted API version#2
acaracappa merged 2 commits into
mainfrom
chore/throttled-detection-lockfile

Conversation

@acaracappa

Copy link
Copy Markdown
Owner

Summary

  • Raise RateLimitError when GraphQL errors carry extensions.code: THROTTLED (Jobber's query-cost limiter), not just HTTP 429s — previously throttled responses surfaced as generic GraphQLError. Includes a test using Jobber's documented throttle response shape.
  • Commit uv.lock for reproducible dev installs.
  • README: state the pinned Jobber GraphQL API version 2025-04-16 — verified as the latest active version against Jobber's changelog as of 2026-07-23.
  • Gitignore docs/vendor/ so vendored third-party docs stay local-only.

Test plan

  • pytest — 197 passed, including new test_throttled_graphql_error_raises_rate_limit.

🤖 Generated with Claude Code

acaracappa and others added 2 commits July 23, 2026 11:25
…PI version

- Raise RateLimitError when GraphQL errors carry extensions.code THROTTLED
  (Jobber's query-cost limiter), not just HTTP 429s, with test coverage
- Commit uv.lock for reproducible dev installs
- README: state pinned Jobber GraphQL API version 2025-04-16 (latest active
  as of 2026-07-23, verified against Jobber's changelog)
- Gitignore docs/vendor/ so vendored third-party docs stay local-only

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@acaracappa
acaracappa merged commit 9131122 into main Jul 23, 2026
3 checks passed
@acaracappa
acaracappa deleted the chore/throttled-detection-lockfile branch July 23, 2026 15:31
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