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
{{ message }}
Repository navigation
Commit 29b3d7f
Browse filesBrowse the repository at this point in the historyBrowse files
test(persistence): gate field.uri + field.inet write-roundtrip in AllTypes corpus
Wave-3 subtypes field.uri (native URI / text column) and field.inet
(native IP / Postgres inet column) shipped with per-port codecs but were
not in the persistence-conformance op:roundtrip gate. Add uriVal (field.uri),
inetVal + inet6Val (field.inet, IPv4 + IPv6) to the AllTypes entity so every
port's runtime WRITE codec re-encodes them on INSERT/UPDATE and the read-back
is asserted against the wire-normal form.
- meta.fitness.json: +uriVal/+inetVal/+inet6Val on AllTypes.
- schema.postgres.sql regenerated (bun run gen:schema): uriVal TEXT,
inetVal/inet6Val INET.
- roundtrip-all-types.yaml + update-delete-all-types.yaml: seed + expect
for all three rows / the UPDATE+DELETE scenario (raw-SQL seed updated for
the new NOT NULL columns).
- registry-conformance README: mark uri/inet covered in the write-roundtrip matrix.
inet read-back finding: a HOST address (no CIDR prefix) round-trips WITHOUT a
mask via the inet wire text format (node-pg reads the column directly, not
::text); an explicit ::text cast WOULD append /32 (IPv4) or /128 (IPv6).
IPv6 returns its canonical compressed form (2001:0db8:..:8a2e:0370:7334 ->
2001:db8::8a2e:370:7334). Verified empirically against Postgres 16.
TS persistence roundtrip green against Testcontainers PG (24/24 query
scenarios); schema-artifact drift check + migrate-ts suite green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GF9xLEQZaPus5Y6opk398n
0 commit comments