fix(viewer): cap decoded cold geometry cache by backing bytes
The cold geometry provider retained four decoded chunks regardless of their size. It now also caps its decoded LRU at 32 MiB of distinct typed-array backing buffers, including shared arenas and appearance topology. Oversized chunks bypass retention without evicting useful small neighbours; zero disables decoded retention.
This is a prerequisite in the separate #10264 geometry-readback track. CPU geometry release stays disabled. Caller-owned results, in-flight decoding, the backing source and directory-owned appearance pools remain separate owners; this does not bound a large bounds query or claim whole-tab memory savings.
Validation:
- full viewer suite: 2964 files, 24898 tests, 0 failed, on 64550f27530bfc543ee540b24f13fd0e5b6d7cae. Four root pnpm/Turbo shards on Pop; 24536 passed, 362 skipped, 0 cancelled. Job dbe6e1b3-829a-48b1-872b-911b64b2c6dc completed with evidence published. Live runner arguments were verified as an exact partition with no overlap.
- Same merged head: viewer build passed, pinned-base pre-handoff passed 16/16 including retained-free build and UI drift, revert oracle OBSERVED (6 baseline pass, 4 assertions fail when production is reverted). Base f0146eb525 is pinned because the worker's origin/main is stale.
- Six focused cold-provider tests passed through root pnpm/Turbo, and root pnpm typecheck passed (148 tasks, all 5352 test files) on 2306278404; the subsequent main merge changes unrelated fields-operation code.
- Additional PC helper diagnostic: all four shards passed, 24898 tests, 0 failed, 352 skipped on the same head, job b27a8bb2-616c-473e-bc1c-6e229a95969a. The root-Turbo run above supplies the required acceptance.
Tests use actual cache encode/decode and Blob reads to verify byte eviction, shared-arena deduplication, oversized bypass, disabled retention and invalid budgets.
Re-queue status (2026-11-20)
- full viewer suite: 4 shards, 25,053 tests, 0 failed (25 skipped), on c679c81b07 (main merged), with fleet job 13a9ad83-b091-402a-ba4f-104de14c1fe5.
- Main merged at
c679c81b07. The previous dequeue wasViewer E2E smoke (2/8),gaussian-browser-journey.e2e.spec.ts:124, in a batch with #10787, which has merged since. Since then every merge-queue batch has passed that journey on main, with #10787 included. This PR touches only the cold-geometry decoded cache, which splat asset removal does not use. The E2E smoke shards run only in the merge queue: the fleet host has no Google Chrome, and a PR-lane run could not be started. The merge queue reruns the journey, and if it fails there again it is attributed to this PR.