test: share schema inputs and restore fixture coverage - #3449
Conversation
Generated-output differences23 files differ — 0 modified, 20 new, 3 deleted |
|
Why does this show 2 deleted files? |
Generated-output differences60 files differ — 34 modified, 23 new, 3 deleted |
|
Those were generated snapshots, not deleted source or input files: two Swift Restored all three original runs alongside the broader coverage in 52cb8e0; all three pass. |
Generated-output differences20 files differ — 0 modified, 20 new, 0 deleted |
Generated-output differences20 files differ — 0 modified, 20 new, 0 deleted |
* fix(dart): count Unicode code points in string bounds * test(dart): reuse shared Unicode length fixture
* fix(zod): count Unicode code points for string length * test(zod): use shared Unicode length cases
* fix(effect): count Unicode code points for string length * test(effect): use shared Unicode length cases
* fix(javascript): count Unicode code points for string length * test(javascript): use shared Unicode length cases
Generated-output differences1038 files differ — 1013 modified, 25 new, 0 deleted |
Enable Swift JSON/schema CI on macOS and add TypeScript schema fixtures to the TypeScript job. Broaden Swift final/hashable, TypeScript type/const, and Dart from-map coverage while retaining the existing option cases.
The existing Swift fixture now also compiles and round-trips code generated through JSON Schema. Keep source comparisons where applicable and validate behavior when names legitimately differ; renderer naming is unchanged. Replaces the withdrawn naming change in #3438 without adding another fixture.
Centralize optional language-specific schema discovery and the Unicode length regression inputs. Dependent fixes register their inputs here; merge this PR first.
Validation: build; 490 Swift/Dart/TypeScript fixtures before the schema-roundtrip extension; 85 existing Swift fixture cases plus ten miscellaneous cases with schema roundtrips; three retained option cases; seven Unicode samples; discovery/filtering, workflow YAML, and formatting checks. Includes the reviewed Unicode fixes from #3442–#3445, which were merged into this branch.
After merging current master: build and all 154 Dart JSON/schema cases pass; from-map, copy-with, and required-props option coverage is retained.