Files
zeekayandGitHub f7321c9463 build(visor): GOEXPERIMENT=jsonv2 per SCALE_STANDARD (#8)
* refactor: import github.com/hanzoai/iam (drop iamsdk/v2)

Switch from github.com/hanzoai/iamsdk/v2/iamsdk to canonical
github.com/hanzoai/iam root package. One canonical path, no drift.
Pinned to iam@86e34e93 SHA pseudo-version until v1.16.2 ships.

* build(visor): GOEXPERIMENT=jsonv2 in Dockerfile per SCALE_STANDARD

Per SCALE_STANDARD.md §2 — every Go production Dockerfile that emits
JSON to a client builds with GOEXPERIMENT=jsonv2. Verified on
hanzoai/zip's json_bench_test.go:
- Edge POST roundtrip: -12% time, -23% allocs
- Marshal-only: -22% time
- Unmarshal-only: -19% time, -25% allocs

build.sh inherits the ENV from the parent ARG so the existing go-build
invocation picks up jsonv2 unchanged. The conn-memory regression test
is deferred to a follow-up that migrates visor's beego v1.12 listener
to zip per §9 step-1.
2026-05-29 21:05:29 -07:00
..
2023-07-31 18:46:17 +08:00