Skip to content

Commit 795521b

Browse files
Boshenclaude
andauthored
fix(ci): bump native-build cache key to invalidate stale napi-rs artifacts (#8678)
## Summary - Bump `cache-key` from `native-build` to `native-build-1` in both `reusable-native-build.yml` and `ci.yml` (node-validation job) - Stale incremental compilation cache causes napi-rs to generate incomplete `binding.d.cts` missing `OxcError` and `Comment` types from `oxc_parser_napi`, failing CI with TypeScript errors across all PRs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
1 parent 4dcbf44 commit 795521b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ jobs:
234234
uses: oxc-project/setup-rust@4f86b5d871ae7d24bc420e578be68964ab09e5cc # v1.0.15
235235
with:
236236
tools: just
237-
cache-key: native-build
237+
cache-key: native-build-1
238238
save-cache: ${{ github.ref_name == 'main' }}
239239

240240
- uses: oxc-project/setup-node@8958a8e040102244b619c4a94fccb657a44b1c21 # v1.0.6

.github/workflows/reusable-native-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
uses: oxc-project/setup-rust@4f86b5d871ae7d24bc420e578be68964ab09e5cc # v1.0.15
3636
with:
3737
tools: just
38-
cache-key: native-build
38+
cache-key: native-build-1
3939
save-cache: ${{ github.ref_name == 'main' }}
4040
target-dir: ${{ runner.os == 'Windows' && format('{0}/target', env.DEV_DRIVE) || '' }}
4141

0 commit comments

Comments
 (0)