feat(errors): carry the value of Go, Rust, IL2CPP, sigrok, Electron fuse, CDP, projection and assetutil allowances (#11645)

Each of these fixed allowances now passes limit and unit, traced to the constant or parse refusal that produced it. The Electron fuse, CDP runtime retention and assetutil names no longer embed the value.
This commit is contained in:
morluto authored and GitHub committed 2026-11-16 09:40:58 +08:00
1 parent 836ac2fea6
commit 680c83f88c
14 files changed
+123 -42

No files matched your search

+12 -1
View File
@@ -100,6 +100,10 @@ const failureForPrimary = (
...fixedAllowanceOptions(
"The IL2CPP native-link allowance",
cause.reason === "native-type-text-capacity" ? "parser" : "count",
{
limit: cause.failure.limit.maximum,
...(cause.unit === undefined ? {} : { unit: cause.unit }),
},
),
},
);
@@ -143,7 +147,14 @@ const failureForPrimary = (
{ maximum_input_bytes: maximum },
{
cause,
...fixedAllowanceOptions("the fixed IL2CPP input allowance", "input"),
...fixedAllowanceOptions(
"the fixed IL2CPP input allowance",
"input",
{
limit: maximum,
unit: "bytes",
},
),
},
);
if (cause.reason === "path")