Repository navigation
Description
Bounded source-matched diagnosis — 2026-10-18
Claim e1849-2362-r1-20261018 examined the exact reported source 4b8d966a7dcfcf2769b145de21320d1d940ee420. A fresh isolated-cache frozen copyfile installation and successful full build were used, with independent dependency/cache ownership. The unchanged native command is node scripts/visual.mjs --project=ui-react-layout --filter=file-loading.layout; each diagnostic invocation had a separate 360-second outer bound, without changing original assertion/case deadlines. No outer bound fired.
All four theme/width cases and their real FilePanel/tree/viewer composition, built consumer styles, axe WCAG A/AA checks, one live status and reduced-motion ghost assertions remain unchanged.
| Arm | Actual result | Vitest elapsed | Outer sampled elapsed |
|---|---|---|---|
| Fresh cold generated cache, passive request tracing | 4 pass | 3.51 s | 10.187 s |
| Warm cache, same tracing | 4 pass | 2.84 s | 8.151 s |
| Deliberate native refusal of only use-color-scheme.ts | 4 fail / 4 StaleChunkErrors | 5.87 s | 12.173 s |
| Exact original source restored, no tracing/interception | 4 pass | 2.80 s | 8.112 s |
Pinned image ID is sha256:eff16c30e6f3f4af0a03fa4b706120d5e9b0891c344a27d64559aff5900a4a27, Node 24.20.0, Chromium 153.0.8010.12, Vitest 4.1.11 and host Bun 1.4.3. Actual container inspection records network=none, host IPC, no container memory cap and no extra Docker ulimit override; native font verification and all original offline guards remain enabled. Containers were identified by this invocation's unique checkout mount, sampled independently, and verified stopped. No unrelated process/container was killed or changed.
What the comparison establishes
- Fresh and retained historical optimizer caches have 258 identical dependency files, compared by relative path, size and SHA-256, including the identical metadata digest
a5eca31f24899916ff7adb81203da81c3af0b535a97efd2f3ea3ea564456a2d2. They have separate directories/inodes; no mutable cache was shared. A persistent difference in those retained bytes is not present in this comparison. This does not exclude transient optimizer state or establish historical causation. - Passive observation begins at the first original
formViewportcall, before rendering the lazy viewer. Each successful observed arm records 44 request starts, 42 responses and 42 completions, no failed requests; the target module returns HTTP 200 and completes. Peak observed in-flight counts are 15 cold / 18 warm. These are post-observer counts, not complete browser-startup loader inventories; the two incomplete entries are not inferred to be leaks. - Per-two-second owned-container samples see Chromium FD counts up to 70 and a 524,288 soft/hard open-file limit. Summed sampled process RSS peaks are approximately 2.64 GB cold / 1.98 GB warm. These samples are not exact peaks, exclusive physical memory or original-failure resource readings. They establish no historical FD, memory, scheduler or loader-budget cause.
- The controlled native route abort uses the documented
blockedbyclientreason on the exact previously rejected local module. The trace records net::ERR_BLOCKED_BY_CLIENT.Inspector, not ERR_INSUFFICIENT_RESOURCES. All four original first-wrapper assertions then fail, with four StaleChunkErrors. This is meaningful proof that failed native admission of that module causes the observed downstream loading/React failure path. It does not reproduce the original resource-exhaustion trigger. - Observation and control edits are restored byte-for-byte; all frozen authored hashes and
git diff --exit-codeare clean. The final uninstrumented run passes all four cases. No implementation, PR, hosted confirmation, deadline/pin/guard change or historical repair claim is made.
Remaining evidence and next action
The original natural ERR_INSUFFICIENT_RESOURCES occurrence remains real and unreproduced in these controls. Its browser-startup/global loader inventory, process descriptors/native memory at the first rejection, and corresponding native network diagnostic were not captured. Present-day passes and a different injected network error cannot reconstruct that historical trigger. No resource-limit increase, new optimizer input or product loader correction is justified by the available evidence.
Keep this issue open with needs: repro and without agent-ready. Resume on a natural or faithful source-matched recurrence captured from browser startup through the first native rejection, with correlated request/response/failure and owned browser/process/resource evidence. Establish the actual resource/admission condition before selecting a fix; retain current all-four-case success and the old failure as separate receipts. A warm-cache pass alone is not a repair. The October 22 maintainer ruling removes this investigation as a prerequisite of #1884. Keep this independent attribution item open with needs: repro; it supplies no repair or qualification claim for another issue.
Raw command/runtime/container/resource/event logs, observer/control diffs, cache manifests and SHA-256 receipts are preserved. Selected raw receipt hashes:
cold-observed.log:da82a30dab051ce9c04417fe359cb10f19a083b8d663e1232cd40f8a6d39aa1bwarm-identical-cache.log:fe22f3339902e3ef89864abcb3ba70c06f89eb5f0ef4a1664a51079db9cb7171controlled-module-refusal.log:6ad7fe9828ddde7bde8f056d5cd5acd1eaecff44b834119c5593e53eafcd8746restored-unmodified.log:739ecd8274f98e4f04d430449a968ed6961c21b66ecc4257edb635093e99e155cold-events.jsonl:3234c7b3b616c9377cc74dcef1c03db62cc02da118678a3e41ef8c801bae6412refusal-events.jsonl:44a5f67c6ecc602334b863a1cd66427ddfcde8338804c85c56aba696f356c34aoptimizer-cache-comparison.json:6c39d90b2524d9a03de2d5b32179c5a8033384d20f040d0d4b83bbb8f6d045de
Claim e1849-2362-r1-20261018 is released for this explicit reproduction gap; the isolated clean checkout and all local evidence are preserved.
Out of scope
No accessibility-oracle relaxation, skipped theme/width case, increased assertion deadline, disabled offline guard, changed image pin, or product loading-policy change. No causal claim about unrelated historical hosted failures.
Context
During qualification of #1884 / #2171, exact integrated head 4b8d966a7dcfcf2769b145de21320d1d940ee420 over main 0d780605fe1ea9a281cce947b1f0074f3f3e7acc builds successfully and passes required preflight. Its four native file-loading cases fail before accessibility scanning: file-loading.layout.tsx (for, packages/ui-react/tests/browser/file-loading.layout.tsx:31-65) times out at the first loading-wrapper locator, line 51, with four unhandled StaleChunkErrors.
A temporary observation-only listener in the existing formViewport browser command (formViewport, packages/ui-kit/tests/visual/form-browser.ts:7-15 at the recorded head; at main 3aadc8df5 it is export const formViewport, packages/ui-kit/tests/visual/form-browser.ts:14-22, after #3508 restored the outer viewport exactly) logs the actual failed request: /@fs/repo/packages/ui-react/src/hooks/use-color-scheme.ts, Chromium net::ERR_INSUFFICIENT_RESOURCES. A separate restored observation in lazyChunk (lazyChunk, packages/ui-react/src/lib/lazy-chunk.ts:17-21) identifies the rejected dynamic import as file-viewer.tsx. This maps the immediate failed module admission to the absent loading consumer; it does not identify the resource limit or a product defect. All temporary source edits were restored byte-for-byte.
The first cold run remains incomplete: after five minutes without any assertion results, the owned container was stopped (143). Its generated dependency cache was retained. A bounded cache-contrast run reaches all four cases and fails 4/4 with four unhandled errors in 6.43 s. A second bounded diagnostic captures the lazy-import cause (4/4 failures, 5.95 s); the request-event diagnostic captures the actual insufficient-resources refusal. These are observations with different instrumentation/cache state, not retries represented as green proof. The exact same test/role bytes had historical native red/green receipts before this integration.
Runtime: host Bun 1.4.3, pinned offline Chromium launcher and immutable Playwright image from the exact source, in-container Node 24.20.0, Vitest 4.1.11, verified locked fonts. The layout runner uses network=none, host IPC and one browser file at a time. One observed container uses about 1.37 GiB RAM after optimization; complete native resource/descriptor/request-queue accounting remains missing. Concurrent host work exists and is uncontrolled. No timeout or resource policy was changed. This is a local observation, not a reproduced hosted failure.
Scope
Diagnose the exact native module-admission failure on this frozen source and identify a scoped correction or an explicitly bounded remaining evidence gap. Preserve cold-start and generated-cache observations separately. Originally discovered while qualifying #1884; the October 22 maintainer ruling removes that dependency. Broader test infrastructure context is #736. This independent investigation does not gate the loading-label implementation or its qualification. This diagnostic is not an optimization or a new theme-reduction deliverable.
Acceptance criteria
- Preserve exact source, generated-cache state, image/runtime, first failed request and its native error, and separate those from later React/locator failures.
- Reproduce or capture a bounded source-matched recurrence with request completion/failure, server response where available, and owned browser/process/resource observations.
- Establish the resource/loader trigger from a controlled comparison, or state exactly which missing evidence prevents causal attribution. A warm-cache pass alone is not a repair.
- Any correction preserves all four theme/width cases, the real FilePanel/tree/viewer composition, built consumer styles, single-status/reduced-motion assertions and unchanged WCAG A/AA gate. Prove its causal guard with a failing control and restored native pass.
- Run relevant current-source preflight and selected hosted proof for any implementation. Do not relabel this local observation as historical hosted causation or whole-CI green.
Verification
From the frozen source with own frozen dependencies and successful full build, run node scripts/visual.mjs --project=ui-react-layout --filter=file-loading.layout. Bound diagnostic process lifetime separately from assertion deadlines. In formViewport, temporarily observe ctx.page.on("requestfailed", request => console.error(request.url(), request.failure())) and non-OK responses before the original viewport call. Restore the command after capturing evidence. Preserve existing process ownership, offline network and fixture cleanup.
Contract impact
None selected. Internal native verification diagnosis; no public API, CLI JSON, MCP, schema or frontmatter change. Priority p2 follows the maintainer’s ordinary standalone-investigation disposition; no release milestone is committed. No implementation or release commitment is selected by filing this diagnostic.
2026-10-18: added bounded source/cache/native-fault controls and the precise unresolved reproduction gap; no causal repair is claimed.
2026-10-22 triage: folded the maintainer’s nonblocking disposition into Remaining evidence, Scope and Contract impact. Original failure/control receipts remain attributed to their source; needs: repro remains.
2026-11-05 membership reconciliation: attached natively to #2753 after comparing the full browser investigation/fixture-ownership outcome with its scope and exclusions. This is an independent child, not a prerequisite for other repairs. Existing reproduction gaps, implementation pauses, nonblocking rulings and all historical receipts remain; no new browser execution or causal repair is claimed.
Triage 2026-11-10 at main 3aadc8df5: Added current navigation for formViewport, which #3508 moved; the file-loading.layout.tsx:31-65 loop and lazyChunk :17-21 still hold. No ERR_INSUFFICIENT_RESOURCES and no file-loading failure appears in failed main CI attempts from 2026-10-22 to 2026-11-10 (see the dated comment). needs: repro, p2 and #2753 membership are unchanged.
Activity
schlessera commentedon Oct 18, 2026
Claim
e1849-2362-r1-20261018: diagnose the frozen native module-admission failure supporting #1884, #1871 and #1852 under the all-open-children continuation. Dedicated branchtest/2362-module-admission-e1849-r1starts at the reported frozen #2171 head4b8d966a7dcfcf2769b145de21320d1d940ee420for source-matched diagnosis, preserving that PR and every original case/assertion/offline/font/image/deadline guard. Use an independent frozen installation and generated-cache state; capture bounded request/response/failure plus owned process/resource evidence before selecting a correction. Any implementation must separately integrate and qualify current main. No shared-account claim, other worker branch or historical failed receipt is taken over.schlessera commentedon Oct 18, 2026
Bounded source-matched diagnosis — 2026-10-18
Claim
e1849-2362-r1-20261018examined the exact reported source4b8d966a7dcfcf2769b145de21320d1d940ee420. A fresh isolated-cache frozen copyfile installation and successful full build were used, with independent dependency/cache ownership. The unchanged native command isnode scripts/visual.mjs --project=ui-react-layout --filter=file-loading.layout; each diagnostic invocation had a separate 360-second outer bound, without changing original assertion/case deadlines. No outer bound fired.All four theme/width cases and their real FilePanel/tree/viewer composition, built consumer styles, axe WCAG A/AA checks, one live status and reduced-motion ghost assertions remain unchanged.
Pinned image ID is
sha256:eff16c30e6f3f4af0a03fa4b706120d5e9b0891c344a27d64559aff5900a4a27, Node 24.20.0, Chromium 153.0.8010.12, Vitest 4.1.11 and host Bun 1.4.3. Actual container inspection records network=none, host IPC, no container memory cap and no extra Docker ulimit override; native font verification and all original offline guards remain enabled. Containers were identified by this invocation's unique checkout mount, sampled independently, and verified stopped. No unrelated process/container was killed or changed.What the comparison establishes
a5eca31f24899916ff7adb81203da81c3af0b535a97efd2f3ea3ea564456a2d2. They have separate directories/inodes; no mutable cache was shared. A persistent difference in those retained bytes is not present in this comparison. This does not exclude transient optimizer state or establish historical causation.formViewportcall, before rendering the lazy viewer. Each successful observed arm records 44 request starts, 42 responses and 42 completions, no failed requests; the target module returns HTTP 200 and completes. Peak observed in-flight counts are 15 cold / 18 warm. These are post-observer counts, not complete browser-startup loader inventories; the two incomplete entries are not inferred to be leaks.blockedbyclientreason on the exact previously rejected local module. The trace records net::ERR_BLOCKED_BY_CLIENT.Inspector, not ERR_INSUFFICIENT_RESOURCES. All four original first-wrapper assertions then fail, with four StaleChunkErrors. This is meaningful proof that failed native admission of that module causes the observed downstream loading/React failure path. It does not reproduce the original resource-exhaustion trigger.git diff --exit-codeare clean. The final uninstrumented run passes all four cases. No implementation, PR, hosted confirmation, deadline/pin/guard change or historical repair claim is made.Remaining evidence and next action
The original natural ERR_INSUFFICIENT_RESOURCES occurrence remains real and unreproduced in these controls. Its browser-startup/global loader inventory, process descriptors/native memory at the first rejection, and corresponding native network diagnostic were not captured. Present-day passes and a different injected network error cannot reconstruct that historical trigger. No resource-limit increase, new optimizer input or product loader correction is justified by the available evidence.
Keep this issue open with needs: repro and without agent-ready. Resume on a natural or faithful source-matched recurrence captured from browser startup through the first native rejection, with correlated request/response/failure and owned browser/process/resource evidence. Establish the actual resource/admission condition before selecting a fix; retain current all-four-case success and the old failure as separate receipts. A warm-cache pass alone is not a repair. #1884 remains blocked here; #1871/#1852 are not declared unblocked.
Raw command/runtime/container/resource/event logs, observer/control diffs, cache manifests and SHA-256 receipts are preserved. Selected raw receipt hashes:
cold-observed.log:da82a30dab051ce9c04417fe359cb10f19a083b8d663e1232cd40f8a6d39aa1bwarm-identical-cache.log:fe22f3339902e3ef89864abcb3ba70c06f89eb5f0ef4a1664a51079db9cb7171controlled-module-refusal.log:6ad7fe9828ddde7bde8f056d5cd5acd1eaecff44b834119c5593e53eafcd8746restored-unmodified.log:739ecd8274f98e4f04d430449a968ed6961c21b66ecc4257edb635093e99e155cold-events.jsonl:3234c7b3b616c9377cc74dcef1c03db62cc02da118678a3e41ef8c801bae6412refusal-events.jsonl:44a5f67c6ecc602334b863a1cd66427ddfcde8338804c85c56aba696f356c34aoptimizer-cache-comparison.json:6c39d90b2524d9a03de2d5b32179c5a8033384d20f040d0d4b83bbb8f6d045deClaim
e1849-2362-r1-20261018is released for this explicit reproduction gap; the isolated clean checkout and all local evidence are preserved.schlessera commentedon Oct 18, 2026
2026-10-18 — third reproduction pass at
4b8d966a7dcfcf2769b145de21320d1d940ee420.Different approach: Use the exact reported source 4b8d966 with frozen dependencies/full build. Observe global native network admission from browser launch and renderer frame blocking, rather than the earlier tracing that began only at formViewport. An initial current-main attempt discovered no test because this file is not present there; that setup receipt remains separate. New observation: native Chromium NetLog starts at browser launch, and a passive renderer Long Animation Frame observer records per-case blocking/render/script attribution. This differs from prior host-runtime/JIT/raster policy controls; original launch flags, deadlines and oracles stay intact. Pinned offline image and locked fonts, owned four-GiB /tmp.
Observed: All four original loading/React/axe cases passed at the reported source; passive frame observer supported in all four, zero qualifying long-animation frames. Browser-start NetLog retained. Initial absent-file setup failure is retained separately. Outer invocation exit
0, elapsed 6.279 s; outer watchdog fired: false.Command (working directory: repository root; any diagnostic source changes are described above):
docker run --rm --pull=never --network=none --ipc=host --tmpfs /tmp:rw,exec,nosuid,size=4g,mode=1777 --user 1000:1000 -v /tmp/brain-repro-audit-3/historical-2362:/repo -v /tmp/brain-repro-audit-3/cache/brain-kit-feature-capture-fonts/3ec58a552059527131bda0277703425243a63aa311d58b67201a7b2c9fe136ad:/tmp/brain-kit-feature-capture-fonts/3ec58a552059527131bda0277703425243a63aa311d58b67201a7b2c9fe136ad:ro -v "$BUN_EXECUTABLE:/usr/local/bin/bun:ro" -v /tmp/brain-repro-audit-3/2362-browser:/proof -w /repo -e HOME=/tmp mcr.microsoft.com/playwright:v1.63.0-noble node scripts/visual.mjs --inside --project=ui-react-layout --filter=file-loading.layoutNo historical failure signature recurred; this does not establish why the original combined invocation failed.
This is focused local evidence, not historical-run equivalence, a repair or full candidate proof. Existing assertions, deadlines and offline guards were retained. Temporary source instrumentation was restored byte for byte. Keep
needs: repro; no readiness or closure change. Full log, command/exit receipt and diagnostic patch are retained in task-owned scratch.schlessera commentedon Oct 22, 2026
Maintainer ruling 2026-10-22: this issue no longer blocks #1884. It stays open as a standalone
needs: reproinvestigation.Why:
ERR_INSUFFICIENT_RESOURCESis a one-off, unreproduced flake. The bounded diagnosis on the exact source (4b8d966, #2171's head) passed all four file-loading cases cold and warm, and the third pass the same day passed all four again, with no watchdog firing. #2171's diff is four files: a changeset, the two loading-label fixes and a new layout test.Removed
Blocked by #2362from #1884. #1871 and #1852 stay blocked through #1884.schlessera commentedon Oct 22, 2026
2026-10-22 triage: reconciled the active brief with the maintainer ruling: this remains a standalone p2 needs: repro investigation and no longer blocks #1884. Removed the contradictory active dependency statements; preserved historical failure/control receipts and the exact missing natural-failure evidence. No reproduction, repair, readiness or release commitment is claimed.
schlessera commentedon Nov 10, 2026
2026-11-10 triage at main
3aadc8df5: added current navigation forformViewport, which #3508 moved toform-browser.ts:14-22. The other two cited ranges still hold.Recurrence check: no natural occurrence. Window checked: main
CIfailed attempts from 2026-10-22 18:51 UTC to 2026-11-10 09:15 UTC: the 67 failed runs and 10 failed earlier attempts of later-green reruns before 2026-11-03, plus the 24 failed runs and 2 failed first attempts since then (mainCIran 167 times in the later week). No log containsERR_INSUFFICIENT_RESOURCES, and nofile-loading.layout.tsxcase fails. MainCIselects affected suites, so this loosely bounds hosted recurrence. It is not a flake rate, a reproduction or a repair.needs: reproand p2 are unchanged.schlessera commentedon Nov 13, 2026
Closing as not planned (maintainer-requested triage, 2026-11-13). One local session around 2026-10-17 in which Chromium refused a dev-server module with
net::ERR_INSUFFICIENT_RESOURCES. It failed on consecutive runs in that session, so it was a sustained state of that host rather than a random blip, and it has never appeared on a hosted runner. Cold, warm and restored runs at the exact source passed the next day.Recurrence sweep (2026-11-13). I read the failed-step log of every failed product job on main
CIfrom 2026-10-28 to 2026-11-13: 84 jobs across 300 runs. In the same window 1,005 unit, 764 browser, 501 layout and 256 runtime_host jobs passed. NeitherERR_INSUFFICIENT_RESOURCESnorStaleChunkErrorappears in any of them.On recurrence: file a new issue with host memory, open descriptors and the container's cgroup counters sampled at the moment of the refusal. The earlier descriptor sample (70 of 524,288) was not taken at failure time.