mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 11:43:20 +00:00
fix(artifacts): name the ASAR header admission budget (#6172)
Keep the 16 MiB ASAR header/index ceiling fixed and report that budget, the lack of a runtime override, and that source selection does not bypass header admission. Refs #5910 Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: morluto <morluto@users.noreply.github.com>
This commit is contained in:
11 files changed
+202
-15
No files matched your search
@@ -374,6 +374,12 @@ const artifactStateErrorDetails = (
|
||||
reason: error.reason,
|
||||
...(error.reason === "limit" ? { truncated: true } : {}),
|
||||
...(error.detail === undefined ? {} : { detail: error.detail }),
|
||||
...(error.admission === undefined
|
||||
? {}
|
||||
: {
|
||||
admission: error.admission.kind,
|
||||
maximum_header_bytes: error.admission.maximumBytes,
|
||||
}),
|
||||
};
|
||||
if (error instanceof UnknownRegistryError) return { reason: error.reason };
|
||||
if (error instanceof EvidenceFileError)
|
||||
|
||||
Reference in new issue
Block a user