Skip to content

Commit f07071c

Browse files
committed
chore(ci): reconcile api-validation baselines after the staging merge
The staging merge unioned realtime-rooms's own `as unknown as` cast (lib/collab-doc/converter.ts) with staging's zod-recursive-type cast (lib/api/contracts/tables.ts), so the non-test double-cast count is 9 — both casts pre-existed and were individually accepted on their branches. Also tighten rawJsonReads 6->5 to the true current count. Fixes the strict API contract boundary audit on realtime-rooms.
1 parent f717d60 commit f07071c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/check-api-validation-contracts.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ const BOUNDARY_POLICY_BASELINE = {
2424
clientHookLocalSchemaConstructors: 0,
2525
clientHookRawFetches: 0,
2626
clientSameOriginApiFetches: 0,
27-
doubleCasts: 8,
28-
rawJsonReads: 6,
27+
doubleCasts: 9,
28+
rawJsonReads: 5,
2929
untypedResponses: 0,
3030
annotationsMissingReason: 0,
3131
} as const

0 commit comments

Comments
 (0)