test: add FuzzMarshal, golden messages, synctest cancellation and cross smoke
Test / test (push) Successful in 1m31s

Assisted-by: GLM 5.3 Flash
This commit is contained in:
2026-09-22 01:03:27 +02:00
parent 3e741e7790
commit bef1d3fbd9
10 changed files with 242 additions and 1 deletions
+6
View File
@@ -258,6 +258,12 @@ func parseDateTime(tok string) (any, bool) {
if err != nil {
return nil, false
}
// A zero offset carries its own anonymous location from time.Parse,
// while the written form is "Z" either way; normalising to UTC keeps
// the tree identical across the round trip.
if _, off := t.Zone(); off == 0 {
t = t.In(time.UTC)
}
return OffsetDateTime{t}, true
case dateTimeLocal:
layout := localClockLayout