refactor(coverage): give the complete/partial/unknown status one owner and ratchet local completeness enums (#11134)

* refactor(coverage): give the complete/partial/unknown status one owner and ratchet local completeness enums

* fix(verify): count chained local completeness enums and exclude detail levels

* fix(javascript): keep source-to-bundle coverage unknown when an input's coverage is unknown (#11162)
This commit is contained in:
morluto authored and GitHub committed 2026-11-15 21:34:58 +08:00
1 parent e22569f996
commit 1c90a0fcdb
21 files changed
+242 -33

No files matched your search

@@ -1,3 +1,4 @@
import { coverageStatusSchema } from "../coverage.js";
import { javascriptSourceRangeSchema } from "./javascriptSourceCoordinates.js";
import { digestCanonicalValue } from "../canonicalDigest.js";
import { z } from "zod";
@@ -102,7 +103,7 @@ const inventoryShape = z.strictObject({
unknowns: z.array(javaScriptRouteGapSchema),
coverage: z.strictObject({
scope: z.literal("provided-code-sources"),
source_parsing: z.enum(["complete", "partial", "unknown"]),
source_parsing: coverageStatusSchema,
candidate_enumeration: z.enum(["complete", "partial"]),
application_routes: z.literal("unknown"),
}),