You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore: measure session bundle size and cold-start budget #1336
I would like to take this timeboxed measurement spike as the next slice after #1338.
PR #1349 is open for the state/config root boundary. Issue #1337 is already assigned, so #1336 is the next unassigned child issue that directly informs the Session Bundle format and image work. I will keep this to a reproducible decision record with measured bundle sizes, cold-start timings, dependency policy recommendations, KV constraints, and compression options; no production runtime code.
The timeboxed decision record adds a reproducible Node 24 measurement harness and records the current recommendation:
32 MiB compressed inline bundle cap with manifest/blob offload.
node_modules excluded from Session Bundle state and handled by the versioned image plus lockfile cache.
.git excluded from the bundle and handled by repository materialization or a workspace overlay.
S3-with-CAS-class manifest/blob storage.
Native Node 24 Zstandard for the activation path.
250 ms p99 local hydrate-plus-boot budget, with provider first-token latency measured separately.
The local baseline measured a 619.96 MiB checkout, with 487.70 MiB in node_modules and 70.83 MiB in .git. The deterministic session corpus measured 0.12 MiB Zstandard at p50 and 6.85 MiB at p99; the projected portable workspace plus state was 20.22 MiB at p50 and 26.96 MiB at p99. The record labels these as a reproducible local baseline, not production telemetry.
Activity
[-]Spike: measure session bundle size and cold-start budget[/-][+]chore: measure session bundle size and cold-start budget[/+]Nyvo-io commentedon Jul 22, 2026
I would like to take this timeboxed measurement spike as the next slice after #1338.
PR #1349 is open for the state/config root boundary. Issue #1337 is already assigned, so #1336 is the next unassigned child issue that directly informs the Session Bundle format and image work. I will keep this to a reproducible decision record with measured bundle sizes, cold-start timings, dependency policy recommendations, KV constraints, and compression options; no production runtime code.
Astro-Han commentedon Jul 22, 2026
Assigned to @Nyvo-io. Look forward for your result!
Nyvo-io commentedon Jul 22, 2026
Implemented and opened upstream PR #1353: #1353
The timeboxed decision record adds a reproducible Node 24 measurement harness and records the current recommendation:
node_modulesexcluded from Session Bundle state and handled by the versioned image plus lockfile cache..gitexcluded from the bundle and handled by repository materialization or a workspace overlay.The local baseline measured a 619.96 MiB checkout, with 487.70 MiB in
node_modulesand 70.83 MiB in.git. The deterministic session corpus measured 0.12 MiB Zstandard at p50 and 6.85 MiB at p99; the projected portable workspace plus state was 20.22 MiB at p50 and 26.96 MiB at p99. The record labels these as a reproducible local baseline, not production telemetry.chore: add real session bundle measurement harness (#1336) (#1353)
Astro-Han commentedon Aug 2, 2026
The spike's output, the measurement harness and decision record, landed in #1353. The PR only said Refs instead of Closes.