Repository navigation
Tests run on every pull request; contract samples come from fuel-backend - #29
Merged
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 fromtests/fixtures/README.md. This PR's own run is the first.tests/fixtures/generate.gois 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 --prthere opens a PR here carrying new samples, and this workflow shows whether the types still match. Fixture README and CONTRIBUTING updated.saturday/errors.py:RateLimitErrorpassesretry_afterto the base class throughkwargs. 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