chore: support separate TypeScript and Rust builds#1294
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1294 +/- ##
===========================================
+ Coverage 56.69% 56.97% +0.27%
===========================================
Files 1122 1125 +3
Lines 64655 65085 +430
Branches 1776 1853 +77
===========================================
+ Hits 36659 37083 +424
- Misses 27766 27770 +4
- Partials 230 232 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
1c65450 to
cbb6daf
Compare
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.
Summary
Optimize build by only building rust or typescript rebuild once and separately.
Support local build tokens to trigger rebuild. Updating a rs or ts token will trigger full rebuild for each section. Tokens are stored in:
Useful commands:
pnpm run ignore:token- add token paths to local .git file to ignore thempnpm run build- build rs and tspnpm run build:token:ts- update ts token to invalidate cache and trigger full rebuild next timepnpm run build:token:rs- update rs token to invalidate cache and trigger full rebuild next timeChecklist