Skip to content

ci: use typecheck-only dependencies in CI#3369

Closed
seratch wants to merge 1 commit into
mainfrom
ci/faster-typecheck-sync
Closed

ci: use typecheck-only dependencies in CI#3369
seratch wants to merge 1 commit into
mainfrom
ci/faster-typecheck-sync

Conversation

@seratch
Copy link
Copy Markdown
Member

@seratch seratch commented May 11, 2026

This pull request updates the CI typecheck job to install a narrower dependency set before running mypy and pyright.

It adds a dedicated typecheck dependency group, a make sync-typecheck target for preparing that environment, and a make typecheck-no-sync target so CI uses the already-synced environment instead of pulling the full dev group back in through uv run. The regular make sync and make typecheck paths remain available for local development and the broader verification workflow.

In local cache-backed validation, the typecheck CI environment shrank from 194 installed packages with the full make sync path to 162 installed packages with make sync-typecheck, removing 32 packages from the typecheck job setup. The new make sync-typecheck + make typecheck-no-sync path completed typechecking in 22 seconds locally after sync, while avoiding the extra automatic dependency sync that uv run would otherwise trigger. Exact wall-clock savings should be confirmed by the next GitHub Actions run because cold network/cache behavior dominates CI timing.

@seratch
Copy link
Copy Markdown
Member Author

seratch commented May 11, 2026

This is not effective fro speeding up.

@seratch seratch closed this May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant