Repository navigation
Speed up station integration checks - #166
Merged
Merged
Conversation
[Medium impact] The PR appears safe to merge; no blocking issues were found.
|
kstonekuan
enabled auto-merge (squash)
November 28, 2026 17:43
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.
What changed and why
Reduce the station integration critical path by running server tests with four workers and running generated-contract checks in a separate job alongside station tests and installed-wheel packaging. Build the server once for the workers; use the same worker count in local server validation and default Rust tests to eight threads, align the CI Python extension profiles, and share the integration cache with the wheel job as its sole writer. Cache Cargo build outputs in the Python job and let contract checks read the Linux Rust cache without competing writes. Release builds retain their production profile; clean-wheel checks install only their tooling instead of rebuilding the source extension. Isolate the LiveKit credential test from host configuration. Update the pinned checkout, setup-node, and setup-uv actions in both CI and release workflows.
How you checked it
uv run --no-sync ruff check --fix,ruff format,ty check, anduv lock --checkpytest -m server -n 4 --durations=10: 54 passed, 1 skipped (two runs)Notes for reviewers
The four-worker suite completed in 41.5 and 43.4 seconds locally; two workers took 67 seconds. A serial run took 148 seconds, but overlapped partly with wheel compilation, so this is not a controlled comparison. Namespace cache reuse and the change in overall CI duration require measurement after the cache is populated by a successful main-branch run.