Skip to content

Tests run on every pull request; contract samples come from fuel-backend - #29

Merged
DrAlexHarrison merged 1 commit into
mainfrom
samplesci
Nov 19, 2026
Merged

DrAlexHarrison merged 1 commit into
mainfrom
samplesci

Conversation

@DrAlexHarrison

Copy link
Copy Markdown
Member

Alex approved a test run on pull requests in both public SDK repos (about a minute a run, GitHub's free runners for public repos, none of the 2,000 private minutes).

  • .github/workflows/test.yml: on every pull request, pip install -e .[test], pytest, and the mypy check from tests/fixtures/README.md. This PR's own run is the first.
  • tests/fixtures/generate.go is gone: the sample builder lives in fuel-backend (pkg/sdkcontracts, fuel-backend #2334), whose test fails when the checked-in samples go stale; scripts/sdk-contracts-sync.sh --pr there opens a PR here carrying new samples, and this workflow shows whether the types still match. Fixture README and CONTRIBUTING updated.
  • saturday/errors.py: RateLimitError passes retry_after to the base class through kwargs. Same behavior; it clears the one error mypy reported on main ("gets multiple values for keyword argument retry_after"), so the workflow can run the check.

Local: 220 passed, 2 skipped (live suite, no key); mypy clean.

🤖 Generated with Claude Code

…uel-backend

.github/workflows/test.yml runs the suite on pull requests (GitHub-hosted ubuntu-latest,
free for public repos). generate.go moved into fuel-backend (pkg/sdkcontracts), which fails
a test when its samples go stale; its scripts/sdk-contracts-sync.sh --pr opens a pull
request here with new samples.

RateLimitError passes retry_after through kwargs, which clears the one error the mypy
check reported, so the workflow can run it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DrAlexHarrison
DrAlexHarrison merged commit 6e6156d into main Nov 19, 2026
1 check passed
@DrAlexHarrison
DrAlexHarrison deleted the samplesci branch November 19, 2026 17:52
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