Skip to content

Commit 828aa89

Browse files
committed
Merge remote-tracking branch 'origin/next' into claude/project-thread-x1ore2-4427
# Conflicts: # scripts/size/scenarios.js
2 parents f55f743 + cddaa76 commit 828aa89

3 files changed

Lines changed: 45 additions & 21 deletions

File tree

‎packages/web/test/consistency/c09-no-phantom.spec.tsx‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,21 @@
2020
* claim walk), and `hydratedCreateLoadingBoundary` (a boundary with nothing
2121
* pending hydrates straight through).
2222
*
23+
* Arm (b)'s materializer is the frames client's traces tier (plan step C3),
24+
* loaded through `prepareTier("trace")`; these cells run with it RESIDENT
25+
* (warmed once below, as C19 does), so the claim reads the delivered
26+
* snapshot synchronously. Cold, the marker HOLDS the occurrence until the
27+
* import lands — a module load no fixed `quiesce()` count can wait out —
28+
* and that hold has its own pin (`tier-trace-hold.spec`).
29+
*
2330
* Observation: a MutationObserver frame recorder over the container (a
2431
* fallback frame would appear as a distinct text), the dev key-miss warning,
2532
* and node identity of the claimed `_hk` element.
2633
*/
27-
import { afterEach, describe, expect, test, vi } from "vitest";
34+
import { afterEach, beforeAll, describe, expect, test, vi } from "vitest";
2835
import { Loading } from "solid-js";
2936
import { hydrate } from "@solidjs/web";
37+
import { prepareTier } from "../../frames/src/frame-client.js";
3038
import {
3139
bootPage,
3240
fillHtml,
@@ -45,6 +53,8 @@ afterEach(async () => {
4553
await page?.cleanup();
4654
page = undefined;
4755
});
56+
// The traces tier, resident before any page boots (see the module doc).
57+
beforeAll(() => prepareTier("trace"));
4858

4959
const keyMisses = (p: Page) => p.warnings.filter(w => w.includes("Hydration key miss"));
5060

‎scripts/size/floor-caps.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"minified": 101638
1717
},
1818
"page: live server components (base + live/GET + action + isPending/latest)": {
19-
"cap": "38.83 KB",
20-
"minified": 117331
19+
"cap": "38.85 KB",
20+
"minified": 117376
2121
},
2222
"server: floor (getRequestEvent + isServer)": {
2323
"cap": "1.29 KB",

0 commit comments

Comments
 (0)