chore: migrate footprinter to zod v4#726
Conversation
Keep transformed footprint defaults on the input path and align Circuit JSON schema composition on Zod v4.
|
The failed build job did not reach the build step: |
|
Dependency coordination update: commit 123b945 now requires circuit-json@^0.0.455, the Zod 4 release emitted after circuit-json PR #661 merges. The branch is intentionally stacked, so registry-only CI cannot install that version until then. Local Zod 4 validation remains green: bun test, bunx tsc --noEmit, and bun run build. |
|
Now green and ready for review — Verified on the current head:
CI on this branch is passing (Build, Bun Test, Format Check). This is the footprinter half of the Zod v4 migration tracked in tscircuit/core#2810. |
|
Note on the red checks here: this is blocked upstream, not by anything in this PR. The published Unblocked by tscircuit/circuit-json#661, which is green and ready — once that merges and publishes, I'll refresh this branch and the checks should go green. Happy to close this and reopen after the circuit-json release if you'd rather not have a red PR sitting in the queue. |
|
Same blocker as tscircuit/props#752, re-verified today. The failing CI here predates The real blocker is unchanged: the published 0.0.455 build still ships v3-shaped types.
tscircuit/circuit-json#661 must merge and publish first. It's Happy to close and reopen after that lands if a red check is unhelpful in the meantime. |
|
Pushed What was failing and why. Only The split is that Worth noting the pin isn't something a version bump escapes — I checked Fix is a five-line "overrides": { "@tscircuit/circuit-json-util": { "zod": "^4.0.0" } }That's accurate rather than a suppression: Verified both package managers and the full suite, since an override that fixes npm could easily break bun: I also confirmed this is specific to the branch and not pre-existing: the same npm install succeeds on One sequencing note for the chain: this PR is downstream of circuit-json#661. |
Summary
Dependency order
This is intentionally a draft until circuit-json PR #661 merges and its release workflow publishes circuit-json@0.0.455. The coordinated rollout is circuit-json, footprinter, @tscircuit/props, then core. The exact 0.0.455 range prevents a Zod 3 circuit-json schema from being composed with this package.
Verification