perf: bundle tar-stream to reduce install footprint - #2286
Conversation
|
Size Report
npm unpacked components
Startup median (7 runs, lower is better):
Top changed chunks:
Top changed packed files
|
|
Repo Guards is correctly blocking this head: moving root Move |
|
Addressed the R11 dependency comment in 02c811e:
Independent review found no further issues. Repo Guards is rerunning on this head; full local affected checks remain skipped as requested. |
|
Reviewed 02c811e: no remaining actionable findings. Root and host-kit dependency declarations now agree without weakening R11; the existing bundler path is reused. Packed clean-install TAR/TGZ and traversal evidence covers the bundled result. Bundled growth is justified by net installed footprint reduction. Code-review clean; remaining CI status must be checked before merge. |
* origin/main: perf: bundle runtime dependencies and report full install size (#2310) ci: avoid unrelated Apple runner cache invalidation (#2303) fix(web): preserve the backend ref so snapshot refs match actionable refs (#2283) test(daemon): session-open-url-prewarm through the request seam (#2304) test(daemon): session-devices-batch-runtime through the request seam (#2305) chore(gates): layering baselines ratchet against merge-base (#2299) test(daemon): one typed conformance helper for the daemon runtime suites (#2298) chore(layering): derive the contracts export inventory from package.json (#2297) perf: bundle tar-stream to reduce install footprint (#2286) docs: simplify agent context and resolve conflicting guidance (#2287) refactor(cli): let help resolve command aliases itself and retire R12 (#2293)
* origin/main: perf: bundle runtime dependencies and report full install size (#2310) ci: avoid unrelated Apple runner cache invalidation (#2303) fix(web): preserve the backend ref so snapshot refs match actionable refs (#2283) test(daemon): session-open-url-prewarm through the request seam (#2304) test(daemon): session-devices-batch-runtime through the request seam (#2305) chore(gates): layering baselines ratchet against merge-base (#2299) test(daemon): one typed conformance helper for the daemon runtime suites (#2298) chore(layering): derive the contracts export inventory from package.json (#2297) perf: bundle tar-stream to reduce install footprint (#2286) docs: simplify agent context and resolve conflicting guidance (#2287) refactor(cli): let help resolve command aliases itself and retire R12 (#2293) refactor(commands): retire the navigation-only type projection (#2294) feat(runtime): route managed leases through contained transports (#2285) refactor(contracts): build unavailable runtime facts once (#2291) refactor(cli): derive the common flag readers from the common-field table (#2292) feat(daemon): add managed allocation operation journal (#2284)
* origin/main: perf: bundle runtime dependencies and report full install size (#2310) ci: avoid unrelated Apple runner cache invalidation (#2303) fix(web): preserve the backend ref so snapshot refs match actionable refs (#2283) test(daemon): session-open-url-prewarm through the request seam (#2304) test(daemon): session-devices-batch-runtime through the request seam (#2305) chore(gates): layering baselines ratchet against merge-base (#2299) test(daemon): one typed conformance helper for the daemon runtime suites (#2298) chore(layering): derive the contracts export inventory from package.json (#2297) perf: bundle tar-stream to reduce install footprint (#2286)
Summary
Bundle tar-stream's Node.js dependency path so consumers no longer install tar-stream and its transitive packages. Archive extraction behavior stays unchanged.
A clean npm comparison removes 12 runtime packages and saves about 5.7 MB net with current registry resolutions, at a cost of 38,050 bytes of bundled JavaScript. Unused Bare runtime packages are excluded.
Declare tar-stream as a dev dependency in both root and host-kit, matching the existing bundled-pngjs pattern. Keep one explicit bundle allowlist; remove redundant pngjs/tar-stream
alwaysBundleentries because dev dependencies bundle automatically. All 392 JavaScript/declaration outputs remain byte-identical after this simplification. Independent review found no further issues or smaller design preserving dependency enforcement.Scope: four build/dependency metadata files. No dependency versions, runtime source, docs, or skills changed.
Validation
Validated content at
02c811ea65:Full affected checks remain skipped at the user's request. Updated-head CI is pending.