Commit 89353f8
committed
fix(ci): include bootstrap deps in SEA binary cache key
Same cache key mismatch issue as smol binary - SEA bundles CLI which
uses bootstrap-npm.js, but cache key only included SEA builder and CLI
source, not bootstrap/socket dependencies.
Flow before:
1. build-deps: Creates cache key from bootstrap/socket/CLI source
2. build-sea: Creates DIFFERENT cache key from only SEA builder/CLI src
3. When bootstrap changes: New bootstrap built, but old SEA reused
4. Result: Stale bootstrap bundled in SEA binary
Fix:
- Added deps-hash output from build-deps job
- Combined SEA hash with deps-hash in cache key
- Now ANY bootstrap/socket/CLI change invalidates SEA binary cache
This prevents runtime errors from stale bootstrap code in SEA binaries.1 parent f383f60 commit 89353f8
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
352 | 354 | | |
353 | 355 | | |
354 | 356 | | |
355 | | - | |
356 | | - | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
357 | 361 | | |
358 | 362 | | |
359 | 363 | | |
| |||
0 commit comments