You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(pm): make dispatch-gates see the metadata TYPE registry's i18n coupling (#9219)
walkMetadataForms (packages/cli/src/utils/i18n-extract.ts) emits the
metadataForms i18n surface from two producers: METADATA_FORM_REGISTRY (the
17 *.form.ts modules, already covered by the form-module convention entry
in dispatch-gates.mjs) and DEFAULT_METADATA_TYPE_REGISTRY plus the
METADATA_FORM_REGISTRY module itself (packages/spec/src/kernel/
metadata-plugin.zod.ts, packages/spec/src/system/metadata-form-registry.ts).
Editing either of the latter two moves the same platform-objects bundles
PR #9113 had to regenerate, and derived nothing from dispatch-gates.
Both are exactly two known files, not a runtime-enumerated population, so
this closes the gap the same way SURFACE_MODULE and
check-type-check-coverage.mjs's ROOT_PROGRAM_COUPLED_SCRIPT already do:
two bare module-body path-literal constants declared directly in
check-i18n-bundles.mjs (the script check:i18n resolves to), read by the
ordinary path-literal derivation with no new CHANGE_KIND_GATES entry.
Pinned live in dispatch-gates.mjs's own self-test (existsSync + a matched
classifyEntry verdict for each), so a renamed or moved registry module
reddens that self-test instead of the derivation silently going blind on
this edge again.
Fixes#9144
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments