Skip to content

ci: run the lint and unit test jobs on free standard runners - #362

Open
razkevich wants to merge 2 commits into
mainfrom
free-runners-test-jobs
Open

razkevich wants to merge 2 commits into
mainfrom
free-runners-test-jobs

Conversation

@razkevich

@razkevich razkevich commented Nov 27, 2026 •

Copy link
Copy Markdown

Why

Since the move to the static-IP github-public-amd64 group, every Linux job here is billed per minute. The org IP allow list refuses only signed-in requests from standard runners, not anonymous reads of a public repository, and the jobs below make no GitHub call except the checkout. Same change as GetStream/Agents#2644 (merged); see GetStream/localdevelopment#14 for the guide.

Changes

run_tests.yml: ruff, typecheck, rust, test-non-video, test-video move to ubuntu-latest and fetch github.sha anonymously with git instead of actions/checkout. They already had persist-credentials: false and receive no secrets.

Unchanged on the static-IP runners: release-only and tests-passed in ci.yml, pr_title, regen, releases.

Validation

This PR's own 🧪 Tests run uses the changed workflow. One thing to watch: setup-uv downloads uv from GitHub releases with the job token; if that is refused on a standard runner, the "Install dependencies" step fails here.

🤖 Generated with Claude Code


Note

Low Risk
CI-only runner and checkout plumbing with no application, auth, or data-path changes; main risk is a standard runner failing to download dependencies (e.g. uv from GitHub releases) if the token is blocked.

Overview
Moves the ruff, typecheck, rust, test-non-video, and test-video jobs in run_tests.yml from the billed github-public-amd64 runner group to ubuntu-latest, so those lanes no longer consume static-IP minutes.

Each affected job drops actions/checkout in favor of a shallow anonymous git fetch of https://github.com/$REPOSITORY at github.sha, with comments noting this works because the org allow list blocks only authenticated GitHub API traffic, not public repo reads. The rust checkout step sets working-directory: ${{ github.workspace }} so init/fetch still runs at the repo root despite job defaults under getstream-rtc.

Release or aggregation jobs in other workflows (e.g. ci.yml) stay on the static-IP group; behavior of the actual lint/test commands is unchanged aside from where they run and how the tree is obtained.

Reviewed by Cursor Bugbot for commit 005e042. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 1e03510. Configure here.

Comment thread .github/workflows/run_tests.yml Resolved

This branch has not been deployed

No deployments
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