fix: preserve cleanup retries and avoid duplicate inventory parsing

This commit is contained in:
64579525
2026-10-13 11:43:58 +08:00
parent 6c93ebabb0
commit baadb8114c
5 changed files with 160 additions and 19 deletions
+2
View File
@@ -215,6 +215,8 @@ export const artifactInventoryResultSchema = z.object({
export const artifactInventoryOutputSchema =
artifactInventoryResultSchema.extend({
coverage_status: artifactInventoryCoverageSchema,
// JSON output may omit container facts, but cannot carry an undefined member.
ines: inesInventorySchema.exactOptional(),
});
export type ArtifactInventoryOutput = z.infer<
typeof artifactInventoryOutputSchema