Skip to content

Commit 84aeb0d

Browse files
committed
test(codegen-ts): exempt the gen skip key's hash input from the layout ratchet
release/1.2 brought in src/model-hash.ts (ADR-0062), which joins sorted lines with a newline to feed sha256. That text is hash input, never a file, so it is exempt like overwrite-policy.ts rather than an unconverted generator.
1 parent 019f921 commit 84aeb0d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • server/typescript/packages/codegen-ts/test/layout-ratchet

‎server/typescript/packages/codegen-ts/test/layout-ratchet/allowlist.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
"codegen-ts/src/templates/zod-validators.ts": "Emits the Zod validators; ts-poet `code` templates with hand-typed indentation and newline joins. Converts with the entity tier B writer PR (Zod validators, field meta, UI descriptor)."
7878
},
7979
"exempt": {
80+
"codegen-ts/src/model-hash.ts": "Builds the text the gen skip key hashes (ADR-0062): sorted `name hash` lines joined with a newline and fed to sha256. Nobody reads that text and it is never written to a file, so it is hash input, not generated code, and has no writer to move to.",
8081
"codegen-ts/src/overwrite-policy.ts": "Writes the codegen tool-state files (.metaobjects/.gen-state/.hashes.json and the engine stamp) as JSON.stringify output plus a final newline. That is a data file the runner owns, not generated code, so it has no writer to move to."
8182
}
8283
}

0 commit comments

Comments
 (0)