mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-07-31 01:36:15 -04:00
A zig-v8-fork release names its assets after the V8 version only, so the same filename is reused across fork tags: v0.5.0 libc_v8_14.9.207.35_macos_aarch64.a 106944896 bytes v0.5.1 libc_v8_14.9.207.35_macos_aarch64.a 106945416 bytes v0.5.2 libc_v8_14.9.207.35_macos_aarch64.a 106945984 bytes V8_CACHE was keyed on that filename alone, so a zig-v8 tag bump that leaves V8_VERSION unchanged did not invalidate the cache: download-v8's `test -f` guard saw the old archive and skipped the refresh. The build then linked yesterday's bindings and failed on undefined symbols for whatever the new tag added, e.g. after the v0.5.2 bump: error: undefined symbol: _v8__Value__IsFloat16Array error: undefined symbol: _v8__V8__SetFlagsFromString error: undefined symbol: _v8__Isolate__AddNearHeapLimitCallback Putting the tag in the cache path gives each tag its own entry, so a bump downloads and a repeat run still hits the cache. The URL keeps using the bare asset name, which is what the release actually publishes. Only affects local development; CI installs V8 through the install action and never calls download-v8.
5.3 KiB
5.3 KiB