Skip to content

Offline tests for retries and live-only routes; pinned Actions and build tools - #38

Merged
DrAlexHarrison merged 3 commits into
mainfrom
tests-and-pins
Nov 24, 2026
Merged

DrAlexHarrison merged 3 commits into
mainfrom
tests-and-pins

Conversation

@DrAlexHarrison

Copy link
Copy Markdown
Member

Adds offline tests and tightens the release tooling. No SDK behaviour changes.

  • Tests: retry paths (5xx on safe and unsafe methods, 429 with and without Retry-After, exhaustion), connection failures, error mapping, and the methods that only the live suite called. 280 passing before, 406 after.
  • Two tests are marked as expected failures and record one defect: a 200 response with an empty or non-JSON body raises json.JSONDecodeError where a SaturdayError is expected.
  • GitHub Actions are pinned to commit SHAs (version in a comment), the build tools to exact versions, and httpx is bounded below 1.
  • SECURITY.md gains a supported-versions section.

🤖 Generated with Claude Code

DrAlexHarrison and others added 3 commits November 24, 2026 02:51
…utes

Mocked transport only, no SDK change. Adds 36 test functions (128 items: 126 passed, 2 xfailed for the non-JSON 200 defect). Every resource method now has an offline runtime call.
…sions

Actions pinned to full SHAs looked up 2026-11-24. Hatchling 1.33.0 and build 1.6.1 from PyPI. No workflow, job, trigger or step added, removed or renamed.
@DrAlexHarrison
DrAlexHarrison merged commit f0e99df into main Nov 24, 2026
1 check passed
@DrAlexHarrison
DrAlexHarrison deleted the tests-and-pins branch November 24, 2026 10:24
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