mirror of
https://github.com/morluto/rea.git
synced 2026-10-29 02:45:58 +00:00
fix(artifacts): retain permission omissions through JavaScript lookups
This commit is contained in:
1 parent
dd55e2c7d5
commit
693ecec082
14 files changed
+343
-30
No files matched your search
@@ -1426,6 +1426,11 @@ const readPackageMetadata = (
|
||||
unavailable.limitations?.[0] ??
|
||||
`Directory package metadata ${path} was inventoried but its bytes are unavailable.`,
|
||||
};
|
||||
if (input.unanalyzedFiles?.coverage.status === "unknown")
|
||||
return {
|
||||
kind: "unavailable",
|
||||
limitation: `Directory package metadata ${path} was not observed, and artifact traversal is incomplete; its absence is unknown.`,
|
||||
};
|
||||
return { kind: "absent" };
|
||||
}
|
||||
if (!admitsRuntimeContainer(input, path, file.container_sha256))
|
||||
@@ -1750,6 +1755,15 @@ const findFileCandidate = (
|
||||
: `${path} is an inventoried ${unanalyzed.kind} file, but its bytes are unavailable (hash status ${unanalyzed.hash_status ?? "unknown"}); resolution cannot be confirmed.`,
|
||||
],
|
||||
};
|
||||
if (input.unanalyzedFiles?.coverage.status === "unknown")
|
||||
return {
|
||||
resolvedPath: null,
|
||||
status: "unavailable",
|
||||
candidatePath: path,
|
||||
limitations: [
|
||||
`Artifact path ${path} was not observed, and artifact traversal is incomplete; its absence is unknown.`,
|
||||
],
|
||||
};
|
||||
return null;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user