withastro
astro
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix: prevent spurious full-reload on first browser visit after dev server start (#17283)\n\nThe `invalidateDataStore` function in the content virtual mod plugin was\nsending a `full-reload` signal to the client HMR channel during the\n`buildStart` hook. Since no browser had loaded content yet at startup,\nthis queued reload was delivered to the first connecting client, causing\nan immediate page reload.\n\nAdd a `notifyClient` option to `invalidateDataStore` and pass\n`{ notifyClient: false }` from `buildStart` to skip the client reload\nduring initial startup while preserving the module invalidation needed\nto avoid the data store race condition (PR #12938)." (#17286) Co-authored-by: Matthew Phillips <matthewphillips@cloudflare.com>
main
1 hour ago
Merge branch 'main' into triagebot/fix-17283
triagebot/fix-17283
1 hour ago
fix(astro-island): use query param for hydration import retry so recovery works in dev (#17369) The retry cache buster was a URL fragment, which only changes the module map key of the top-level module. In dev, @vitejs/plugin-react emits a self-import of the module's own bare URL for react-refresh, and Chrome keeps the failed fetch for that bare URL in its module map, so the fragment-based retry always rejected for React components. A query parameter reaches the server, so Vite propagates it into the transformed module's self-import and every module map key is fresh. Also hardens the recovery e2e test so it cannot be satisfied by a page reload (such as the buffered full-reload a dev server sends to its first client at startup, see #17283): buffered HMR messages are drained by a throwaway page before the test, and the test asserts hydration recovers without any navigation.
main
1 hour ago
fix(astro-island): use query param for hydration import retry so recovery works in dev The retry cache buster was a URL fragment, which only changes the module map key of the top-level module. In dev, @vitejs/plugin-react emits a self-import of the module's own bare URL for react-refresh, and Chrome keeps the failed fetch for that bare URL in its module map, so the fragment-based retry always rejected for React components. A query parameter reaches the server, so Vite propagates it into the transformed module's self-import and every module map key is fresh. Also hardens the recovery e2e test so it cannot be satisfied by a page reload (such as the buffered full-reload a dev server sends to its first client at startup, see #17283): buffered HMR messages are drained by a throwaway page before the test, and the test asserts hydration recovers without any navigation.
adamchal:fix/island-import-retry-dev
6 hours ago
chore: add changeset for error page cookie merge fix
sanjibani:fix/issue-17329-error-page-cookies
6 hours ago
test(astro): fix #17329 regression test (addCookieHeader + includes) Per @felmonon's review on PR #17337 (comment 2026-07-13): 1. `response.headers.getSetCookie()` returned an empty array because `app.render()` defaults `addCookieHeader` to `false`. Without `addCookieHeader: true`, the AstroCookies symbol attached to the merged response never gets promoted to actual `set-cookie` header entries on the returned `Response.headers`, so the assertion always saw an empty array and reported the cookies as missing. Pass `{ addCookieHeader: true }` to `app.render()` so the regression test exercises the same code path the SSR adapter uses in production. 2. The two `assert.ok(... /regex/.test(joined), ...)` lines fail `@typescript-eslint/prefer-includes` lint. Switch to plain `joined.includes('sid=abc')` / `joined.includes('flash=boom')` to satisfy the rule and read more naturally.
sanjibani:fix/issue-17329-error-page-cookies
6 hours ago
fix(astro-island): use query param for hydration import retry so recovery works in dev The retry cache buster was a URL fragment, which only changes the module map key of the top-level module. In dev, @vitejs/plugin-react emits a self-import of the module's own bare URL for react-refresh, and Chrome keeps the failed fetch for that bare URL in its module map, so the fragment-based retry always rejected for React components. A query parameter reaches the server, so Vite propagates it into the transformed module's self-import and every module map key is fresh. Also hardens the recovery e2e test so it cannot be satisfied by a page reload (such as the buffered full-reload a dev server sends to its first client at startup, see #17283): buffered HMR messages are drained by a throwaway page before the test, and the test asserts hydration recovers without any navigation.
adamchal:fix/island-import-retry-dev
6 hours ago
Merge branch 'main' into triagebot/fix-17283
triagebot/fix-17283
8 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
Prevent spurious full-reload on first browser visit after `astro dev` start
#17286
1 hour ago
64599b6
triagebot/fix-17283
CodSpeed Performance Gauge
0%
fix(astro-island): use query param for hydration import retry so recovery works in dev
#17369
6 hours ago
2deb7db
adamchal:fix/island-import-retry-dev
CodSpeed Performance Gauge
0%
fix(astro): merge new response cookies into original AstroCookies for error pages (#17329)
#17337
5 days ago
4dba9d0
sanjibani:fix/issue-17329-error-page-cookies
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs