withastro
astro
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(fonts): pass server address via globalThis to avoid embedding ephemeral port in virtual module code The font-file-url-resolver virtual module was embedding the ephemeral HTTP server address (including its OS-assigned port) directly in its generated code. Since the incremental build system hashes transformed module code to compute dependency hashes, the non-deterministic port caused the hash to change on every build, defeating cache restoration for any page using `<Font>`. Pass the server address through `globalThis.__astro_fonts_server_address` instead, so the virtual module's source code is stable across builds. Fixes #17652
triagebot/fix-17652
1 hour ago
Restore test fixture entries in the lockfile
ondraulehla:fix/cache-immutable-response-headers
3 hours ago
Replace semver with verkit
sxzz:codex/migrate-semver-to-verkit
9 hours ago
fix(assets): prevent EMFILE errors on large image builds with concurrency limiting and retry Add a concurrency-limited file reader (`readFileWithRetry`) to `emitImageMetadata` that caps concurrent `fs.readFile` calls to 200 and retries transient OS errors (EMFILE, ENFILE, EAGAIN, EBUSY) with exponential backoff. The bare `catch` block that previously swallowed all errors now only returns `undefined` for ENOENT (file not found), re-throwing other errors with the real OS message instead of the misleading "Could not find requested image... Does it exist?" Fixes #17649
triagebot/fix-17649
12 hours ago
fix(build): set explicit cssTarget to prevent vendor prefix stripping Astro sets build.target to 'esnext' for the SSR/prerender build (since its JS runs in Node). Vite defaults cssTarget to build.target when unset, so cssTarget inherits 'esnext'. Vite's convertTargets() discards 'esnext' entries, producing empty targets {} for Lightning CSS, which interprets that as 'no browser compatibility needed' and strips all vendor prefixes from CSS that is actually served to browsers. Set cssTarget to Vite's baseline-widely-available browser targets so vendor prefixes like -webkit-box-decoration-break are preserved. Fixes #17647
triagebot/fix-17647
15 hours ago
fix(incremental-build): update cache key generation to use dynamic hashing
sgalcheung:fix-cachekey-in-incremental
19 hours ago
fix: exclude font resolver virtual module from incremental build dependency hash The font-file-url-resolver virtual module embeds an ephemeral server address (with a random port) that changes every build, causing the dependency hash to differ and defeating incremental build caching for any page using fonts. Mark the module with `createSkipIncrementalMetadata()` so `collectTransitiveDeps` excludes it from the hash. Font configuration changes are still detected via the separate `virtual:astro:assets/fonts/internal` module. Fixes #17642
triagebot/fix-17642
1 day ago
fix(incremental): keep the font file URL resolver out of route dependency hashes During prerendering, `virtual:astro:assets/fonts/runtime/font-file-url-resolver` embeds the address of the font preview server, which listens on an ephemeral port. Its code therefore differs between two otherwise identical builds, which changes the dependency hash of every route that uses fonts, so `canSkip()` rejects every cached page before it looks at `cacheKey` and `experimental.incrementalBuild` re-renders everything on every build. Mark that module volatile so it stays out of the hash. Font configuration still invalidates cached pages through `virtual:astro:assets/fonts/internal`, which is a separate module in the graph and does change when fonts change.
mikepage:fix/incremental-font-resolver-hash
1 day ago
Latest Branches
CodSpeed Performance Gauge
0%
Fix incremental build cache misses for pages using the Font component
#17653
9 hours ago
fb6680a
triagebot/fix-17652
CodSpeed Performance Gauge
0%
fix(cache): don't mutate immutable response headers when applying cache headers
#17588
3 hours ago
55f73a1
ondraulehla:fix/cache-immutable-response-headers
CodSpeed Performance Gauge
0%
Replace semver with verkit
#17651
9 hours ago
1e623bc
sxzz:codex/migrate-semver-to-verkit
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs