refactor(errors): type 14 baselined resource refusals as fixed ceilings or measured exhaustion (#10639)

* refactor(errors): type 14 baselined resource refusals as fixed ceilings or measured exhaustion

Fixed ceilings (NTFS journal file, web-bundle worker transfer, Playwright trace parser, lipo field retention, exactly representable file sizes) now name their allowance; observed heap or result-capacity exhaustion and occupied admission declare measuredExhaustion. The typed-resource-refusal baseline drops from 24 sites in 19 files to 10 in 10.

* fix(browser): name the trace parser allowance the record actually exhausted

* test(ntfs): compare the oversized-acquisition recovery with its owning formatter
This commit is contained in:
morluto authored and GitHub committed 2026-11-14 19:00:38 -05:00
1 parent d8c3be9ba5
commit fd555be8b4
15 files changed
+149 -19

No files matched your search

@@ -68,6 +68,7 @@ const analyze: JavaScriptSourceWorkerAnalyzer = async (
"memory",
`The parent reserved its remaining result capacity for static observations; semantic analysis of ${file.path} was not started`,
{ semantic_result_budget_bytes: 0 },
{ measuredExhaustion: true },
);
await callbacks.phase("semantic");
const ir = await completeJavaScriptAnalysisSteps(
@@ -93,6 +94,7 @@ const analyze: JavaScriptSourceWorkerAnalyzer = async (
semantic_result_budget_bytes: resultBudgetBytes,
module_transfer_bytes: measured.bytes,
},
{ measuredExhaustion: true },
);
await callbacks.phase("projection");
const projection = await completeJavaScriptAnalysisSteps(