Repository navigation
Commit 2aa9e86
frames: move the range morph into the lazy wire tier (#4150)
* frames: move live-hole appliers into the lazy wire tier
The hole and attr-hole morph paths leave the eager frames client and
live in `wire`, which the server now announces whenever a response or
document carries a live hole. Hole records that land before the tier is
resident stay pending and are applied by the install's flush. Row ops
stay gated on live responses.
Frames client 12,980 -> 12,704 B br; every server-components page drops
235-372 B br. Caps lowered to measured + 10 B.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012xU4iGQqRKP12d5Nkr4BA2
* frames: move the range morph into the lazy wire tier
reconcileChildren, the graft walk and the keyed range moves leave the
eager frames client for `wire`. A root over shown content waits in the
flush until the tier is resident; a version bump or rebind over content
starts the load at the header. Adoption and first materialize never
morph, so pages that never refetch or navigate never load it.
Frames client 12,704 -> 11,919 B br; server-components pages drop
697-776 B br. Caps lowered to measured + 10 B.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012xU4iGQqRKP12d5Nkr4BA2
* frames: start the morph's wire tier load with a frame request
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012xU4iGQqRKP12d5Nkr4BA2
* size: re-measure caps with the request-time wire load
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012xU4iGQqRKP12d5Nkr4BA2
* frames: keep the morph in an untyped module so test-types passes
The morph came from the @ts-nocheck eager client; wire-tier.ts is
type-checked, so it bundles the morph from frame-morph.ts instead.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012xU4iGQqRKP12d5Nkr4BA2
---------
Co-authored-by: Claude <[email protected]>1 parent 745e807 commit 2aa9e86
11 files changed
Lines changed: 502 additions & 405 deletions
File tree
- .changeset
- packages/web
- frames/src
- test
- consistency
- server
- scripts/size
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
128 | 131 | | |
129 | 132 | | |
130 | 133 | | |
| |||
Large diffs are not rendered by default.
0 commit comments