Tests / @ogygia/core

@ogygia/core

Version 0.13.1
commit 4b18f465
2,264 test runs (2,264 tests, each run in Node, the browsers or both)
0.62× lines of test for each line of source (38,593 to 62,348) Only real test code counts: test files and their helpers, not fixtures, sample apps or benches. Blank lines are left out on both sides.
Exactly what is counted non-blank lines of test code across the repo (*.test.ts, *.test-d.ts, *.spec.ts, and the .ts helpers in test/ and e2e/ folders; no fixtures, fixture apps, stubs or benches), over non-blank lines of packages/*/src (no .d.ts or generated files)
73.3% of source lines run by the tests
  • 1,938Unit
  • 319Browser
  • 0End to end
  • 0Type tests
  • 7Lint rules
  • 0Failing

Coverage

  • 73.3%Lines
  • 60.8%Branches
  • 73.3%Functions
  • 70.6%Statements

Every test

End-to-end suites are not part of this report yet.

2264 tests

TestKindNodeChromiumFirefoxWebKit
packages/core/test/audit-fixes.test.ts
audit fixes — concurrency gate > never exceeds max concurrent runnersUnitpassnot runnot runnot run
audit fixes — head_node_key > keys Kit FOUC and Vite HMR styles by role, not content lengthUnitpassnot runnot runnot run
audit fixes — head_node_key > keys link/meta without full outerHTML when possibleUnitpassnot runnot runnot run
audit fixes — lake cache soft cap > evicts oldest entries past LAKE_CACHE_MAXUnitpassnot runnot runnot run
audit fixes — lake placeholder rewrite > rewrites default lake importsUnitpassnot runnot runnot run
audit fixes — lake placeholder rewrite > rewrites named lake imports and keeps siblingsUnitpassnot runnot runnot run
audit fixes — page seed serialize > escapes lt and falls back when data is non-serializableUnitpassnot runnot runnot run
audit fixes — rate limiter > charges after max and hard-caps map sizeUnitpassnot runnot runnot run
audit fixes — rate limiter > documents render-rate contract: junk must not call render limited()Unitpassnot runnot runnot run
audit fixes — rate limiter > evicts least-recently-used keys when over capUnitpassnot runnot runnot run
audit fixes — region endpoint allowlist > allows same-origin relative and absolute; rejects cross-originUnitpassnot runnot runnot run
audit fixes — region endpoint allowlist > resolves relative island entries against the document (not runtime module)Unitpassnot runnot runnot run
audit fixes — region id charset + default TTL constant > exports DEFAULT_REGION_TTL_SEC and REGION_ID_REUnitpassnot runnot runnot run
audit fixes — remote clear > clear_remote_instances destroys leftover query/live maps onlyUnitpassnot runnot runnot run
audit fixes — remote clear > clear_remote_seeds + clear_remote_instances together drop seeds and kit mapsUnitpassnot runnot runnot run
audit fixes — remote clear > clear_remote_seeds leaves live/query instance maps intactUnitpassnot runnot runnot run
audit fixes — remote clear > remote_cache is shared via globalThis across re-importsUnitpassnot runnot runnot run
audit fixes — session-bound MAC > always uses v1 length-prefixed fields; empty session/ttl are still fieldsUnitpassnot runnot runnot run
audit fixes — spa cache policy > refuses private/no-store/no-cache and Set-CookieUnitpassnot runnot runnot run
audit fixes — transform contract > allows a marked import used as a portable/dynamic bindingUnitpassnot runnot runnot run
audit fixes — transform contract > allows this={C} on svelte:componentUnitpassnot runnot runnot run
audit fixes — transform contract > errors on strategy-less presetUnitpassnot runnot runnot run
audit fixes — transform contract > errors when marked import is used as dotted Menu.ItemUnitpassnot runnot runnot run
audit fixes — transform contract > islandId normalizes windows path separatorsUnitpassnot runnot runnot run
audit fixes — transform contract > lake binding rewrite produces a portable lake wrapperUnitpassnot runnot runnot run
audit fixes — transform contract > rejects host children on defer (lakes belong inside the island component)Unitpassnot runnot runnot run
audit fixes — transform contract > rejects hydrate values with lone "(" as unknown (not media)Unitpassnot runnot runnot run
audit fixes — transform contract > strips unused hydrate:none import (no with{} left)Unitpassnot runnot runnot run
audit fixes — transform contract > unused marked import is stripped even when markup text mentions the local nameUnitpassnot runnot runnot run
packages/core/test/batch-stream-cancel.test.ts
batch_stream: a cancelled batch (#245) > cancelled after its first hole: the holes not started never start, and no late write throws#245Unitpassnot runnot runnot run
batch_stream: a cancelled batch (#245) > cancelled before any hole answers: only the holes that took a slot ever run#245Unitpassnot runnot runnot run
batch_stream: a cancelled batch (#245) > read to its end, it answers every call and the done sentinel#245Unitpassnot runnot runnot run
ConcurrencyGate: a call whose signal aborts (#245) > a call made with an aborted signal never takes a slot, even a free one#245Unitpassnot runnot runnot run
ConcurrencyGate: a call whose signal aborts (#245) > an aborted waiter leaves the queue at once, never runs, and frees nothing#245Unitpassnot runnot runnot run
packages/core/test/beacon-big-body.test.ts
a big body as the page goes away sends the slim copy; nothing that cannot fit is triedUnitpassnot runnot runnot run
a big body while the page is open goes by an ordinary request, which has no size limitUnitpassnot runnot runnot run
a page leaving by a link still reads "visible": the hide sends the slim copy as a beacon, not an ordinary request the navigation cancelsUnitpassnot runnot runnot run
a refused request never becomes a page errorUnitpassnot runnot runnot run
a small body goes by sendBeacon, as beforeUnitpassnot runnot runnot run
the 64 KB is shared by everything queued at once: a hide that sends several fits them or slims themUnitpassnot runnot runnot run
packages/core/test/beacon-one-owner.test.ts
ogygia/profiler/client carries no beacon of its own: its marks reach the page's, and an early one waits for itUnitpassnot runnot runnot run
the second copy hands its marks and hydrations to the firstUnitpassnot runnot runnot run
packages/core/test/beacon-resource-type.test.ts
resource_type: what a file counts as > a link is not a stylesheet by itselfUnitpassnot runnot runnot run
resource_type: what a file counts as > the extension first, then what started itUnitpassnot runnot runnot run
packages/core/test/beacon-room.test.ts
before any navigation a full list keeps the first ones (the profiler’s page)Unitpassnot runnot runnot run
the page in view gets room; the first page keeps all of its ownUnitpassnot runnot runnot run
packages/core/test/bom-source.test.ts
a byte-order-marked component > a host with a marked import, both legs: the island transform edits the right offsetsUnitpassnot runnot runnot run
a byte-order-marked component > strip_bom takes off exactly one leading markUnitpassnot runnot runnot run
a byte-order-marked component > the ownership stamps land on the tag name, not one character earlyUnitpassnot runnot runnot run
a byte-order-marked component > through the compiler’s transform, server leg: stamped and compilesUnitpassnot runnot runnot run
packages/core/test/boundary-corpus.test.ts
Group 1: plain data > C1: flags and strings cross byte-identicalUnitpassnot runnot runnot run
Group 1: plain data > C2: server data objects/arrays (blocks, resolved links, layout props) crossUnitpassnot runnot runnot run
Group 1: plain data > C3: a DOM-DERIVED string (el.id) is still just a string — fineUnitpassnot runnot runnot run
Group 1: plain data > C4: one object under two keys must not fork (identity holds through the wire)Unitpassnot runnot runnot run
Group 2: same-island (the explicit granularity marker: { islands: false }) > C5-guard: if a DOM-ref store DID cross unmarked, the classifier still refuses with a pathUnitpassnot runnot runnot run
Group 2: same-island (the explicit granularity marker: { islands: false }) > C5: DOM-ref stores + callbacks marked { islands: false } never reach the markerUnitpassnot runnot runnot run
Group 2: same-island (the explicit granularity marker: { islands: false }) > C6: a store holding an HTMLElement stays native via the markerUnitpassnot runnot runnot run
Group 2: same-island (the explicit granularity marker: { islands: false }) > C7: default is BRIDGE — an unmarked key always records (missing-key is the fatal direction)Unitpassnot runnot runnot run
Group 3: store auto-wire > C10: a derived store crossing → loud warn (the derivation is lost), value still seedsUnitpassnot runnot runnot run
Group 3: store auto-wire > C8: the symbol-keyed writable + readonly(getContext()) idiom — value crosses, islands share one live storeUnitpassnot runnot runnot run
Group 3: store auto-wire > C9: the house factory (seed + grafted methods incl. browser-only ones) rebuilds via its registered factoryUnitpassnot runnot runnot run
Group 4: mixed objects > C11: tabs context {store, id, onChange} — store wires, id crosses, onChange refuses (og.$ is the todo)Unitpassnot runnot runnot run
Group 4: mixed objects > C11b: og.$ hoists onChange (compile-visible closure → tagged module + bound captures)Unitskipnot runnot runnot run
Group 4: mixed objects > C12: the mega-object (store + async network methods + DOM mutation) — every function path namedUnitpassnot runnot runnot run
Group 4: mixed objects > C12b: network methods migrate to remote functions; the DOM-mutating one stays same-islandUnitskipnot runnot runnot run
Group 4: mixed objects > C13: getter-grafted methods live in the MODULE — decode + re-graft, nothing lostUnitpassnot runnot runnot run
Group 5: refusals > C14: a DOM node in a crossing value → refuse with key+pathUnitpassnot runnot runnot run
Group 5: refusals > C15: cyclic class instance → refuse naming the class; cyclic PLAIN object is devalue-nativeUnitpassnot runnot runnot run
Group 5: refusals > C16: a secret-looking key → policy refusal (serializes fine, must not ship)Unitpassnot runnot runnot run
Group 5: refusals > C17: a side-effecting factory runs ONCE per handle on the client (reunify = no double listeners)Unitpassnot runnot runnot run
Group 5: refusals > C18: Map values cross (devalue-native); an opaque runtime handle refuses via the class checkUnitpassnot runnot runnot run
Group 6: exposure hazards > C19: the server NEVER reunites — each request decodes fresh (no cross-request bleed)Unitpassnot runnot runnot run
Group 6: exposure hazards > C20: same KEY, different store instances (layout vs page) stay distinct; same instance reunitesUnitpassnot runnot runnot run
Group 6: exposure hazards > C21: a dev warning when a context payload exceeds a size thresholdUnitskipnot runnot runnot run
Group 6: exposure hazards > end-to-end: the page marker bridges a realistic mixed bag, dropping only the impossibleUnitpassnot runnot runnot run
packages/core/test/boundary-seam.test.ts
boundary classifier > bare function → refuse with the fix options (census D: trackPageView)Unitpassnot runnot runnot run
boundary classifier > clean values produce no problemsUnitpassnot runnot runnot run
boundary classifier > cyclic PLAIN object is fine (devalue-native); cyclic CLASS instance refuses (C15)Unitpassnot runnot runnot run
boundary classifier > derived store → warn (seeding loses the derivation, C10)Unitpassnot runnot runnot run
boundary classifier > live DOM node → refuse with path (census C14: menubar/carousel refs)Unitpassnot runnot runnot run
boundary classifier > readonly() wrapper → warn like derived (builder-tc getter pattern, C8 consumer)Unitpassnot runnot runnot run
boundary classifier > secret-looking key → refuse (census C16: emailToken in context)Unitpassnot runnot runnot run
boundary classifier > store with custom methods but no factory → warn NAMING the methods (C9/C13)Unitpassnot runnot runnot run
boundary classifier > unwired class instance → refuse naming the classUnitpassnot runnot runnot run
plain data > Map and Set cross via devalue natively (census C18)Unitpassnot runnot runnot run
plain data > strings / booleans / objects / arrays cross byte-identicalUnitpassnot runnot runnot run
serialize_provided_context (the page marker) > bridges plain data and stores; drops functions; keeps the rest (mixed bag)Unitpassnot runnot runnot run
serialize_provided_context (the page marker) > returns null when nothing can bridgeUnitpassnot runnot runnot run
serialize_provided_context (the page marker) > serialize_context (Provide path) carries stores tooUnitpassnot runnot runnot run
store auto-wire > a bare writable crosses: value survives, client store is liveUnitpassnot runnot runnot run
store auto-wire > IDENTITY DEDUPE: one store under two context keys stays ONE instance (C4/C20 trap)Unitpassnot runnot runnot run
store auto-wire > registered factory rebuilds custom methods (createWritableStore pattern, C9)Unitpassnot runnot runnot run
store auto-wire > REUNIFICATION: two islands decoding the same handle share ONE live store (C8)Unitpassnot runnot runnot run
store auto-wire > SERVER ISOLATION: remember:false decodes fresh per requestUnitpassnot runnot runnot run
store auto-wire > unbranded custom store degrades to a plain writable (generic tier)Unitpassnot runnot runnot run
store auto-wire > unregistered factory tag DEGRADES to a plain writable (graceful floor) with a warningUnitpassnot runnot runnot run
packages/core/test/browser/app-navigation-shim.test.ts
on a Kit-booted document, goto / invalidate / preload / the hooks go to Kit’s navigationBrowsernot runpasspasspass
refreshAll on a Kit-booted document: island queries refresh, then Kit’s own refreshAllBrowsernot runpasspasspass
refreshAll on an ogygia document: island queries refresh, then the runtime’s soft refreshBrowsernot runpasspasspass
refreshAll with no runtime at all refreshes the queries aloneBrowsernot runpasspasspass
with no runtime at all, the browser fallback keeps goto’s contract: same-origin onlyBrowsernot runpasspasspass
without the Kit thread, calls go to the runtime’s navigation handleBrowsernot runpasspasspass
packages/core/test/browser/app-stores-kit.test.ts
$page follows Kit’s page through updates, once per changeBrowsernot runpasspasspass
getStores() hands back the shim storesBrowsernot runpasspasspass
packages/core/test/browser/batch-stream-owner.test.ts
a batch that ends on the server’s end mark lets go of the answer’s bodyBrowsernot runpasspasspass
the batch of a page’s holes stops when the visitor leaves the pageBrowsernot runpasspasspass
packages/core/test/browser/beacon-visit-reopen.test.ts
a navigation after coming back to the tab goes out with the next hideBrowsernot runpasspasspass
a page restored from the back/forward cache reports againBrowsernot runpasspasspass
a second hide with no return in between sends nothing moreBrowsernot runpasspasspass
packages/core/test/browser/body-own-children.test.ts
a navigation keeps a portal mounted into <body>: it still opens afterwardsBrowsernot runpasspasspass
another root (a harness driving the reconcile on its own) follows the same recordBrowsernot runpasspasspass
only the server's body attributes move; one a script set staysBrowsernot runpasspasspass
the fallback body swap keeps the page’s own children tooBrowsernot runpasspasspass
the server's children are replaced, the page's own stay, across several navigationsBrowsernot runpasspasspass
packages/core/test/browser/client-hooks.test.ts
a failing init is caught, not thrown — it never blocks the pageBrowsernot runpasspasspass
a hooks.client with no init export is a clean no-op (no throw)Browsernot runpasspasspass
csr=false document: the app hooks.client init runs (ogygia is the client bootstrap)Browsernot runpasspasspass
csr=true document: skipped — Kit runs hooks.client itself, so it must not double-fireBrowsernot runpasspasspass
packages/core/test/browser/deferred-endpoint.test.ts
a deferred hole survives Kit wiping its endpoint attribute after connectBrowsernot runpasspasspass
a hole answer that is a WHOLE DOCUMENT is refused: nothing of it enters the pageBrowsernot runpasspasspass
a hole answer that was REDIRECTED is refused: the fallback stands, no retryBrowsernot runpasspasspass
a hole answering 204 keeps the page fallback and marks the region doneBrowsernot runpasspasspass
a hole morph leaves an upgraded host’s attributes alone (keeps its popover, ignores the render’s), and brings its childrenBrowsernot runpasspasspass
an on-demand hole fetches on hover of a descendant (pointerover bubbles through display:contents)Browsernot runpasspasspass
an on-demand hole fetches on pointer intent and morphs its HTML in (fallback nodes survive)Browsernot runpasspasspass
an on-demand hole is not warmed by a pointer that merely RESTS where its content appearsBrowsernot runpasspasspass
an on-demand hole with prefetch="idle" warms at idle, keeps its fallback, and swaps on hover with no second requestBrowsernot runpasspasspass
packages/core/test/browser/deferred-hole-in-lake-kit.test.ts
a deferred hole INSIDE a lake fetches and fills on a csr=true documentBrowsernot runpasspasspass
packages/core/test/browser/dev-region-css-import.test.ts
DEV: a document-relative region-css href resolves against the document, not the runtime moduleBrowsernot runpasspasspass
DEV: a link for a lake (wake="none") is still imported — nothing else would deliver its CSSBrowsernot runpasspasspass
DEV: a link for an island that will wake is STILL imported at boot — its markup must be styled before wakeBrowsernot runpasspasspass
DEV: a region-css link to a JS module is imported (not linked), injecting its <style>Browsernot runpasspasspass
packages/core/test/browser/devalue-lane-once.test.ts
one document query for the page, another only when markup comes inBrowsernot runpasspasspass
packages/core/test/browser/devalue-lane.test.ts
a read before the load says so; after it, devalue parsesBrowsernot runpasspasspass
only a script in the devalue lane needs devalueBrowsernot runpasspasspass
packages/core/test/browser/document-painted-gate.test.ts
a parsed document: resolves after the next painted frame, not before itBrowsernot runpasspasspass
once resolved, it is the same settled promise for every later wakeBrowsernot runpasspasspass
packages/core/test/browser/dom-ownership.test.ts
a change only inside a widget Svelte never walks is not drift at allBrowsernot runpasspasspass
a web component in a position Svelte WALKS: its added nodes go, and the conflict is namedBrowsernot runpasspasspass
an {@html} beside walked content (data-og-html): the widget inside it is left alone, the parent level is repairedBrowsernot runpasspasspass
drift-watch: a widget editing inside an opaque subtree does not mark its island changedBrowsernot runpasspasspass
morph toward Svelte’s walk skips a stamped subtree; toward a live answer it patches itBrowsernot runpasspasspass
morph: a declared-foreign ROOT is a no-op, in both targetsBrowsernot runpasspasspass
morph: a keyed match whose tag changed never replaces a kept elementBrowsernot runpasspasspass
owner_of: declared foreign, region, slot, static, walk — one precedenceBrowsernot runpasspasspass
slot content (host-page owned) is never compared or rewritten by the repairBrowsernot runpasspasspass
the field case (data-og-opaque): a widget that reworked its own light DOM before the wake is left aloneBrowsernot runpasspasspass
the field case (data-ogygia-keep="search"): a widget that reworked its own light DOM before the wake is left aloneBrowsernot runpasspasspass
packages/core/test/browser/drift-watch.test.ts
drift-watch: which sleeping islands were touched > a node or text change inside marks it, and its enclosing island tooBrowsernot runpasspasspass
drift-watch: which sleeping islands were touched > an untouched island is not changed; attribute edits do not countBrowsernot runpasspasspass
drift-watch: which sleeping islands were touched > mark_region_changed forces the comparisonBrowsernot runpasspasspass
drift-watch: which sleeping islands were touched > records pending at the last unwatch still countBrowsernot runpasspasspass
packages/core/test/browser/early-holes.test.ts
a hole the page started early > a refused answer stays at its address: the hole that wakes later is refused too, and asks nothingBrowsernot runpasspasspass
a hole the page started early > is left out of a batch: the other hole goes alone, no POSTBrowsernot runpasspasspass
a hole the page started early > is taken over once: a second adoption finds nothing to takeBrowsernot runpasspasspass
a hole the page started early > is the flight at its address: its wake joins it, nothing asks againBrowsernot runpasspasspass
a hole the page started early > started under a relative endpoint, matches the hole whose endpoint is root-absoluteBrowsernot runpasspasspass
a hole the page started early > that nobody joins, left before its answer lands: cancelled in the network, nothing written, nothing unhandledBrowsernot runpasspasspass
packages/core/test/browser/entry-location-broken.test.ts
the map names the failed file and the host does not say it is gone: the failure stands at onceBrowsernot runpasspasspass
packages/core/test/browser/entry-location-fallback.test.ts
the location 404s: the island wakes on the current build’s fileBrowsernot runpasspasspass
packages/core/test/browser/entry-location-hydrate.test.ts
the identity is only a key: a stale stable name that 404s, the island wakes from its locationBrowsernot runpasspasspass
packages/core/test/browser/entry-location-map.test.ts
read after a navigation moved the address: the map is the one the page named, and is read onceBrowsernot runpasspasspass
packages/core/test/browser/entry-location-retry.test.ts
one failed read of the current map: the load asks again, and wakesBrowsernot runpasspasspass
packages/core/test/browser/entry-location-rollover.test.ts
a map that names the file that just failed is the old one: asked again, and wakesBrowsernot runpasspasspass
packages/core/test/browser/entry-locations.test.ts
a fallback is reported (the runtime wires devtools and the beacon to it) > recovered, and not: each once, with the identity and the location that failedBrowsernot runpasspasspass
import_entry: the location, then the current build’s, once > a known location is what gets importedBrowsernot runpasspasspass
import_entry: the location, then the current build’s, once > an explicit url wins over the map (the caller already resolved it)Browsernot runpasspasspass
import_entry: the location, then the current build’s, once > both gone: one try at the current build’s file, then the error stands (never a loop)Browsernot runpasspasspass
import_entry: the location, then the current build’s, once > no location anywhere on the page: the current build’s, without a failed load firstBrowsernot runpasspasspass
import_entry: the location, then the current build’s, once > not a build’s identity (the dev server’s module), its location failing: the module itselfBrowsernot runpasspasspass
import_entry: the location, then the current build’s, once > not a build’s identity (the dev server’s module): itself, and its failure standsBrowsernot runpasspasspass
import_entry: the location, then the current build’s, once > the location failing, the current build’s map names the file to load (a page that outlived its build)Browsernot runpasspasspass
the map > a noted entry resolves to its location, absoluteBrowsernot runpasspasspass
the map > an island element: its identity read, its `src` noted on the wayBrowsernot runpasspasspass
the map > an island graph script carries locations for entries no element has (its `s` map)Browsernot runpasspasspass
the map > an unknown entry resolves to itselfBrowsernot runpasspasspass
the map > nothing is noted for a missing location, or one that is the identity itselfBrowsernot runpasspasspass
the map > relative pairs resolve against the document they were read fromBrowsernot runpasspasspass
the map > the latest location wins (a page from a newer build, mid-session)Browsernot runpasspasspass
the warmer goes to the location > warming an identity fetches its location, and dedupes by itBrowsernot runpasspasspass
packages/core/test/browser/forced-fetch-batch.test.ts
a hole waiting on a batch, its lake twin revalidating: the batch ends without it, and the hole fetches its ownBrowsernot runpasspasspass
packages/core/test/browser/frame-paint-order.test.ts
a hole: an older frame waiting on its sheet does not paint over a newer oneBrowsernot runpasspasspass
a static live region: an older tick waiting on its sheet does not paint over a newer oneBrowsernot runpasspasspass
packages/core/test/browser/frame-stream-stall.test.ts
a stalled batch stream > sends one frame and stalls: the hole it carried has it, the others fail and fetch on their ownBrowsernot runpasspasspass
packages/core/test/browser/head-hydration-safe.test.ts
a block whose content carries its own Svelte anchors still loses its outer HASH markerBrowsernot runpasspasspass
a lone head comment (no matching empty close) is never touchedBrowsernot runpasspasspass
a LOOPED + BRANCHED head (each + if/else-if/else, many <link>s) loses its HASH markerBrowsernot runpasspasspass
every rendered head ELEMENT survives — only inert hydration comments goBrowsernot runpasspasspass
safe to run on a head with no markers, and idempotentBrowsernot runpasspasspass
the open <svelte:head> marker is removed, so Svelte head() finds no HASH and re-renders instead of crashingBrowsernot runpasspasspass
packages/core/test/browser/head-ownership.test.ts
a later pass (after a navigation merge) retires the new page’s copy of a kept island’s contentBrowsernot runpasspasspass
a stylesheet link is never retired (either copy leaving could unstyle a frame)Browsernot runpasspasspass
an island torn down: its nodes are dropped from the watch list, the page keeps its copyBrowsernot runpasspasspass
content the island does not render is left aloneBrowsernot runpasspasspass
only PAGE-owned copies retire: a node nobody claimed (a third-party inject) staysBrowsernot runpasspasspass
the island’s live copy stays, the page’s identical copies goBrowsernot runpasspasspass
the island’s title wins: the page’s title is retired, the island’s stays liveBrowsernot runpasspasspass
the mark finds what a scan of the head finds, in head orderBrowsernot runpasspasspass
packages/core/test/browser/head-urls.test.ts
a candidate URL with a comma inside it stays one URLBrowsernot runpasspasspass
an empty URL attribute stays empty: it names no file, not the pageBrowsernot runpasspasspass
every URL of a fetched head is resolved against the page it came fromBrowsernot runpasspasspass
one file linked page-relative from two depths is one head nodeBrowsernot runpasspasspass
packages/core/test/browser/hole-batch.test.ts
join_batch > a frame the batch did not carry: the joined fetch rejects as a batch missBrowsernot runpasspasspass
join_batch > a lone hole goes on its ownBrowsernot runpasspasspass
join_batch > two holes in one task: one POST, and each fetch joins itBrowsernot runpasspasspass
packages/core/test/browser/hole-kit-adopt.test.ts
Kit hydration adopts the hole verbatim: its address and landed HTML surviveBrowsernot runpasspasspass
packages/core/test/browser/hole-lifecycle.test.ts
a hole its twin answers while it waits to retry still wakes its islandBrowsernot runpasspasspass
a hole that arms two media schedules disarms both when it leavesBrowsernot runpasspasspass
a hole whose failed fetch lands as it leaves the page settles quietly, whatever the timingBrowsernot runpasspasspass
a hole whose prefetch and island both wait to be visible stops watching for both when it leavesBrowsernot runpasspasspass
a kept fallback that later gets a real answer is not kept any more, and its island wakesBrowsernot runpasspasspass
a refetch that failed does not mark the hole’s first answer a refreshBrowsernot runpasspasspass
a region taken out while its island loads and put back wakes once, and stops catching clicks once awakeBrowsernot runpasspasspass
an interaction island that fails to wake says so, and its click is replayed on the server markupBrowsernot runpasspasspass
packages/core/test/browser/hole-morph-live-fallback.test.ts
a hole answer morphs over an already-upgraded, already-open fallback: identity + open state survive, deeper links graft inBrowsernot runpasspasspass
a plain placeholder fallback (nothing to keep) still fills from the answerBrowsernot runpasspasspass
packages/core/test/browser/hole-rebuild.test.ts
a hole rendered again with no address gets its endpoint (and sidecar) back from the document record, and fetchesBrowsernot runpasspasspass
a hole with no address and no record keeps its fallback (nothing to fetch, no request)Browsernot runpasspasspass
packages/core/test/browser/hole-renewal.test.ts
two copies of a hole on one fetch both take the capability its renewal answeredBrowsernot runpasspasspass
packages/core/test/browser/hole-twins.test.ts
a copy that leaves does not cancel its twin’s retryBrowsernot runpasspasspass
a copy that leaves does not leave its twin waiting on a batch it joinedBrowsernot runpasspasspass
packages/core/test/browser/host-classes.test.ts
a token the component dropped on the client before the hydrate stays droppedBrowsernot runpasspasspass
Svelte’s own tokens are never put back; unrestored and replaced elements are left aloneBrowsernot runpasspasspass
the component’s tokens as they are just before the hydrate come back after Svelte’s writeBrowsernot runpasspasspass
through a real Svelte hydrate: the class write happens, and the component’s token survives itBrowsernot runpasspasspass
packages/core/test/browser/hydrate-direct.test.ts
a deferred answer (render()'s shape, its stylesheet links first) adopts its server nodesBrowsernot runpasspasspass
a hydrated island is "inside an island" for its children (placed and live)Browsernot runpasspasspass
a kept island takes the next page’s props in placeBrowsernot runpasspasspass
a live region adopts its server nodes, and a pushed tick shows on the same nodeBrowsernot runpasspasspass
a placed island adopts its server nodesBrowsernot runpasspasspass
a placed island an earlier build rendered (its host's {#if} pair around it) is adopted tooBrowsernot runpasspasspass
pushable props: the values as pushed (never proxied), a push replaces the whole snapshotBrowsernot runpasspasspass
packages/core/test/browser/hydrate-visit.test.ts
a region put back while its island loads mounts it onceBrowsernot runpasspasspass
an old run’s failure leaves the new visit aloneBrowsernot runpasspasspass
packages/core/test/browser/hydrated-by.test.ts
a scheduled island a visitor pressed first reports interactionBrowsernot runpasspasspass
a scheduled island its schedule woke reports its scheduleBrowsernot runpasspasspass
packages/core/test/browser/hydration-beacon.test.ts
a fingerprinted island reports its hydration timing to the profiler beacon, batched, by fingerprintBrowsernot runpasspasspass
islands without a fingerprint (a standalone render) queue nothingBrowsernot runpasspasspass
packages/core/test/browser/hydration-schedule-timers.test.ts
a long hold set after a short wait ran out still ends at its own deadlineBrowsernot runpasspasspass
a short snapshot wait set after a long hold wakes the drain at its own timeBrowsernot runpasspasspass
packages/core/test/browser/hydration-schedule.test.ts
21 load islands: no task ≥ 50 ms, viewport islands first, then document orderBrowsernot runpasspasspass
packages/core/test/browser/import-file-one-retry.test.ts
two loads of one file that fail together share one retry, and get one copy of the moduleBrowsernot runpasspasspass
packages/core/test/browser/import-response.test.ts
a download dropped at the network reads as no responseBrowsernot runpasspasspass
a file the server answered for reads as its statusBrowsernot runpasspasspass
a file whose timing entry lands after its failed import is not asked again (Firefox on a loaded runner)Browsernot runpasspasspass
a file whose timing entry lands well after its failed import is not asked again (more than one task)Browsernot runpasspasspass
packages/core/test/browser/inert-parse.test.ts
a parsed answer builds none of its custom elements, in this engine (#382)#382Browsernot runpasspasspass
every parse is checked: an answer with a built custom element breaks rule_parse_upgradedBrowsernot runpasspasspass
production: a late restore is said once per page and host tag, with its codeBrowsernot runpasspasspass
under the Firefox 159 model, an answer stays inert, and its host is restored, never late (#382)#382Browsernot runpasspasspass
packages/core/test/browser/interaction-delegated.test.ts
a click that opens a link elsewhere is never canceled (an untrusted replay could not open it)Browsernot runpasspasspass
a live island inside a sleeping one keeps its clicksBrowsernot runpasspasspass
a nested region that is not armed hands the event to the armed region above itBrowsernot runpasspasspass
a SCHEDULED island is armed the same way: a click before it is live is canceled and queuedBrowsernot runpasspasspass
an event inside an armed region wakes THAT region only, once; the pointer warms onceBrowsernot runpasspasspass
disarm forgets the region: later events pass through untouchedBrowsernot runpasspasspass
packages/core/test/browser/interaction-rearm.test.ts
a capture armed again while the first one’s wake loads catches the next click, and the first leaves it aloneBrowsernot runpasspasspass
packages/core/test/browser/island-graph-preload.test.ts
a chunk the HTML already preloads is not linked againBrowsernot runpasspasspass
a graph read from another page resolves against that page (router warm)Browsernot runpasspasspass
a graph script added later (a router swap) is read on the next missBrowsernot runpasspasspass
a shared chunk is linked once; a second island adds only its ownBrowsernot runpasspasspass
an entry the page has no graph for links nothingBrowsernot runpasspasspass
nothing is linked until an island starts; then exactly its graphBrowsernot runpasspasspass
packages/core/test/browser/island-hydrate.test.ts
a wake:load island hydrates from a KEYED sidecar at the end of the bodyBrowsernot runpasspasspass
a wake:load island hydrates in place from its SSR HTML and stays interactiveBrowsernot runpasspasspass
an island whose props are a seed REFERENCE hydrates with the referenced dataBrowsernot runpasspasspass
packages/core/test/browser/island-self-heal.test.ts
an interaction island edited while asleep hydrates from its server markup on the first click, and the click countsBrowsernot runpasspasspass
an untouched island hydrates in place exactly as before (no heal, the SSR button is adopted)Browsernot runpasspasspass
the recovery/heal REASON names the specific divergence (an injected <style>), for devtools + the consoleBrowsernot runpasspasspass
packages/core/test/browser/kit-page-thread-owner.test.ts
a sealed global: an island that waits hydrates once Kit publishes its pageBrowsernot runpasspasspass
a sealed global: the wait stops watching for Kit once the island that waited has left the pageBrowsernot runpasspasspass
packages/core/test/browser/kit-page-thread.test.ts
a page-reading island inside a lake on a Kit document waits for Kit’s page thread, then hydrates on the SAME branchBrowsernot runpasspasspass
DEV: a wait that runs long warns once (diagnosable), still resolves the moment Kit applies its pageBrowsernot runpasspasspass
the bridge is published but Kit has not applied its page (status -1): the island keeps waiting, and hydrates once initialize() lands itBrowsernot runpasspasspass
with the thread already published at wake there is no hold: the island hydrates straight awayBrowsernot runpasspasspass
packages/core/test/browser/lake-kit.test.ts
a lake re-created empty after a Kit hydration failure is repainted from its server HTML; its island wakes againBrowsernot runpasspasspass
Kit hydration adopts the lake verbatim; the island inside wakes on the runtimeBrowsernot runpasspasspass
packages/core/test/browser/lake-snippet-lift.test.ts
a live snippet’s lake is left in place by its host’s lift and settled by its restoreBrowsernot runpasspasspass
packages/core/test/browser/lake-swr-remount.test.ts
the islands inside a remounted swr lake wake once its refresh landsBrowsernot runpasspasspass
packages/core/test/browser/late-island-load.test.ts
a late island whose code fails to load > renders nothing, and says island_load_failed with the errorBrowsernot runpasspasspass
packages/core/test/browser/live-region.test.ts
a second interactive tick while the first one hydrates mounts no second islandBrowsernot runpasspasspass
a static region that turns interactive stops taking the store’s framesBrowsernot runpasspasspass
an interactive region that turns static disposes its islandBrowsernot runpasspasspass
packages/core/test/browser/load-scheduler.test.ts
a class a holder’s start-up changes is read again in the same drainBrowsernot runpasspasspass
a class that changed with no event is read at the next drain, whatever asked for itBrowsernot runpasspasspass
a per-breakpoint preload whose media does not match is never waited forBrowsernot runpasspasspass
a queued download follows the viewport, and promote() lifts itBrowsernot runpasspasspass
a region with no box of its own is classed by what it rendersBrowsernot runpasspasspass
a single start still goes out at once (no yield before the first)Browsernot runpasspasspass
a slot asked for while a drain starts others goes in that drain, after the rest, in the order askedBrowsernot runpasspasspass
an imagesrcset preload (no href) is matched by any of its candidatesBrowsernot runpasspasspass
background work shares a window; ahead goes before speculative; release lets the next inBrowsernot runpasspasspass
island code waits for the critical image; a gesture and visible content do notBrowsernot runpasspasspass
no marked resource: code starts right after the paintBrowsernot runpasspasspass
priorities and the viewport classBrowsernot runpasspasspass
starts go out across tasks: holders with heavy start-ups never make one long taskBrowsernot runpasspasspass
the gate opening starts each class in the order asked, whatever order the classes came inBrowsernot runpasspasspass
the scroll watch ends in the frame that starts the last queued slotBrowsernot runpasspasspass
the visitor’s first input releases the wait (the browser stops measuring LCP there)Browsernot runpasspasspass
packages/core/test/browser/morph-element-order.test.ts
a byte-identical answer moves no node (nothing re-upgrades, nothing flickers)Browsernot runpasspasspass
a region that has not woken gets its re-minted address (its other attributes are the runtime’s)Browsernot runpasspasspass
a stale region under an element is the render’s: removed (the old drop rule, now provenance)Browsernot runpasspasspass
eo-plain: an empty fallback panel becomes the answer's full one — one panel, the same nodeBrowsernot runpasspasspass
eo-relocating: an empty fallback panel becomes the answer's full one — one panel, the same nodeBrowsernot runpasspasspass
unmarked, a leftover of a tag the render still produces is the render’s; of another tag, the element’sBrowsernot runpasspasspass
what the element made itself is kept; a render child the render stopped producing goesBrowsernot runpasspasspass
packages/core/test/browser/morph-slotted-order.test.ts
a slotting element keeps a child it gave itself while the render’s nodes take the answer’s orderBrowsernot runpasspasspass
a slotting element: an identical answer moves and replaces nothingBrowsernot runpasspasspass
a slotting element: the answer adds a tab the fallback hid — every node lands in the answer’s orderBrowsernot runpasspasspass
a slotting element: the CMS moved a tab — the answer’s order applies, every tab keptBrowsernot runpasspasspass
an element that renders its own light DOM (no shadow root) keeps its arrangement: an identical answer moves nothingBrowsernot runpasspasspass
packages/core/test/browser/nav-called-off-sheets.test.ts
a navigation called off while the next page’s sheet loads takes that sheet outBrowsernot runpasspasspass
packages/core/test/browser/nav-devalue-fails.test.ts
devalue that fails to load ends the navigation and gives the address to the browserBrowsernot runpasspasspass
packages/core/test/browser/nav-fouc-bag-first.test.ts
two navigations in a row, each bringing a FOUC bag: both go in, one bag is leftBrowsernot runpasspasspass
packages/core/test/browser/nav-handle-routerless-retry.test.ts
without the router, a refresh whose code failed to download loads it on the next refreshBrowsernot runpasspassskip
packages/core/test/browser/nav-handle-routerless.test.ts
without the router, invalidateAll and invalidate refresh (they never need the router)Browsernot runpasspasspass
packages/core/test/browser/nav-handle.test.ts
the mpa-nav feature publishes the MPA handle; the router feature replaces it with the SPA APIBrowsernot runpasspasspass
packages/core/test/browser/nav-sheets-inert.test.ts
a sheet of the next page that loaded first does not style the page on screenBrowsernot runpasspasspass
packages/core/test/browser/nav-swap-fails.test.ts
a swap that throws inside a view transition: the navigation ends and goes to the browserBrowsernot runpasspasspass
a swap that throws without a view transition: the navigation ends and goes to the browserBrowsernot runpasspasspass
packages/core/test/browser/nearest-attr.test.ts
nearest_attr (the islandKey lookup) > takes the nearest keyed ancestor, across shadow rootsBrowsernot runpasspasspass
packages/core/test/browser/observe-shared.test.ts
a visible island woken on screen gets its turn without the 48 ms snapshot waitBrowsernot runpasspasspass
a watcher that joins late gets the last known state (the browser will not report it again)Browsernot runpasspasspass
two watchers of one element at one margin both hear it; one stopping leaves the otherBrowsernot runpasspasspass
packages/core/test/browser/opaque-regions.test.ts
a hole itself is the runtime’sBrowsernot runpasspasspass
an island in Kit’s own tree, or inside a live region not baked, stays Kit’sBrowsernot runpasspasspass
an island inside a lake, a hole, or a baked live region is the runtime’s on a Kit documentBrowsernot runpasspasspass
packages/core/test/browser/page-cache-bound.test.ts
at most 32 small pages are kept: the oldest goes, the newest staysBrowsernot runpasspasspass
big pages count by their bytes: two of 1.5 MB do not fit beside a thirdBrowsernot runpasspasspass
packages/core/test/browser/page-facts-visit.test.ts
facts a hole brought on one page do not join the next page’s page.dataBrowsernot runpasspasspass
packages/core/test/browser/page-flights.test.ts
a navigation waiting on a prefetch that a mutation made stale gets the page fetched againBrowsernot runpasspasspass
a prefetch of a page a navigation is fetching joins it: one requestBrowsernot runpasspasspass
packages/core/test/browser/prefetch-owner.test.ts
a click lifts the prefetch that replaced one a cache clear ended, and the ended one fetches nothingBrowsernot runpasspasspass
packages/core/test/browser/preload-hole.test.ts
a preloaded hole answered by a whole page (something in front of the handle) is refusedBrowsernot runpasspasspass
a preloaded hole that answers keepFallback() (204) keeps its fallbackBrowsernot runpasspasspass
packages/core/test/browser/pristine-nested-island.test.ts
a DEFERRED nested region is NOT stamped (it fetches its own answer)Browsernot runpasspasspass
a nested self-hydrating island captures its pristine markup (whitespace intact)Browsernot runpasspasspass
the captured markup is the server bytes, unaffected by a later live mutation of the islandBrowsernot runpasspasspass
packages/core/test/browser/profiler-client-mark.test.ts
mark without the beacon tag: runs the work, queues nothingBrowsernot runpasspasspass
mark: a function, a promise, a failing one, an event and a handle — one batched beaconBrowsernot runpasspasspass
packages/core/test/browser/profiler-store.test.ts
reports: put, get, list newest first with the median, delete, and a cap on how many stayBrowsernot runpasspasspass
visits: a page’s visits newest first, and the latest oneBrowsernot runpasspasspass
packages/core/test/browser/region-css-inline.test.ts
a sheet the page already LINKS is not inlined again from an answerBrowsernot runpasspasspass
an inlined sheet in a hole answer is hoisted into <head> once, and styles the swapped HTMLBrowsernot runpasspasspass
packages/core/test/browser/region-dsd-parse.test.ts
a closed shadowrootmode is honouredBrowsernot runpasspasspass
fallback (engine without setHTMLUnsafe) attaches DSD via the spec algorithm, recursivelyBrowsernot runpasspasspass
nested declarative shadow DOM attaches at every levelBrowsernot runpasspasspass
parse_region_html attaches declarative shadow roots (unlike createContextualFragment)Browsernot runpasspasspass
packages/core/test/browser/region-hydrate-no-shift.test.ts
block flow, content above and below: hydrating shifts nothing, never paints the island empty, never styles the regionBrowsernot runpasspasspass
control: the layout-shift observer reports a real shiftBrowsernot runpassskipskip
inline flow (text around the region): hydrating shifts nothing, never paints the island empty, never styles the regionBrowsernot runpasspasspass
percentage-sized hero (its containing block matters): hydrating shifts nothing, never paints the island empty, never styles the regionBrowsernot runpasspasspass
packages/core/test/browser/region-move.test.ts
a hole moved while its fetch is in flight keeps that fetch, and fills onceBrowsernot runpasspasspass
a hole removed for good still aborts its fetchBrowsernot runpasspasspass
packages/core/test/browser/region-orderings.test.ts
a hole put back after its answer left the frame store (#336) > its island had not woken yet#336Browsernot runpasspasspass
a hole put back after its answer left the frame store (#336) > its island was awake#336Browsernot runpasspasspass
a hole’s island that wakes on a visitor, its answer on another schedule (#338) > wakes on the visitor’s click#338Browsernot runpasspasspass
a live region put back goes on in its last tick’s mode (#337) > a static one follows the writes at its address#337Browsernot runpasspasspass
a live region put back goes on in its last tick’s mode (#337) > an interactive one hydrates its island again#337Browsernot runpasspasspass
a schedule that fires after its region left starts nothing (#335) > no fetch of a hole’s answer off the page#335Browsernot runpasspasspass
a schedule that fires after its region left starts nothing (#335) > no wake of its island off the page#335Browsernot runpasspasspass
packages/core/test/browser/region-sheet-failed.test.ts
an answer after a failed region sheet fetches it again, and paints styled without the 5 s waitBrowsernot runpasspasspass
answers that find the sheet still loading wait on that same downloadBrowsernot runpasspasspass
packages/core/test/browser/repair-web-component-upgrade.test.ts
(a) shadow root gained + whitespace collapsed, element skeleton intact → repaired to the server sequenceBrowsernot runpasspasspass
(b) a NESTED upgraded custom element also had a child added by the runtime → repaired to pristineBrowsernot runpasspasspass
(c) residue INSIDE a nested upgraded element, with the outer skeleton also changed → must still repair to pristineBrowsernot runpasspasspass
packages/core/test/browser/restore.test.ts
a csr=false page arms no class watch (the island hydrate puts the tokens back)Browsernot runpasspasspass
a custom element keeps the class tokens its render added beside Svelte’s (recorded for the hydrate); a plain element gets Svelte’s aloneBrowsernot runpasspasspass
a declarative shadow root parsed in an inert fragment gets the page’s registry after insertion (no transform needed)Browsernot runpasspasspass
a DOM without adoptable sheets or CSS.escape (jsdom): a <style> per rootBrowsernot runpasspasspass
a host upgraded before the restore reached it keeps its own root; the light DOM is put back, the server’s tree dropped, and it says soBrowsernot runpasspasspass
a Kit-hydrated page: a watched host that leaves the document leaves the watch, a moved one stays, and the observer goes with the last oneBrowsernot runpasspasspass
a Kit-hydrated page: the first whole write to Svelte’s tokens gets back what it dropped; the component’s own later removals standBrowsernot runpasspasspass
a planned host inside a declarative shadow root the page shipped is restored tooBrowsernot runpasspasspass
a root restored in an answer’s inert fragment gets the page’s registry after insertion: what is inside upgradesBrowsernot runpasspasspass
a router swap: a root the swap left in the parsed page is skipped, and every root in this one gets its sheetsBrowsernot runpasspasspass
a stand-in keeps the parser from splitting the page’s link, and becomes a real <a> in the treeBrowsernot runpasspasspass
an answer still waiting for its stylesheet keeps its roots while another answer goes inBrowsernot runpasspasspass
an answer’s fragment: restored before insertion, its sheets adopted once the host is in the pageBrowsernot runpasspasspass
dev: the check compares each restored host with Svelte’s children, and names the first differenceBrowsernot runpasspasspass
self-contained: the function source runs on its own (the handle inlines it)Browsernot runpasspasspass
Svelte’s children put back into a host are known render output (a later morph may remove one)Browsernot runpasspasspass
text a render trimmed inside a custom element it did not render comes back through the planned host aboveBrowsernot runpasspasspass
the dev check reads class as tokens and style as declarations, an empty one as absentBrowsernot runpasspasspass
the document: a shadow root with the tree, Svelte’s children back exactly, the host’s attributes backBrowsernot runpasspasspass
packages/core/test/browser/router-anchor.test.ts
a click on nothing link-like is null, not an ancestor anchor of the hostBrowsernot runpasspasspass
a light-DOM anchor (and a click on its descendant) still resolvesBrowsernot runpasspasspass
an anchor inside an open shadow root is found through the composed pathBrowsernot runpasspasspass
data-sveltekit-reload: bare and "true" opt out of the SPA; "off" and "false" opt inBrowsernot runpasspasspass
data-sveltekit-reload: decided across shadow roots, nearest still winsBrowsernot runpasspasspass
data-sveltekit-reload: the nearest ancestor decides, either directionBrowsernot runpasspasspass
packages/core/test/browser/router-history-state.test.ts
adopt(): an app’s own pushState entry the router meets keeps the app’s stateBrowsernot runpasspasspass
commit(replace): the entry replaced in place keeps the app’s stateBrowsernot runpasspasspass
start(): the entry the router starts on keeps the app’s stateBrowsernot runpasspasspass
packages/core/test/browser/rules.test.ts
a page that keeps them: an island mounts, leaves the page, and no rule is brokenLint rulesnot runpasspasspass
no failure without a code: a STALE rejection, an ogygia error with no code pageLint rulesnot runpasspasspass
nothing of an old page open: a visit before the one on screen still openLint rulesnot runpasspasspass
one mount per region: a region holding two islands, or keeping one after it leftLint rulesnot runpasspasspass
the address bar and the history model: checked once no navigation is outLint rulesnot runpasspasspass
packages/core/test/browser/scroll-hold.test.ts
a region above that wakes after the old 1.5 s window is still held forBrowsernot runpasspasspass
once the regions above have settled, the page is the visitor’s and the app’s againBrowsernot runpasspasspass
packages/core/test/browser/seed-single-parse.test.ts
boot: two seed-ref islands, ONE seed parse, refs by reference into page.data, seed text blankedBrowsernot runpasspasspass
reconcile navigation: the next page island reads the NEXT page seed (no stale reference)Browsernot runpasspasspass
packages/core/test/browser/sidecar-lane.test.ts
a keyed sidecar is found through the id map (id="og-props-<fp>")Browsernot runpasspasspass
a pre-id document (attribute only) still finds its keyed sidecar and hydratesBrowsernot runpasspasspass
an adjacent (fingerprint-less) sidecar is the next sibling past <link> hintsBrowsernot runpasspasspass
JSON lane end to end: a json sidecar and a json seed hydrate the island and seed the storeBrowsernot runpasspasspass
one IntersectionObserver per rootMargin, shared by every element; once_visible fires onceBrowsernot runpasspasspass
parse_sidecar_text: the JSON lane is JSON.parse, everything else is devalue with reviversBrowsernot runpasspasspass
the csr fact: the meta decides when present; the inline-script probe only when absentBrowsernot runpasspasspass
packages/core/test/browser/sim-holes.test.ts
holes on the real runtime, simulated > fetch one address once at a time, never strand a twin, and agree once quietBrowsernot runpasspasspass
packages/core/test/browser/sim-primitives.test.ts
flights, simulated > keep their promise in every orderBrowsernot runpasspasspass
scopes, simulated > let go of everything once, and nothing of a closed scope runsBrowsernot runpasspasspass
the outbox, simulated > sends each id once at a time, in order when asked, and done means appliedBrowsernot runpasspasspass
worlds, against a model > fresh() says exactly whether what it names moved since the stampBrowsernot runpasspasspass
packages/core/test/browser/sim-region.test.ts
one region element, simulated > a hole and its island: at rest off the page, its answer and its island on itBrowsernot runpasspasspass
one region element, simulated > a live region: at rest off the page, its last tick on itBrowsernot runpasspasspass
packages/core/test/browser/sim-router.test.ts
the history model, against a plain one > names the entry the browser is on, and the address bar is its address, after every moveBrowsernot runpassskipskip
the router, simulated > shows the newest navigation, keeps the address bar on the page shown, and ends every oneBrowsernot runpassskipskip
packages/core/test/browser/soft-refresh-page-on-screen.test.ts
invalidateAll while a navigation waits refreshes the page on screen, not the next oneBrowsernot runpasspasspass
packages/core/test/callbacks-reported.test.ts
an app's callback that throws is reported, and the rest still run > a devtools sinkUnitpassnot runnot runnot run
an app's callback that throws is reported, and the rest still run > a navigation hook (before, after, and after at once as it is added)Unitpassnot runnot runnot run
an app's callback that throws is reported, and the rest still run > a page store subscriberUnitpassnot runnot runnot run
an app's callback that throws is reported, and the rest still run > a ref watcherUnitpassnot runnot runnot run
an app's callback that throws is reported, and the rest still run > a scope disposerUnitpassnot runnot runnot run
an app's callback that throws is reported, and the rest still run > a source receipt seamUnitpassnot runnot runnot run
an app's callback that throws is reported, and the rest still run > off a page (no reportError), the error is printedUnitpassnot runnot runnot run
packages/core/test/capability-expiry.test.ts
capability_expiry > a 1-second TTL still works (window floor of 1 s)Unitpassnot runnot runnot run
capability_expiry > is always valid for more than ttl/2 and at most ttlUnitpassnot runnot runnot run
capability_expiry > is identical for every second of the same half-TTL windowUnitpassnot runnot runnot run
capability_expiry > never goes backwards as time moves forwardUnitpassnot runnot runnot run
capability_expiry > the prerender TTL stays effectively foreverUnitpassnot runnot runnot run
packages/core/test/concurrency.test.ts
ConcurrencyGate: never more than its limit running > a body that throws frees its slotUnitpassnot runnot runnot run
ConcurrencyGate: never more than its limit running > a freed slot goes to the next in line, not to a call that arrives in the same tickUnitpassnot runnot runnot run
ConcurrencyGate: never more than its limit running > first come, first servedUnitpassnot runnot runnot run
ConcurrencyGate: one deadline per call (the region render timeout, #195) > a body past its deadline is abandoned: its caller gets the timeout, its slot goes on#195Unitpassnot runnot runnot run
ConcurrencyGate: one deadline per call (the region render timeout, #195) > a body that ends in time leaves no timer behind#195Unitpassnot runnot runnot run
ConcurrencyGate: one deadline per call (the region render timeout, #195) > a late failure of a body nobody waits on any more is not an unhandled rejection#195Unitpassnot runnot runnot run
ConcurrencyGate: one deadline per call (the region render timeout, #195) > a waiter that gave up never runs, and frees nothing it never held#195Unitpassnot runnot runnot run
ConcurrencyGate: one deadline per call (the region render timeout, #195) > eight bodies that never end, through a gate of four: four run, the rest give up waiting#195Unitpassnot runnot runnot run
ConcurrencyGate: one deadline per call (the region render timeout, #195) > four renders on a hung upstream never stop the fifth hole: it renders at once#195Unitpassnot runnot runnot run
ConcurrencyGate: one deadline per call (the region render timeout, #195) > the deadline covers the wait and the run together: the call answers within it#195Unitpassnot runnot runnot run
ConcurrencyGate: one deadline per call (the region render timeout, #195) > waiters that gave up leave the queue at once, even while no slot ever frees#195Unitpassnot runnot runnot run
packages/core/test/config-surface.test.ts
legacy option renames — errors with the new spelling, never silent aliasing > rejects content (now the @ogygia/content plugin)Unitpassnot runnot runnot run
legacy option renames — errors with the new spelling, never silent aliasing > rejects continuityUnitpassnot runnot runnot run
legacy option renames — errors with the new spelling, never silent aliasing > rejects devtools and profiler (now the @ogygia/devtools plugin)Unitpassnot runnot runnot run
legacy option renames — errors with the new spelling, never silent aliasing > rejects plugins (they are Vite plugins listed beside ogygia())Unitpassnot runnot runnot run
legacy option renames — errors with the new spelling, never silent aliasing > rejects regions (its keys moved to the root)Unitpassnot runnot runnot run
legacy option renames — errors with the new spelling, never silent aliasing > rejects regionTtl (now ttl)Unitpassnot runnot runnot run
maxPageAge — the oldest cached page whose holes still come back > defaults to 8 daysUnitpassnot runnot runnot run
maxPageAge — the oldest cached page whose holes still come back > is capped at the prerender capability life (10 years)Unitpassnot runnot runnot run
maxPageAge — the oldest cached page whose holes still come back > never touches the hole URL life (ttl)Unitpassnot runnot runnot run
maxPageAge — the oldest cached page whose holes still come back > reaches the server (and never the browser) through virtual:ogygia/region-ttlUnitpassnot runnot runnot run
maxPageAge — the oldest cached page whose holes still come back > rejects anything but seconds ≥ 0Unitpassnot runnot runnot run
maxPageAge — the oldest cached page whose holes still come back > takes the app’s own number (a CDN that keeps pages longer)Unitpassnot runnot runnot run
presets — config-time validation > accepts the full legal vocabularyUnitpassnot runnot runnot run
presets — config-time validation > rejects an empty presetUnitpassnot runnot runnot run
presets — config-time validation > rejects unknown keys (closed vocabulary)Unitpassnot runnot runnot run
presets — config-time validation > takes `fetch`, a deferred hole's timing (0.10.0 rejected it: no deferred preset could be written)Unitpassnot runnot runnot run
router absorbs continuity > router: false and router: { forms: false } both accepted; forms is not a top-level keyUnitpassnot runnot runnot run
ttl — the capability lifetime > is read from ttl and clamped to [60, 86400]Unitpassnot runnot runnot run
packages/core/test/context-gating.test.ts
context_string_keys — follows the getContext/setContext import binding, no text matching > counts a getContext read imported from ogygiaUnitpassnot runnot runnot run
context_string_keys — follows the getContext/setContext import binding, no text matching > counts a getContext read imported from svelteUnitpassnot runnot runnot run
context_string_keys — follows the getContext/setContext import binding, no text matching > dedupes repeated reads of the same keyUnitpassnot runnot runnot run
context_string_keys — follows the getContext/setContext import binding, no text matching > does NOT count a dynamic (non-literal) keyUnitpassnot runnot runnot run
context_string_keys — follows the getContext/setContext import binding, no text matching > does NOT count a getContext that is not imported from svelte/ogygiaUnitpassnot runnot runnot run
context_string_keys — follows the getContext/setContext import binding, no text matching > does NOT count a local function named getContextUnitpassnot runnot runnot run
context_string_keys — follows the getContext/setContext import binding, no text matching > does NOT count a method call on an unrelated objectUnitpassnot runnot runnot run
context_string_keys — follows the getContext/setContext import binding, no text matching > follows a namespace member (ns.getContext / ns.setContext)Unitpassnot runnot runnot run
context_string_keys — follows the getContext/setContext import binding, no text matching > follows an alias (getContext as gc)Unitpassnot runnot runnot run
context_string_keys — follows the getContext/setContext import binding, no text matching > ignores the word in a comment or string (no import → no parse-time binding)Unitpassnot runnot runnot run
context_string_keys — follows the getContext/setContext import binding, no text matching > reads inside a Svelte component <script>Unitpassnot runnot runnot run
context_string_keys — follows the getContext/setContext import binding, no text matching > separates a setContext (from svelte) into sets, not readsUnitpassnot runnot runnot run
context_string_keys — follows the getContext/setContext import binding, no text matching > unparseable source is a clean empty (no throw, no false warning)Unitpassnot runnot runnot run
resolveFeatures — the mark gates the feature > includes context only when the mark is setUnitpassnot runnot runnot run
resolveFeatures — the mark gates the feature > includes context under kitchen-sink (incomplete marks) — the safe defaultUnitpassnot runnot runnot run
source_uses_ogygia_context — a provider is detected > detects import { Provide, createContext } from 'ogygia'; (multi-line clause)Unitpassnot runnot runnot run
source_uses_ogygia_context — a provider is detected > detects import { createContext } from 'ogygia'; (createContext)Unitpassnot runnot runnot run
source_uses_ogygia_context — a provider is detected > detects import { Provide } from 'ogygia'; (Provide)Unitpassnot runnot runnot run
source_uses_ogygia_context — a provider is detected > detects import { Region, setContext, preload } from "ogygia"; (among other named imports, dq)Unitpassnot runnot runnot run
source_uses_ogygia_context — a provider is detected > detects import { setContext } from 'ogygia'; (drop-in setContext)Unitpassnot runnot runnot run
source_uses_ogygia_context — a provider is detected > detects import { setContext as sc } from 'ogygia'; (aliased)Unitpassnot runnot runnot run
source_uses_ogygia_context — a provider is detected > detects import * as og from 'ogygia'; og.setContext('k', v); (namespace usage)Unitpassnot runnot runnot run
source_uses_ogygia_context — a provider is detected > detects import type { X } from 'ogygia'; import { setContext } from 'ogygia'; (after a type import)Unitpassnot runnot runnot run
source_uses_ogygia_context — no provider, no bridge > ignores (empty file)Unitpassnot runnot runnot run
source_uses_ogygia_context — no provider, no bridge > ignores const setContext = 1; // just a name (the bare word without an ogygia import)Unitpassnot runnot runnot run
source_uses_ogygia_context — no provider, no bridge > ignores import { getContext } from 'ogygia'; (read-only getContext needs no bridge)Unitpassnot runnot runnot run
source_uses_ogygia_context — no provider, no bridge > ignores import { Region } from 'ogygia'; (a non-context ogygia import)Unitpassnot runnot runnot run
source_uses_ogygia_context — no provider, no bridge > ignores import { setContext } from 'svelte'; (svelte's setContext is same-root, not a bridge)Unitpassnot runnot runnot run
source_uses_ogygia_context — no provider, no bridge > ignores import * as og from 'ogygia'; og.preload(x); (namespace import, non-context member)Unitpassnot runnot runnot run
source_uses_ogygia_context — no provider, no bridge > is stateless across calls (g-flag lastIndex reset)Unitpassnot runnot runnot run
packages/core/test/context-provided-serialize.test.ts
serialize_provided_context drops non-serializable, never crashes > BRIDGES a store (the transportable seam), keeps the restUnitpassnot runnot runnot run
serialize_provided_context drops non-serializable, never crashes > drops a function, keeps the restUnitpassnot runnot runnot run
serialize_provided_context drops non-serializable, never crashes > returns null when nothing is serializableUnitpassnot runnot runnot run
serialize_provided_context drops non-serializable, never crashes > serializes plain valuesUnitpassnot runnot runnot run
packages/core/test/csr-skip.test.ts
clientBuildWillSkip — chain-resolved csr (Kit parity) > a csr=true MID-LAYOUT re-scopes its subtree (chain override, both directions)Unitpassnot runnot runnot run
clientBuildWillSkip — chain-resolved csr (Kit parity) > all pages csr=false but the root LAYOUT NODE unset → Kit does NOT skip (node ≠ false)Unitpassnot runnot runnot run
clientBuildWillSkip — chain-resolved csr (Kit parity) > an option-file-only dir (bare `+layout.ts`, no .svelte) still scopes its childrenUnitpassnot runnot runnot run
clientBuildWillSkip — chain-resolved csr (Kit parity) > every node explicitly csr=false (layout AND pages) → skip (the adapters-fixture shape)Unitpassnot runnot runnot run
clientBuildWillSkip — chain-resolved csr (Kit parity) > missing routes dir → never predicts a skipUnitpassnot runnot runnot run
clientBuildWillSkip — chain-resolved csr (Kit parity) > one deep csr=true page under a csr=false root keeps the build aliveUnitpassnot runnot runnot run
clientBuildWillSkip — chain-resolved csr (Kit parity) > server option file beats nothing, universal beats server (Kit merge order)Unitpassnot runnot runnot run
clientBuildWillSkip — chain-resolved csr (Kit parity) > the fresh-app shape (issue #4): csr=false in the ROOT LAYOUT ONLY, option-less pages → skipUnitpassnot runnot runnot run
clientBuildWillSkip — chain-resolved csr (Kit parity) > the injected keepalive dir is invisible to the predictionUnitpassnot runnot runnot run
clientBuildWillSkip — symlinked route files and dirs (Kit follows links) > a dangling link is ignored, as Kit ignores itUnitpassnot runnot runnot run
clientBuildWillSkip — symlinked route files and dirs (Kit follows links) > a linked root +layout.ts (csr=false) + option-less pages → skipUnitpassnot runnot runnot run
clientBuildWillSkip — symlinked route files and dirs (Kit follows links) > a linked route DIRECTORY holding a csr=true page keeps the build aliveUnitpassnot runnot runnot run
read_csr — export shapes > a COMMENTED-OUT csr export does not win over the real one (regression)Unitpassnot runnot runnot run
read_csr — export shapes > reads the TS-annotated form `export const csr: boolean = false`Unitpassnot runnot runnot run
packages/core/test/dead-kit-resolves.test.ts
drop_dead_kit_resolves > drops Kit resolve chunks, keeps the document and late-region chunksUnitpassnot runnot runnot run
drop_dead_kit_resolves > leaves a document that merely mentions the words alone (not a chunk of its own)Unitpassnot runnot runnot run
packages/core/test/debarrel/as-region.test.ts
debarrel + import.meta.og.asRegion > a region-MARKED barrel import is left to the compiler (skip policy), so the mark still errors or works exactly as beforeUnitpassnot runnot runnot run
debarrel + import.meta.og.asRegion > INSIDE ogygia the import feeding asRegion is left alone: the prescan keys the island on the raw import, the transform must see the same oneUnitpassnot runnot runnot run
debarrel + import.meta.og.asRegion > the CORE alone (no ogygia policy) would rewrite an asRegion import to the leaf — which is exactly why ogygia tells it not to (next test)Unitpassnot runnot runnot run
debarrel + import.meta.og.asRegion > the same file WITHOUT the pass still compiles through the barrel (nothing changed for apps that leave barrels on)Unitpassnot runnot runnot run
debarrel + import.meta.og.asRegion > the wired plugin (ogygia({ barrels })) applies that rule end to endUnitpassnot runnot runnot run
packages/core/test/debarrel/barrel.test.ts
cache + invalidation > a barrel edited while its map is being built is built again: no caller keeps the old mapUnitpassnot runnot runnot run
cache + invalidation > a map is cached; invalidating a DEPENDENCY drops every map that walked through itUnitpassnot runnot runnot run
cache + invalidation > a nested barrel edited while the outer map walks through it is walked againUnitpassnot runnot runnot run
cache + invalidation > at scale: a 2 000-name barrel over 200 leaves maps in well under a second and points every name homeUnitpassnot runnot runnot run
cache + invalidation > invalidating a leaf that turned impure re-classifies the chain on the next mapUnitpassnot runnot runnot run
concurrency — what a real build does > many importers, many barrels, all at once: every name lands homeUnitpassnot runnot runnot run
concurrency — what a real build does > two hundred importers asking for one barrel at once all get the SAME finished map (one build in flight)Unitpassnot runnot runnot run
concurrency — what a real build does > two walks that need each other (a → b while b → a is in flight) neither deadlock nor cache a holeUnitpassnot runnot runnot run
export map — the basic shapes > a .js barrel with .js-suffixed relative specifiers (nodenext style) resolves the sameUnitpassnot runnot runnot run
export map — the basic shapes > export * as ns → a namespace leafUnitpassnot runnot runnot run
export map — the basic shapes > import-then-export bindings resolve like direct re-exportsUnitpassnot runnot runnot run
export map — the basic shapes > named, renamed, default-as-name, star: each name points at its leafUnitpassnot runnot runnot run
nesting — barrels of barrels > a diamond — the same leaf reached by two paths — is NOT ambiguousUnitpassnot runnot runnot run
nesting — barrels of barrels > a nested barrel re-exporting a name its own star does not carry stays honest: unknown names are absentUnitpassnot runnot runnot run
nesting — barrels of barrels > a rename chain three barrels deep lands on the original leaf and nameUnitpassnot runnot runnot run
nesting — barrels of barrels > a star into a nested pure barrel is transparent; into an impure module it stops thereUnitpassnot runnot runnot run
nesting — barrels of barrels > cycles terminate: a ↔ b, and a barrel that stars itselfUnitpassnot runnot runnot run
nesting — barrels of barrels > explicit re-exports win over stars; two stars with different leaves for one name are ambiguousUnitpassnot runnot runnot run
where the walk stops > a CommonJS module behind a star is opaque (module.exports is not an export list)Unitpassnot runnot runnot run
where the walk stops > a kept module in the MIDDLE of a chain is the leaf (the walk does not look through it)Unitpassnot runnot runnot run
where the walk stops > a package barrel is a candidate only when opted in (packages), then its exports map is walkedUnitpassnot runnot runnot run
where the walk stops > a query id (?raw, ?url) is never a barrel; a re-export FROM a query id stays on the barrelUnitpassnot runnot runnot run
where the walk stops > a star into something unparsable (json, missing, a syntax error, virtual) makes the map OPAQUE, the rest still mapsUnitpassnot runnot runnot run
where the walk stops > an impure module is not a barrel unless forced; forced keeps own names as ownUnitpassnot runnot runnot run
where the walk stops > follow_packages: false makes a star into node_modules opaque; true walks itUnitpassnot runnot runnot run
where the walk stops > kept beats everything; a non-candidate is never mappedUnitpassnot runnot runnot run
packages/core/test/debarrel/parse.test.ts
analyze_exports — shape + purity > a classic barrel is pure: named re-exports, default-as-name, star, star-as-namespace, type re-exportsUnitpassnot runnot runnot run
analyze_exports — shape + purity > a syntax error is null, not a shapeUnitpassnot runnot runnot run
analyze_exports — shape + purity > an empty module and a comments-only module are pure with no exportsUnitpassnot runnot runnot run
analyze_exports — shape + purity > const a = 1; export { a }; → impure, own names ["a"]Unitpassnot runnot runnot run
analyze_exports — shape + purity > export { a as "kebab-name" } from "./x"; console.log(1); → impure, own names []Unitpassnot runnot runnot run
analyze_exports — shape + purity > export { x } from "./x"; import.meta.glob("./*.svelte"); → impure, own names []Unitpassnot runnot runnot run
analyze_exports — shape + purity > export * from "./x"; globalThis.__registered = true; → impure, own names []Unitpassnot runnot runnot run
analyze_exports — shape + purity > export class C {} → impure, own names ["C"]Unitpassnot runnot runnot run
analyze_exports — shape + purity > export const [x, , ...rest] = arr; → impure, own names ["x","rest"]Unitpassnot runnot runnot run
analyze_exports — shape + purity > export const a = 1; → impure, own names ["a"]Unitpassnot runnot runnot run
analyze_exports — shape + purity > export default 42; → impure, own names ["default"]Unitpassnot runnot runnot run
analyze_exports — shape + purity > export default function () {} → impure, own names ["default"]Unitpassnot runnot runnot run
analyze_exports — shape + purity > export function f() {} → impure, own names ["f"]Unitpassnot runnot runnot run
analyze_exports — shape + purity > export let { a, b: c } = o; → impure, own names ["a","c"]Unitpassnot runnot runnot run
analyze_exports — shape + purity > if (x) {} → impure, own names []Unitpassnot runnot runnot run
analyze_exports — shape + purity > import-then-export is a re-export through the binding (named, default, namespace)Unitpassnot runnot runnot run
analyze_exports — shape + purity > records string-literal export names verbatim (the rewriter skips them)Unitpassnot runnot runnot run
analyze_exports — shape + purity > sideEffect(); → impure, own names []Unitpassnot runnot runnot run
analyze_exports — shape + purity > type declarations do not make a module impure; enums doUnitpassnot runnot runnot run
analyze_imports > handles the cursed spellings: no semicolons, no spaces, comments inside, unicode, `default as`Unitpassnot runnot runnot run
analyze_imports > ignores dynamic imports and require calls (not declarations)Unitpassnot runnot runnot run
analyze_imports > keeps the verbatim import-attributes clause (with / assert) and its keys, semicolon or notUnitpassnot runnot runnot run
analyze_imports > reads every specifier kind with exact source rangesUnitpassnot runnot runnot run
analyze_imports > returns null on a syntax error (the real compiler reports it)Unitpassnot runnot runnot run
packages/core/test/debarrel/plugin.test.ts
ogygia({ barrels }) wiring > a specifier Vite cannot resolve (it THROWS from `this.resolve`) leaves that import alone and the rest still movesUnitpassnot runnot runnot run
ogygia({ barrels }) wiring > off by default; `true` or an object puts the debarrel plugin FIRST in the arrayUnitpassnot runnot runnot run
ogygia({ barrels }) wiring > the wired plugin skips imports carrying the app's region-mark keys (custom importKeys too), rewrites the restUnitpassnot runnot runnot run
the report names the components it had to skip > skipped components are counted and listed, with or without rewritesUnitpassnot runnot runnot run
vite build > a `keep` matcher leaves that barrel alone even though it is pureUnitpassnot runnot runnot run
vite build > a package NOT opted in is left alone (dev pre-bundling safety)Unitpassnot runnot runnot run
vite build > the barrel and its unused leaves are not in the bundle; the used leaves are; the package barrel is bypassed tooUnitpassnot runnot runnot run
vite build > the build report names the totals, the time, and the top barrels with their importer counts; `debug` narrates each rewriteUnitpassnot runnot runnot run
vite build > the default report shows the eight biggest barrels and counts the rest; `report: "all"` lists every oneUnitpassnot runnot runnot run
vite build > without the plugin the barrel and every leaf are in the graph (the baseline the pass beats)Unitpassnot runnot runnot run
vite dev > a leaf the client and the server resolve to different files (#252) > client and SSR transforms at the same time: each gets its own leaf#252Unitpassnot runnot runnot run
vite dev > a leaf the client and the server resolve to different files (#252) > the client first, then SSR (and the other way): the cached barrel map is not handed across#252Unitpassnot runnot runnot run
vite dev > editing a barrel re-points the importer on the next transform (watch + invalidate)Unitpassnot runnot runnot run
vite dev > transformRequest returns leaf imports for a TS module and a Svelte componentUnitpassnot runnot runnot run
which ids are importers > a build with extracted component CSS warns about nothing and still rewrites the componentUnitpassnot runnot runnot run
which ids are importers > the script only: a style sub-module or a raw/url/worker request is not the componentUnitpassnot runnot runnot run
packages/core/test/debarrel/rewrite.test.ts
rewrite — output shapes > `import { default as X }` is a named default; two aliases of one leaf default get two linesUnitpassnot runnot runnot run
rewrite — output shapes > a barrel imported through two different specifiers (alias and relative) is the same barrelUnitpassnot runnot runnot run
rewrite — output shapes > a default import of the barrel is rewritten only when the barrel re-exports its defaultUnitpassnot runnot runnot run
rewrite — output shapes > a forced impure barrel whose names all moved keeps a bare import so its own code still runsUnitpassnot runnot runnot run
rewrite — output shapes > a leaf path with a quote in it is escaped in the emitted importUnitpassnot runnot runnot run
rewrite — output shapes > a namespace re-export becomes `import * as`Unitpassnot runnot runnot run
rewrite — output shapes > an importer that is itself a barrel gets rewritten too (a barrel of barrels flattens one level per file)Unitpassnot runnot runnot run
rewrite — output shapes > cursed spellings: no semicolons, no spaces, comments and newlines inside the braces, unicode, string export names on both sidesUnitpassnot runnot runnot run
rewrite — output shapes > emits a high-resolution sourcemap that still maps the untouched tail of the fileUnitpassnot runnot runnot run
rewrite — output shapes > import attributes ride onto every leaf importUnitpassnot runnot runnot run
rewrite — output shapes > named imports go to their leaves, one import per leaf, local names unchanged; the barrel import disappearsUnitpassnot runnot runnot run
rewrite — output shapes > returns null (no work) for a file that imports no barrel, and for a syntax errorUnitpassnot runnot runnot run
rewrite — output shapes > the skip policy leaves an import with a listed attribute key untouched — the ogygia mark stays on the barrelUnitpassnot runnot runnot run
rewrite — output shapes > two imports of the same barrel in one file are both rewritten; other imports are left byte-identicalUnitpassnot runnot runnot run
rewrite — output shapes > type-only: an `import type {}` declaration is left alone (erased, no edge); a mixed import splits, and a leaf that only gets `type` specifiers is imported `type`Unitpassnot runnot runnot run
rewrite — output shapes > untouched by design: `import * as B`, `import "barrel"`, dynamic import; a default the barrel OWNS staysUnitpassnot runnot runnot run
rewrite — output shapes > what cannot move stays on the barrel: unknown names, own names of a forced barrel, ambiguous namesUnitpassnot runnot runnot run
packages/core/test/debarrel/svelte.test.ts
rewrite_svelte > `lang="ts"` types in the script do not break the parse (satisfies, generics, `as const`)Unitpassnot runnot runnot run
rewrite_svelte > a `.svelte.ts` module goes through the plain rewriterUnitpassnot runnot runnot run
rewrite_svelte > a <style lang="scss"> the CSS parser rejects no longer skips the file; the style stays byte-identicalUnitpassnot runnot runnot run
rewrite_svelte > a barrel that re-exports a Svelte component through a nested barrel still lands on the .svelte fileUnitpassnot runnot runnot run
rewrite_svelte > a component that still cannot be parsed is reported (code and position), never skipped in silenceUnitpassnot runnot runnot run
rewrite_svelte > a region-marked import in a component is left alone under the skip policy; the unmarked one next to it movesUnitpassnot runnot runnot run
rewrite_svelte > a script AFTER the style block is rewritten at the right place (the blanking keeps every offset)Unitpassnot runnot runnot run
rewrite_svelte > blank_styles: only style content, newlines kept, a <style> string inside a script untouchedUnitpassnot runnot runnot run
rewrite_svelte > import-looking text in a template string, a comment, and the markup is never rewrittenUnitpassnot runnot runnot run
rewrite_svelte > no script, a component that imports no barrel, and a syntax error all leave the file aloneUnitpassnot runnot runnot run
rewrite_svelte > rewrites the instance script and leaves the markup byte-identicalUnitpassnot runnot runnot run
rewrite_svelte > rewrites the module script too, and both when present; attributes ride alongUnitpassnot runnot runnot run
packages/core/test/dedent.test.ts
dedent as a tag > a value spanning lines never decides the indentUnitpassnot runnot runnot run
dedent as a tag > called with a string, it is the plain dedentUnitpassnot runnot runnot run
dedent as a tag > strips the template’s own indent and the edge linesUnitpassnot runnot runnot run
dedent as a tag > values go in as a template literal would, in orderUnitpassnot runnot runnot run
packages/core/test/deferred-client.test.ts
deferred client island runtime contracts > after swap: defer:load + hydrate:visible|idle arms a SECOND schedule (no modulepreload)Unitpassnot runnot runnot run
deferred client island runtime contracts > after swap: hydrate:load after any defer → ASAP (modulepreload)Unitpassnot runnot runnot run
deferred client island runtime contracts > after swap: matching schedules → phase2 load (immediate hydrate, modulepreload eligible)Unitpassnot runnot runnot run
deferred client island runtime contracts > defer-only hole: no phase-2 hydrate scheduleUnitpassnot runnot runnot run
deferred client island runtime contracts > DOM attrs: phase-1 uses when; phase-2 reads hydrate (awake deferred region)Unitpassnot runnot runnot run
packages/core/test/deny-of.test.ts
deny_of > a 403 without x-ogygia-deny is not ogygia: a proxy, CDN or firewall answeredUnitpassnot runnot runnot run
deny_of > foreign-key names both keys: the one that signed, the one that answeredUnitpassnot runnot runnot run
deny_of > ogygia's reason, as sentUnitpassnot runnot runnot run
packages/core/test/dev-hmr.test.ts
derive_css_scope_owners > a root-level route file owns the empty scope; shared css lists every ownerUnitpassnot runnot runnot run
derive_css_scope_owners > no route owner found → empty (client treats as shared)Unitpassnot runnot runnot run
derive_css_scope_owners > reaches route files through intermediate lib modules and dedupes scopesUnitpassnot runnot runnot run
derive_css_scope_owners > survives importer cyclesUnitpassnot runnot runnot run
derive_css_scope_owners > walks importers up to route files and reports their top-level scopesUnitpassnot runnot runnot run
dev_hmr_client_source > wires scoped soft CSS HMR and hard full-reload on vite:errorUnitpassnot runnot runnot run
island_vpaths_affected_by_file > ignores unrelated lib filesUnitpassnot runnot runnot run
island_vpaths_affected_by_file > matches deleted / renamed entry components (SiteNav → SideNav stale graph)Unitpassnot runnot runnot run
island_vpaths_affected_by_file > matches host renames that keep the same island id slotUnitpassnot runnot runnot run
needs_csr_false_full_reload > does not reload island / lib components by path alone (registry decides)Unitpassnot runnot runnot run
needs_csr_false_full_reload > does not reload standalone CSS (dev-hmr joins the client graph)Unitpassnot runnot runnot run
needs_csr_false_full_reload > reloads host route shells (SSR-only under csr=false)Unitpassnot runnot runnot run
needs_island_entry_full_reload > does not reload shared .ts deps or unrelated svelteUnitpassnot runnot runnot run
needs_island_entry_full_reload > reloads registered island entry .svelte filesUnitpassnot runnot runnot run
rewrite_island_sourcemap_sources > rewrites basename-only svelte sources to the virtual module idUnitpassnot runnot runnot run
same_module_path > compares absolute paths ignoring querystringsUnitpassnot runnot runnot run
packages/core/test/devtools-bus.test.ts
devtools bus — emit + buffer > buffers in emission order with a monotonic seqUnitpassnot runnot runnot run
devtools bus — emit + buffer > rings the buffer at capacity — newest kept, oldest droppedUnitpassnot runnot runnot run
devtools bus — emit + buffer > stamps the envelope (v / seq / t / realm) on every eventUnitpassnot runnot runnot run
devtools bus — gate > is enabled in this suite (globalThis token read at import)Unitpassnot runnot runnot run
devtools bus — sampling + pause > emits nothing while pausedUnitpassnot runnot runnot run
devtools bus — sampling + pause > keeps 1-in-N for a sampled event nameUnitpassnot runnot runnot run
devtools bus — sinks > console sink honours its filterUnitpassnot runnot runnot run
devtools bus — sinks > contains a throwing sink — the framework path never breaksUnitpassnot runnot runnot run
devtools bus — sinks > delivers to a registered sink and stops after unregisterUnitpassnot runnot runnot run
devtools trace > serializes a versioned, JSON-safe traceUnitpassnot runnot runnot run
packages/core/test/devtools-cpu.test.ts
analyze_cpu > a stall between samples is not all CPUUnitpassnot runnot runnot run
analyze_cpu > adds busy time by kind, skipping idle samplesUnitpassnot runnot runnot run
analyze_cpu > attributes CPU to the island whose hydrate window it fell in, and long tasks outsideUnitpassnot runnot runnot run
analyze_cpu > names the functions, with the measuring itself left out of the top listUnitpassnot runnot runnot run
clean_file / kind_of > reads Vite dev URLsUnitpassnot runnot runnot run
packages/core/test/devtools-fp-drift.test.ts
fp drift > islands are matched by entry and their place among copies; an unchanged one is quietUnitpassnot runnot runnot run
fp drift > names the prop that differs (JSON lane): a nested path, the two valuesUnitpassnot runnot runnot run
fp drift > ogygia’s own ids are left out: only they differ → no driftUnitpassnot runnot runnot run
fp drift > the devalue lane: the prop is named by its path in the props, never a slot of the flat tableUnitpassnot runnot runnot run
packages/core/test/devtools-html-diff.test.ts
html_diff > an added attribute and an extra elementUnitpassnot runnot runnot run
html_diff > gives up gracefully on a huge rewriteUnitpassnot runnot runnot run
html_diff > identical markup (comments aside) has no hunksUnitpassnot runnot runnot run
html_diff > names exactly what changed, with contextUnitpassnot runnot runnot run
tokenize > tags and text, comments out, whitespace foldedUnitpassnot runnot runnot run
packages/core/test/devtools-page-insights.test.ts
a markup change that is only URL encoding > a note, not markup-changed (which still names a real change beside it)Unitpassnot runnot runnot run
a markup change that is only URL encoding > encoding_only: the same once decoded; a real change, or a stray %, is notUnitpassnot runnot runnot run
a page of many elements > an island with a small share is not blamed; a past-60,000 count says only the count; under 1,500 quietUnitpassnot runnot runnot run
a page of many elements > names the island holding most of them, linkedUnitpassnot runnot runnot run
a shift the dev server made > right after a component's CSS module arrived (dev): a note that it is the dev server's; on a build, notUnitpassnot runnot runnot run
a shift the dev server's CSS made is not the island's waking > dev: a shift right after a component CSS module landed is left out; a build counts itUnitpassnot runnot runnot run
a shift the dev server's CSS made is not the island's waking > dev: another island's own sheet, landing below the moved island, did not push itUnitpassnot runnot runnot run
an island that threw its server HTML away (recovered) > a script edited it first (the runtime healed it): the edit is the causeUnitpassnot runnot runnot run
an island that threw its server HTML away (recovered) > no browser script edited it before waking: a rewrite on the way or the component itself, and where to lookUnitpassnot runnot runnot run
an island that threw its server HTML away (recovered) > the same markup came back, its markers unpaired as it arrived: rewritten on the way, not ogygiaUnitpassnot runnot runnot run
an island that threw its server HTML away (recovered) > the same markup came back: no line of its blamed, its own finding; one that drew another tree keeps the lineUnitpassnot runnot runnot run
an island that threw its server HTML away (recovered) > with the dev server reading its sources: the likeliest line, and the fix for itUnitpassnot runnot runnot run
an island's effects are its own work > effects run after hydrate() returns: the long task is the island's, the next island waited behind itUnitpassnot runnot runnot run
analyze_page > a bare attribute on a custom element (server "", browser "true") is named as the causeUnitpassnot runnot runnot run
analyze_page > a batch request that did not carry its holes is named with what answered and what it costUnitpassnot runnot runnot run
analyze_page > a browser with no layout-shift timing: a wake's shift is estimated from the island's box, said soUnitpassnot runnot runnot run
analyze_page > a browser with no long-task timing: the stalls are frames drawn late, said soUnitpassnot runnot runnot run
analyze_page > a build's small blocking stylesheets: the inlineStyleThreshold that takes them off the paintUnitpassnot runnot runnot run
analyze_page > a click on an island that never woke counts tooUnitpassnot runnot runnot run
analyze_page > a first byte beyond the render: on the dev server, the page compiling (a note, reload); elsewhere, before the renderUnitpassnot runnot runnot run
analyze_page > a healthy page has no findingsUnitpassnot runnot runnot run
analyze_page > a hole whose answer never came is an error, with the cause and where to lookUnitpassnot runnot runnot run
analyze_page > a hole whose fallback sat on the first screen long is named; a quick or scrolled-to one is notUnitpassnot runnot runnot run
analyze_page > a later success clears nothing it should not: a wake-at-load island asleep 3 s after loadUnitpassnot runnot runnot run
analyze_page > a preload the browser could not use, and paid for twice: named, with the fix for its kindUnitpassnot runnot runnot run
analyze_page > a queued island names the islands that ran ahead of itUnitpassnot runnot runnot run
analyze_page > a server transform’s restore gone wrong: a host upgraded first, and a mismatch, each named with its islandUnitpassnot runnot runnot run
analyze_page > a slow first byte on a page the last profile found prerendered: a file being served, not a render to profileUnitpassnot runnot runnot run
analyze_page > a slow in-app navigation: its split, the islands after it, the fix for the part that cost most; a quick one neverUnitpassnot runnot runnot run
analyze_page > a slow navigation’s fetch, split by the page request’s timing: the server, a heavy page, a prefetchUnitpassnot runnot runnot run
analyze_page > an eager island that draws nothing on this screen: not "below the first screen", the screens that show itUnitpassnot runnot runnot run
analyze_page > an interaction island clicked before it woke is by design, not a lost clickUnitpassnot runnot runnot run
analyze_page > an island whose own file was gone: the page outlived its build — woke on the current code, or stayed asleepUnitpassnot runnot runnot run
analyze_page > an island’s code: a barrel imported whole, and one module most of its weightUnitpassnot runnot runnot run
analyze_page > blocking files matter only when they held the paint backUnitpassnot runnot runnot run
analyze_page > content-named files fetched again: revalidated (a round trip each) and downloaded on a reload, heaviest named firstUnitpassnot runnot runnot run
analyze_page > eager islands below the fold, but not lazy onesUnitpassnot runnot runnot run
analyze_page > eager islands below the fold: their own bytes (each island once), a warning past 50 KBUnitpassnot runnot runnot run
analyze_page > held for a failing first-screen island: not ogygia’s wait, and queued names what it was held forUnitpassnot runnot runnot run
analyze_page > held with nothing ahead: the scheduler’s own wait is named, and only thatUnitpassnot runnot runnot run
analyze_page > long tasks outside hydration are the page scriptsUnitpassnot runnot runnot run
analyze_page > pins each measured problem on its islandUnitpassnot runnot runnot run
analyze_page > the first byte, explained (slow-ttfb): each step before it, the server’s Server-Timing, the fix for the costliestUnitpassnot runnot runnot run
analyze_page > the first paint, explained (slow-fcp): first byte, the HTML, what blocked it, the rest; the fix for the costliestUnitpassnot runnot runnot run
analyze_page > the largest paint in an island that rendered it again on hydrationUnitpassnot runnot runnot run
analyze_page > the largest paint, explained (slow-lcp): the element, its island, its four parts, the fix for the most of itUnitpassnot runnot runnot run
analyze_page > the Page tab quotes the profiler’s last run of the page (devtools only), or says how to get oneUnitpassnot runnot runnot run
analyze_page > the slowest interaction, explained (slow-interaction) > a good INP says nothing; an INP without the interaction keeps the bare vitalUnitpassnot runnot runnot run
analyze_page > the slowest interaction, explained (slow-interaction) > a handler that forced layout: how much of it, and the read-then-write fix; a little neverUnitpassnot runnot runnot run
analyze_page > the slowest interaction, explained (slow-interaction) > another origin’s listener keeps its own nameUnitpassnot runnot runnot run
analyze_page > the slowest interaction, explained (slow-interaction) > it waited behind a script in a long frame: the script, its function and what ran itUnitpassnot runnot runnot run
analyze_page > the slowest interaction, explained (slow-interaction) > it waited behind an island hydrating: named, and the fix is about waking laterUnitpassnot runnot runnot run
analyze_page > the slowest interaction, explained (slow-interaction) > its own handler: the island clicked, the button, the phases, and the island's handler (Svelte's dispatcher never named)Unitpassnot runnot runnot run
analyze_page > the slowest interaction, explained (slow-interaction) > sampled: the handler’s function by name; its line only when the frames were source-mappedUnitpassnot runnot runnot run
analyze_page > the slowest interaction, explained (slow-interaction) > sampled: the wait names the function that held the thread, and what ran itUnitpassnot runnot runnot run
analyze_page > the slowest interaction, explained (slow-interaction) > the paint cost most: said so; a key press outside any island reads as suchUnitpassnot runnot runnot run
analyze_page > the worst shifts, explained (shift-cause): the burst, what moved, the cause just before, its fixUnitpassnot runnot runnot run
dev compile on a first request > late even without the compile, or not on the dev server: still a warning, said plainlyUnitpassnot runnot runnot run
dev compile on a first request > late only because the dev server compiled its code: a note that says soUnitpassnot runnot runnot run
dev compile on a first request > slow module: the compile namedUnitpassnot runnot runnot run
first_difference > ignores re-anchored block markers and finds the visible changeUnitpassnot runnot runnot run
first_difference > ignores the runtime's own marks on a nested island, and finds the real change past themUnitpassnot runnot runnot run
forced layout > the CPU trace's place, the island named once when the time is its own codeUnitpassnot runnot runnot run
forced layout > the runtime task is put on the island whose hydration overlaps it most; a page script by its fileUnitpassnot runnot runnot run
forced layout > under 30 ms for each: quietUnitpassnot runnot runnot run
images far below the first screen that loaded at start > names each file once (×N for copies), how far down, the island; biggest firstUnitpassnot runnot runnot run
images far below the first screen that loaded at start > the ones whose download overlapped a slow hero are named in its LCP splitUnitpassnot runnot runnot run
images far below the first screen that loaded at start > under 100 KB in all: quietUnitpassnot runnot runnot run
images sent far bigger than shown > a small total waste is quietUnitpassnot runnot runnot run
images sent far bigger than shown > names the image, its sizes and the bytes nobody sees; the biggest waste firstUnitpassnot runnot runnot run
images the browser could hold no room for > a note; a warning once the page movedUnitpassnot runnot runnot run
kept out of the back/forward cache > names who adds an 'unload' listener, and the browser's reasons when Back did not restoreUnitpassnot runnot runnot run
kept out of the back/forward cache > the profiler's run saw the page answer no-store: said, with or without an unload listenerUnitpassnot runnot runnot run
listeners that hold scrolling > names each with its owner, event and element; passive: false saidUnitpassnot runnot runnot run
one package, two copies on the dev server > a package pre-bundled and served raw from its folder: named once, with its raw files; the pre-bundle alone is quietUnitpassnot runnot runnot run
one package, two copies on the dev server > the pre-bundled packages from the dev server's metadata keys, a dependency's dependency by its own nameUnitpassnot runnot runnot run
preloaded, never used > names each file, what it is, and why nothing used itUnitpassnot runnot runnot run
rate > uses the web-vitals linesUnitpassnot runnot runnot run
scrolling stalled > a frame or two of 60 ms: quietUnitpassnot runnot runnot run
scrolling stalled > names the frames, the worst, and the script that held them most with what ran itUnitpassnot runnot runnot run
text kept invisible by its font > a font-display auto face whose file landed after the first paint; swap, or early, quietUnitpassnot runnot runnot run
text kept invisible by its font > Safari's way: no paint counted until the text shows — the font landing just before a late first paint held itUnitpassnot runnot runnot run
text sent uncompressed > names each file, its kind and size; a warning past 100 KBUnitpassnot runnot runnot run
text sent uncompressed > the page's own HTML, firstUnitpassnot runnot runnot run
text sent uncompressed > under 20 KB in all, or on the dev server: nothingUnitpassnot runnot runnot run
the dock in its own measurement > open as the page loaded, the first paint just after it: said, the browser named; a paint long after, or no dock, quietUnitpassnot runnot runnot run
the font the largest paint waited for > a text paint right after a hidden face landed names it; swap, an image paint, or a paint long after, does notUnitpassnot runnot runnot run
the font the largest paint waited for > Safari's way: the first paint is the largest, just after the font landed, long after the HTML — the font'sUnitpassnot runnot runnot run
the font the largest paint waited for > the LCP's split and parts carry the font waitUnitpassnot runnot runnot run
the largest paint marked lazy > named, with its file and island; a largest paint without it quietUnitpassnot runnot runnot run
without_comments > drops every comment and keeps the restUnitpassnot runnot runnot run
without_runtime_marks > drops only the empty marks the runtime setsUnitpassnot runnot runnot run
packages/core/test/devtools-switch.test.ts
the devtools switch > is on only for the switch cookie, not the old launcher clickUnitpassnot runnot runnot run
the devtools switch > reads on / off from the URL, nothing otherwiseUnitpassnot runnot runnot run
the devtools switch > the address drops only the switch paramUnitpassnot runnot runnot run
packages/core/test/devtools-third-party.test.ts
a browser that hides other origins' sizes: scripts counted, never called 0 KBUnitpassnot runnot runnot run
an awake island with an empty children slot is namedUnitpassnot runnot runnot run
by origin: kinds, bytes, blocking, runtime-loaded, main-thread timeUnitpassnot runnot runnot run
findings: the heaviest with a fix per kind, the blocking origin, the island a third party could have editedUnitpassnot runnot runnot run
packages/core/test/disclose-version.test.ts
another runtime's version joins the same SetUnitpassnot runnot runnot run
nothing is written without a defined version (a plain import of the module)Unitpassnot runnot runnot run
the plugin reads the installed package versionUnitpassnot runnot runnot run
the version the plugin defined joins window.__ogygia.vUnitpassnot runnot runnot run
packages/core/test/document-assembly.test.ts
assemble > drops the body injection on a chunk with no </body> (streamed head chunk)Unitpassnot runnot runnot run
assemble > drops the head injection on a chunk with no </head> (streamed tail chunk)Unitpassnot runnot runnot run
assemble > never runs String.replace on the document (an og.$ factory source with `$$` survives)Unitpassnot runnot runnot run
assemble > places the head injection before </head> and the body injection before </body>Unitpassnot runnot runnot run
assemble > returns the very same string when there is nothing to injectUnitpassnot runnot runnot run
assemble > swaps in a rewritten head slice (the deduped head) without touching the bodyUnitpassnot runnot runnot run
budget on a multi-MB document > assemble never calls replace/split/match on the big stringUnitpassnot runnot runnot run
budget on a multi-MB document > locate touches the string with exactly two bounded scansUnitpassnot runnot runnot run
budget on a multi-MB document > the csr probe reads only the last 64 KB before </body>, not the documentUnitpassnot runnot runnot run
locate > finds both injection pointsUnitpassnot runnot runnot run
locate > reports -1 for a chunk without the point (streamed head / body chunks)Unitpassnot runnot runnot run
locate > takes the LAST </body> — a script string mentioning it does not fool the tailUnitpassnot runnot runnot run
packages/core/test/document-seed.test.ts
document() page seed > devalue lane: a Date in the data keeps devalue, no format attributeUnitpassnot runnot runnot run
document() page seed > JSON lane: a plain pageState goes out as JSON and parses backUnitpassnot runnot runnot run
packages/core/test/document-tail.test.ts
DocumentTail > a tail with only holes is not empty; one with none renders no record scriptUnitpassnot runnot runnot run
DocumentTail > an empty hint list adds nothing; the tag is built once at render, never parsed from markupUnitpassnot runnot runnot run
DocumentTail > document_tail() is null until a reader is installedUnitpassnot runnot runnot run
DocumentTail > hints dedupe per href (first wins), props dedupe per fingerprint, render is hints then propsUnitpassnot runnot runnot run
DocumentTail > hole() records endpoint + sidecar per identity (first wins), rendered last as ONE escaped JSON scriptUnitpassnot runnot runnot run
Region.svelte × the tail > a server island that hydrates: its graph rides the tail, its FETCH preload stays in the headUnitpassnot runnot runnot run
Region.svelte × the tail > a visible island: its graph rides the tail like any wake (the runtime preloads it on wake)Unitpassnot runnot runnot run
Region.svelte × the tail > Kit page pass + tail: graph and sidecar go to the tail, nothing in the head or inlineUnitpassnot runnot runnot run
Region.svelte × the tail > no tail (a test / standalone render): graph in the head, sidecar adjacent and keyedUnitpassnot runnot runnot run
Region.svelte × the tail > outside the page pass the same server island keeps its graph in the headUnitpassnot runnot runnot run
Region.svelte × the tail > tail installed but NOT a Kit page pass (an ogygia render root): head + adjacent, tail untouchedUnitpassnot runnot runnot run
Region.svelte × the tail > three islands: identical ones share a sidecar, the shared entry is listed onceUnitpassnot runnot runnot run
packages/core/test/dom-stub-observer.test.ts
dom stub MutationObserver > a move is a removal, then an additionUnitpassnot runnot runnot run
dom stub MutationObserver > attributes are refused, not silently missedUnitpassnot runnot runnot run
dom stub MutationObserver > child list of the target only, unless subtreeUnitpassnot runnot runnot run
dom stub MutationObserver > text through `data`, delivered in a microtask; nothing after disconnectUnitpassnot runnot runnot run
packages/core/test/early-holes-csp.test.ts
the early start script under a CSP > 'none' stays none: no script runs there, ours neitherUnitpassnot runnot runnot run
the early start script under a CSP > 'strict-dynamic' takes the hash too (a hashed script is trusted there)Unitpassnot runnot runnot run
the early start script under a CSP > 'unsafe-inline' beside a hash is off already: the hash is addedUnitpassnot runnot runnot run
the early start script under a CSP > 'unsafe-inline' without a nonce or hash already runs it: left alone (a hash would turn it off)Unitpassnot runnot runnot run
the early start script under a CSP > a <meta http-equiv> policy in the head gets it, the rest of the head untouchedUnitpassnot runnot runnot run
the early start script under a CSP > a head with no policy meta is returned as isUnitpassnot runnot runnot run
the early start script under a CSP > a nonce policy takes the hash beside its nonceUnitpassnot runnot runnot run
the early start script under a CSP > a policy that has the hash already is unchangedUnitpassnot runnot runnot run
the early start script under a CSP > a policy with no script rule (no default either) is left aloneUnitpassnot runnot runnot run
the early start script under a CSP > every policy of a header that carries several gets itUnitpassnot runnot runnot run
the early start script under a CSP > its data block is JSON, which no policy needs a hash forUnitpassnot runnot runnot run
the early start script under a CSP > its hash is of the exact text the head emits for it, on any pageUnitpassnot runnot runnot run
the early start script under a CSP > no policy: nothing to addUnitpassnot runnot runnot run
the early start script under a CSP > no script-src: the default-src it falls back to gets the hashUnitpassnot runnot runnot run
the early start script under a CSP > script-src that would block it gets the hashUnitpassnot runnot runnot run
the early start script under a CSP > script-src-elem rules script elements: it gets the hash, script-src staysUnitpassnot runnot runnot run
packages/core/test/emit-gate.test.ts
island_host_loaded > an island with no recorded host (bridge-registered library island) is always emittedUnitpassnot runnot runnot run
island_host_loaded > emits an island whose host the server leg transformedUnitpassnot runnot runnot run
island_host_loaded > skips an island whose host nothing in the server bundle importsUnitpassnot runnot runnot run
island_host_loaded > without a handoff (standalone / client-only build) every prescanned island is emittedUnitpassnot runnot runnot run
the handoff file > lives under Kit outDir and round-trips the server leg setUnitpassnot runnot runnot run
the handoff file > tolerates a malformed handoff (nothing gated, never a throw on shape)Unitpassnot runnot runnot run
packages/core/test/entry-locations.test.ts
entryLocation: the handoff read at render time > a handoff from before hashing (no entries), or a malformed one → null (the identity is served)Unitpassnot runnot runnot run
entryLocation: the handoff read at render time > an identity the build mapped → its locationUnitpassnot runnot runnot run
entryLocation: the handoff read at render time > the client leg knows no location; in dev the identity is the locationUnitpassnot runnot runnot run
Region writes the identity as `entry` and the location as `src` > a mapped island: `entry` stays its identity, `src` is its locationUnitpassnot runnot runnot run
Region writes the identity as `entry` and the location as `src` > an unmapped island (dev, old handoff): no `src` at all — the runtime loads the identityUnitpassnot runnot runnot run
Region writes the identity as `entry` and the location as `src` > no location in the handoff: no `src` (the browser finds it in the build’s location map)Unitpassnot runnot runnot run
Region writes the identity as `entry` and the location as `src` > the fingerprint is the identity’s: a new location (a new build) never changes itUnitpassnot runnot runnot run
the collector keys every map by IDENTITY, the location being a hashed file > an entry's own file is never listed as its own dependencyUnitpassnot runnot runnot run
the collector keys every map by IDENTITY, the location being a hashed file > js / css / page / remotes are keyed by the identity, never the hashed nameUnitpassnot runnot runnot run
the collector keys every map by IDENTITY, the location being a hashed file > the runtime's static imports ride under the runtime's identityUnitpassnot runnot runnot run
the collector keys every map by IDENTITY, the location being a hashed file > with entries given, a chunk that merely LOOKS like a stable name is not an entryUnitpassnot runnot runnot run
the collector keys every map by IDENTITY, the location being a hashed file > without entries (a bundle from before hashing): a stable-named facade is its own identity, as beforeUnitpassnot runnot runnot run
the document tail > an island's recorded JS closure leads with its location — the file the profiler weighsUnitpassnot runnot runnot run
the document tail > carries the locations it was told (first wins), and is not empty for them aloneUnitpassnot runnot runnot run
the driver: entries emitted by name, mapped, and shimmed > every island and the runtime are emitted by NAME (hashed by the bundler), never a fixed file nameUnitpassnot runnot runnot run
the driver: entries emitted by name, mapped, and shimmed > identity → location for each, from the bundler’s final namesUnitpassnot runnot runnot run
the driver: entries emitted by name, mapped, and shimmed > no runtime emitted → no runtime location; a second emit starts cleanUnitpassnot runnot runnot run
the driver: entries emitted by name, mapped, and shimmed > our entries get a readable, content-hashed file name; every other chunk keeps the app’s namingUnitpassnot runnot runnot run
the driver: entries emitted by name, mapped, and shimmed > the location maps name every island entry; the handoff learns the hashed one’s path; no other fileUnitpassnot runnot runnot run
the driver: entries emitted by name, mapped, and shimmed > the runtime’s file names its features, like its stable name doesUnitpassnot runnot runnot run
the island graph's `s`: locations of entries no element carries > a graph script is written for locations alone (a page whose only entry is a snippet)Unitpassnot runnot runnot run
the island graph's `s`: locations of entries no element carries > malformed `s` entries are dropped, the rest kept; garbage decodes to nothingUnitpassnot runnot runnot run
the island graph's `s`: locations of entries no element carries > no locations → no `s` key (byte-identical to the format before)Unitpassnot runnot runnot run
the island graph's `s`: locations of entries no element carries > round-trips beside the graph, which is unchangedUnitpassnot runnot runnot run
the location maps: one map, named by its content and at the one fixed name > nothing to map, no fileUnitpassnot runnot runnot run
the location maps: one map, named by its content and at the one fixed name > resolved against where it is served, both sides land where the build put themUnitpassnot runnot runnot run
the location maps: one map, named by its content and at the one fixed name > the content-hashed map: each identity → its hashed file, both relative to the mapUnitpassnot runnot runnot run
the location maps: one map, named by its content and at the one fixed name > the current build’s map: at the one fixed name, beside Kit’s version.json, outside immutable/Unitpassnot runnot runnot run
the router's warm scan: identity and location off an open tag > reads each attribute exactly, never a longer name that ends the sameUnitpassnot runnot runnot run
the runtime bootstrap (server/entry-location.ts), shared by every document path > loads the location, with the runtime identity’s static imports preloadedUnitpassnot runnot runnot run
the runtime bootstrap (server/entry-location.ts), shared by every document path > no location (dev, a handoff from before hashing): the identity itselfUnitpassnot runnot runnot run
the runtime bootstrap (server/entry-location.ts), shared by every document path > the base / assets prefix applies to the location and every preloadUnitpassnot runnot runnot run
packages/core/test/flags-manifest.test.ts
collect_flag_sites — AST binding resolution > a dynamic first argument is skipped (not inventoriable)Unitpassnot runnot runnot run
collect_flag_sites — AST binding resolution > a LOCAL function named `flag` is NOT counted (a text sweep would false-positive)Unitpassnot runnot runnot run
collect_flag_sites — AST binding resolution > a module that never imports ogygia yields nothingUnitpassnot runnot runnot run
collect_flag_sites — AST binding resolution > counts calls through named imports, with names and linesUnitpassnot runnot runnot run
collect_flag_sites — AST binding resolution > follows a NAMESPACE import (og.flag)Unitpassnot runnot runnot run
collect_flag_sites — AST binding resolution > follows a RENAMED import (a text sweep would miss this)Unitpassnot runnot runnot run
collect_flag_sites — AST binding resolution > svelte: flags inside <script> blocks carry FILE line numbersUnitpassnot runnot runnot run
flags_manifest > dedupes the two build legs and sorts stablyUnitpassnot runnot runnot run
packages/core/test/fn-transport.test.ts
fn kind (og.$ runtime half) > a BARE function is never claimed by the fn kind (boundary law preserved)Unitpassnot runnot runnot run
fn kind (og.$ runtime half) > a revived fn can cross a FURTHER boundary (re-branded)Unitpassnot runnot runnot run
fn kind (og.$ runtime half) > bound captures participate in the hub: a store capture reunites (shared live state)Unitpassnot runnot runnot run
fn kind (og.$ runtime half) > registry miss + NO source → throws naming the tagUnitpassnot runnot runnot run
fn kind (og.$ runtime half) > registry MISS + source on the wire → rebuilt from the payload (the prod fallback)Unitpassnot runnot runnot run
fn kind (og.$ runtime half) > round-trip: handle crosses, client rebinds captures, call worksUnitpassnot runnot runnot run
fn kind (og.$ runtime half) > unregistered tag at the call site throws a located errorUnitpassnot runnot runnot run
og.$ boundary assertion runtime (__og_boundary) + fn as island prop > a refusal throws AT THE MARK with the siteUnitpassnot runnot runnot run
og.$ boundary assertion runtime (__og_boundary) + fn as island prop > an og.$ fn crosses as an ISLAND PROP (fn family; snippet kind must not freeze it)Unitpassnot runnot runnot run
og.$ boundary assertion runtime (__og_boundary) + fn as island prop > legal values pass through untouched (mark-don't-wrap)Unitpassnot runnot runnot run
packages/core/test/foreign-page-read.test.ts
page reads inside a mounted MFE island > a second island (another entry) gets its own lineUnitpassnot runnot runnot run
page reads inside a mounted MFE island > covers the `$app/stores` $page subscription tooUnitpassnot runnot runnot run
page reads inside a mounted MFE island > stays silent for local islands, and for url / status / state on a foreign oneUnitpassnot runnot runnot run
page reads inside a mounted MFE island > warns once per island entry, naming the field, the entry, and the originUnitpassnot runnot runnot run
packages/core/test/fouc-css.test.ts
fouc-css collector > a module with code of its own brings every component it importsUnitpassnot runnot runnot run
fouc-css collector > a package barrel and a local barrel: the names taken, and only thoseUnitpassnot runnot runnot run
fouc-css collector > compileFoucScopedCss keeps filename-scoped outputUnitpassnot runnot runnot run
fouc-css collector > foucCssVirtualId normalizes separatorsUnitpassnot runnot runnot run
fouc-css collector > listStaticImports reads side-effect css imports and the names takenUnitpassnot runnot runnot run
fouc-css collector > raw-fallback CSS is valid: :global(...) is unwrapped, not left literalUnitpassnot runnot runnot run
fouc-css collector > walks child .svelte + plain css without emitting component JSUnitpassnot runnot runnot run
packages/core/test/fouc-scope-leak.test.ts
fouc-scoped CSS: a lake/island keeps Svelte scoping and never leaks global > a bare compile (no keepScript) of a store-referencing component is scoped tooUnitpassnot runnot runnot run
fouc-scoped CSS: a lake/island keeps Svelte scoping and never leaks global > a fallback that ships unscoped says so in the CSS, with the file name onlyUnitpassnot runnot runnot run
fouc-scoped CSS: a lake/island keeps Svelte scoping and never leaks global > BUG REPRO — bare compile of a <style lang="scss"> component ships UNSCOPEDUnitpassnot runnot runnot run
fouc-scoped CSS: a lake/island keeps Svelte scoping and never leaks global > FIX — keepScript compiles the same component to scoped selectorsUnitpassnot runnot runnot run
fouc-scoped CSS: a lake/island keeps Svelte scoping and never leaks global > FIX — preprocess (scss→css) + keepScript compiles to scoped selectorsUnitpassnot runnot runnot run
fouc-scoped CSS: a lake/island keeps Svelte scoping and never leaks global > the two scoped classes carry the SAME hash (one component, one scope)Unitpassnot runnot runnot run
fouc-scoped CSS: a lake/island keeps Svelte scoping and never leaks global > TypeScript in the MARKUP (a typed arrow) still compiles scopedUnitpassnot runnot runnot run
packages/core/test/frame-parcel.test.ts
read_parcel > a forged parcel inside a framed answer stays its contentUnitpassnot runnot runnot run
read_parcel > every split point: nothing read early, everything read once wholeUnitpassnot runnot runnot run
read_parcel > non-ASCII content: the frame counts what the decoded string countsUnitpassnot runnot runnot run
read_parcel > plain and framed parcels, then the done sentinelUnitpassnot runnot runnot run
packages/core/test/frame-store.test.ts
frame-store: dedupe > different addresses fetch independentlyUnitpassnot runnot runnot run
frame-store: dedupe > N callers on the same address share ONE fetchUnitpassnot runnot runnot run
frame-store: dedupe > resolved content is reused without refetchingUnitpassnot runnot runnot run
frame-store: eviction (no leak) > a late binder within the TTL window still catches an unbound write (prefetch semantics)Unitpassnot runnot runnot run
frame-store: eviction (no leak) > a subscribed address is NOT evicted by its own writesUnitpassnot runnot runnot run
frame-store: eviction (no leak) > a write with NO subscriber evicts after the TTL (orphan writes do not leak)Unitpassnot runnot runnot run
frame-store: lifecycle > a caller of a fetch that ended touches nothing newer at its address when it leavesUnitpassnot runnot runnot run
frame-store: lifecycle > a caller that leaves gets STALE at once; the others still get the answerUnitpassnot runnot runnot run
frame-store: lifecycle > a forced fetch takes the place of the one out: its callers join the forced oneUnitpassnot runnot runnot run
frame-store: lifecycle > a joiner of the forced fetch that leaves does not end it for its callerUnitpassnot runnot runnot run
frame-store: lifecycle > a rejected fetch propagates to every joined caller and clears in-flightUnitpassnot runnot runnot run
frame-store: lifecycle > subscribers are notified on apply and stop after unsubscribeUnitpassnot runnot runnot run
frame-store: lifecycle > the fetch is aborted only when the LAST caller leavesUnitpassnot runnot runnot run
frame-store: renewal > a renewed capability is the address’s, for every element bound thereUnitpassnot runnot runnot run
frame-store: reservation (single-flight navigation) > a forced fetch at a reserved address takes its place: the joiners wait on it, and the batch frame is what they getUnitpassnot runnot runnot run
frame-store: reservation (single-flight navigation) > a forced fetch at a reserved address that fails fails the joiners it took on, and the batch end touches nothingUnitpassnot runnot runnot run
frame-store: reservation (single-flight navigation) > a forced fetch that lands first settles the joiners of the reservation with its frameUnitpassnot runnot runnot run
frame-store: reservation (single-flight navigation) > ensure() JOINS a reservation instead of fetching; write() fulfils itUnitpassnot runnot runnot run
frame-store: reservation (single-flight navigation) > release() fails an undelivered reservation so the binder falls back to its own fetchUnitpassnot runnot runnot run
frame-store: reservation (single-flight navigation) > release() is a no-op once the frame has landedUnitpassnot runnot runnot run
frame-store: reservation (single-flight navigation) > reserve() is a no-op when content or a fetch is already presentUnitpassnot runnot runnot run
frame-store: reservation (single-flight navigation) > the last joiner leaving a reservation lets it go, and a later binder still joins the batchUnitpassnot runnot runnot run
frame-store: staleness > a slow response that started earlier cannot overwrite a newer oneUnitpassnot runnot runnot run
frame-store: staleness > drops a write older than what was appliedUnitpassnot runnot runnot run
packages/core/test/head-links-dedupe.test.ts
dedupe_head_links · modulepreload > dedupes across interleaved per-island blocks (the real emission shape)Unitpassnot runnot runnot run
dedupe_head_links · modulepreload > dedupes the low-priority hints every island emits (two islands, shared deps)Unitpassnot runnot runnot run
dedupe_head_links · modulepreload > drops same-href duplicates, keeping the firstUnitpassnot runnot runnot run
dedupe_head_links · modulepreload > first occurrence wins regardless of attributes (no priority arbitration: every hint is low)Unitpassnot runnot runnot run
dedupe_head_links · modulepreload > handles single-quoted attributes and attribute order varianceUnitpassnot runnot runnot run
dedupe_head_links · modulepreload > keeps distinct hrefs and links of other kinds untouchedUnitpassnot runnot runnot run
dedupe_head_links · modulepreload > never matches an HTML-escaped (documented) tag in proseUnitpassnot runnot runnot run
dedupe_head_links · one pass > handles both families in one document in one callUnitpassnot runnot runnot run
dedupe_head_links · one pass > is the same string object on a head with no <link> at all (cheap probe)Unitpassnot runnot runnot run
dedupe_head_links · stylesheet > a link with no href is left aloneUnitpassnot runnot runnot run
dedupe_head_links · stylesheet > a sheet and a hint with the same href are two different linksUnitpassnot runnot runnot run
dedupe_head_links · stylesheet > drops a Kit copy of a sheet the region pass already linked (Kit links after the rendered head)Unitpassnot runnot runnot run
dedupe_head_links · stylesheet > drops a region copy when Kit linked first — whichever comes first winsUnitpassnot runnot runnot run
dedupe_head_links · stylesheet > leaves distinct hrefs and <style> untouchedUnitpassnot runnot runnot run
dedupe_head_links · stylesheet > same href linked N times by N identical islands collapses to oneUnitpassnot runnot runnot run
packages/core/test/head-mark.test.ts
with MutationObserver > a record handed to the observer before the step is read still countsUnitpassnot runnot runnot run
with MutationObserver > stop() ends the mark: nothing is noted after it, and nothing observes the headUnitpassnot runnot runnot run
with MutationObserver > the record makes the added elements the island’s and retires the page copyUnitpassnot runnot runnot run
with MutationObserver > what the step added, in head order, and not what it moved or took backUnitpassnot runnot runnot run
without MutationObserver > a record handed to the observer before the step is read still countsUnitpassnot runnot runnot run
without MutationObserver > stop() has nothing to end: the copy decidesUnitpassnot runnot runnot run
without MutationObserver > the record makes the added elements the island’s and retires the page copyUnitpassnot runnot runnot run
without MutationObserver > what the step added, in head order, and not what it moved or took backUnitpassnot runnot runnot run
packages/core/test/head-presence.test.ts
page_declares_dev_hmr_script > distinguishes a real tag from a code mentionUnitpassnot runnot runnot run
page_declares_router_meta > is FALSE for an escaped code-block mention (the changelog case)Unitpassnot runnot runnot run
page_declares_router_meta > is FALSE when a fenced block splits the tag across highlighter spansUnitpassnot runnot runnot run
page_declares_router_meta > is FALSE with no mention at allUnitpassnot runnot runnot run
page_declares_router_meta > is TRUE for a real author-authored element (page wins — feature preserved)Unitpassnot runnot runnot run
page_declares_router_meta > is TRUE regardless of attribute order or quote styleUnitpassnot runnot runnot run
page_declares_runtime_script > is FALSE for an escaped/code mentionUnitpassnot runnot runnot run
page_declares_runtime_script > is FALSE when only the SCRIPT BODY (inline JS) references the attributeUnitpassnot runnot runnot run
page_declares_runtime_script > is TRUE for the real bootstrap tag Region emitsUnitpassnot runnot runnot run
page_declares_speculation_rules > distinguishes a real tag from a code mentionUnitpassnot runnot runnot run
runtime_first — before all of the page’s JavaScript, not first in the head > a modulepreload counts as JavaScript: the runtime goes before it tooUnitpassnot runnot runnot run
runtime_first — before all of the page’s JavaScript, not first in the head > does not mistake a prose mention or an inline script body for the tagUnitpassnot runnot runnot run
runtime_first — before all of the page’s JavaScript, not first in the head > injects the tag there when the page has none (island-less page, router on)Unitpassnot runnot runnot run
runtime_first — before all of the page’s JavaScript, not first in the head > inner head content with no <head> tag (a routeless document): before its first scriptUnitpassnot runnot runnot run
runtime_first — before all of the page’s JavaScript, not first in the head > keeps stylesheets and the LCP image preload AHEAD of it — only JavaScript comes afterUnitpassnot runnot runnot run
runtime_first — before all of the page’s JavaScript, not first in the head > leads the scripts when no charset declaration opens the headUnitpassnot runnot runnot run
runtime_first — before all of the page’s JavaScript, not first in the head > moves the runtime’s own modulepreload hints WITH it, as one unitUnitpassnot runnot runnot run
runtime_first — before all of the page’s JavaScript, not first in the head > moves the tag an island page emitted to just before the app template’s first scriptUnitpassnot runnot runnot run
runtime_first — before all of the page’s JavaScript, not first in the head > returns the same string when the tag is already first, or there is nothing to placeUnitpassnot runnot runnot run
runtime_first — before all of the page’s JavaScript, not first in the head > with no JavaScript in the head, it goes last in the headUnitpassnot runnot runnot run
packages/core/test/hole-graph.test.ts
no graph in the head: nothing addedUnitpassnot runnot runnot run
the head carries its islands’ region CSS too, as written, and nothing elseUnitpassnot runnot runnot run
the head graph scripts merge into one, their URLs root-absoluteUnitpassnot runnot runnot run
packages/core/test/hole-urls.test.ts
absolutize_hole_html > is a no-op for HTML without regions or region-css linksUnitpassnot runnot runnot run
absolutize_hole_html > keeps Kit base when the endpoint lives under oneUnitpassnot runnot runnot run
absolutize_hole_html > leaves absolute and foreign (federation) entries aloneUnitpassnot runnot runnot run
absolutize_hole_html > resolves a nested hole endpoint, keeping the attribute escaping of its queryUnitpassnot runnot runnot run
absolutize_hole_html > resolves a relative island entry against the endpoint URL → root-absoluteUnitpassnot runnot runnot run
absolutize_hole_html > resolves an island’s location (`src`) beside its identity — left relative, it imported `/<page>/_app/…`Unitpassnot runnot runnot run
absolutize_hole_html > rewrites region-css link hrefs and nothing else in the markupUnitpassnot runnot runnot run
packages/core/test/html-held-open.test.ts
defer_keys > names each streamed id by its page.data key (one level down too), from the document or the seed aloneUnitpassnot runnot runnot run
explain_held_open > decoys: a short stream, a paint that came with the end, islands that hydrated before the endUnitpassnot runnot runnot run
explain_held_open > nothing known of the stream: a large HTML is its download; else say what usually holds itUnitpassnot runnot runnot run
explain_held_open > the browser: painted early, the HTML kept coming, every island hydrated after its end — named with the key that held itUnitpassnot runnot runnot run
explain_held_open > the server alone (no visit): the tail left long after the rest, held by a keyUnitpassnot runnot runnot run
stream_tail > splits at the longest pause and names what settled in the tailUnitpassnot runnot runnot run
packages/core/test/hydration-attr-changes.test.ts
apply_attr_rules > a removed attribute is matched by its old valueUnitpassnot runnot runnot run
apply_attr_rules > by tag, name and new value; exact strings and patternsUnitpassnot runnot runnot run
apply_attr_rules > no rules: nothing ignoredUnitpassnot runnot runnot run
attr_changes > a changed valueUnitpassnot runnot runnot run
attr_changes > each attribute a custom element set, added, removed or changedUnitpassnot runnot runnot run
attr_changes > text or elements that differ are not attributes onlyUnitpassnot runnot runnot run
attr_changes > the same attributes in another order: attributes only, nothing to nameUnitpassnot runnot runnot run
packages/core/test/import-again.test.ts
failed_import_url > names none for Safari, an evaluation error, another origin or a non-http URLUnitpassnot runnot runnot run
failed_import_url > reads the URL from Chromium and Firefox messagesUnitpassnot runnot runnot run
failed_import_url > tells a failed load from a module that threw, in every engine’s wording (#383)#383Unitpassnot runnot runnot run
import_again > a known file whose module threw (not a download) is not asked for again (#383)#383Unitpassnot runnot runnot run
import_again > after a failed download, asks for the same file under a new URL each timeUnitpassnot runnot runnot run
import_again > loads normally while nothing failedUnitpassnot runnot runnot run
import_again > when the failure names no URL (Safari) but the caller knows the file, asks for it under a new URL (#383)#383Unitpassnot runnot runnot run
import_again > when the failure names no URL (Safari), tries the plain load againUnitpassnot runnot runnot run
import_again > with flights({ retry: download }): one dropped download is invisible to the callerUnitpassnot runnot runnot run
retry_url > adds the retry mark, keeping the rest of the URLUnitpassnot runnot runnot run
packages/core/test/injected-import-consumer-resolve.test.ts
ogygia injected imports resolve to ogygia's own files, without this.resolve > does not depend on the importer (same result from the app root)Unitpassnot runnot runnot run
ogygia injected imports resolve to ogygia's own files, without this.resolve > ogygia/internal from a sub-package host resolves directlyUnitpassnot runnot runnot run
ogygia injected imports resolve to ogygia's own files, without this.resolve > ogygia/internal/server likewiseUnitpassnot runnot runnot run
ogygia injected imports resolve to ogygia's own files, without this.resolve > resolves even when `root` is unset (throwaway instance whose configResolved never ran)Unitpassnot runnot runnot run
ogygia injected imports resolve to ogygia's own files, without this.resolve > the resolved file actually exists on diskUnitpassnot runnot runnot run
packages/core/test/is-ogygia-page.test.ts
isOgygiaPage — server leg > is false on a csr=true route (Kit hydrates the whole document)Unitpassnot runnot runnot run
isOgygiaPage — server leg > is the exact inverse of the csr fact for the same routeUnitpassnot runnot runnot run
isOgygiaPage — server leg > is true on a csr=false route (an ogygia page)Unitpassnot runnot runnot run
isOgygiaPage — server leg > off-request (no page — getRequestEvent throws) is a safe false-csr → trueUnitpassnot runnot runnot run
packages/core/test/island-closure-alias.test.ts
island closure walk follows app aliases > a helper reached through a `kit.alias` import is island code after prescanUnitpassnot runnot runnot run
island closure walk follows app aliases > a RegExp alias (Kit’s shape for `key/*`) is followed tooUnitpassnot runnot runnot run
island closure walk follows app aliases > the marked script helper leaves the client transform importing the SHIM, not Kit’s `$app/state`Unitpassnot runnot runnot run
packages/core/test/island-deps.test.ts
collect_inline_css > keeps the text of sheets under the threshold, keyed by their public hrefUnitpassnot runnot runnot run
collect_inline_css > over the threshold, not an asset, missing, or able to close its own <style>: linked, not inlinedUnitpassnot runnot runnot run
collect_inline_css > the threshold is Kit’s unit (String.length, strictly smaller), and 0 / absent means never inlineUnitpassnot runnot runnot run
collect_inline_css > the virtual module exposes islandCssInline on every leg (null where nothing is kept)Unitpassnot runnot runnot run
collectIslandDepModulepreloads > collects CSS from the facade + dep chunks (viteMetadata.importedCss)Unitpassnot runnot runnot run
collectIslandDepModulepreloads > dedupes cycles and skips the facade itselfUnitpassnot runnot runnot run
collectIslandDepModulepreloads > ignores assets; the runtime is recorded only under its EXACT name (a phantom import skipped)Unitpassnot runnot runnot run
collectIslandDepModulepreloads > interactivity > a chunk’s heaviest named modules with their bytes, a package summed, and the chunk totalUnitpassnot runnot runnot run
collectIslandDepModulepreloads > interactivity > an await in the markup is a value that lands after the wake (a live query, a promise)Unitpassnot runnot runnot run
collectIslandDepModulepreloads > interactivity > counts handlers / state / effects / binds / actions across the closure, one file onceUnitpassnot runnot runnot run
collectIslandDepModulepreloads > interactivity > every chunk the build emitted is summarized, not only the ones islands pullUnitpassnot runnot runnot run
collectIslandDepModulepreloads > interactivity > no reader → no facts; a pure-markup island reads as zero everywhereUnitpassnot runnot runnot run
collectIslandDepModulepreloads > interactivity > state another island can change: a context read, a rune module importUnitpassnot runnot runnot run
collectIslandDepModulepreloads > interactivity > the lines that draw differently in the browser: the app's and the site kit's, never another package'sUnitpassnot runnot runnot run
collectIslandDepModulepreloads > interactivity > what is inside each chunk: app files first, packages named, the runtimes plainly, cappedUnitpassnot runnot runnot run
collectIslandDepModulepreloads > interactivity > with the bundler’s sizes, the heaviest are named first (a big file is never hidden in "+N more")Unitpassnot runnot runnot run
collectIslandDepModulepreloads > page-keys map > a dynamically-imported page reader contributes its keys to the parent seedUnitpassnot runnot runnot run
collectIslandDepModulepreloads > page-keys map > a non-reader has no page_keys entry; query suffixes are stripped for the lookupUnitpassnot runnot runnot run
collectIslandDepModulepreloads > page-keys map > a reader whose keys no module recorded → null (the page reached through unseen code)Unitpassnot runnot runnot run
collectIslandDepModulepreloads > page-keys map > an island that reads the page ONLY through a dynamic import still asks for the seedUnitpassnot runnot runnot run
collectIslandDepModulepreloads > page-keys map > an unpinned dynamically-imported reader ships all (fail-open, like a static one)Unitpassnot runnot runnot run
collectIslandDepModulepreloads > page-keys map > keys union across the facade and a dep chunk, sortedUnitpassnot runnot runnot run
collectIslandDepModulepreloads > page-keys map > one unpinned module → null (ship all)Unitpassnot runnot runnot run
collectIslandDepModulepreloads > page-reader map > module ids with a query suffix or Windows separators still matchUnitpassnot runnot runnot run
collectIslandDepModulepreloads > page-reader map > no reader files given → every entry false (the map still lists it)Unitpassnot runnot runnot run
collectIslandDepModulepreloads > page-reader map > no shim anywhere in the closure → does not read (false, present in the map)Unitpassnot runnot runnot run
collectIslandDepModulepreloads > page-reader map > shim in a transitive dep chunk → readsUnitpassnot runnot runnot run
collectIslandDepModulepreloads > page-reader map > shim in the facade itself → readsUnitpassnot runnot runnot run
collectIslandDepModulepreloads > records the runtime chunk’s static imports (not its lazy chunks) under its URLUnitpassnot runnot runnot run
collectIslandDepModulepreloads > walks transitive static imports for og-region facadesUnitpassnot runnot runnot run
islandDepsHandoffPath > is under Kit outDir (`.svelte-kit` by default, whatever the app configured otherwise)Unitpassnot runnot runnot run
one module, two copies > a package file by its source and its build, or two installed versions, is one key; the copies say where they came fromUnitpassnot runnot runnot run
one module, two copies > only a key with two ids is a duplicate; small copies are left out; the heaviest firstUnitpassnot runnot runnot run
remotes map > a non-island chunk that imports a remote adds nothing to any islandUnitpassnot runnot runnot run
remotes map > a phantom (non-emitted) import is skipped, a cycle terminatesUnitpassnot runnot runnot run
remotes map > at scale: 3 000 chunks, 300 facades, 60 remote modules, shared + dynamic + cyclic edges — exact vs a naive reference, fastUnitpassnot runnot runnot run
remotes map > kit_remote_hash / remote_hash_of — Kit parity > .remote.js / .mjs / .cjs / .mts count; anything else is not a remoteUnitpassnot runnot runnot run
remotes map > kit_remote_hash / remote_hash_of — Kit parity > a `?query` suffix and Windows separators do not change the hashUnitpassnot runnot runnot run
remotes map > kit_remote_hash / remote_hash_of — Kit parity > a remote module id hashes by its path relative to cwd, posixUnitpassnot runnot runnot run
remotes map > kit_remote_hash / remote_hash_of — Kit parity > vectors observed on a real Kit build (`internals.id` = `${hash}/${name}`)Unitpassnot runnot runnot run
remotes map > no remote anywhere in the closure → [] (present in the map: a known entry that calls nothing)Unitpassnot runnot runnot run
remotes map > no resolver given → every entry [] (the map still lists it)Unitpassnot runnot runnot run
remotes map > remote behind a DYNAMIC import → listed (still this island’s call), not preloadedUnitpassnot runnot runnot run
remotes map > remote in a transitive STATIC dep chunk → listedUnitpassnot runnot runnot run
remotes map > remote in the facade itself → listedUnitpassnot runnot runnot run
remotes map > several remotes → every one, deduped and sorted (byte-stable handoff)Unitpassnot runnot runnot run
remotes map > the virtual module’s islandRemotes > client leg → null (unused there)Unitpassnot runnot runnot run
remotes map > the virtual module’s islandRemotes > dev → null (fail-open: no chunk closure to consult)Unitpassnot runnot runnot run
remotes map > the virtual module’s islandRemotes > prod SSR → reads the handoff’s `remotes` map, null for a missing map or unknown entryUnitpassnot runnot runnot run
packages/core/test/island-entry-recover.test.ts
island_entry_source — the foreign-hydrate contract > __og_hydrate takes options and hands them to the producer’s helper with this componentUnitpassnot runnot runnot run
island_entry_source — the foreign-hydrate contract > still exports the unmounter and the component default; the foreign exports sit after the markUnitpassnot runnot runnot run
island_entry_source — the foreign-hydrate contract > the helper forwards recover:false to svelte, nothing otherwise, and re-checks the envelope every callUnitpassnot runnot runnot run
packages/core/test/island-graph.test.ts
island graph — a placed island > an island with no chunks of its own (dev) carries no graph scriptUnitpassnot runnot runnot run
island graph — a placed island > wake (min-width: 600px): graph data, no modulepreload tagUnitpassnot runnot runnot run
island graph — a placed island > wake idle: graph data, no modulepreload tagUnitpassnot runnot runnot run
island graph — a placed island > wake interaction: graph data, no modulepreload tagUnitpassnot runnot runnot run
island graph — a placed island > wake load: graph data, no modulepreload tagUnitpassnot runnot runnot run
island graph — a placed island > wake visible: graph data, no modulepreload tagUnitpassnot runnot runnot run
island graph — encode / decode > malformed text decodes to nothing, never throwsUnitpassnot runnot runnot run
island graph — encode / decode > round-trips, naming each shared chunk onceUnitpassnot runnot runnot run
island graph — encode / decode > the script cannot be broken out ofUnitpassnot runnot runnot run
island graph — the document tail > one script for the page, one list per entry (first wins)Unitpassnot runnot runnot run
preload is gone > the key is a build error that says whyUnitpassnot runnot runnot run
preload is gone > the minted virtual module no longer exports a policyUnitpassnot runnot runnot run
packages/core/test/island-ownership.test.ts
server-island host legs (the compiler contract the registry depends on) > already-transformed output does not conjure a phantom island from the fallback snippetUnitpassnot runnot runnot run
server-island host legs (the compiler contract the registry depends on) > csr=false CLIENT leg: stub import (never the wrapper), island still carries wrapper sourceUnitpassnot runnot runnot run
server-island host legs (the compiler contract the registry depends on) > SSR leg: wrapper import + island registered WITH wrapper sourceUnitpassnot runnot runnot run
packages/core/test/island-scan-entries.test.ts
island_scan_entries — crawl roots for Vite’s own dep scanner > a lake and a server island are not entries — neither is client codeUnitpassnot runnot runnot run
island_scan_entries — crawl roots for Vite’s own dep scanner > entries are real, absolute, existing source files — never a bare package, query or virtual idUnitpassnot runnot runnot run
island_scan_entries — crawl roots for Vite’s own dep scanner > every hydrate island’s component file AND its host file are entriesUnitpassnot runnot runnot run
island_scan_entries — crawl roots for Vite’s own dep scanner > is sorted and free of duplicates, so the optimizer config is stable run to runUnitpassnot runnot runnot run
packages/core/test/islands-endpoint.test.ts
the islands endpoint > a minted capability names its signing key (`&k=`, outside the MAC)Unitpassnot runnot runnot run
the islands endpoint > a minted capability names what it renders (`&r=`, its render identity, signed)Unitpassnot runnot runnot run
the islands endpoint > a path without its leading slash gets oneUnitpassnot runnot runnot run
the islands endpoint > a region with no render identity mints as before (no `r`)Unitpassnot runnot runnot run
the islands endpoint > defaults to /__ogygia__, for the handler and the mint alikeUnitpassnot runnot runnot run
the islands endpoint > handle({ endpoint }) moves every minted URL with the handlerUnitpassnot runnot runnot run
the islands endpoint > MPA speculation rules leave out the endpoint the handle servesUnitpassnot runnot runnot run
packages/core/test/keep-fallback-inline.test.ts
keepFallback() placement > as a top-level server island in the page pass: the fallback renders, the component never runsUnitpassnot runnot runnot run
keepFallback() placement > NESTED inside an island (rendered inline): a real error that names the cause, not the signalUnitpassnot runnot runnot run
keepFallback() placement > on the endpoint (the hole is the render root): the branded signal, as beforeUnitpassnot runnot runnot run
packages/core/test/kit-context.test.ts
kit_render_context — Kit’s `__svelte__` stores context ($app/stores) > carries page/navigating/updated stores that answer synchronouslyUnitpassnot runnot runnot run
kit_render_context — Kit’s `__svelte__` stores context ($app/stores) > the same page object feeds both contextsUnitpassnot runnot runnot run
kit_render_context > a fresh svelte/server root sees the page the way Kit’s $app/state reads itUnitpassnot runnot runnot run
kit_render_context > carries Kit’s key, and an explicit page wins over the readerUnitpassnot runnot runnot run
kit_render_context > falls back to the request reader (hooks.ts installs it), then to an empty pageUnitpassnot runnot runnot run
kit_render_context > the empty page never throws on any getter Kit’s $app/state exposesUnitpassnot runnot runnot run
kit_render_context > without the context the same root has nothing — the crash this seam preventsUnitpassnot runnot runnot run
requestEvent() — the live RequestEvent for a server island (no $app/server import) > falls back to the installed event reader (hooks.ts) when no explicit event is passedUnitpassnot runnot runnot run
requestEvent() — the live RequestEvent for a server island (no $app/server import) > reads the event the render context carries, and answers null without oneUnitpassnot runnot runnot run
requestEvent() — the live RequestEvent for a server island (no $app/server import) > under Kit’s own page render (context without an event), reads the installed readerUnitpassnot runnot runnot run
packages/core/test/kit-dirs.test.ts
kit.files.routes / kit.outDir > an unread root answers the defaults (never throws), a set root answers what was setUnitpassnot runnot runnot run
kit.files.routes / kit.outDir > defaults to src/routes + .svelte-kit without a config, or with a config that sets neitherUnitpassnot runnot runnot run
kit.files.routes / kit.outDir > off Kit's own plugin: Kit 3's options at the top (vite.config only), Kit 2's under `kit`Unitpassnot runnot runnot run
kit.files.routes / kit.outDir > reads both from svelte.config.js and resolves them against the rootUnitpassnot runnot runnot run
kit.files.routes / kit.outDir > the SSR deps reader falls back to the configured outDir under cwd, not `.svelte-kit`Unitpassnot runnot runnot run
packages/core/test/kit-island-stamp.test.ts
rendered stamp for inline islands (csr=true document) — server leg > a csr=false document stamps nothing: the island is a real region the runtime wakesUnitpassnot runnot runnot run
rendered stamp for inline islands (csr=true document) — server leg > escapes the entry in the stampUnitpassnot runnot runnot run
rendered stamp for inline islands (csr=true document) — server leg > stamps the island entry ONCE for two instances, links its CSS, ships no runtime and no region tagUnitpassnot runnot runnot run
packages/core/test/kit-paths.test.ts
kit_asset > a value without a leading slash passes through as it isUnitpassnot runnot runnot run
kit_asset > Kit 2 in a BUILD (no refusal: it returns the slash-less path page-relative) — still the slashUnitpassnot runnot runnot run
kit_asset > Kit 2's form (the slash) where Kit refuses the other: tried once, then the slash every timeUnitpassnot runnot runnot run
kit_asset > Kit 3's form (no slash) where Kit takes it: never the slash it warns aboutUnitpassnot runnot runnot run
kit_asset > the build’s Kit major decides with no probe at allUnitpassnot runnot runnot run
packages/core/test/kit-shim-surface.test.ts
Kit 2 > the #app/paths stand-in exports every name Kit's remote functions import from itUnitpassnot runnot runnot run
Kit 2 > the #app/state/client stand-in exports every name Kit's remote functions import from itUnitpassnot runnot runnot run
Kit 2 > the $app/navigation shim exports every name Kit's $app/navigation doesUnitpassnot runnot runnot run
Kit 2 > the $app/state shim exports every name Kit's $app/state doesUnitpassnot runnot runnot run
Kit 2 > the $app/stores shim exports every name Kit's $app/stores doesUnitpassnot runnot runnot run
Kit 2 > the client.js stand-in exports every name Kit's remote functions import from itUnitpassnot runnot runnot run
Kit 2 > the scan finds the remote-functions client imports (not vacuous)Unitpassnot runnot runnot run
Kit 2 > the state.svelte.js stand-in exports every name Kit's remote functions import from itUnitpassnot runnot runnot run
Kit 3 > the #app/paths stand-in exports every name Kit's remote functions import from itUnitpassnot runnot runnot run
Kit 3 > the #app/state/client stand-in exports every name Kit's remote functions import from itUnitpassnot runnot runnot run
Kit 3 > the $app/navigation shim exports every name Kit's $app/navigation doesUnitpassnot runnot runnot run
Kit 3 > the $app/state shim exports every name Kit's $app/state doesUnitpassnot runnot runnot run
Kit 3 > the $app/stores shim exports every name Kit's $app/stores doesUnitpassnot runnot runnot run
Kit 3 > the client.js stand-in exports every name Kit's remote functions import from itUnitpassnot runnot runnot run
Kit 3 > the scan finds the remote-functions client imports (not vacuous)Unitpassnot runnot runnot run
Kit 3 > the state.svelte.js stand-in exports every name Kit's remote functions import from itUnitpassnot runnot runnot run
packages/core/test/lake-anchors.test.ts
relocate_trailing_empty_comments > leaves non-empty trailing comments on the partialUnitpassnot runnot runnot run
relocate_trailing_empty_comments > moves trailing empty comments from partial into lake (contentful lake = 3)Unitpassnot runnot runnot run
relocate_trailing_empty_comments > no-op on empty partialUnitpassnot runnot runnot run
relocate_trailing_empty_comments > preserves order of delimitersUnitpassnot runnot runnot run
relocate_trailing_empty_comments > stops at first non-empty-comment from the endUnitpassnot runnot runnot run
packages/core/test/lake-kit.test.ts
ERROR PAGE under a csr=false page — Kit renders it from the layouts (server leg) > control: a form action's fail() is NOT an error render (status ≥ 400, error null) — page csr holdsUnitpassnot runnot runnot run
ERROR PAGE under a csr=false page — Kit renders it from the layouts (server leg) > control: layouts csr=false → the error page is client-off like the page, lake bareUnitpassnot runnot runnot run
ERROR PAGE under a csr=false page — Kit renders it from the layouts (server leg) > THE BUG: the 404 of a csr=false page under default layouts emits the lake as ONE frozen regionUnitpassnot runnot runnot run
ERROR PAGE under a csr=false page — Kit renders it from the layouts (server leg) > the same island OUTSIDE a lake degrades inline on that error page (Kit hydrates it)Unitpassnot runnot runnot run
lake under Kit hydration (csr=true document) — server leg > an island INSIDE the lake keeps its real region (no csr=true inline degradation) and claims the runtimeUnitpassnot runnot runnot run
lake under Kit hydration (csr=true document) — server leg > control: on a csr=false document a shell lake still renders bare (byte-identical to before)Unitpassnot runnot runnot run
lake under Kit hydration (csr=true document) — server leg > control: the same island OUTSIDE a lake degrades inline on the csr=true documentUnitpassnot runnot runnot run
lake under Kit hydration (csr=true document) — server leg > emits the lake as ONE frozen region element with the lake HTML inside, nothing else in its branchUnitpassnot runnot runnot run
packages/core/test/late-island.test.ts
async twins > async mode is read off vite-plugin-svelte’s resolved optionsUnitpassnot runnot runnot run
async twins > each plain one compiles without async mode; each awaiting one needs itUnitpassnot runnot runnot run
async twins > Region imports each plain one, by the path the plugin redirectsUnitpassnot runnot runnot run
async twins > the redirect: only Region’s twin imports, to the awaiting file beside that copy of RegionUnitpassnot runnot runnot run
packages/core/test/lazy-entry.test.ts
wake island — the wrapper is leg-split, the client leg is lazy > a stamp with a quote in the entry cannot break out of the selectorUnitpassnot runnot runnot run
wake island — the wrapper is leg-split, the client leg is lazy > keep + strategy attributes ride the client wrapper exactly as the SSR oneUnitpassnot runnot runnot run
wake island — the wrapper is leg-split, the client leg is lazy > mints a client wrapper that imports the LAZY module, never the component or the entryUnitpassnot runnot runnot run
wake island — the wrapper is leg-split, the client leg is lazy > the lazy id is an ogygia-owned island path (resolved + shimmed like the other glue)Unitpassnot runnot runnot run
wake island — the wrapper is leg-split, the client leg is lazy > the lazy module reads the ONE csr fact + the rendered stamp, top-level-awaits the entry, and exports an on-demand loadUnitpassnot runnot runnot run
packages/core/test/live-partial.test.ts
region() — awaitable dual partial > a binding without __renderHtml (mis-wired) is not awaitableUnitpassnot runnot runnot run
region() — awaitable dual partial > awaiting a dual renders its HTML and resolves to a non-thenable dualUnitpassnot runnot runnot run
region() — awaitable dual partial > un-awaited dual carries no html and is not enumerable-thenableUnitpassnot runnot runnot run
transform — SSR binding renders HTML, client leg stays metadata-only > SSR leg renders through the one shared helper and exposes __renderHtmlUnitpassnot runnot runnot run
transport — HTML rides the wire > a re-serialized deferred partial passes its html throughUnitpassnot runnot runnot run
transport — HTML rides the wire > an un-awaited dual encodes WITHOUT html (renders inline where it lands)Unitpassnot runnot runnot run
transport — HTML rides the wire > encode bakes html + signs url; decode rebuilds a deferred partial with htmlUnitpassnot runnot runnot run
packages/core/test/markup-host-binding.test.ts
a markup route host links the client binding stub > csr=false markdown page, client leg of a build → the stubUnitpassnot runnot runnot run
a markup route host links the client binding stub > the server leg, a csr=true page and dev keep the real bindingUnitpassnot runnot runnot run
packages/core/test/messages.test.ts
a server bundle: worded in dev and while prerendering > a production server prints the link alone; a prerender, the wording and the linkUnitpassnot runnot runnot run
OgygiaError and warn > an empty or missing argument stays out of the link; a long one is cut to 300 charactersUnitpassnot runnot runnot run
OgygiaError and warn > dev: the wording, then the link with the argumentsUnitpassnot runnot runnot run
OgygiaError and warn > warn: the arguments are the plain object after the code; what follows rides alongUnitpassnot runnot runnot run
OgygiaError and warn > without the table (a production build): the link aloneUnitpassnot runnot runnot run
prose > joins a paragraph into one line, a blank line starts the next, an empty one is droppedUnitpassnot runnot runnot run
prose > keeps the space before a value, and the value as it isUnitpassnot runnot runnot run
the tables > a code is in one table only (one namespace across the runtime, server and build)Unitpassnot runnot runnot run
the tables > each code's page reads as plain sentences: no { } or < outside backticks (the docs render it)Unitpassnot runnot runnot run
the tables > every message the source prints comes from a tableUnitpassnot runnot runnot run
the tables > no code is both an error and a warningUnitpassnot runnot runnot run
packages/core/test/morph-feature-defer.test.ts
morph feature — deferred holes > a deferred hole selects morph (so #apply can keep a live fallback)Unitpassnot runnot runnot run
morph feature — deferred holes > a plain load-hydrated app (no defer, no live/morph/router) still ships neitherUnitpassnot runnot runnot run
morph feature — deferred holes > morph and frames travel together for a deferred hole (same streamed HTML)Unitpassnot runnot runnot run
morph feature — deferred holes > the existing legs are unchanged: live / morph / router each still select morphUnitpassnot runnot runnot run
packages/core/test/morph.test.ts
aria-hidden is never stamped onto a focused subtree (WAI-ARIA / dropdown open) > aria-hidden="false" is applied even under focus (only "true" hides)Unitpassnot runnot runnot run
aria-hidden is never stamped onto a focused subtree (WAI-ARIA / dropdown open) > aria-hidden="true" IS applied when the subtree does NOT hold focusUnitpassnot runnot runnot run
aria-hidden is never stamped onto a focused subtree (WAI-ARIA / dropdown open) > BUG REPRO: the incoming closed-state aria-hidden="true" is skipped when the subtree holds focusUnitpassnot runnot runnot run
aria-hidden is never stamped onto a focused subtree (WAI-ARIA / dropdown open) > SWEEP: a retained aria-hidden="true" over the focused element is stripped after the morphUnitpassnot runnot runnot run
aria-hidden is never stamped onto a focused subtree (WAI-ARIA / dropdown open) > SWEEP: aria-hidden="true" on a NON-focused sibling subtree is left aloneUnitpassnot runnot runnot run
attributes > adds new attributesUnitpassnot runnot runnot run
attributes > adds, updates, and removes in one passUnitpassnot runnot runnot run
attributes > boolean attribute added and removedUnitpassnot runnot runnot run
attributes > removes attributes the new node droppedUnitpassnot runnot runnot run
attributes > updates changed attribute valuesUnitpassnot runnot runnot run
element replace decision > different tag → replace (new node identity)Unitpassnot runnot runnot run
element replace decision > same tag → morph in place (kept identity)Unitpassnot runnot runnot run
empty ↔ populated > empty → populatedUnitpassnot runnot runnot run
empty ↔ populated > populated → emptyUnitpassnot runnot runnot run
focus preservation > focused element survives an attribute-only morph of a sibling subtreeUnitpassnot runnot runnot run
form DOM properties > a changed default DOES move an unfocused dirty value (server changed its mind)Unitpassnot runnot runnot run
form DOM properties > does NOT clobber a dirty UNFOCUSED input when the server re-sends the same defaultUnitpassnot runnot runnot run
form DOM properties > does NOT clobber an unfocused dirty checkbox when the server re-sends the same stateUnitpassnot runnot runnot run
form DOM properties > does not clobber checked on the focused controlUnitpassnot runnot runnot run
form DOM properties > does NOT clobber value on the FOCUSED input (user is typing)Unitpassnot runnot runnot run
form DOM properties > syncs checked property from the incoming attributeUnitpassnot runnot runnot run
form DOM properties > syncs option selected propertyUnitpassnot runnot runnot run
form DOM properties > syncs value on a NON-focused input (server is authoritative)Unitpassnot runnot runnot run
id-set wrapper matching > a banner inserted above a key-less wrapper keeps the keyed node inside itUnitpassnot runnot runnot run
id-set wrapper matching > a wrapper is not consumed by an earlier sibling that a later one needsUnitpassnot runnot runnot run
id-set wrapper matching > key-less wrappers with no keyed descendants stay positional (no id-set overhead)Unitpassnot runnot runnot run
install() > fills the morph slot with the exported reconcilerUnitpassnot runnot runnot run
keyed children (id / data-key) > changing a keyed node key replaces it (old removed, new inserted)Unitpassnot runnot runnot run
keyed children (id / data-key) > data-key takes precedence over idUnitpassnot runnot runnot run
keyed children (id / data-key) > insert in the middle morphs neighbours in placeUnitpassnot runnot runnot run
keyed children (id / data-key) > remove from the middle keeps the survivorsUnitpassnot runnot runnot run
keyed children (id / data-key) > reorder morphs the SAME nodes into the new order (no replacement)Unitpassnot runnot runnot run
keyed children (id / data-key) > reorder preserves per-node DOM state (typed-in input value)Unitpassnot runnot runnot run
nested trees > recurses and morphs deep text + attrs in placeUnitpassnot runnot runnot run
preserved / hydrated island subtrees > a data-hydrated island root is never recursed into or replacedUnitpassnot runnot runnot run
preserved / hydrated island subtrees > data-persist node kept intact across a morphUnitpassnot runnot runnot run
preserved / hydrated island subtrees > preserved island still repositions by key without being rebuiltUnitpassnot runnot runnot run
self-owned attributes (upgraded custom elements, dialog/details) > <details open> likewise; a plain sibling still loses its stale attributeUnitpassnot runnot runnot run
self-owned attributes (upgraded custom elements, dialog/details) > <dialog open> stays open through a morph whose HTML has it closedUnitpassnot runnot runnot run
self-owned attributes (upgraded custom elements, dialog/details) > a custom element that is NOT upgraded (no shadow root, no definition) still matches exactlyUnitpassnot runnot runnot run
self-owned attributes (upgraded custom elements, dialog/details) > a fresh render’s runtime markers never overwrite the live upgraded hostUnitpassnot runnot runnot run
self-owned attributes (upgraded custom elements, dialog/details) > a NON-upgraded (plain) custom element still reconciles children exactly (removes extras)Unitpassnot runnot runnot run
self-owned attributes (upgraded custom elements, dialog/details) > an upgraded custom element is left untouched: its host attributes are the runtime’s, not the render’sUnitpassnot runnot runnot run
self-owned attributes (upgraded custom elements, dialog/details) > an upgraded custom element KEEPS the light children it gave itself when the new HTML has noneUnitpassnot runnot runnot run
self-owned attributes (upgraded custom elements, dialog/details) > an upgraded custom element still ADDS the children the new HTML brings, keeping its ownUnitpassnot runnot runnot run
self-owned attributes (upgraded custom elements, dialog/details) > an upgraded element keeps its own children, but never an old region the new page did not claimUnitpassnot runnot runnot run
SVG namespace > creates inserted SVG children in the SVG namespaceUnitpassnot runnot runnot run
SVG namespace > foreignObject switches its children back to the HTML namespaceUnitpassnot runnot runnot run
SVG namespace > morphs SVG attributes in place, keeping the nodeUnitpassnot runnot runnot run
swap_body (outerSync fallback) > keeps a body attribute a script on the page set (the server never sent it)Unitpassnot runnot runnot run
swap_body (outerSync fallback) > keeps the live body node, syncs its attributes, replaces its childrenUnitpassnot runnot runnot run
swap_body (outerSync fallback) > removes a body attribute the previous page’s server sent and the incoming page droppedUnitpassnot runnot runnot run
text + comment nodes > morphs comment content in placeUnitpassnot runnot runnot run
text + comment nodes > morphs text content in place (same text node identity)Unitpassnot runnot runnot run
text + comment nodes > no-op when text is unchangedUnitpassnot runnot runnot run
text + comment nodes > text node is not confused with a comment node (replace across kinds)Unitpassnot runnot runnot run
unkeyed children (positional) > append new trailing childrenUnitpassnot runnot runnot run
unkeyed children (positional) > positional text morph across a listUnitpassnot runnot runnot run
unkeyed children (positional) > trim trailing childrenUnitpassnot runnot runnot run
packages/core/test/og-bake.test.ts
rewrite_bake — real build-time evaluation > a non-serializable result is a build error naming the fixUnitpassnot runnot runnot run
rewrite_bake — real build-time evaluation > awaits an async bake fnUnitpassnot runnot runnot run
rewrite_bake — real build-time evaluation > drops an import that only fed a baked fn (ship the answer, not the computation)Unitpassnot runnot runnot run
rewrite_bake — real build-time evaluation > executes an imported fn at build and inlines its devalue-serialized result (Date survives)Unitpassnot runnot runnot run
rewrite_bake — real build-time evaluation > KEEPS an import still used outside the baked fnUnitpassnot runnot runnot run
rewrite_bake — validation (no execution) > ignores the marker inside a comment or stringUnitpassnot runnot runnot run
rewrite_bake — validation (no execution) > rejects a non-function argumentUnitpassnot runnot runnot run
rewrite_bake — validation (no execution) > rejects wrong arityUnitpassnot runnot runnot run
rewrite_bake — validation (no execution) > returns the same reference when there is no bake callUnitpassnot runnot runnot run
packages/core/test/og-constructs-stress.test.ts
.svelte multi-script-block interactions > a <script> tag whose attribute contains a > (generics) extracts correctlyUnitpassnot runnot runnot run
bake — byte-offset integrity under multi-byte unicode > TWO bake() calls interleaved with unicode both inline at the right spotsUnitpassnot runnot runnot run
bake — devalue serialization torture (real execution) > a CIRCULAR structure serializes (devalue references)Unitpassnot runnot runnot run
bake — devalue serialization torture (real execution) > a fn that THROWS at build surfaces as a build errorUnitpassnot runnot runnot run
bake — devalue serialization torture (real execution) > a frozen object and a 10k-element array both inlineUnitpassnot runnot runnot run
bake — devalue serialization torture (real execution) > a function in the result FAILS LOUDLYUnitpassnot runnot runnot run
bake — devalue serialization torture (real execution) > a Symbol in the result FAILS LOUDLYUnitpassnot runnot runnot run
bake — devalue serialization torture (real execution) > an async fn using await Promise.all([...]) resolvesUnitpassnot runnot runnot run
bake — devalue serialization torture (real execution) > Date, Map, Set, RegExp round-tripUnitpassnot runnot runnot run
bake — devalue serialization torture (real execution) > exotic primitives: undefined, NaN, Infinity, -0, BigIntUnitpassnot runnot runnot run
bake — devalue serialization torture (real execution) > nested + sparse arrays and unicode stringsUnitpassnot runnot runnot run
bake — devalue serialization torture (real execution) > nested Map-of-Sets and a getter (evaluated) serializeUnitpassnot runnot runnot run
bake — devalue serialization torture (real execution) > referencing an undeclared/non-imported name FAILS LOUDLYUnitpassnot runnot runnot run
bake — devalue serialization torture (real execution) > typed array (Uint8Array) and ArrayBuffer serializeUnitpassnot runnot runnot run
bake — resolution depth (real execution, real files) > a fn importing a sibling that imports another sibling (transitive)Unitpassnot runnot runnot run
bake — resolution depth (real execution, real files) > a fn importing and using a node: builtinUnitpassnot runnot runnot run
bake in .svelte — component import excluded from the eval bundle > the .svelte component import stays out of the Node eval; the bake still resolves its dataUnitpassnot runnot runnot run
misuse-error QUALITY — build-voice, file:line, explains the fix > 2-arg wire(a,b) → exactly one argumentUnitpassnot runnot runnot run
misuse-error QUALITY — build-voice, file:line, explains the fix > arg-less wire() → codec requiredUnitpassnot runnot runnot run
misuse-error QUALITY — build-voice, file:line, explains the fix > bake with a non-function arg → must be a function + lineUnitpassnot runnot runnot run
misuse-error QUALITY — build-voice, file:line, explains the fix > bake with wrong arity → takes exactly one argumentUnitpassnot runnot runnot run
misuse-error QUALITY — build-voice, file:line, explains the fix > non-static member named wire → build-voiceUnitpassnot runnot runnot run
misuse-error QUALITY — build-voice, file:line, explains the fix > static member with the WRONG name → names the required `wire`Unitpassnot runnot runnot run
misuse-error QUALITY — build-voice, file:line, explains the fix > wire as a bare value → [ogygia] + line + names the legal positionUnitpassnot runnot runnot run
misuse-error QUALITY — build-voice, file:line, explains the fix > wire as an object property → build-voiceUnitpassnot runnot runnot run
misuse-error QUALITY — build-voice, file:line, explains the fix > wire spread into a call → build-voiceUnitpassnot runnot runnot run
packages/core/test/og-dollar.test.ts
og.$ as the UNIVERSAL boundary mark (non-function values) > a non-function value rewrites to a boundary assertion at the marked siteUnitpassnot runnot runnot run
og.$ as the UNIVERSAL boundary mark (non-function values) > mixed fn + value marks in one module import both runtimesUnitpassnot runnot runnot run
og.$ end-to-end (transform output executed against the real runtime) > the rewritten expression returns a live, correctly-bound functionUnitpassnot runnot runnot run
og.$ in TEMPLATE expressions (props in markup) > a value prop becomes a boundary assertion; imports merge with script-pass injectionUnitpassnot runnot runnot run
og.$ in TEMPLATE expressions (props in markup) > an inline fn prop hoists with captures from the component scopeUnitpassnot runnot runnot run
og.$ server-only capture rejection > BUILD ERROR: capturing a $env/static/private importUnitpassnot runnot runnot run
og.$ server-only capture rejection > BUILD ERROR: capturing from a .server module or $app/serverUnitpassnot runnot runnot run
og.$ server-only capture rejection > public env and normal imports still capture fineUnitpassnot runnot runnot run
og.$ transform > a capture-free fn hoists with empty paramsUnitpassnot runnot runnot run
og.$ transform > a non-function argument is a BOUNDARY ASSERTION, not an error (universal mark)Unitpassnot runnot runnot run
og.$ transform > BUILD ERROR: bare access / aliasingUnitpassnot runnot runnot run
og.$ transform > BUILD ERROR: zero or two argumentsUnitpassnot runnot runnot run
og.$ transform > captures: locals bind; params/inner declarations/globals do notUnitpassnot runnot runnot run
og.$ transform > marker inside a string is never rewrittenUnitpassnot runnot runnot run
og.$ transform > member properties and object keys are not capturesUnitpassnot runnot runnot run
og.$ transform > multiple marks in one module get sequential tagsUnitpassnot runnot runnot run
og.$ transform > no marker → same reference back, zero hoistsUnitpassnot runnot runnot run
og.$ transform > rewrites the mark to __og_$(tag, [captures], factory) and injects the importUnitpassnot runnot runnot run
og.$ transform > works inside a .svelte script blockUnitpassnot runnot runnot run
packages/core/test/og-store.test.ts
__og_store runtime (the corpus C9 round-trip) > a branded factory store crosses the wire with its methods REBUILTUnitpassnot runnot runnot run
__og_store runtime (the corpus C9 round-trip) > a revived store is itself branded — it can cross a further boundaryUnitpassnot runnot runnot run
__og_store runtime (the corpus C9 round-trip) > registration happens at __og_store call time — decode works without ever calling the wrapped factoryUnitpassnot runnot runnot run
auto-brand tier (zero-authoring provable factories) > auto-branded factory round-trips through the store kind with methodsUnitpassnot runnot runnot run
auto-brand tier (zero-authoring provable factories) > brands: block body where EVERY return is provableUnitpassnot runnot runnot run
auto-brand tier (zero-authoring provable factories) > brands: direct writable() with the svelte/store import; injects the runtime importUnitpassnot runnot runnot run
auto-brand tier (zero-authoring provable factories) > brands: expression body returning an object literal with subscribeUnitpassnot runnot runnot run
auto-brand tier (zero-authoring provable factories) > nested functions returns do not count as the factory returnUnitpassnot runnot runnot run
auto-brand tier (zero-authoring provable factories) > SKIPS the ambiguous: call-result returns, mixed returns, local writable, non-exportUnitpassnot runnot runnot run
og_derived — a derived that RESUMES across the boundary > a PLAIN derived still freezes (the contrast the classifier warns about)Unitpassnot runnot runnot run
og_derived — a derived that RESUMES across the boundary > crosses ALIVE: bump the reunified source, every island's derived followsUnitpassnot runnot runnot run
og_derived — a derived that RESUMES across the boundary > multi-source recipe resumes tooUnitpassnot runnot runnot run
og.store transform > accepts an identifier argument; sequential tags per moduleUnitpassnot runnot runnot run
og.store transform > BUILD ERRORS: arg count, non-function arg, bare accessUnitpassnot runnot runnot run
og.store transform > quiet when returns are dynamic or store-shaped; nested fn returns are theirsUnitpassnot runnot runnot run
og.store transform > rewrites the mark to __og_store(tag, factory) and injects the importUnitpassnot runnot runnot run
og.store transform > WARNS (not errors) on a provably non-store return; the wrap still happensUnitpassnot runnot runnot run
og.store transform > works in a .svelte script block; no marker → same referenceUnitpassnot runnot runnot run
robustness floor (SSR-guard factories, frozen stores) > a frozen store cannot carry the brand — warns with the tag, still crosses genericUnitpassnot runnot runnot run
robustness floor (SSR-guard factories, frozen stores) > decode floor: a factory that returns nothing on this side degrades to writable(seed)Unitpassnot runnot runnot run
robustness floor (SSR-guard factories, frozen stores) > mark_store passes non-objects through untouched — no defineProperty detonationUnitpassnot runnot runnot run
robustness floor (SSR-guard factories, frozen stores) > wrapped SSR-guard factory: undefined product passes through, ONE warning per tagUnitpassnot runnot runnot run
packages/core/test/og-transform-stress.test.ts
og_js_regions — script extraction torture > a `</script>` sequence inside a JS string does not end the block earlyUnitpassnot runnot runnot run
og_js_regions — script extraction torture > a script tag with a `>` inside an attribute valueUnitpassnot runnot runnot run
og_js_regions — script extraction torture > no script blocks at all → empty region list (not null)Unitpassnot runnot runnot run
og_js_regions — script extraction torture > offsets map back correctly for a construct deep in the second blockUnitpassnot runnot runnot run
og_js_regions — script extraction torture > uppercase <SCRIPT> is still found (case-insensitive)Unitpassnot runnot runnot run
robustness — never throws a low-level error, only build-voice or clean output > junk #0 either rewrites cleanly or throws a build-voice error (never a raw crash)Unitpassnot runnot runnot run
robustness — never throws a low-level error, only build-voice or clean output > junk #1 either rewrites cleanly or throws a build-voice error (never a raw crash)Unitpassnot runnot runnot run
robustness — never throws a low-level error, only build-voice or clean output > junk #2 either rewrites cleanly or throws a build-voice error (never a raw crash)Unitpassnot runnot runnot run
robustness — never throws a low-level error, only build-voice or clean output > junk #3 either rewrites cleanly or throws a build-voice error (never a raw crash)Unitpassnot runnot runnot run
robustness — never throws a low-level error, only build-voice or clean output > junk #4 either rewrites cleanly or throws a build-voice error (never a raw crash)Unitpassnot runnot runnot run
robustness — never throws a low-level error, only build-voice or clean output > junk #5 either rewrites cleanly or throws a build-voice error (never a raw crash)Unitpassnot runnot runnot run
robustness — never throws a low-level error, only build-voice or clean output > junk #6 either rewrites cleanly or throws a build-voice error (never a raw crash)Unitpassnot runnot runnot run
scanner fallback — when the AST bails on an unparseable tail > wire: a half-typed member (no closing paren) neither throws nor editsUnitpassnot runnot runnot run
scanner fallback — when the AST bails on an unparseable tail > wire: a marker at a template-literal boundary is not rewritten by the fallbackUnitpassnot runnot runnot run
scanner fallback — when the AST bails on an unparseable tail > wire: a marker inside a REGEX literal is not rewritten by the fallbackUnitpassnot runnot runnot run
scanner fallback — when the AST bails on an unparseable tail > wire: still rewrites the valid member, comment/string markers untouchedUnitpassnot runnot runnot run
wire — byte-offset integrity (multi-byte unicode / CRLF / BOM before the construct) > a leading BOM does not shift offsetsUnitpassnot runnot runnot run
wire — byte-offset integrity (multi-byte unicode / CRLF / BOM before the construct) > astral-plane chars (𝕏, 👨‍👩‍👧) before and inside the codec stay intactUnitpassnot runnot runnot run
wire — byte-offset integrity (multi-byte unicode / CRLF / BOM before the construct) > CRLF line endings before the constructUnitpassnot runnot runnot run
wire — byte-offset integrity (multi-byte unicode / CRLF / BOM before the construct) > multi-byte emoji BEFORE the construct does not shift the spliceUnitpassnot runnot runnot run
wire — demented shapes that must FAIL LOUDLY > a NON-static member named wireUnitpassnot runnot runnot run
wire — demented shapes that must FAIL LOUDLY > assigned to an object propertyUnitpassnot runnot runnot run
wire — demented shapes that must FAIL LOUDLY > spread into a callUnitpassnot runnot runnot run
wire — demented shapes that must FAIL LOUDLY > two argumentsUnitpassnot runnot runnot run
wire — demented shapes that must FAIL LOUDLY > two wire members in ONE class (only one codec per class is coherent) — still rewrites both, stays balancedUnitpassnot runnot runnot run
wire — demented shapes that must FAIL LOUDLY > used as a computed KEY directly (the impossible TS form) is caught as misuseUnitpassnot runnot runnot run
wire — demented shapes that must still WORK > a .svelte with TWO script blocks — only the one with the class rewritesUnitpassnot runnot runnot run
wire — demented shapes that must still WORK > a comment sitting between `static` and `wire`Unitpassnot runnot runnot run
wire — demented shapes that must still WORK > a nested class INSIDE the codec that has its OWN wire memberUnitpassnot runnot runnot run
wire — demented shapes that must still WORK > a template literal with `${}` interpolation inside the codecUnitpassnot runnot runnot run
wire — demented shapes that must still WORK > minified: everything on one line, no spacesUnitpassnot runnot runnot run
wire — demented shapes that must still WORK > no trailing semicolon (ASI)Unitpassnot runnot runnot run
wire — demented shapes that must still WORK > the codec spans many lines with nested braces and a trailing commaUnitpassnot runnot runnot run
wire — demented shapes that must still WORK > two transportable classes in one moduleUnitpassnot runnot runnot run
wire — demented shapes that must still WORK > unicode / non-ASCII inside the codec stringsUnitpassnot runnot runnot run
wire — inputs that must be LEFT ALONE > a look-alike longer identifier (import.meta.og.wireTap) is not the markerUnitpassnot runnot runnot run
wire — inputs that must be LEFT ALONE > a non-construct-host extension (.css) is never touchedUnitpassnot runnot runnot run
wire — inputs that must be LEFT ALONE > markdown PROSE mentioning the marker (a .svelte with no script) stays literalUnitpassnot runnot runnot run
wire — inputs that must be LEFT ALONE > marker only ever in a comment → unchanged referenceUnitpassnot runnot runnot run
wire — inputs that must be LEFT ALONE > marker only ever in a string → unchanged referenceUnitpassnot runnot runnot run
packages/core/test/og-wire.test.ts
appendTransportRegistrations — inject ONLY for wire classes > a PLAIN exported class is NOT registered (no ogygia import dragged in)Unitpassnot runnot runnot run
appendTransportRegistrations — inject ONLY for wire classes > a wire class (pre-rewrite blessed spelling) IS registered tooUnitpassnot runnot runnot run
appendTransportRegistrations — inject ONLY for wire classes > a wire class (rewritten computed-symbol form) IS registeredUnitpassnot runnot runnot run
appendTransportRegistrations — inject ONLY for wire classes > mixed module: only the wire class is registered, the plain one is skippedUnitpassnot runnot runnot run
prescan detection — raw source (pre-rewrite) > a class with the blessed spelling is detected as transportableUnitpassnot runnot runnot run
prescan detection — raw source (pre-rewrite) > a REWRITTEN computed member is still detectedUnitpassnot runnot runnot run
rewrite_wire — strictness (build errors, file:line) > rejects a bare value useUnitpassnot runnot runnot run
rewrite_wire — strictness (build errors, file:line) > rejects a call outside a static class memberUnitpassnot runnot runnot run
rewrite_wire — strictness (build errors, file:line) > rejects a wrongly-named static memberUnitpassnot runnot runnot run
rewrite_wire — strictness (build errors, file:line) > rejects an arg-less call (codec required)Unitpassnot runnot runnot run
rewrite_wire — strictness (build errors, file:line) > reports the correct line for a deep misuseUnitpassnot runnot runnot run
rewrite_wire — the strict compile construct > a codec containing parens/strings/regex survives verbatimUnitpassnot runnot runnot run
rewrite_wire — the strict compile construct > AST path: a marker in a comment or string is NOT rewritten (and not judged as misuse)Unitpassnot runnot runnot run
rewrite_wire — the strict compile construct > consumes the member and mints the symbol keyUnitpassnot runnot runnot run
rewrite_wire — the strict compile construct > returns the same reference when there is nothing to doUnitpassnot runnot runnot run
rewrite_wire — the strict compile construct > rewrites inside a .svelte <script module> block only — markup prose is untouchedUnitpassnot runnot runnot run
rewrite_wire — the strict compile construct > scanner fallback (unparseable source) still rewrites the legal memberUnitpassnot runnot runnot run
runtime — explicit codec round-trip > one instance mints one wire id (identity memo)Unitpassnot runnot runnot run
runtime — explicit codec round-trip > round-trips through encode/decode and rebuilds a REAL instanceUnitpassnot runnot runnot run
packages/core/test/one-kit-copy.test.ts
one Kit > the plugin dedupes @sveltejs/kit, in dev and in a buildUnitpassnot runnot runnot run
packages/core/test/own-package-ids.test.ts
dep-scan entries > an app island is, posix and glob-escapedUnitpassnot runnot runnot run
dep-scan entries > ogygia's own islands are never an entry — on either separatorUnitpassnot runnot runnot run
own-package ids > a Windows root is the forward-slash prefix of the ids inside itUnitpassnot runnot runnot run
own-package ids > one trailing slash, with or without one given; a sibling package is not insideUnitpassnot runnot runnot run
own-package ids > the package root and its precomputed module ids are posix, slash-terminatedUnitpassnot runnot runnot run
packages/core/test/own-package.test.ts
own package identity > counts an installed @ogygia/core as ogygia's runtime in a chunk summaryUnitpassnot runnot runnot run
own package identity > knows its files: the ogygia package, @ogygia/core, a checkout of either, either separatorUnitpassnot runnot runnot run
own package identity > names both packages, and their subpathsUnitpassnot runnot runnot run
own package identity > reads a context provider and a held region imported under either nameUnitpassnot runnot runnot run
packages/core/test/ownership-stamps.test.ts
stamp_opaque > a custom element whose children Svelte walks is NOT stampedUnitpassnot runnot runnot run
stamp_opaque > a custom element with only static children is stamped; its own dynamic attributes are fineUnitpassnot runnot runnot run
stamp_opaque > an {@html} beside other content: the parent stays walked, stamped data-og-html for its child elementsUnitpassnot runnot runnot run
stamp_opaque > an element whose only child is {@html} (whitespace aside) is stampedUnitpassnot runnot runnot run
stamp_opaque > bind:innerHTML / textContent / innerText are stampedUnitpassnot runnot runnot run
stamp_opaque > nested inside blocks and components’ children; outermost wins; never stamped twiceUnitpassnot runnot runnot run
stamp_opaque > nothing to stamp, or unparsable → nullUnitpassnot runnot runnot run
packages/core/test/package-files.test.ts
CompileCtx gates > a sibling package whose root is a STRING prefix does not leak into matchesUnitpassnot runnot runnot run
CompileCtx gates > in_declared_pkg: declared file + files under declared dirs; nothing elseUnitpassnot runnot runnot run
CompileCtx gates > pkg_identity: install-independent `<name>/<rel>` under the declared rootUnitpassnot runnot runnot run
discover_package_files > finds ONLY declared packages, expands dirs/globs/files, skips missing entriesUnitpassnot runnot runnot run
discover_package_files > rejects a declaration that escapes the packageUnitpassnot runnot runnot run
discover_package_files > rejects a malformed declaration loudlyUnitpassnot runnot runnot run
undeclared-marks warning > a dependency .ts with marks but NO declaration warns loudly (was silent death)Unitpassnot runnot runnot run
undeclared-marks warning > a dependency that only MENTIONS a mark (comment, string, error text) does not warnUnitpassnot runnot runnot run
undeclared-marks warning > ogygia's OWN modules are exempt (compiler sources CONTAIN `with { wake` as strings)Unitpassnot runnot runnot run
packages/core/test/package-mark-resolve.test.ts
unresolvable marked package specifier > relative imports from a generated module keep the quiet null fall-throughUnitpassnot runnot runnot run
unresolvable marked package specifier > resolveId throws an actionable [ogygia] error for the re-emitted specifierUnitpassnot runnot runnot run
packages/core/test/page-data-reads.test.ts
patch_page_data_reads > a chunk without the placeholder is left aloneUnitpassnot runnot runnot run
patch_page_data_reads > a reader anywhere in the tree (a dynamic import too) → true; none (a cycle too) → falseUnitpassnot runnot runnot run
patch_page_data_reads > an unpinnable read (`all`) counts; a component the graph does not know looks upUnitpassnot runnot runnot run
patch_page_data_reads > unpatched (a build that never reached renderChunk), it is unknown: nullUnitpassnot runnot runnot run
packages/core/test/page-defer.test.ts
page-defer codec round-trip > a CUSTOM transport type round-trips through a streamed resolve (injected encoders/decoders)Unitpassnot runnot runnot run
page-defer codec round-trip > a promise resolving to a value with NESTED promises re-stages and streams them (Kit-style recursion)Unitpassnot runnot runnot run
page-defer codec round-trip > a rejected promise streams as an error and rejects the client PromiseUnitpassnot runnot runnot run
page-defer codec round-trip > a REJECTION that races ahead of the seed rejects cleanly (no unhandled-rejection noise)Unitpassnot runnot runnot run
page-defer codec round-trip > a resolve that races AHEAD of the seed still settles (buffered, order-independent)Unitpassnot runnot runnot run
page-defer codec round-trip > a staged promise survives serialize→parse as a pending Promise, then resolves liveUnitpassnot runnot runnot run
page-defer codec round-trip > id 0 is not dropped by the reducer (the falsy-id trap)Unitpassnot runnot runnot run
page-defer codec round-trip > rich values (Date/Map) survive the streamed resolve via devalueUnitpassnot runnot runnot run
page-defer script safety > a non-serializable resolution degrades to a typed error, never hangsUnitpassnot runnot runnot run
page-defer script safety > resolve_script escapes `<` so a payload cannot break out of the <script>Unitpassnot runnot runnot run
page-defer script safety > the inline bootstrap defines the resolve global and queues until liveUnitpassnot runnot runnot run
page-defer settle path (non-navigate / SPA fallback) > a REJECTED promise never crashes the render; it revives as a rejected Promise (`:catch`)Unitpassnot runnot runnot run
page-defer settle path (non-navigate / SPA fallback) > settle_deferred awaits each promise into a SettledRef; the client revives a resolved PromiseUnitpassnot runnot runnot run
page-defer settle path (non-navigate / SPA fallback) > settle_deferred recurses into a resolved value that holds more promisesUnitpassnot runnot runnot run
page-defer staging (server) > a promise nested DEEPER than the plain-walk cap is still found + staged (never abandoned)Unitpassnot runnot runnot run
page-defer staging (server) > class instances and primitives pass through untouched (only plain objects/arrays are walked)Unitpassnot runnot runnot run
page-defer staging (server) > replaces every promise with a DeferRef and collects them (data + form share one id space)Unitpassnot runnot runnot run
page-defer staging (server) > the seed walk (`analyze`) is the promise probe; a promise-free tree is falseUnitpassnot runnot runnot run
packages/core/test/page-keys.test.ts
follow_pending_page_calls > an `export *` fan-out is searched; a helper that hands the page on → all with a reasonUnitpassnot runnot runnot run
follow_pending_page_calls > an unresolvable specifier → all, named in the reasonUnitpassnot runnot runnot run
follow_pending_page_calls > follows getParams(page) through a barrel to its url-only reader; url(page) adds its keyUnitpassnot runnot runnot run
merge_page_keys > unions sets, all absorbs, null is identityUnitpassnot runnot runnot run
page_data_keys — a branch the browser never takes > a read under typeof window === 'undefined' or import.meta.env.SSR is not the client'sUnitpassnot runnot runnot run
page_data_keys — a branch the browser never takes > the client branch still counts: typeof window !== 'undefined', and the else of a server testUnitpassnot runnot runnot run
page_data_keys — call following > a helper of the same module is followed: its parameter is the page inside itUnitpassnot runnot runnot run
page_data_keys — call following > an imported helper is recorded as pending, the rest of the module still pinnedUnitpassnot runnot runnot run
page_data_keys — call following > summarize_export: a barrel re-export says where to followUnitpassnot runnot runnot run
page_data_keys — call following > summarize_export: what the helper reads of its page parameterUnitpassnot runnot runnot run
page_data_keys — components > $page?.data?.key in the script and page.data.key in the templateUnitpassnot runnot runnot run
page_data_keys — components > a component that only reads params → empty setUnitpassnot runnot runnot run
page_data_keys — components > a module script and an {#each} over page dataUnitpassnot runnot runnot run
page_data_keys — components > the palaestra reader that hands page.data to an arrow → allUnitpassnot runnot runnot run
page_data_keys — doubt goes to all > a same-named unrelated identifier is not the page: `foo.page`, `pageContent`Unitpassnot runnot runnot run
page_data_keys — doubt goes to all > dynamic index, subscribe, namespace import, the whole page passed to a functionUnitpassnot runnot runnot run
page_data_keys — doubt goes to all > page.data used whole: passed on, spread, compared, returnedUnitpassnot runnot runnot run
page_data_keys — doubt goes to all > prose that says "page" is not a referenceUnitpassnot runnot runnot run
page_data_keys — doubt goes to all > the data object aliased or destructured off the pageUnitpassnot runnot runnot run
page_data_keys — guards and subscribers > `const { a, b } = $page?.data || {}` names its keys; a subscriber parameter is the pageUnitpassnot runnot runnot run
page_data_keys — safe built-ins > Object.keys(page) reads names only; isEmpty(page) from a library still hands the page onUnitpassnot runnot runnot run
page_data_keys — scripts > $app/state: page.data.key, optional chaining, nested paths keep the top-level keyUnitpassnot runnot runnot run
page_data_keys — scripts > an aliased import nameUnitpassnot runnot runnot run
page_data_keys — scripts > bracket access with a string literalUnitpassnot runnot runnot run
page_data_keys — scripts > derived(page, ($page) => …) and derived([a, page], ([$a, $page]) => …) name the page parameterUnitpassnot runnot runnot run
page_data_keys — scripts > destructuring page.data names its keysUnitpassnot runnot runnot run
page_data_keys — scripts > get(page).data.key, and the whole page aliased then read (the analytics helper)Unitpassnot runnot runnot run
page_data_keys — scripts > null when the module never imports the pageUnitpassnot runnot runnot run
page_data_keys — scripts > only url / params / route / status reads → an empty set (the seed still ships, data empty)Unitpassnot runnot runnot run
page_data_keys — the demented cases > a reason names the construct and the lineUnitpassnot runnot runnot run
page_data_keys — the demented cases > a shadowing local named page in an inner scope is over-approximated, never a crashUnitpassnot runnot runnot run
page_data_keys — the demented cases > an alias declared in one function is not applied in a sibling functionUnitpassnot runnot runnot run
page_data_keys — the demented cases > an alias is scoped to its function: an unrelated `value` elsewhere is not the pageUnitpassnot runnot runnot run
page_data_keys — the demented cases > component: <style lang="scss"> with // comments does not stop the analysisUnitpassnot runnot runnot run
page_data_keys — the demented cases > component: a spread of page.data into attributes → allUnitpassnot runnot runnot run
page_data_keys — the demented cases > component: runes — $state, $derived.by, $effect, class fields; legacy context="module"Unitpassnot runnot runnot run
page_data_keys — the demented cases > component: template constructs — {#if} {#each} {#await} {@const} {@html} attributes, bind:, handlers, snippets, svelte:headUnitpassnot runnot runnot run
page_data_keys — the demented cases > component: the whole page passed to a helper in the template → all, with the reasonUnitpassnot runnot runnot run
page_data_keys — the demented cases > scale: a long module with many reads stays linear and exactUnitpassnot runnot runnot run
page_data_keys — the demented cases > TypeScript wrappers: as / ! / satisfies / parentheses around the page or page.dataUnitpassnot runnot runnot run
page_data_keys — the PENDING13 shape > `if (!page?.url) return` keeps a helper summarizable as url/params-onlyUnitpassnot runnot runnot run
packages/core/test/page-mark.test.ts
page mark > `$app/navigation` reaches the navigation handleUnitpassnot runnot runnot run
page mark > `$app/state` anywhere in the closure is a readerUnitpassnot runnot runnot run
page mark > a federated or plugin-woken island is a reader the walk never sawUnitpassnot runnot runnot run
page mark > a module the walk does not read (markdown) fails openUnitpassnot runnot runnot run
page mark > a package the walk cannot follow fails openUnitpassnot runnot runnot run
page mark > an import the walk cannot resolve fails openUnitpassnot runnot runnot run
page mark > an island importing only Svelte, local helpers and assets reads no pageUnitpassnot runnot runnot run
packages/core/test/page-seed-lane.test.ts
PageSeed.serialize > asked for JSON on a slice JSON cannot carry (a bigint): falls back to devalue, never throwsUnitpassnot runnot runnot run
PageSeed.serialize > devalue lane (the default): devalue text, no second escape, parse gives the slice backUnitpassnot runnot runnot run
PageSeed.serialize > JSON lane: native text, `<` escaped, JSON.parse gives the slice backUnitpassnot runnot runnot run
PageSeed.serialize > one non-serializable leaf is left out, never its field or the whole seed (devalue lane)Unitpassnot runnot runnot run
packages/core/test/page-seed-leaves.test.ts
PageSeed.serialize keeps everything that serializes > a class no reducer knows goes; a value a reducer encodes staysUnitpassnot runnot runnot run
PageSeed.serialize keeps everything that serializes > a function deep in data: only that leaf goes, the rest of data staysUnitpassnot runnot runnot run
PageSeed.serialize keeps everything that serializes > a getter that throws: only that key goesUnitpassnot runnot runnot run
PageSeed.serialize keeps everything that serializes > a leaf in an array keeps its slot (undefined), so later indexes still point rightUnitpassnot runnot runnot run
PageSeed.serialize keeps everything that serializes > a sparse array keeps its holesUnitpassnot runnot runnot run
PageSeed.serialize keeps everything that serializes > a top-level value that cannot go reads as undefined, the seed still shipsUnitpassnot runnot runnot run
PageSeed.serialize keeps everything that serializes > form and error follow the same rule, and data is not touched by themUnitpassnot runnot runnot run
PageSeed.serialize keeps everything that serializes > inside a Map or a Set, only the entry that cannot go is left outUnitpassnot runnot runnot run
PageSeed.serialize keeps everything that serializes > shared and cyclic objects keep their shapeUnitpassnot runnot runnot run
PageSeed.serialize keeps everything that serializes > the source objects are left as they wereUnitpassnot runnot runnot run
PageSeed.serialize keeps everything that serializes > when the copy itself fails, each field that serializes alone still ships with the urlUnitpassnot runnot runnot run
packages/core/test/page-stream-out.test.ts
a value whose staging throws fails its own promise; the rest stream and the stream closesUnitpassnot runnot runnot run
packages/core/test/partial-transform.test.ts
transformHost — held region in .svelte (region: raw) > registers a server descriptor and rewrites the import to the binding moduleUnitpassnot runnot runnot run
transformHost — held region in .svelte (region: raw) > rejects a region value other than 'raw'Unitpassnot runnot runnot run
transformHost — held region in .svelte (region: raw) > rejects region combined with another import attributeUnitpassnot runnot runnot run
transformHost — held region in .svelte (region: raw) > the retired `partial:` key throws when alongside a live region importUnitpassnot runnot runnot run
transformTsRegions — held region in .ts > a .svelte region:raw and a .ts region:raw of the same component share one idUnitpassnot runnot runnot run
transformTsRegions — held region in .ts > a held-region import inside a JSDoc @example COMMENT is left alone (regression: ogygia src/index.ts)Unitpassnot runnot runnot run
transformTsRegions — held region in .ts > a held-region import that is only TEXT inside a template literal is left aloneUnitpassnot runnot runnot run
transformTsRegions — held region in .ts > a hole timed with both fetch and wake fails, keeping fetchUnitpassnot runnot runnot run
transformTsRegions — held region in .ts > a lone fetch is refused (it is a deferred hole’s timing)Unitpassnot runnot runnot run
transformTsRegions — held region in .ts > a real import AFTER a backtick inside a string is still rewritten (AST guard, not backtick count)Unitpassnot runnot runnot run
transformTsRegions — held region in .ts > region: raw registers a no-schedule descriptor and strips the attributeUnitpassnot runnot runnot run
transformTsRegions — held region in .ts > rejects an unknown wake valueUnitpassnot runnot runnot run
transformTsRegions — held region in .ts > render: deferred → a .ts server island; import rewritten to the WRAPPERUnitpassnot runnot runnot run
transformTsRegions — held region in .ts > render: deferred accepts fetch: interaction (an on-demand hole) and rejects noneUnitpassnot runnot runnot run
transformTsRegions — held region in .ts > render: deferred takes `fetch` as its timing (+ margin on visible)Unitpassnot runnot runnot run
transformTsRegions — held region in .ts > render: live is rejected on a .ts import (svelte-only)Unitpassnot runnot runnot run
transformTsRegions — held region in .ts > returns null when no held import is presentUnitpassnot runnot runnot run
transformTsRegions — held region in .ts > the deprecated render: deferred + wake timing is the same hole as fetch, with a warning naming itUnitpassnot runnot runnot run
transformTsRegions — held region in .ts > wake: '(max-width: 500px)' → a mountable held binding (__hydrate (max-width: 500px))Unitpassnot runnot runnot run
transformTsRegions — held region in .ts > wake: 'idle' → a mountable held binding (__hydrate idle)Unitpassnot runnot runnot run
transformTsRegions — held region in .ts > wake: 'load' → a mountable held binding (__hydrate load)Unitpassnot runnot runnot run
transformTsRegions — held region in .ts > wake: 'visible' → a mountable held binding (__hydrate visible)Unitpassnot runnot runnot run
transformTsRegions — held region in .ts > wake: visible bakes a hydrate margin (from ctx.visibleMargin)Unitpassnot runnot runnot run
transformTsRegions — import.meta.og.asRegion (barrel / named in .ts) > a DEFAULT import works via asRegion in .ts tooUnitpassnot runnot runnot run
transformTsRegions — import.meta.og.asRegion (barrel / named in .ts) > a NAMED barrel import → a mountable held binding (same record as a .ts wake mark)Unitpassnot runnot runnot run
transformTsRegions — import.meta.og.asRegion (barrel / named in .ts) > a string shorthand is rejected (options must be an object)Unitpassnot runnot runnot run
transformTsRegions — import.meta.og.asRegion (barrel / named in .ts) > first arg not an imported component → errorUnitpassnot runnot runnot run
transformTsRegions — import.meta.og.asRegion (barrel / named in .ts) > namespace import → errorUnitpassnot runnot runnot run
transformTsRegions — import.meta.og.asRegion (barrel / named in .ts) > NOT top-level (nested in a function) → errorUnitpassnot runnot runnot run
transformTsRegions — import.meta.og.asRegion (barrel / named in .ts) > region: raw via asRegion → a bare held descriptor with the named importUnitpassnot runnot runnot run
transformTsRegions — import.meta.og.asRegion (barrel / named in .ts) > two named exports of one barrel → two distinct islandsUnitpassnot runnot runnot run
transformTsRegions — import.meta.og.asRegion (barrel / named in .ts) > unknown option key → errorUnitpassnot runnot runnot run
packages/core/test/partial.test.ts
ogygiaTransport > encodes a dual partial into a signed ticket (drops the component)Unitpassnot runnot runnot run
ogygiaTransport > ignores non-partial valuesUnitpassnot runnot runnot run
ogygiaTransport > refuses to encode an inline (unmarked) partial with a helpful errorUnitpassnot runnot runnot run
region() > makes a DUAL partial from a marked binding (SSR leg): carries component + signerUnitpassnot runnot runnot run
region() > makes an inline partial from a plain componentUnitpassnot runnot runnot run
region() > throws when a marked binding has no component/signer (client leg)Unitpassnot runnot runnot run
packages/core/test/personal-response.test.ts
mark_personal > a page made for one browser leaves every shared cache, whatever the app setUnitpassnot runnot runnot run
mark_personal > an immutable response is left as it isUnitpassnot runnot runnot run
mark_personal > an immutable response that cannot be marked private is saidUnitpassnot runnot runnot run
packages/core/test/pin-region-urls.test.ts
pin_region_urls > a fetched page, against its own URL: the same strings as the page that wrote them shallowerUnitpassnot runnot runnot run
pin_region_urls > entry, src and endpoint, against the address the element entered at → root-absoluteUnitpassnot runnot runnot run
pin_region_urls > leaves alone what is pinned already, another origin, and what holds no URLUnitpassnot runnot runnot run
packages/core/test/plain-function-prop.test.ts
a plain function passed as an island prop > a real region snippet (branded) passes through untouchedUnitpassnot runnot runnot run
a plain function passed as an island prop > errors as a FUNCTION (not a snippet), naming the prop and the callback caseUnitpassnot runnot runnot run
packages/core/test/plugin-handle.test.ts
around() > a plugin may answer without calling next()Unitpassnot runnot runnot run
around() > a plugin's transformPageChunk runs after ogygia's ownUnitpassnot runnot runnot run
around() > nests first-plugin-outermost, and each sees its own optionsUnitpassnot runnot runnot run
around() > no handle hooks: the core itselfUnitpassnot runnot runnot run
packages/core/test/plugin-hooks-dev.test.ts
plugin hooks in dev (#251), loaded by ssrLoadModule > two edits of a plugin: only its current run answers and hears; the other plugin hears once#251Unitpassnot runnot runnot run
plugin hooks in dev (#251), loaded by the ssr environment's runner > two edits of a plugin: only its current run answers and hears; the other plugin hears once#251Unitpassnot runnot runnot run
packages/core/test/plugin-request-end.test.ts
app.keepAlive > hands work to the waitUntil of the request it runs in, after the request's awaitsUnitpassnot runnot runnot run
app.keepAlive > outside a request, on a platform without one, or one that refuses it: nothing, and no throwUnitpassnot runnot runnot run
end_request: the work a plugin leaves at the request end > a done that throws, or work that fails, is said (plugin_hook_failed), with the errorUnitpassnot runnot runnot run
end_request: the work a plugin leaves at the request end > no waitUntil and a response with no body, or a request that threw: nothing waits eitherUnitpassnot runnot runnot run
end_request: the work a plugin leaves at the request end > no waitUntil: the response is never held for the work, its body ends before a slow sendUnitpassnot runnot runnot run
end_request: the work a plugin leaves at the request end > no work left: nothing is handed to the platformUnitpassnot runnot runnot run
end_request: the work a plugin leaves at the request end > platform.ctx.waitUntil is the same pathUnitpassnot runnot runnot run
end_request: the work a plugin leaves at the request end > the platform's waitUntil (platform.context) gets it, and the response does not waitUnitpassnot runnot runnot run
end_request: the work a plugin leaves at the request end > work that fails never fails the response, and a throwing done does not stop the nextUnitpassnot runnot runnot run
packages/core/test/plugins.test.ts
a plugin is a Vite plugin, found beside ogygia() > definePlugin returns a Vite plugin carrying its definitionUnitpassnot runnot runnot run
a plugin is a Vite plugin, found beside ogygia() > finds definitions in the Vite list: nested arrays, promises, other plugins skipped, in orderUnitpassnot runnot runnot run
a plugin is a Vite plugin, found beside ogygia() > listed without ogygia(), it fails the build saying what to addUnitpassnot runnot runnot run
a plugin is a Vite plugin, found beside ogygia() > names the uncalled factoryUnitpassnot runnot runnot run
a plugin is a Vite plugin, found beside ogygia() > ogygia() and its plugins come before sveltekit()Unitpassnot runnot runnot run
a plugin is a Vite plugin, found beside ogygia() > refuses a plugin listed twice, a nameless one, and non-JSON optionsUnitpassnot runnot runnot run
facts > are per request, made on first touch; the first per-visitor reason sticksUnitpassnot runnot runnot run
realms, named by the plugin > `b.pageModules` collects importer specifiers and absolute files, once eachUnitpassnot runnot runnot run
realms, named by the plugin > `b.routeConfig` collects keys, once each; a key that is not an identifier is refusedUnitpassnot runnot runnot run
realms, named by the plugin > `enforce` orders plugins: pre, the rest, postUnitpassnot runnot runnot run
realms, named by the plugin > a name that is not a package the app resolves fails loudlyUnitpassnot runnot runnot run
realms, named by the plugin > a plugin naming its `server` gets that module wired, options carriedUnitpassnot runnot runnot run
realms, named by the plugin > a realm that is not a file, or not a location, fails loudlyUnitpassnot runnot runnot run
realms, named by the plugin > no realm named, none wired: a package export called `./server` means nothingUnitpassnot runnot runnot run
route config > a programmatic router that claims the path wins; then the Kit page; else undefinedUnitpassnot runnot runnot run
route config > the virtual module is server-only and empty without claimed keysUnitpassnot runnot runnot run
shared hooks — notify / ask > ask: one that throws is skipped when another answers, and thrown when none does (#198)#198Unitpassnot runnot runnot run
shared hooks — notify / ask > nobody implementing: notify does nothing, ask answers undefinedUnitpassnot runnot runnot run
shared hooks — notify / ask > notify runs every implementation; ask takes the first answerUnitpassnot runnot runnot run
startPlugin — a server realm without a server > runs setup, registers shared hooks, and hands out request contextsUnitpassnot runnot runnot run
virtual:ogygia/server-plugins > imports each server realm statically, with its name and options (server only)Unitpassnot runnot runnot run
virtual:ogygia/server-plugins > is an empty list on the client and for an app without server realmsUnitpassnot runnot runnot run
packages/core/test/policies.test.ts
named policies keep the old numbers > a hole's fetch: three tries, 500 ms × the tries failed so far between themUnitpassnot runnot runnot run
named policies keep the old numbers > devalue's download: asked again after 1, 2, 4 and 8 s, then left (RETRY_FIRST_MS doubling to RETRY_LAST_MS)Unitpassnot runnot runnot run
named policies keep the old numbers > download: one more try, at once (flights `retries: 1`)Unitpassnot runnot runnot run
named policies keep the old numbers > every one is jitter-free, so its waits are exactUnitpassnot runnot runnot run
named policies keep the old numbers > render and stream: one try, 10 s (RENDER_TIMEOUT_MS, STALL_MS)Unitpassnot runnot runnot run
packages/core/test/portable-snippet-const-tag.test.ts
portable snippet — a body opening with {@const} > a body without one is written at the template root as beforeUnitpassnot runnot runnot run
portable snippet — a body opening with {@const} > keeps its snippet around the body, and the entry compilesUnitpassnot runnot runnot run
packages/core/test/portable-snippet-imports.test.ts
portable snippet — captured imports from one statement > hoists the shared import ONCE, not once per captured nameUnitpassnot runnot runnot run
packages/core/test/portable-snippet-origin.test.ts
portable snippet — a relative marked import inside the snippet resolves against the REAL origin > './' sibling of the host (same directory)Unitpassnot runnot runnot run
portable snippet — a relative marked import inside the snippet resolves against the REAL origin > a snippet NESTED inside a portable snippet inherits the real origin (two re-process hops)Unitpassnot runnot runnot run
portable snippet — a relative marked import inside the snippet resolves against the REAL origin > hydrate-ISLAND site, PARAMETERIZED snippet (any arity crosses there)Unitpassnot runnot runnot run
portable snippet — a relative marked import inside the snippet resolves against the REAL origin > plain site, 0-arg snippet, '../' (the reported build failure)Unitpassnot runnot runnot run
portable snippet — the missing-origin case is LOUD, not a silent phantom path > re-processing under a virtual id with no origin threaded throws a named [ogygia] errorUnitpassnot runnot runnot run
portable snippet — what already worked keeps working, and identity is stable > `$lib/…` and package specifiers inside the snippet are untouched (host-independent)Unitpassnot runnot runnot run
portable snippet — what already worked keeps working, and identity is stable > the portable entry identity does not depend on the machine (no absolute path in the hash input)Unitpassnot runnot runnot run
portable snippet — what already worked keeps working, and identity is stable > the SAME island placed directly and inside the snippet dedupes to ONE id (relative form)Unitpassnot runnot runnot run
packages/core/test/portable-snippet-scope.test.ts
portable snippet — every name its body reads reaches the synth > a root snippet that writes host state keeps the body nativeUnitpassnot runnot runnot run
portable snippet — every name its body reads reaches the synth > captures a legacy `$:` declarationUnitpassnot runnot runnot run
portable snippet — every name its body reads reaches the synth > captures an exported instance declarationUnitpassnot runnot runnot run
portable snippet — every name its body reads reaches the synth > carries a template-root snippet (parameterized, using an import and a host value) and those it rendersUnitpassnot runnot runnot run
portable snippet — every name its body reads reaches the synth > leaves a body reading a legacy `let:` slot prop a plain snippet (no synth)Unitpassnot runnot runnot run
portable snippet — every name its body reads reaches the synth > re-imports a <script module> import and captures a <script module> valueUnitpassnot runnot runnot run
packages/core/test/portable-snippet-store-subs.test.ts
portable snippet — store auto-subscriptions cross as VALUE snapshots > captures $store reads (props, template literals, member chains) and rewrites the bodyUnitpassnot runnot runnot run
portable snippet — store auto-subscriptions cross as VALUE snapshots > errors loudly when a crossing snippet reads $$propsUnitpassnot runnot runnot run
portable snippet — store auto-subscriptions cross as VALUE snapshots > hoists an unresolvable $name too, and warns that it could not be verifiedUnitpassnot runnot runnot run
portable snippet — store auto-subscriptions cross as VALUE snapshots > leaves plain captures untouched next to store capturesUnitpassnot runnot runnot run
portable snippet — store auto-subscriptions cross as VALUE snapshots > warns when a host-declared store crosses as an OBJECT (it cannot serialize)Unitpassnot runnot runnot run
packages/core/test/portable-snippet-style-scope.test.ts
portable snippet — the host <style> travels into the synth (scope threading) > a host with no <style> yields a synth with no <style>, and still compilesUnitpassnot runnot runnot run
portable snippet — the host <style> travels into the synth (scope threading) > copies the host <style> into the synth entryUnitpassnot runnot runnot run
portable snippet — the host <style> travels into the synth (scope threading) > scopes the snippet markup to the rule that styles it (one shared hash)Unitpassnot runnot runnot run
packages/core/test/preference.test.ts
preference() > client get/set (jsdom-ish document + localStorage stubs) > set persists to localStorage + applies the attr; get reads it back; invalid → defaultUnitpassnot runnot runnot run
preference() > exposes name/values/default/attrUnitpassnot runnot runnot run
preference() > get() returns the default on the server (no document)Unitpassnot runnot runnot run
preference() > head() is a self-contained no-flash script referencing localStorage + the attrUnitpassnot runnot runnot run
preference() > preference.switch() is a self-contained delegated <script> wiring [data-pref][data-pref-set]Unitpassnot runnot runnot run
preference() > rejects a default that is not one of the valuesUnitpassnot runnot runnot run
packages/core/test/profiler-embedded-maps.test.ts
a chunk with no map > the module map's script module at the line, its lines found by their textUnitpassnot runnot runnot run
a chunk with no map: what a build does to lines > types stripped, two lines folded into one, one line wrapped over fiveUnitpassnot runnot runnot run
embedded_key > a browser chunk: the same key from a local copy of the client output or from its URLUnitpassnot runnot runnot run
embedded_key > a script's path under the server output, from Kit's output or an adapter map's sourceUnitpassnot runnot runnot run
embedded_source > only the app's own src/ files: a package's src/ and a dependency are not filed under the appUnitpassnot runnot runnot run
fill_profiler_maps > embeds the browser's maps for the app's own chunks from the stash, and removes the stashUnitpassnot runnot runnot run
fill_profiler_maps > writes the module map and every chunk's map into the placeholder, and nothing else changesUnitpassnot runnot runnot run
module_imports > a server file's $lib and relative script imports, resolved, with the files each may be; packages and components left outUnitpassnot runnot runnot run
route_imports > an import spread over linesUnitpassnot runnot runnot run
route_imports > the same-named component the route importsUnitpassnot runnot runnot run
the resolver follows a map to another built file > adapter chunk → Kit's chunk → the sourceUnitpassnot runnot runnot run
packages/core/test/profiler-module-map.test.ts
build_module_map > each module at its lines of the chunk, ids relative to the root, queries droppedUnitpassnot runnot runnot run
build_module_map: a module starting with a newline > the modules after it keep their linesUnitpassnot runnot runnot run
build_module_map: a module whose imports the bundler dropped > is found by its first solid line, and the modules after it keep their linesUnitpassnot runnot runnot run
build_module_map: the app's own folding comments inside a module > a //#region that names no module is not a module, and does not end the real one earlyUnitpassnot runnot runnot run
build_module_map: the bundler's own region markers > each //#region … //#endregion is a module at exactly those linesUnitpassnot runnot runnot run
module_category > the profiler, ogygia, a package, or (undefined) the appUnitpassnot runnot runnot run
packages/core/test/profiler-page-assets.test.ts
import scanners > static imports of bundled output, not dynamic ones or look-alikesUnitpassnot runnot runnot run
Kit route nodes > the ogygia runtime's on-demand parts are its own, loaded later (with what they import)Unitpassnot runnot runnot run
Kit route nodes > the page's own node (reachable only by app.js's dynamic import) is weighed; other routes' are notUnitpassnot runnot runnot run
runtime_scripts > this app's island entries no HTML named (a hole's islands) are counted apart; a CDN's parts are notUnitpassnot runnot runnot run
scan_assets > attributes: quoted, unquoted, valueless, entitiesUnitpassnot runnot runnot run
scan_assets > finds every file the document loads at start, with what blocksUnitpassnot runnot runnot run
weigh_assets > a file the host could not answer now (a 5xx, a rate limit) is weighed again by the next report; a 404 is notUnitpassnot runnot runnot run
weigh_assets > weighs every file, follows static imports, keeps lazy islands apartUnitpassnot runnot runnot run
packages/core/test/props-wire.test.ts
analyze · what one walk says > -0 inside → not the JSON lane, still referenceableUnitpassnot runnot runnot run
analyze · what one walk says > a cycle is neither lane and never loopsUnitpassnot runnot runnot run
analyze · what one walk says > a plain JSON tree is json + ref, sized, no thenableUnitpassnot runnot runnot run
analyze · what one walk says > a thenable anywhere flags the tree (and disqualifies both lanes)Unitpassnot runnot runnot run
analyze · what one walk says > an undefined PROPERTY keeps the JSON lane (JSON drops the key; a read gives undefined either way)Unitpassnot runnot runnot run
analyze · what one walk says > bigint inside → not the JSON lane, still referenceableUnitpassnot runnot runnot run
analyze · what one walk says > class instance inside → neither JSON nor referenceableUnitpassnot runnot runnot run
analyze · what one walk says > Date inside → not the JSON lane, still referenceableUnitpassnot runnot runnot run
analyze · what one walk says > function inside → neither JSON nor referenceableUnitpassnot runnot runnot run
analyze · what one walk says > Infinity inside → not the JSON lane, still referenceableUnitpassnot runnot runnot run
analyze · what one walk says > is memoised per root object (the seed is walked once per request)Unitpassnot runnot runnot run
analyze · what one walk says > Map inside → neither JSON nor referenceableUnitpassnot runnot runnot run
analyze · what one walk says > NaN inside → not the JSON lane, still referenceableUnitpassnot runnot runnot run
analyze · what one walk says > symbol-branded plain object (a held region, an og.$ fn descriptor) inside → neither JSON nor referenceableUnitpassnot runnot runnot run
analyze · what one walk says > undefined array element inside → not the JSON lane, still referenceableUnitpassnot runnot runnot run
island_fingerprint · the server-minted data-og-fp > is 16 hex chars, deterministic, and moves with either inputUnitpassnot runnot runnot run
live snippet entries > a JSON-lane payload never carries one (a live snippet is a function)Unitpassnot runnot runnot run
live snippet entries > finds every distinct live-region entry URL in a devalue payload, any appDirUnitpassnot runnot runnot run
plan_props_wire · fingerprint input > the fingerprint is a function of the props alone: same with or without the seedUnitpassnot runnot runnot run
plan_props_wire · lanes > a non-serializable prop (a class instance with no codec) throws the teaching errorUnitpassnot runnot runnot run
plan_props_wire · lanes > anything devalue exists for keeps devalue, and needs no second escapeUnitpassnot runnot runnot run
plan_props_wire · lanes > plain props take the JSON lane: canonical is JSON.stringify, the wire text is `<`-escapedUnitpassnot runnot runnot run
plan_props_wire · seed references at wire time > devalue-lane props reference too (a Date next to a seed node)Unitpassnot runnot runnot run
plan_props_wire · seed references at wire time > the profiler reads the wire: how many references, into which seed keys, and the devalue culpritUnitpassnot runnot runnot run
plan_props_wire · seed references at wire time > the same plan can be wired twice (identical islands share a sidecar render)Unitpassnot runnot runnot run
plan_props_wire · seed references at wire time > with the seed index: a seed node (identity or clone) crosses as a path, revives equalUnitpassnot runnot runnot run
plan_props_wire · seed references at wire time > without the seed (null), or with a seed that owns none of the props: the canonical laneUnitpassnot runnot runnot run
props_sidecar > keyed ADJACENT: the fingerprint attribute, never an idUnitpassnot runnot runnot run
props_sidecar > keyed in the tail: data-ogygia-props + id; JSON lane: the format attributeUnitpassnot runnot runnot run
props_sidecar > unkeyed devalue (a hole, a held region): bare attribute, no formatUnitpassnot runnot runnot run
stringify_props > matches plain devalue for plain values and registers the prop kinds onceUnitpassnot runnot runnot run
packages/core/test/reconcile.test.ts
endpoint_key — strips the volatile exp/sig tail > is empty for an island with no endpoint; a props change DOES shift the keyUnitpassnot runnot runnot run
endpoint_key — strips the volatile exp/sig tail > keeps id+props, drops exp+sig (so two renders of one region match)Unitpassnot runnot runnot run
fingerprint_of — the change key (did inputs change) > changes when the props seed changes (→ PATCH)Unitpassnot runnot runnot run
fingerprint_of — the change key (did inputs change) > equal when entry+endpoint+props seed are equal (→ KEEP)Unitpassnot runnot runnot run
fingerprint_of — the change key (did inputs change) > ignores exp/sig rotation in the endpoint (not an input change)Unitpassnot runnot runnot run
fnv1a > is deterministic and change-sensitiveUnitpassnot runnot runnot run
R1 stamping + shadow guard > a KEEP (same props) gets the same key across two renders; a PATCH (changed props) differsUnitskipnot runnot runnot run
R1 stamping + shadow guard > an unkeyed adjacent sidecar still resolves (holes, tickets, router documents)Unitskipnot runnot runnot run
R1 stamping + shadow guard > does not clobber an authored data-key or idUnitskipnot runnot runnot run
R1 stamping + shadow guard > reads a KEYED sidecar from the end of the body (data-og-fp ↔ data-ogygia-props="fp")Unitskipnot runnot runnot run
R1 stamping + shadow guard > stamps regions with signature:fingerprint and keep-chrome by keep nameUnitskipnot runnot runnot run
R1 stamping + shadow guard > the explicit opt-out is one selector the router checks on either documentUnitskipnot runnot runnot run
server↔client fingerprint parity (D1) > server data-og-fp = fingerprint_of(entry, "", payload) EQUALS client region_props_fpUnitpassnot runnot runnot run
signature_of — the match key (which slot) > different component → different signatureUnitpassnot runnot runnot run
signature_of — the match key (which slot) > same entry+endpoint-id → same signature across rendersUnitpassnot runnot runnot run
packages/core/test/ref-watch.test.ts
batch / resolve_batch (hub v2 phase B) > batch returns fn result and is reentrantUnitpassnot runnot runnot run
batch / resolve_batch (hub v2 phase B) > buffers watch notifications until the batch exits — no torn cross-ref stateUnitpassnot runnot runnot run
batch / resolve_batch (hub v2 phase B) > collapses repeat notifies for one id to a single final-value fireUnitpassnot runnot runnot run
dispose_ids — selective disposal (reconciler R3) > disposes only the named page ids, leaving the restUnitpassnot runnot runnot run
dispose_ids — selective disposal (reconciler R3) > unknown ids are skipped; a session-aliased id is not torn downUnitpassnot runnot runnot run
dispose_scope + Kind.dispose + scope disposers (hub v2 phase D) > a session-aliased instance is NOT disposed by dispose_scope(page)Unitpassnot runnot runnot run
dispose_scope + Kind.dispose + scope disposers (hub v2 phase D) > dispose_scope tears down each page instance via kind.dispose and empties the bucketUnitpassnot runnot runnot run
dispose_scope + Kind.dispose + scope disposers (hub v2 phase D) > registered scope disposers run on dispose (the fold hook)Unitpassnot runnot runnot run
scope (hub v2 phase S) > request scope leaves no page-bucket residue (server isolation)Unitpassnot runnot runnot run
scope (hub v2 phase S) > the string scope API matches the boolean shim: page↔true, request↔falseUnitpassnot runnot runnot run
watch / notify primitive > notify passes the settled value through; a throwing watcher does not starve othersUnitpassnot runnot runnot run
watch / notify primitive > re-resolving a WATCHED id merges fresh data in place and notifiesUnitpassnot runnot runnot run
watch / notify primitive > re-resolving an UNWATCHED id is the old early-return: no merge, no notifyUnitpassnot runnot runnot run
watch / notify primitive > server path (remember:false) never reaches the watch machineryUnitpassnot runnot runnot run
watch / notify primitive > subscribe returns an unsubscribe that removes exactly its callbackUnitpassnot runnot runnot run
packages/core/test/regex-replacements.test.ts
regex replacements answer what the regex did > capability gatesUnitpassnot runnot runnot run
regex replacements answer what the regex did > dedupe_head_links (regex reference)Unitpassnot runnot runnot run
regex replacements answer what the regex did > escapesUnitpassnot runnot runnot run
regex replacements answer what the regex did > region attribute parsing (the regex rules, quirks included)Unitpassnot runnot runnot run
regex replacements answer what the regex did > region_css_linksUnitpassnot runnot runnot run
packages/core/test/region-attrs.test.ts
region_ssr_truncated (invalid-nesting hoist guard) > does NOT flag a not-yet-swapped deferred/live region (no anchors at all)Unitpassnot runnot runnot run
region_ssr_truncated (invalid-nesting hoist guard) > does NOT flag a validly-parsed inline island (balanced envelope, content intact)Unitpassnot runnot runnot run
region_ssr_truncated (invalid-nesting hoist guard) > does NOT flag an island that renders nothing (balanced empty envelope)Unitpassnot runnot runnot run
region_ssr_truncated (invalid-nesting hoist guard) > flags the parser-hoisted region (opening anchors, no closing) as truncatedUnitpassnot runnot runnot run
region_ssr_truncated (invalid-nesting hoist guard) > recurses: balanced anchors nested inside an element child are not a truncationUnitpassnot runnot runnot run
region-attrs (two-axis DOM) > deferred client island: awake + deferred axes togetherUnitpassnot runnot runnot run
region-attrs (two-axis DOM) > is_awake only for hydrate schedules, not noneUnitpassnot runnot runnot run
region-attrs (two-axis DOM) > is_deferred / region_schedule use render+whenUnitpassnot runnot runnot run
region-attrs (two-axis DOM) > is_frozen matches hydrate="none"Unitpassnot runnot runnot run
region-attrs (two-axis DOM) > phase2: defer:load + hydrate:idle|visible arms second schedule (no coalesce)Unitpassnot runnot runnot run
region-attrs (two-axis DOM) > phase2: modulepreload eligibility mirrors coalesce (hydrate load OR match)Unitpassnot runnot runnot run
region-attrs (two-axis DOM) > region_hydrate_schedule / phase2 coalesceUnitpassnot runnot runnot run
region-attrs (two-axis DOM) > region_is_vacant treats comments/whitespace as empty but text/elements as filledUnitpassnot runnot runnot run
region-attrs (two-axis DOM) > region_max_age_ms / region_on_expireUnitpassnot runnot runnot run
region-attrs (two-axis DOM) > region_remount defaults to cacheUnitpassnot runnot runnot run
packages/core/test/region-bytes.test.ts
island_subgraph_bytes > a barrel the island still imports whole: little code, many app modules behind itUnitpassnot runnot runnot run
island_subgraph_bytes > a site-kit island (ogygia's content components): no app bytes, and still its linesUnitpassnot runnot runnot run
island_subgraph_bytes > a small component composing many children is no barrel: it uses what it importsUnitpassnot runnot runnot run
island_subgraph_bytes > ignores non-island modules and cold (untransformed) modulesUnitpassnot runnot runnot run
island_subgraph_bytes > its components' lines that draw differently in the browser, read from their sources on diskUnitpassnot runnot runnot run
island_subgraph_bytes > keeps the larger subgraph when two graph nodes share one island id (?v= variants)Unitpassnot runnot runnot run
island_subgraph_bytes > prunes the framework (svelte / ogygia runtime) — shared once per page, not per islandUnitpassnot runnot runnot run
island_subgraph_bytes > prunes the shared transportables registry (would otherwise drag in the whole app)Unitpassnot runnot runnot run
island_subgraph_bytes > sums the component + its child app modules, not the entry glueUnitpassnot runnot runnot run
packages/core/test/region-css-inline.test.ts
region_css_tag > a dev module href (not .css) is a modulepreload, never a stylesheet link to JSUnitpassnot runnot runnot run
region_css_tag > attribute-escapes the identity href in both shapesUnitpassnot runnot runnot run
region_css_tag > inlines a kept sheet as <style> keyed by the resolved href, links the restUnitpassnot runnot runnot run
Region.svelte × inline region css > an island whose sheet the build kept emits <style>; its other sheet stays a <link>Unitpassnot runnot runnot run
Region.svelte × inline region css > nothing kept (no threshold, pre-inline handoff): the links it always emittedUnitpassnot runnot runnot run
packages/core/test/region-css-tags.test.ts
region_css_tags > an empty or CSS-free head yields nothing; lookalike tags are not region CSSUnitpassnot runnot runnot run
region_css_tags > an unterminated inline sheet stops the scan instead of swallowing the restUnitpassnot runnot runnot run
region_css_tags > keeps both forms in head order; drops everything elseUnitpassnot runnot runnot run
packages/core/test/region-mac.test.ts
encode_region_props (SWR / defer mint bound) > encodes plain propsUnitpassnot runnot runnot run
encode_region_props (SWR / defer mint bound) > freezes a bare function prop to a static region snippet (the boundary law) and encodesUnitpassnot runnot runnot run
encode_region_props (SWR / defer mint bound) > returns null for genuinely non-serializable props (symbols)Unitpassnot runnot runnot run
encode_region_props (SWR / defer mint bound) > returns null when b64 payload exceeds MAX_REGION_PROPS_LENUnitpassnot runnot runnot run
islandId salt (P1-ID) > diverges when salt is setUnitpassnot runnot runnot run
islandId salt (P1-ID) > matches unsalted legacy when salt is emptyUnitpassnot runnot runnot run
kit bootstrap detection > detects a real Kit assignment bootstrapUnitpassnot runnot runnot run
kit bootstrap detection > ignores __sveltekit_ reflected inside ogygia side-channelsUnitpassnot runnot runnot run
kit bootstrap detection > strips type=application/ogygia-* even without data attrsUnitpassnot runnot runnot run
region_mac_message > binds region id into the MACUnitpassnot runnot runnot run
region_mac_message > length-prefixes so embedded nulls cannot shift field boundariesUnitpassnot runnot runnot run
region_mac_message > rejects expiry or props tamperingUnitpassnot runnot runnot run
region_mac_message > rejects non-hex signatures before compareUnitpassnot runnot runnot run
region_mac_message > v1 without a render identity, v2 with one — and neither verifies as the otherUnitpassnot runnot runnot run
RuntimeSession lake_cache (SPA reset) > reset clears lake_cache and initialized_lakesUnitpassnot runnot runnot run
RuntimeSession lake_cache (SPA reset) > SWR refresh replaces an entry without growing the mapUnitpassnot runnot runnot run
packages/core/test/region-snippet-dev-css.test.ts
DEV: a live region snippet’s portable form threads its entry region-css link into <head>Unitpassnot runnot runnot run
packages/core/test/registry-reach.test.ts
registry reach walk > a registry behind a plain helper resolves to the client-leg variantUnitpassnot runnot runnot run
registry reach walk > a wide fan-out over a deep shared chain reads each module once, and stays sharedUnitpassnot runnot runnot run
registry reach walk > cycles: the far side reaching a registry wins from either entry; a dead cycle stays negativeUnitpassnot runnot runnot run
packages/core/test/registry-stub.test.ts
export_names > a module with no exports yields nothingUnitpassnot runnot runnot run
export_names > declarations, export lists (aliased), defaultUnitpassnot runnot runnot run
imported_names > named (with alias → exported name) + default, only for the given specUnitpassnot runnot runnot run
registry_client_source > a registry with no marks is returned unchanged; an unparsable one is nullUnitpassnot runnot runnot run
registry_client_source > asRegion on a sole default import drops the whole importUnitpassnot runnot runnot run
registry_client_source > asRegion: the call blanks, its component import drops, sibling names stayUnitpassnot runnot runnot run
registry_client_source > blanks marked imports, keeps plain ones, re-exports and style imports byte-for-byteUnitpassnot runnot runnot run
registry_client_source > import.meta.og.regions(glob) blanks to an empty registryUnitpassnot runnot runnot run
registry_client_source > renamed region keys are honoured (importKeys)Unitpassnot runnot runnot run
registry_client_source > variant id round-trips the real pathUnitpassnot runnot runnot run
static_script_specs > unparsable → nullUnitpassnot runnot runnot run
static_script_specs > value imports, side-effect imports and re-exports; never type-only or dynamicUnitpassnot runnot runnot run
stub id + source > no names → an empty moduleUnitpassnot runnot runnot run
stub id + source > round-trips the names through the id; source declares each as undefinedUnitpassnot runnot runnot run
packages/core/test/remote-cache-refresh.test.ts
remote_cache.refresh_instances > calls refresh and reconnect on live instancesUnitpassnot runnot runnot run
packages/core/test/remote-seed-gate.test.ts
collect_remote_seed — Kit bucketing × reachability > a private remote (no id) never seeds, whatever `wanted` saysUnitpassnot runnot runnot run
collect_remote_seed — Kit bucketing × reachability > a still-PENDING result is omitted (the client fetches it) — a resolved sibling payload still seedsUnitpassnot runnot runnot run
collect_remote_seed — Kit bucketing × reachability > a value carrying a BAKED region is skipped (a page-sized render, not data), the rest seedsUnitpassnot runnot runnot run
collect_remote_seed — Kit bucketing × reachability > an ERRORED result is omitted, never throws the seed buildUnitpassnot runnot runnot run
collect_remote_seed — Kit bucketing × reachability > an unknown type is dropped (Kit parity: only q/p/l/f buckets exist)Unitpassnot runnot runnot run
collect_remote_seed — Kit bucketing × reachability > at scale: 2 000 remotes × 3 payloads, 400 reachable modules — exact set, well under a secondUnitpassnot runnot runnot run
collect_remote_seed — Kit bucketing × reachability > the memo of already-awaited results wins over re-invoking the recordUnitpassnot runnot runnot run
collect_remote_seed — Kit bucketing × reachability > the permutation grid: {query, prerender, live} × {lake-only, island-reachable, fail-open}Unitpassnot runnot runnot run
collect_remote_seed — Kit bucketing × reachability > wanted = {} (islands on the page, none imports a remote) → only the form output survives (fail-open id shape)Unitpassnot runnot runnot run
collect_remote_seed — Kit bucketing × reachability > wanted = {1rczqrp} → the footer seeds, the greetings module does notUnitpassnot runnot runnot run
collect_remote_seed — Kit bucketing × reachability > wanted = {bjveep} → only that module’s remotes seed — every type of it, every payload; the footer does notUnitpassnot runnot runnot run
collect_remote_seed — Kit bucketing × reachability > wanted = null → everything public seeds, in Kit’s buckets (the pre-gate rule)Unitpassnot runnot runnot run
remote_seed_wanted > a remote no island on the page imports → NOT seeded (a lake / page-script call: server render only)Unitpassnot runnot runnot run
remote_seed_wanted > a remote whose module some island can call → seedsUnitpassnot runnot runnot run
remote_seed_wanted > an empty set (islands on the page, none calls a remote) → nothing seedsUnitpassnot runnot runnot run
remote_seed_wanted > an id without the `${hash}/` shape is kept — fail-open on what it cannot nameUnitpassnot runnot runnot run
remote_seed_wanted > matches on the id-hash PREFIX only — a hash that merely starts the same is a different moduleUnitpassnot runnot runnot run
remote_seed_wanted > null (unknown) → every remote seeds, the pre-gate ruleUnitpassnot runnot runnot run
packages/core/test/render-cache.test.ts
cached_render — one render per key in flight (#244) > 20 concurrent calls for one cached hole render it once, and all get its answer#244Unitpassnot runnot runnot run
cached_render — one render per key in flight (#244) > a failed render is not cached: the calls that joined it get its failure, the next call renders#244Unitpassnot runnot runnot run
cached_render — one render per key in flight (#244) > a flight from before a clear stores nothing: its caller renders again, joined by the next#244Unitpassnot runnot runnot run
cached_render — one render per key in flight (#244) > a render every caller left is stopped: it never takes a slot#244Unitpassnot runnot runnot run
cached_render — one render per key in flight (#244) > a render whose opener leaves while it waits for a slot keeps its place in the queue for the calls still waiting on it#244Unitpassnot runnot runnot run
cached_render — one render per key in flight (#244) > a render whose own request left before it started is not a failure for the calls that joined it (#245)#244Unitpassnot runnot runnot run
cached_render — one render per key in flight (#244) > an uncached hole renders for every call, concurrent or not#244Unitpassnot runnot runnot run
cached_render — one render per key in flight (#244) > different keys never share a render#244Unitpassnot runnot runnot run
cached_render — the shared seam (G2) > a null render (failure) is never cachedUnitpassnot runnot runnot run
cached_render — the shared seam (G2) > re-renders after expiry, and NEVER caches a dynamic (no cache / ttl<=0) renderUnitpassnot runnot runnot run
cached_render — the shared seam (G2) > renders once on cold, serves the memo on warm (within TTL)Unitpassnot runnot runnot run
render cache: what it keeps > a hit is an LRU touch — a recently-served entry survives eviction pressureUnitpassnot runnot runnot run
render cache: what it keeps > bounds memory — past 500 entries the oldest evictUnitpassnot runnot runnot run
render cache: what it keeps > holds many small renders, but 2 MB renders evict each other long before 500 entriesUnitpassnot runnot runnot run
render cache: what it keeps > NEVER caches a dynamic (ttl <= 0) holeUnitpassnot runnot runnot run
render cache: what it keeps > props and a session that spell one string another way are another entryUnitpassnot runnot runnot run
render cache: what it keeps > stores and serves within the TTL window, misses after expiryUnitpassnot runnot runnot run
render cache: what it keeps > two users with the same props get isolated entries (no cross-serve)Unitpassnot runnot runnot run
render_cache_key > includes the session seal so users never cross; excludes exp/sig (not passed) and ttlUnitpassnot runnot runnot run
packages/core/test/render-id.test.ts
renderId > another component, or another export of the same file, is another render identityUnitpassnot runnot runnot run
renderId > is the component alone: schedule, preset settings and salt never change itUnitpassnot runnot runnot run
renderId > posix whatever the OS separator, 12 hex, never a region id of the same componentUnitpassnot runnot runnot run
the server manifest maps render identities > each id → its render identity; each render identity → one entry rendering it (the smallest id)Unitpassnot runnot runnot run
the server manifest maps render identities > the browser leg carries none of itUnitpassnot runnot runnot run
the server manifest maps render identities > the islands’ loaders live one dynamic import away (Kit links CSS one import deep)Unitpassnot runnot runnot run
packages/core/test/render-page.test.ts
data_url_of: the URL Kit’s client asks for a page’s data > suffixes the path, keeps the search, marks a trailing slashUnitpassnot runnot runnot run
look_up_page: Kit’s data answer, decoded like its client does > a redirect, an error node, a failed request: a reason, never a guessUnitpassnot runnot runnot run
look_up_page: Kit’s data answer, decoded like its client does > decodes the app’s transport typesUnitpassnot runnot runnot run
look_up_page: Kit’s data answer, decoded like its client does > merges every node’s data, reads the route header, marks its own requestUnitpassnot runnot runnot run
look_up_page: Kit’s data answer, decoded like its client does > returns at the first line: a streamed promise resolves later, without holding the renderUnitpassnot runnot runnot run
render_page: one model, three venues > a hole looks up only when its tree reads page.data; a cross-origin Referer neverUnitpassnot runnot runnot run
render_page: one model, three venues > dev: a key the server loads did not produce is named once (a universal load’s), never silentUnitpassnot runnot runnot run
render_page: one model, three venues > for a page (a remote call): the Referer’s page, its facts once looked upUnitpassnot runnot runnot run
render_page: one model, three venues > in the page: the recorded snapshot, the live event filling the restUnitpassnot runnot runnot run
render_page: one model, three venues > its own: no Referer rule outside the islands endpoint and remote callsUnitpassnot runnot runnot run
packages/core/test/request-scope.test.ts
own_response > a response with no body ends its owner at onceUnitpassnot runnot runnot run
own_response > the body cancelled (the visitor left mid-stream) ends the owner and the sourceUnitpassnot runnot runnot run
own_response > the body read to its end ends the owner, after its last chunkUnitpassnot runnot runnot run
own_response > the visitor leaving first cancels the source and ends the bodyUnitpassnot runnot runnot run
own_response: a body the platform will not read > a HEAD answer ends its owner at onceUnitpassnot runnot runnot run
own_response: a body the platform will not read > a page whose etag the visitor already has (a 304) ends its owner at onceUnitpassnot runnot runnot run
own_response: a body the platform will not read > a weak etag match (W/) is a 304 tooUnitpassnot runnot runnot run
own_response: a body the platform will not read > an etag the visitor does not have, or a status other than 200, keeps the owner until the body endsUnitpassnot runnot runnot run
request_local > one value per request, disposed when the request endsUnitpassnot runnot runnot run
request_scope > ends when the visitor leaves (request.signal aborts)Unitpassnot runnot runnot run
request_scope > is one owner per request, made on first touchUnitpassnot runnot runnot run
request_scope > of a request whose visitor already left is endedUnitpassnot runnot runnot run
packages/core/test/request-stats-detail.test.ts
hold_request_stats_detail > a release called twice lets go once: it never ends another window’s holdUnitpassnot runnot runnot run
hold_request_stats_detail > stays on while any window holds it; overlapping windows end in any orderUnitpassnot runnot runnot run
packages/core/test/reversible.test.ts
localizeMarks > renumbers a block’s marks from 0 for a cache key, and puts the document’s ids back afterUnitpassnot runnot runnot run
mark > a baked live region is opaque like a lake: on a Kit-hydrated document its hosts get no plan, its islands keep theirsUnitpassnot runnot runnot run
mark > a document the router fetched is an answer: every host planned, as in a region answerUnitpassnot runnot runnot run
mark > a Kit-hydrated document is Svelte-owned throughout its body; a region answer plans every hostUnitpassnot runnot runnot run
mark > a server-owned host around a hole is planned: ogygia swaps the hole, its runtime must not adopt itUnitpassnot runnot runnot run
mark > marks text a trimmer could change, deeper inside a planned host’s children — never the first text of a <pre>Unitpassnot runnot runnot run
mark > plans the hosts in Svelte-owned markup and around it; tags every custom element’s childrenUnitpassnot runnot runnot run
settle > a block the tree opens inside a Svelte <p> becomes a stand-in tooUnitpassnot runnot runnot run
settle > a host ogygia will not restore gets no comment marks (its element children still carry their tag)Unitpassnot runnot runnot run
settle > a host without a plan loses every mark: left exactly as the transform wrote itUnitpassnot runnot runnot run
settle > a planned host keeps what the restorer needs: the attributes to reset, the text the render changedUnitpassnot runnot runnot run
settle > a planned host that is also a tagged child carries one attribute reset: its ownUnitpassnot runnot runnot run
settle > a tagged child that is a host ogygia won’t restore keeps the attributes its runtime adopts it byUnitpassnot runnot runnot run
settle > dev: each planned host’s original children, for the browser’s checkUnitpassnot runnot runnot run
settle > head assets in a document’s body go to its head, once per keyUnitpassnot runnot runnot run
settle > settle alone drops marks of hosts the transform never plannedUnitpassnot runnot runnot run
settle > stand-ins: a start tag the parser would restructure, where the render made either side of itUnitpassnot runnot runnot run
packages/core/test/route-config-kit.test.ts
page_route_config — Kit’s merge > a layout sets the key, children inherit it, a page overrides it; unset is absentUnitpassnot runnot runnot run
page_route_config — Kit’s merge > a layout turns a subtree off and a page below turns itself back onUnitpassnot runnot runnot run
page_route_config — Kit’s merge > a redirect-only route (a `+page.server.ts` with no component) is a page tooUnitpassnot runnot runnot run
page_route_config — Kit’s merge > a route-file change is seen after the topology cache clears (the dev watcher)Unitpassnot runnot runnot run
page_route_config — Kit’s merge > at one level the universal module beats the server module, as in KitUnitpassnot runnot runnot run
page_route_config — Kit’s merge > baked values answer at run time by Kit route.id (groups and all); unset = undefinedUnitpassnot runnot runnot run
page_route_config — Kit’s merge > strips (group) segments so the id matches Kit route.id normalizationUnitpassnot runnot runnot run
page_route_config — Kit’s merge > the merge is per key: a deeper config without the key keeps the outer valueUnitpassnot runnot runnot run
read_route_config — export shapes > a claimed key with a computed value is a build error naming the file and keyUnitpassnot runnot runnot run
read_route_config — export shapes > nothing is stripped: the route module stays exactly what Kit readsUnitpassnot runnot runnot run
read_route_config — export shapes > reads the claimed key out of the object, typed or not; absent everywhere elseUnitpassnot runnot runnot run
packages/core/test/route-csr.test.ts
csrTrueRouteIds + cache > clear_route_csr_cache picks up new declarations AND new pagesUnitpassnot runnot runnot run
csrTrueRouteIds + cache > root page maps to "/", groups stripped, multiple entriesUnitpassnot runnot runnot run
errorCsrTrueRouteIds / rootLayoutCsrTrue — the layout branch decides > cache: a new layout declaration is picked up after clear_route_csr_cacheUnitpassnot runnot runnot run
errorCsrTrueRouteIds / rootLayoutCsrTrue — the layout branch decides > csr=false declared on the layout chain turns the error pages off tooUnitpassnot runnot runnot run
errorCsrTrueRouteIds / rootLayoutCsrTrue — the layout branch decides > deepest LAYOUT declaration wins, page files ignored, groups strippedUnitpassnot runnot runnot run
errorCsrTrueRouteIds / rootLayoutCsrTrue — the layout branch decides > THE BUG: csr=false pages under a default (csr=true) layout — pages off, their error pages ONUnitpassnot runnot runnot run
layout world — derived from pages, never its own chain > a layout with no pages below falls back to its own chainUnitpassnot runnot runnot run
layout world — derived from pages, never its own chain > a nested layout whose subtree is pure csr=true strips even under a csr=false rootUnitpassnot runnot runnot run
layout world — derived from pages, never its own chain > all pages Kit-hydrated → the layout stripsUnitpassnot runnot runnot run
layout world — derived from pages, never its own chain > every page below csr=false (declared at various depths) → island worldUnitpassnot runnot runnot run
layout world — derived from pages, never its own chain > mixed subtree → shared world; runtime set carries exactly the true pagesUnitpassnot runnot runnot run
layout world — derived from pages, never its own chain > NESTED layouts are each judged by their OWN subtreeUnitpassnot runnot runnot run
layout world — derived from pages, never its own chain > root csr=false with a deeper csr=true override — layout goes sharedUnitpassnot runnot runnot run
layout world — derived from pages, never its own chain > sibling-prefix dirs do not leak into a layout fold (docs vs docs-old)Unitpassnot runnot runnot run
layout world — derived from pages, never its own chain > THE REGRESSION: csr=false only in a deep catch-all still islands the root layoutUnitpassnot runnot runnot run
page world — option-file chain, deepest wins > csr=false in root-level +layout.js reaches the pageUnitpassnot runnot runnot run
page world — option-file chain, deepest wins > csr=false in root-level +layout.server.ts reaches the pageUnitpassnot runnot runnot run
page world — option-file chain, deepest wins > csr=false in root-level +layout.ts reaches the pageUnitpassnot runnot runnot run
page world — option-file chain, deepest wins > csr=false in root-level +page.js reaches the pageUnitpassnot runnot runnot run
page world — option-file chain, deepest wins > csr=false in root-level +page.server.ts reaches the pageUnitpassnot runnot runnot run
page world — option-file chain, deepest wins > csr=false in root-level +page.ts reaches the pageUnitpassnot runnot runnot run
page world — option-file chain, deepest wins > deepest declaration wins across a false → true → false chainUnitpassnot runnot runnot run
page world — option-file chain, deepest wins > group-segment option files participate in the chainUnitpassnot runnot runnot run
page world — option-file chain, deepest wins > non-route files and files outside routesDir are never route hostsUnitpassnot runnot runnot run
page world — option-file chain, deepest wins > rest/optional param dirs are ordinary chain segmentsUnitpassnot runnot runnot run
page world — option-file chain, deepest wins > the page's own option file beats every layout above itUnitpassnot runnot runnot run
read_csr — declaration forms > commented-out declarations never winUnitpassnot runnot runnot run
read_csr — declaration forms > plain false / true / absentUnitpassnot runnot runnot run
read_csr — declaration forms > typed form `csr: boolean`Unitpassnot runnot runnot run
route components in any extension > a markdown page has its own world and counts for its layoutUnitpassnot runnot runnot run
route components in any extension > option scripts are not componentsUnitpassnot runnot runnot run
transform seam — route_csr tri-state on a layout host > island world (false) and shared world (undefined) keep the chrome islandsUnitpassnot runnot runnot run
transform seam — route_csr tri-state on a layout host > strip world (true) hands the component to Kit as plainUnitpassnot runnot runnot run
packages/core/test/router-css-dev.test.ts
router page CSS in dev (#249), loaded by ssrLoadModule > an edit to the page style: the next render links the edited CSS#249Unitpassnot runnot runnot run
router page CSS in dev (#249), loaded by ssrLoadModule > one failed read of the registry: the next render links the page CSS#249Unitpassnot runnot runnot run
router page CSS in dev (#249), loaded by the ssr environment's runner > an edit to the page style: the next render links the edited CSS#249Unitpassnot runnot runnot run
router page CSS in dev (#249), loaded by the ssr environment's runner > one failed read of the registry: the next render links the page CSS#249Unitpassnot runnot runnot run
packages/core/test/router-css.test.ts
router_css_module — the generated virtual > collects a plain .css import (the profiler.css shared-sheet pattern)Unitpassnot runnot runnot run
router_css_module — the generated virtual > dev: inlines compiled scoped css (transitively, through child components)Unitpassnot runnot runnot run
router_css_module — the generated virtual > emits an inert module for zero rootsUnitpassnot runnot runnot run
router_css_module — the generated virtual > keys are stable and posixUnitpassnot runnot runnot run
router_css_module — the generated virtual > prod: registers each root with a handoff thunk (islandCss key + Kit's configured base)Unitpassnot runnot runnot run
router_css_roots — the component closure of router modules > collects direct .svelte importsUnitpassnot runnot runnot run
router_css_roots — the component closure of router modules > follows barrels (re-exports) to their .svelte leavesUnitpassnot runnot runnot run
router_css_roots — the component closure of router modules > no router modules → no rootsUnitpassnot runnot runnot run
router_css_roots — the component closure of router modules > resolves extensionless + index barrelsUnitpassnot runnot runnot run
router_css_roots — the component closure of router modules > skips package imports and survives import cyclesUnitpassnot runnot runnot run
runtime registry > dev path registration resolves through svelte dev FILENAME symbol (no component import)Unitpassnot runnot runnot run
runtime registry > registers by identity, resolves via the thunk, tolerates a throwing thunkUnitpassnot runnot runnot run
packages/core/test/router-same-document.test.ts
same_document_link > a fragment jump is the browser'sUnitpassnot runnot runnot run
same_document_link > a re-dispatched click on the address already in flight is swallowedUnitpassnot runnot runnot run
same_document_link > a real click on the page one is on refreshes in place, never reloadsUnitpassnot runnot runnot run
packages/core/test/rules-stripped.test.ts
rules never ship in a production build > the runtime boot with its router: none of them off, every one onLint rulespassnot runnot runnot run
rules never ship in a production build > the server's response path: none of them off, every one onLint rulespassnot runnot runnot run
packages/core/test/runtime-boot-svelte-free.test.ts
island-side modules reach the runtime only through its handles > app.ts imports no boot moduleUnitpassnot runnot runnot run
island-side modules reach the runtime only through its handles > Kit’s transport really does share the registry (so it is the allowed exception, not a loophole)Unitpassnot runnot runnot run
island-side modules reach the runtime only through its handles > lazy chunk hydrate-core.ts imports no boot module beyond what Kit's transport sharesUnitpassnot runnot runnot run
island-side modules reach the runtime only through its handles > lazy chunk interaction-replay.ts imports no boot module beyond what Kit's transport sharesUnitpassnot runnot runnot run
island-side modules reach the runtime only through its handles > lazy chunk router-nav.ts imports no boot module beyond what Kit's transport sharesUnitpassnot runnot runnot run
island-side modules reach the runtime only through its handles > shims/app-navigation.ts imports no boot moduleUnitpassnot runnot runnot run
island-side modules reach the runtime only through its handles > shims/app-state.svelte.ts imports no boot moduleUnitpassnot runnot runnot run
island-side modules reach the runtime only through its handles > shims/app-stores.ts imports no boot moduleUnitpassnot runnot runnot run
island-side modules reach the runtime only through its handles > shims/kit-remote/client-stub.ts imports no boot moduleUnitpassnot runnot runnot run
island-side modules reach the runtime only through its handles > the boot set follows the bundled packages too (the machine the boot runs on)Unitpassnot runnot runnot run
island-side modules reach the runtime only through its handles > the check is not vacuous: the boot set holds the router and the slots registryUnitpassnot runnot runnot run
the browser runtime boot never statically reaches Svelte > boot-phase feature "forms" (form-continuity.js)Unitpassnot runnot runnot run
the browser runtime boot never statically reaches Svelte > boot-phase feature "frames" (frames.js)Unitpassnot runnot runnot run
the browser runtime boot never statically reaches Svelte > boot-phase feature "interaction" (interaction.js)Unitpassnot runnot runnot run
the browser runtime boot never statically reaches Svelte > boot-phase feature "lakes" (lakes.js)Unitpassnot runnot runnot run
the browser runtime boot never statically reaches Svelte > boot-phase feature "morph" (morph.js)Unitpassnot runnot runnot run
the browser runtime boot never statically reaches Svelte > boot-phase feature "mpa-nav" (nav-handle.js)Unitpassnot runnot runnot run
the browser runtime boot never statically reaches Svelte > boot-phase feature "router" (router.js)Unitpassnot runnot runnot run
the browser runtime boot never statically reaches Svelte > boot-phase feature "wire-classes" (wire-classes.js)Unitpassnot runnot runnot run
the browser runtime boot never statically reaches Svelte > core.tsUnitpassnot runnot runnot run
the browser runtime boot never statically reaches Svelte > the walker is not vacuous: the lazy hydrate core DOES reach SvelteUnitpassnot runnot runnot run
the compiler splits features into two static phases > hydrate-phase features are exactly context, live, page, wire, remote-seedsUnitpassnot runnot runnot run
the compiler splits features into two static phases > the boot entry never imports a hydrate-phase feature, even when the app uses all of themUnitpassnot runnot runnot run
the compiler splits features into two static phases > the hydrate-phase module imports exactly the hydrate features the marks selectUnitpassnot runnot runnot run
packages/core/test/runtime-flags.test.ts
runtime flags > FRAMES is the frames feature: on wherever a region streams HTMLUnitpassnot runnot runnot run
runtime flags > incomplete marks and dev keep every flag onUnitpassnot runnot runnot run
packages/core/test/runtime-interaction-feature.test.ts
the interaction feature > not for a page of lakes only, nor a page with no islandsUnitpassnot runnot runnot run
the interaction feature > ships for any island that hydratesUnitpassnot runnot runnot run
packages/core/test/schedule-background.test.ts
background_start > falls back to a macrotask when postTask throws (older invalid-priority impl)Unitpassnot runnot runnot run
background_start > falls back to a macrotask when scheduler.postTask is absent — async, not syncUnitpassnot runnot runnot run
background_start > one background task starts everything queued before it runs (not a task per start)Unitpassnot runnot runnot run
background_start > uses scheduler.postTask at background priority, never synchronouslyUnitpassnot runnot runnot run
packages/core/test/schedule-turns.test.ts
hydration turns > a page of 300 load wakes: every turn handed out once, in that orderUnitpassnot runnot runnot run
hydration turns > a ready region below the fold holds while a viewport region loads its moduleUnitpassnot runnot runnot run
hydration turns > a region that leaves the viewport before its turn goes with the restUnitpassnot runnot runnot run
hydration turns > the first pick waits for a snapshot still to come, up to its waitUnitpassnot runnot runnot run
hydration turns > the hold is bounded: a viewport module that never comes holds the page 1 s at mostUnitpassnot runnot runnot run
hydration turns > two turns of one region: request order; a region that disconnects gets its turns at onceUnitpassnot runnot runnot run
hydration turns > viewport regions first, then connect order, whatever order the turns were asked inUnitpassnot runnot runnot run
packages/core/test/script.test.ts
script() > `<!--` in the code is neutralized (it would swallow the page after the tag)Unitpassnot runnot runnot run
script() > `</script` in the code cannot close the tagUnitpassnot runnot runnot run
script() > a bare function is a classic inline scriptUnitpassnot runnot runnot run
script() > a method in the options object is read back as an expressionUnitpassnot runnot runnot run
script() > a module awaits its run; async / nonce / id / data-* become attributesUnitpassnot runnot runnot run
script() > args are JSON, `<` escaped, `undefined` positionalUnitpassnot runnot runnot run
script() > data payloads: their type, JSON with `<` escapedUnitpassnot runnot runnot run
script() > false / null / undefined attributes are left out; `nomodule` is bareUnitpassnot runnot runnot run
script() > imports need a module; a bundler-rewritten run is refused with the fixUnitpassnot runnot runnot run
script() > imports: static `import * as` first, the namespaces as one object before the argsUnitpassnot runnot runnot run
script() > refuses no payload, two payloads, and a bad attribute nameUnitpassnot runnot runnot run
script() > spreadsUnitpassnot runnot runnot run
script() > the shortcut takes trailing args, same as `{ run, args }`Unitpassnot runnot runnot run
packages/core/test/seed-record.test.ts
callable-remotes recording > a lake, a static hole and a plain inline held region record [] (no client at all)Unitpassnot runnot runnot run
callable-remotes recording > a promise `of` (module unknown until it resolves) records null — fail-openUnitpassnot runnot runnot run
callable-remotes recording > a server island that hydrates follows its client moduleUnitpassnot runnot runnot run
callable-remotes recording > an entry the build does not know (foreign fragment, dev) records null — fail-openUnitpassnot runnot runnot run
callable-remotes recording > an island records the build’s list for its entryUnitpassnot runnot runnot run
callable-remotes recording > an island whose closure imports no remote records [] — not nullUnitpassnot runnot runnot run
callable-remotes recording > the wake does not matter (visible / interaction record the same list)Unitpassnot runnot runnot run
page snapshot recording > a lake and a plain inline held region never ask (no client at all)Unitpassnot runnot runnot run
page snapshot recording > a promise `of` (module unknown until it resolves) asks — fail-openUnitpassnot runnot runnot run
page snapshot recording > a server island that hydrates follows its client module; a static hole never asksUnitpassnot runnot runnot run
page snapshot recording > an island whose closure never reads $page → snapshot still recorded, seed NOT asked forUnitpassnot runnot runnot run
page snapshot recording > an island whose closure reads $page → snapshot recorded AND the seed asked forUnitpassnot runnot runnot run
page snapshot recording > an island whose closure reads pinned keys asks for exactly thoseUnitpassnot runnot runnot run
page snapshot recording > the same rule for visible / interaction islands (the wake does not matter)Unitpassnot runnot runnot run
packages/core/test/seed-refs.test.ts
json_culprit (why a tree left the JSON lane) > names the first disqualifying leaf with its path and kindUnitpassnot runnot runnot run
json_culprit (why a tree left the JSON lane) > the plan reports which top-level keys its references point intoUnitpassnot runnot runnot run
plan_seed_refs > a near-clone (one field differs) does NOT match the parent, but its identical children doUnitpassnot runnot runnot run
plan_seed_refs > a value the seed does not have, or one below the threshold, is never referencedUnitpassnot runnot runnot run
plan_seed_refs > an empty index never references anything (and never walks the props)Unitpassnot runnot runnot run
plan_seed_refs > devalue round trip: references replace the copies and revive BY REFERENCE to the seed nodesUnitpassnot runnot runnot run
plan_seed_refs > identity: the seed object itself → its path, largest ancestor wins, children untouchedUnitpassnot runnot runnot run
plan_seed_refs > many same-sized records, copied: each copy matches its own record, in any ask orderUnitpassnot runnot runnot run
plan_seed_refs > structure: a JSON clone of a seed node → the same pathUnitpassnot runnot runnot run
plan_seed_refs > the reviver resolves the seed lazily — never when the sidecar carries no referenceUnitpassnot runnot runnot run
plan_seed_refs > two equal seed records: a copy matches the first one in key orderUnitpassnot runnot runnot run
Region.svelte × seed references > outside the page pass (a hole, a ticket, a test render): full copies even with a seedUnitpassnot runnot runnot run
Region.svelte × seed references > page pass + tail rendered against the seed: a props subtree that is a seed node becomes a referenceUnitpassnot runnot runnot run
Region.svelte × seed references > plain props with no seed data in them take the JSON laneUnitpassnot runnot runnot run
Region.svelte × seed references > seed NOT shipped (no $page reader on the page): full copies, never a referenceUnitpassnot runnot runnot run
Region.svelte × seed references > the fingerprint does not depend on the seed: same island, referenced or copied → same data-og-fpUnitpassnot runnot runnot run
Region.svelte × seed references > the FIRST island on the page references too (the decision is made when the tail renders)Unitpassnot runnot runnot run
resolve > deep_equal_plain: exact structural equality onlyUnitpassnot runnot runnot run
resolve > resolves paths; a missing path is undefinedUnitpassnot runnot runnot run
SeedIndex > a non-object data (null, string) yields an empty indexUnitpassnot runnot runnot run
SeedIndex > indexes every referenceable node at or above the byte threshold, by identity and by hashUnitpassnot runnot runnot run
SeedIndex > is cached per data objectUnitpassnot runnot runnot run
SeedIndex > skips subtrees holding non-plain values (class instances, Maps, Sets) and cyclesUnitpassnot runnot runnot run
the shared request memo > a block island whose props are a seed node adds one entry (its wrapper), not a subtreeUnitpassnot runnot runnot run
the shared request memo > a cycle met through the shared memo is opaque, and the walk still terminatesUnitpassnot runnot runnot run
the shared request memo > without a reader every root measures on its own (a hole endpoint, a test)Unitpassnot runnot runnot run
packages/core/test/seed-shape.test.ts
merge_seed_ask > false asks nothing; keys union; all absorbsUnitpassnot runnot runnot run
shape_page_data > all and null ship the tree as is; non-objects pass throughUnitpassnot runnot runnot run
shape_page_data > an empty ask ships an empty data object (the island reads only url / params)Unitpassnot runnot runnot run
shape_page_data > picks the asked keys, keeps value identity, leaves absent keys absentUnitpassnot runnot runnot run
packages/core/test/seed-shaping-report.test.ts
report_seed_shaping > returns each unpinned island's blamed modules, root-relative, from its own closure onlyUnitpassnot runnot runnot run
packages/core/test/server-rules.test.ts
server rules > a flight that keeps an error as its answer breaks the rule; one that fails keeps nothingUnitpassnot runnot runnot run
server rules > a response that ended with its scope still open is said, with its codeUnitpassnot runnot runnot run
server rules > a streamed response read to its end: its scope is closed, no rule brokenUnitpassnot runnot runnot run
packages/core/test/server-sourcemaps.test.ts
server_sourcemaps_plugin > the app's own choice wins; no profiler, no dev server: nothingUnitpassnot runnot runnot run
server_sourcemaps_plugin > the server build gets hidden maps; the client build Kit starts after it keeps them hidden and moves them off its outputUnitpassnot runnot runnot run
server_sourcemaps_plugin > two apps built in one process: one app's hidden maps are not taken from the otherUnitpassnot runnot runnot run
packages/core/test/shared-cache.test.ts
expiry_refusal: the one expiry check (region holes and plugin capabilities) > a renewal: only an expired capability inside the windowUnitpassnot runnot runnot run
expiry_refusal: the one expiry check (region holes and plugin capabilities) > a request: refused once `exp` has passed, or when it is not a numberUnitpassnot runnot runnot run
mint_ttl_sec: the capability lifetime a hole is signed for > a session-bound hole is never extended (its document is the visitor’s own)Unitpassnot runnot runnot run
mint_ttl_sec: the capability lifetime a hole is signed for > a stored page (prerender / postrender) is prerender-grade, whatever elseUnitpassnot runnot runnot run
mint_ttl_sec: the capability lifetime a hole is signed for > an anonymous hole on a shared-cached document: twice the cache lifeUnitpassnot runnot runnot run
mint_ttl_sec: the capability lifetime a hole is signed for > never shorter than regions.ttl, never longer than prerender-gradeUnitpassnot runnot runnot run
mint_ttl_sec: the capability lifetime a hole is signed for > no shared-cache life (or unknown): regions.ttl, unchangedUnitpassnot runnot runnot run
renewable_expiry: the renewal gate’s time rule > a capability that has not expired never renewsUnitpassnot runnot runnot run
renewable_expiry: the renewal gate’s time rule > a window of 0 renews nothingUnitpassnot runnot runnot run
renewable_expiry: the renewal gate’s time rule > an expiry that HAS passed, within the window, renewsUnitpassnot runnot runnot run
renewable_expiry: the renewal gate’s time rule > only a plain integer (no sign, fraction, exponent or padding)Unitpassnot runnot runnot run
renewable_expiry: the renewal gate’s time rule > past the window: refused (9 days back)Unitpassnot runnot runnot run
renewable_expiry: the renewal gate’s time rule > the app’s window (regions.renewWindow): 30 days renews a 9-day-old capability, not a 31-day oneUnitpassnot runnot runnot run
runtime: telling an expired capability from its URL > a live capability is not retriedUnitpassnot runnot runnot run
runtime: telling an expired capability from its URL > a passed exp is expiredUnitpassnot runnot runnot run
runtime: telling an expired capability from its URL > a slow client clock (up to 5 min behind) still sees itUnitpassnot runnot runnot run
runtime: telling an expired capability from its URL > a URL without a usable exp is not retriedUnitpassnot runnot runnot run
runtime: telling an expired capability from its URL > the renewal request is the same URL plus renew=1Unitpassnot runnot runnot run
shared_cache_lifetime: how long shared caches may serve the document > case, spacing and quoted values are tolerated; junk values are ignoredUnitpassnot runnot runnot run
shared_cache_lifetime: how long shared caches may serve the document > max-age counts with or without `public` (a shared cache may store any non-private response)Unitpassnot runnot runnot run
shared_cache_lifetime: how long shared caches may serve the document > private / no-store / no-cache: shared caches do not serve it → 0Unitpassnot runnot runnot run
shared_cache_lifetime: how long shared caches may serve the document > s-maxage + stale-while-revalidate (the field header: 8 days)Unitpassnot runnot runnot run
shared_cache_lifetime: how long shared caches may serve the document > s-maxage wins over max-age for shared cachesUnitpassnot runnot runnot run
shared_cache_lifetime: how long shared caches may serve the document > stale-if-error does not count (the origin is failing: no hole renders anyway)Unitpassnot runnot runnot run
shared_cache_lifetime: how long shared caches may serve the document > stale-while-revalidate alone still keeps a stale copy in serviceUnitpassnot runnot runnot run
the per-request seam > lives on ONE globalThis slot, so every copy of the module shares itUnitpassnot runnot runnot run
the per-request seam > the handle notes a request’s cache-control; the mint reads it for THAT request onlyUnitpassnot runnot runnot run
packages/core/test/shared-state.test.ts
foreign island props membrane > a wired ref in a foreign sidecar is rejected loudly, never revived cross-buildUnitpassnot runnot runnot run
SharedState membrane (devalue snapshot-on-write) > a proxy degrades to a plain snapshot (reactive wrappers never enter the store)Unitpassnot runnot runnot run
SharedState membrane (devalue snapshot-on-write) > functions and class instances THROW loudly at the write siteUnitpassnot runnot runnot run
SharedState membrane (devalue snapshot-on-write) > plain data round-trips, devalue vocabulary includedUnitpassnot runnot runnot run
SharedState membrane (devalue snapshot-on-write) > the vanilla door enforces the same membraneUnitpassnot runnot runnot run
SharedState membrane (devalue snapshot-on-write) > writes are SNAPSHOTS — later mutation of the source object does not leak inUnitpassnot runnot runnot run
packages/core/test/signing-key.test.ts
handle({ secret }) > a blank secret counts as noneUnitpassnot runnot runnot run
handle({ secret }) > a production server signing with it is silentUnitpassnot runnot runnot run
handle({ secret }) > another secret after the key is decided is logged in production, and the key staysUnitpassnot runnot runnot run
handle({ secret }) > another secret after the key is decided throws in dev, naming fingerprints onlyUnitpassnot runnot runnot run
handle({ secret }) > reaches every copy of the module in the processUnitpassnot runnot runnot run
handle({ secret }) > signs as the same value in OGYGIA_SECRET does: one fingerprint, either pathUnitpassnot runnot runnot run
handle({ secret }) > the same secret again (the hooks re-evaluated) is a no-opUnitpassnot runnot runnot run
handle({ secret }) > two handles with different secrets: the first staysUnitpassnot runnot runnot run
handle({ secret }) > wins over OGYGIA_SECRET and the build key, and is stableUnitpassnot runnot runnot run
the signing key > a production server with no OGYGIA_SECRET anywhere warns, onceUnitpassnot runnot runnot run
the signing key > a server whose build had OGYGIA_SECRET but whose runtime has none says so, onceUnitpassnot runnot runnot run
the signing key > an env key is silentUnitpassnot runnot runnot run
the signing key > falls back to the build key without a runtime OGYGIA_SECRETUnitpassnot runnot runnot run
the signing key > is read at first use: an env filled after the module loaded still countsUnitpassnot runnot runnot run
the signing key > names its key by a fingerprint: 8 chars, one per key, the same on every instanceUnitpassnot runnot runnot run
packages/core/test/sim/flights.test.ts
flights, simulated > keep their promise in every orderUnitpassnot runnot runnot run
packages/core/test/sim/outbox.test.ts
the outbox, simulated > sends each id once at a time, in order when asked, and done means appliedUnitpassnot runnot runnot run
packages/core/test/sim/render-cache.test.ts
the region render cache, simulated > renders once per key, stops renders nobody waits on, never crosses visitorsUnitpassnot runnot runnot run
packages/core/test/sim/render-gate.test.ts
the render gate, simulated > keeps its promise in every order (limit, deadlines, leaving, turn order)Unitpassnot runnot runnot run
packages/core/test/sim/request-scope.test.ts
the request scope, simulated > closes once its response ends, however it endsUnitpassnot runnot runnot run
packages/core/test/sim/scope-world.test.ts
scopes, simulated > let go of everything once, and nothing of a closed scope runsUnitpassnot runnot runnot run
worlds, against a model > fresh() says exactly whether what it names moved since the stampUnitpassnot runnot runnot run
packages/core/test/sized-lru.test.ts
SizedLru > a read is an LRU touch: the touched entry survives, the untouched one evictsUnitpassnot runnot runnot run
SizedLru > bounds bytes: the least recently used entries evict until the new one fitsUnitpassnot runnot runnot run
SizedLru > bounds entries too, and an entry larger than the whole budget is refusedUnitpassnot runnot runnot run
SizedLru > expiry: a read past `expires` misses and frees the bytes; sweep drops every expired entryUnitpassnot runnot runnot run
SizedLru > overwriting a key replaces its bytes, never double-countsUnitpassnot runnot runnot run
packages/core/test/slot-id-determinism.test.ts
next_slot_id > a hole endpoint render prefixes its ids with its region id (no collision when spliced)Unitpassnot runnot runnot run
next_slot_id > counted per island: another island starting first (async SSR) never shifts this one’s idUnitpassnot runnot runnot run
next_slot_id > off-request: unique, monotonic ids from the process counterUnitpassnot runnot runnot run
next_slot_id > two requests of the same page mint the same sequenceUnitpassnot runnot runnot run
packages/core/test/snippet-stable-id.test.ts
snippet ref ids > a live snippet whose props JSON cannot tell apart (a Map, a Date, a class) keeps a random idUnitpassnot runnot runnot run
snippet ref ids > different content, different idsUnitpassnot runnot runnot run
snippet ref ids > equal descriptors resolve to one revived snippet in the page scope (harmless: stateless)Unitpassnot runnot runnot run
snippet ref ids > two renders (two fresh snippet functions) of the same slot / static / plain live snippet mint the same idUnitpassnot runnot runnot run
packages/core/test/source.test.ts
macros/source — strict position law > errors on a non-exported declarationUnitpassnot runnot runnot run
macros/source — strict position law > errors on bare access and on nested callsUnitpassnot runnot runnot run
macros/source — strict position law > errors on let / destructuring / wrong arityUnitpassnot runnot runnot run
macros/source — strict position law > is a no-op without the marker (same reference)Unitpassnot runnot runnot run
macros/source — strict position law > keeps the optional { key } argument verbatimUnitpassnot runnot runnot run
macros/source — strict position law > never rewrites the marker inside a stringUnitpassnot runnot runnot run
macros/source — strict position law > rewrites the legal shape, stamping file#export and injecting the runtime importUnitpassnot runnot runnot run
source runtime > fingerprints are stable, order-insensitive on object keys, event-shape awareUnitpassnot runnot runnot run
source runtime > honors the { key } canonicalizerUnitpassnot runnot runnot run
source runtime > source_tag_of reads the stamp back (the key canonicalizer included); null when unstampedUnitpassnot runnot runnot run
source runtime > the observer sees every receipt too; a throwing seam never fails the callUnitpassnot runnot runnot run
source runtime > wraps: passes through, stamps the id, records the receipt tagUnitpassnot runnot runnot run
packages/core/test/speculation.test.ts
mpaSpeculationRules > covers same-origin links, never the region endpointUnitpassnot runnot runnot run
mpaSpeculationRules > honors the per-link opt-out cascade (off disables, on re-enables inside off)Unitpassnot runnot runnot run
mpaSpeculationRules > is valid JSON with no functions/undefined (a literal script body)Unitpassnot runnot runnot run
mpaSpeculationRules > ships BOTH lists — prerender (Chromium) and prefetch (Firefox), same where-clauseUnitpassnot runnot runnot run
packages/core/test/split-regions.test.ts
cannot be fooled by tag-like text > a `>` inside an attribute value does not end the tag earlyUnitpassnot runnot runnot run
cannot be fooled by tag-like text > a region’s OWN tag can carry a `<ogygia-region>` in an attribute without spawning a phantomUnitpassnot runnot runnot run
cannot be fooled by tag-like text > a stray `<` in text (a < b) is not a tagUnitpassnot runnot runnot run
cannot be fooled by tag-like text > ignores <ogygia-region> and stray </ogygia-region> inside an HTML commentUnitpassnot runnot runnot run
cannot be fooled by tag-like text > ignores <ogygia-region> inside a CSS comment in an inlined <style> (the reported bug)Unitpassnot runnot runnot run
cannot be fooled by tag-like text > ignores <ogygia-region> inside ANOTHER element’s attribute value (double-quoted)Unitpassnot runnot runnot run
cannot be fooled by tag-like text > ignores a stray </ogygia-region> inside a single-quoted attribute valueUnitpassnot runnot runnot run
cannot be fooled by tag-like text > ignores tag-like text inside a <script> bodyUnitpassnot runnot runnot run
classification > a hole is a hole even with a wake attribute (endpoint wins)Unitpassnot runnot runnot run
classification > reads island / lake / hole off the attributesUnitpassnot runnot runnot run
liftRegions / restoreRegions — the round-trip for a third-party SSR pass > keeps a nested region inside its parent outerHtml (only top level is lifted)Unitpassnot runnot runnot run
liftRegions / restoreRegions — the round-trip for a third-party SSR pass > leaves an unknown placeholder in place rather than dropping itUnitpassnot runnot runnot run
liftRegions / restoreRegions — the round-trip for a third-party SSR pass > lifts top-level regions to element placeholders and restores byte-for-byteUnitpassnot runnot runnot run
liftRegions / restoreRegions — the round-trip for a third-party SSR pass > never clobbers an attribute the region already ownsUnitpassnot runnot runnot run
liftRegions / restoreRegions — the round-trip for a third-party SSR pass > restores even when the renderer emits the placeholder without a closing tagUnitpassnot runnot runnot run
liftRegions / restoreRegions — the round-trip for a third-party SSR pass > returns the html untouched when there are no regionsUnitpassnot runnot runnot run
liftRegions / restoreRegions — the round-trip for a third-party SSR pass > the element placeholder survives a renderer that drops leading commentsUnitpassnot runnot runnot run
liftRegions / restoreRegions — the round-trip for a third-party SSR pass > transplants the renderer marks stamped on a placeholder onto the region opening tagUnitpassnot runnot runnot run
liftRegions / restoreRegions — the round-trip for a third-party SSR pass > unions the renderer class with a class the region already carriesUnitpassnot runnot runnot run
liftRegions / restoreRegions — the round-trip for a third-party SSR pass > withInner reshapes a lake/hole inner while preserving the tags and indexUnitpassnot runnot runnot run
nesting > does NOT yield regions strictly inside an island (its subtree is atomic)Unitpassnot runnot runnot run
nesting > yields a hole inside a lake (recurse into lakes and holes)Unitpassnot runnot runnot run
nesting > yields a login island nested inside a header lake so the caller can protect itUnitpassnot runnot runnot run
robustness > a document with no regions yields nothingUnitpassnot runnot runnot run
robustness > a self-closing region yields without opening a subtreeUnitpassnot runnot runnot run
robustness > an unterminated region is surfaced (span is just its opening tag)Unitpassnot runnot runnot run
robustness > does not match <ogygia-region-ish> (a longer tag name)Unitpassnot runnot runnot run
spans > start / innerStart / innerEnd / end bracket the element and its inner HTMLUnitpassnot runnot runnot run
tag names are case-insensitive, and whole names only > a longer name that starts with a known one is not that tagUnitpassnot runnot runnot run
tag names are case-insensitive, and whole names only > an upper-case region is a region; an upper-case raw-text element is skippedUnitpassnot runnot runnot run
packages/core/test/standalone-driver.test.ts
standalone driver (no Vite) > a host whose raw <style lang="scss"> the CSS parser rejects still gets its island, style untouchedUnitpassnot runnot runnot run
standalone driver (no Vite) > Compiler.macros hoists an import.meta.og.$ factory into dollar_hoistsUnitpassnot runnot runnot run
standalone driver (no Vite) > Compiler.macros is inert on a module with no markersUnitpassnot runnot runnot run
standalone driver (no Vite) > Compiler.transform is memoized (same source → same result object)Unitpassnot runnot runnot run
standalone driver (no Vite) > Compiler.transform rewrites a marked host island and reports itUnitpassnot runnot runnot run
standalone driver (no Vite) > Compiler.ts_regions mints a `with { wake }` load-region importUnitpassnot runnot runnot run
packages/core/test/stream-regions.test.ts
build_parcel / done_parcel > done sentinel uses the reserved slotUnitpassnot runnot runnot run
build_parcel / done_parcel > length-frames HTML that carries its own </template (it can never close the box)Unitpassnot runnot runnot run
build_parcel / done_parcel > wraps rendered HTML in a slot-keyed templateUnitpassnot runnot runnot run
packages/core/test/svelte-warnings.test.ts
a hydration warning: code, message, the component fileUnitpassnot runnot runnot run
not a hydration warning: nothingUnitpassnot runnot runnot run
the finding groups them and names the island when it knows itUnitpassnot runnot runnot run
packages/core/test/tool-fetches.test.ts
the tools' own requests > a chunk the devtools read is theirs; the page's load of the same file is notUnitpassnot runnot runnot run
the tools' own requests > each request is noted: a second probe of the same file is theirs tooUnitpassnot runnot runnot run
the tools' own requests > nothing noted: nothing is theirsUnitpassnot runnot runnot run
packages/core/test/transform.test.ts
asRegion macro (import.meta.og.asRegion) > `let` binding → error (must be const)Unitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > a barrel import with a still-used non-component export is KEPTUnitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > a default import works via asRegion too (default entry import)Unitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > a fully-consumed barrel import is stripped from the host (no barrel in host chunk)Unitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > a missing options object → errorUnitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > a preset resolves through asRegion too (same parser as import attributes)Unitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > an inline option key not allowed on an import attribute is rejected here tooUnitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > an options object with no region key → needs a region optionUnitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > double-marked (import attribute AND asRegion) → errorUnitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > first arg not an imported component → errorUnitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > identity keys on source#exportName: two named exports of ONE barrel → two islandsUnitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > mixed / multiple declarators in one statement → errorUnitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > named barrel import → island; entry imports the NAMED export; template keeps <H/>Unitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > namespace import → errorUnitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > NOT top-level (in a for-loop block) → errorUnitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > NOT top-level (nested in a function) → errorUnitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > options must be an OBJECT — a string shorthand is rejectedUnitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > region: raw → a HELD region binding (same output as `with { region: raw }`)Unitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > render: deferred + fetch → a SERVER island (same output as `with { render: deferred }`)Unitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > unknown timing → errorUnitpassnot runnot runnot run
asRegion macro (import.meta.og.asRegion) > wake: none → a LAKE (same output as `with { wake: none }`)Unitpassnot runnot runnot run
cross-island children (runtime slot crossing) > a nested marked island inside children keeps its OWN region (wakes independently)Unitpassnot runnot runnot run
cross-island children (runtime slot crossing) > a plain island (no children) compiles identicallyUnitpassnot runnot runnot run
cross-island children (runtime slot crossing) > a server island still rejects host children (only the fallback snippet crosses)Unitpassnot runnot runnot run
cross-island children (runtime slot crossing) > children do not change the region id — one island either wayUnitpassnot runnot runnot run
cross-island children (runtime slot crossing) > children stay at the call site; the entry is the plain .js re-exportUnitpassnot runnot runnot run
cross-island children (runtime slot crossing) > host values referenced by children need no capture wiring (server closure renders them)Unitpassnot runnot runnot run
cross-island children (runtime slot crossing) > many call sites with different children share the ONE islandUnitpassnot runnot runnot run
defer / server islands > a bare render: deferred is fetched on load, the same as fetch: loadUnitpassnot runnot runnot run
defer / server islands > a hole must fetch (fetch: none is rejected)Unitpassnot runnot runnot run
defer / server islands > a hole timed with both fetch and wake fails, keeping fetchUnitpassnot runnot runnot run
defer / server islands > defer:load → ServerIsland wrapper + defer entryUnitpassnot runnot runnot run
defer / server islands > deferred is no-store by default (no __cacheTtl emitted)Unitpassnot runnot runnot run
defer / server islands > fetch pairs with render: deferred — alone, or with another render, it is refusedUnitpassnot runnot runnot run
defer / server islands > non-fallback children on defer are an errorUnitpassnot runnot runnot run
defer / server islands > ogygiaFallback snippet stays at call siteUnitpassnot runnot runnot run
defer / server islands > preset maxAge → __cacheTtl in seconds (bare number is seconds)Unitpassnot runnot runnot run
defer / server islands > preset maxAge → __cacheTtl in seconds (duration string)Unitpassnot runnot runnot run
defer / server islands > preset maxAge: 0 stays no-store (no __cacheTtl)Unitpassnot runnot runnot run
defer / server islands > render: deferred is a hole, fetch its timing — content-only (never hydrates)Unitpassnot runnot runnot run
defer / server islands > the deprecated render: deferred + wake timing is the same hole as fetch, with a warning naming itUnitpassnot runnot runnot run
deferred `prefetch` (the warm schedule) > an unknown prefetch value is refused with the vocabularyUnitpassnot runnot runnot run
deferred `prefetch` (the warm schedule) > identity: the same component with and without a prefetch are two wrappers, not oneUnitpassnot runnot runnot run
deferred `prefetch` (the warm schedule) > inline: prefetch: idle on an interaction hole → __prefetch on the wrapper, when stays interactionUnitpassnot runnot runnot run
deferred `prefetch` (the warm schedule) > no prefetch → no __prefetch (the default is the hover warm an interaction hole already has)Unitpassnot runnot runnot run
deferred `prefetch` (the warm schedule) > prefetch equal to the fetch schedule is refused — it adds nothingUnitpassnot runnot runnot run
deferred `prefetch` (the warm schedule) > prefetch without render: deferred is refused (an island has modulepreload hints for its JS)Unitpassnot runnot runnot run
deferred `prefetch` (the warm schedule) > prefetch: 'interaction' is refused — that is the swap, fetch's jobUnitpassnot runnot runnot run
deferred `prefetch` (the warm schedule) > prefetch: visible carries the margin (its IntersectionObserver lead), a media query is a schedule tooUnitpassnot runnot runnot run
deferred `prefetch` (the warm schedule) > preset: the same, with maxAge alongsideUnitpassnot runnot runnot run
entry module shape > entry is a JS re-export of the component (props stay on the host tag)Unitpassnot runnot runnot run
errors > dynamic import with region keysUnitpassnot runnot runnot run
errors > unknown strategyUnitpassnot runnot runnot run
errors > wake: 'false' suggests noneUnitpassnot runnot runnot run
foucCssVirtualId > builds .js virtual FOUC CSS ids (encoded path)Unitpassnot runnot runnot run
interaction schedule > interaction dedupes by path+strategy like any scheduleUnitpassnot runnot runnot run
interaction schedule > interaction island can carry crossed children (runtime slot, plain entry)Unitpassnot runnot runnot run
interaction schedule > preset with hydrate: interaction worksUnitpassnot runnot runnot run
interaction schedule > render: deferred + fetch: 'interaction' is an ON-DEMAND hole (fetch on intent)Unitpassnot runnot runnot run
interaction schedule > render: deferred + fetch: 'none' is rejected (a hole must fetch)Unitpassnot runnot runnot run
interaction schedule > wake: 'interaction' → wrapper attr + region kind hydrateUnitpassnot runnot runnot run
keep attribute > empty keep name is a build errorUnitpassnot runnot runnot run
keep attribute > hydrate + keep → wrapper passes __keepUnitpassnot runnot runnot run
keep attribute > keep alone (default load schedule) is allowedUnitpassnot runnot runnot run
keep attribute > keep in a preset worksUnitpassnot runnot runnot run
lakes > hydrate:none → lake wrapper bindingUnitpassnot runnot runnot run
lakes > lake on the real-wrapper client leg (linkVirtualIsland: true) still links its CSS (fouc-css)Unitpassnot runnot runnot run
lakes > lake on the SSR build does NOT link fouc-css (the real component renders + collects CSS)Unitpassnot runnot runnot run
lakes > lake on the stub client leg (linkVirtualIsland: false) links its CSS tooUnitpassnot runnot runnot run
lakes > render: live gets a server entry module (baked + revalidate)Unitpassnot runnot runnot run
lakes > render: live with children is an error (revalidate endpoint re-renders from props)Unitpassnot runnot runnot run
normalize_import_keys > defaultsUnitpassnot runnot runnot run
normalize_import_keys > rejects collisionsUnitpassnot runnot runnot run
package-specifier island marks > a marked package import (no children) becomes an island keyed by the specifierUnitpassnot runnot runnot run
package-specifier island marks > an empty specifier still errors loudlyUnitpassnot runnot runnot run
package-specifier island marks > children at the call site stay put — the package island crosses them at runtimeUnitpassnot runnot runnot run
package-specifier island marks > csr=false client host: package island skips the fouc-css side-effect import (needs a real path)Unitpassnot runnot runnot run
package-specifier island marks > package islands with children share one id across hosts (children no longer key the id)Unitpassnot runnot runnot run
package-specifier island marks > two hosts marking the same package specifier share one region idUnitpassnot runnot runnot run
portable binding rewrite > appDir threads into the baked island entry URL (no hardcoded _app, no baked base)Unitpassnot runnot runnot run
portable binding rewrite > cross-host identity: same component path yields same idUnitpassnot runnot runnot run
portable binding rewrite > csr=false client omit (BUILD): island gets the stub and NO fouc-css linkUnitpassnot runnot runnot run
portable binding rewrite > csr=false client omit (DEV): CSS-only fouc-css virtual for FOUC (not component JS)Unitpassnot runnot runnot run
portable binding rewrite > csr=false client omit: many marked imports → stub bindings, still one emit metadataUnitpassnot runnot runnot run
portable binding rewrite > dotted Menu.Item on marked import is a build errorUnitpassnot runnot runnot run
portable binding rewrite > idle / visible / media strategies bake into wrapperUnitpassnot runnot runnot run
portable binding rewrite > islandChunkFileName / islandPublicUrl honor appDir (base-less)Unitpassnot runnot runnot run
portable binding rewrite > linkVirtualIsland true (default) rewrites to the attach binding (not the stub)Unitpassnot runnot runnot run
portable binding rewrite > list + each of binding is allowedUnitpassnot runnot runnot run
portable binding rewrite > marked import becomes wrapper virtual; template keeps <C />Unitpassnot runnot runnot run
portable binding rewrite > maxAge is DEFERRED-ONLY: an island preset maxAge is ignored (no __cacheTtl on the island)Unitpassnot runnot runnot run
portable binding rewrite > same component different strategies → two entriesUnitpassnot runnot runnot run
portable binding rewrite > svelte:component this={C} is allowedUnitpassnot runnot runnot run
portable binding rewrite > two static usages + dynamic + second import same path → ONE island entryUnitpassnot runnot runnot run
portable binding rewrite > unused marked import is strippedUnitpassnot runnot runnot run
portable snippets — a named snippet handed to a non-island component > a body bound to an enclosing block ({#each} item, {@const}) stays a plain snippetUnitpassnot runnot runnot run
portable snippets — a named snippet handed to a non-island component > a named snippet handed to an ISLAND call site compiles portable too (live crossing)Unitpassnot runnot runnot run
portable snippets — a named snippet handed to a non-island component > a parameterized snippet at an ISLAND call site compiles portable — args ride __ogArgsUnitpassnot runnot runnot run
portable snippets — a named snippet handed to a non-island component > a parameterized snippet on a PLAIN component stays native (library-internal wiring)Unitpassnot runnot runnot run
portable snippets — a named snippet handed to a non-island component > a snippet that writes host state is left native (a snapshot can’t write back)Unitpassnot runnot runnot run
portable snippets — a named snippet handed to a non-island component > a snippet-only file with no islands still transforms (relaxed bailout)Unitpassnot runnot runnot run
portable snippets — a named snippet handed to a non-island component > captured host value is passed to the entry as a propUnitpassnot runnot runnot run
portable snippets — a named snippet handed to a non-island component > is rewritten to og_portable + emits a hydrate entryUnitpassnot runnot runnot run
portable snippets — a named snippet handed to a non-island component > node_modules-swept sources are never portable-branded (bits-ui safety)Unitpassnot runnot runnot run
portable snippets — a named snippet handed to a non-island component > SSR emits a static entry import; the csr=false client loads by urlUnitpassnot runnot runnot run
portable snippets — a named snippet handed to a non-island component > SSR emits NO static modulepreload — the hint is render-gated in Region.svelteUnitpassnot runnot runnot run
portable snippets — a named snippet handed to a non-island component > the snippet as written stays in the host, at the root, and is what the component getsUnitpassnot runnot runnot run
portable snippets — a named snippet handed to a non-island component > two identical snippets dedupe to ONE entry + ONE importUnitpassnot runnot runnot run
presets > preset expands to strategy on wrapperUnitpassnot runnot runnot run
strategyKey / regionIdentity dedupe > different strategies → different idsUnitpassnot runnot runnot run
strategyKey / regionIdentity dedupe > same path + load → same idUnitpassnot runnot runnot run
strategyKey / regionIdentity dedupe > strategyKey encodes defer+hydrate comboUnitpassnot runnot runnot run
strategyKey / regionIdentity dedupe > strategyKey fingerprints cache ttl (a cached hole never dedupes onto a no-store one)Unitpassnot runnot runnot run
packages/core/test/transport.test.ts
ogygiaTransport OgygiaRef entry — symmetry (hub v2 phase Y) > a store crosses Kit's transport by identity (page.data / remote can carry one)Unitpassnot runnot runnot run
ogygiaTransport OgygiaRef entry — symmetry (hub v2 phase Y) > plain data is DECLINED (false) so Kit serializes it nativelyUnitpassnot runnot runnot run
ogygiaTransport OgygiaRef entry — symmetry (hub v2 phase Y) > Region entry stays FIRST so regions keep the legacy wire shapeUnitpassnot runnot runnot run
region() inline awaitability > region(C, props) is thenable, and `then` is non-enumerable (devalue/spread never see it)Unitpassnot runnot runnot run
transport — HTML-baked inline tickets > an AWAITED inline region (html present) crosses as an HTML-only ticket (+ its hub id)Unitpassnot runnot runnot run
transport — HTML-baked inline tickets > an un-awaited inline region still throws, and the error teaches `await`Unitpassnot runnot runnot run
transport — HTML-baked inline tickets > decode revives an HTML-only ticket as a deferred region carrying the html (no frame write)Unitpassnot runnot runnot run
transport — HTML-baked inline tickets > non-regions are passed over (encode returns false)Unitpassnot runnot runnot run
transport — HTML-baked inline tickets > the SAME region instance encodes with the SAME hub id (identity memo)Unitpassnot runnot runnot run
packages/core/test/wire-gating.test.ts
wire gating — the four detection legs > .ts-minted hydrate regions (the factory-registry pattern) → wireUnitpassnot runnot runnot run
wire gating — the four detection legs > dynamic-only use via {#each}/svelte:component → wireUnitpassnot runnot runnot run
wire gating — the four detection legs > EXCLUDE: a .ts registry of deferred (server) islands stays leanUnitpassnot runnot runnot run
wire gating — the four detection legs > EXCLUDE: a .ts registry of raw (held) regions stays lean — the blocks patternUnitpassnot runnot runnot run
wire gating — the four detection legs > EXCLUDE: an unplaced lake/server mark does not force wireUnitpassnot runnot runnot run
wire gating — the four detection legs > EXCLUDE: static childless placement stays lean (no wire)Unitpassnot runnot runnot run
wire gating — the four detection legs > hydrate binding with NO static placement (registry/each/prop use) → wireUnitpassnot runnot runnot run
wire gating — the four detection legs > static placement WITH children → wire (slot pointers cross)Unitpassnot runnot runnot run