Skip to content

Reuse native Turbo builds in CI - #168

Merged
kostyafarber merged 3 commits into
mainfrom
ci/reuse-native-turbo-build
Jul 30, 2026
Merged

Reuse native Turbo builds in CI#168
kostyafarber merged 3 commits into
mainfrom
ci/reuse-native-turbo-build

Conversation

@kostyafarber

Copy link
Copy Markdown
Collaborator

Summary

  • stop TypeScript typechecking from building the Rust/N-API addon
  • cache Turbo's native build record together with the .node artifact for unit tests
  • let the unit-test graph build the addon once on a cache miss instead of running a separate build first

The previous native artifact cache restored the .node file, but Turbo had no cached task record and rebuilt it anyway.

Testing

  • pnpm typecheck — passed without a native build task
  • pnpm test:unit — passed
  • Turbo typecheck dry-run contains zero shift-bridge#build tasks
  • cached shift-bridge#build restored a deleted .node output in 38 ms
  • repository pre-commit hooks

@kostyafarber
kostyafarber merged commit 1c96ced into main Jul 30, 2026
10 checks passed
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