Skip to content

fix: pass GITHUB_TOKEN to GitHub API calls + fix E501 lint#51

Closed
FZ2000 wants to merge 4 commits intomainfrom
fix/ci-lint-and-github-ratelimit
Closed

fix: pass GITHUB_TOKEN to GitHub API calls + fix E501 lint#51
FZ2000 wants to merge 4 commits intomainfrom
fix/ci-lint-and-github-ratelimit

Conversation

@FZ2000
Copy link
Copy Markdown
Owner

@FZ2000 FZ2000 commented Mar 8, 2026

What

  • Adds GITHUB_TOKEN auth header to all httpx calls in skills.py — raises API rate limit from 60 to 5000 req/hr in CI, fixing flaky test failures on Python 3.13
  • Adds GITHUB_TOKEN env var to the test job in CI workflow
  • Fixes E501 ruff lint error in test_docker_integration.py

Why

The CI matrix runs Python 3.12 and 3.13 in parallel. Both make unauthenticated GitHub API calls, exhausting the 60 req/hr limit before 3.13 tests complete. Result: No skills found → 3 test failures.

Fixes the flaky CI introduced with the test matrix.

@FZ2000 FZ2000 closed this Mar 8, 2026
@FZ2000 FZ2000 reopened this Mar 8, 2026
@FZ2000
Copy link
Copy Markdown
Owner Author

FZ2000 commented Mar 8, 2026

Changes already landed in main via Forge's merged PRs (#52, #53). Closing as redundant.

@FZ2000 FZ2000 closed this Mar 8, 2026
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