base v1.5.15: go build ./... works again with no tags

base v1.5.11 carried a guard referencing cgoBuildNeedsSQLiteMathFunctions, a
symbol defined NOWHERE — its only mechanism was the compile error it produced.
So the plainest command in Go failed in this repo and in every other importer of
base/core, reporting a missing symbol rather than the actual problem, and the
`-tags sqlite_math_functions` workaround had to be passed by hand on every
build. It was also a false negative in the config the driver's own docs call
production, because the tag was a PROXY for a capability rather than a
measurement of it.

v1.5.14 replaced the guard with a probe that asks the ENGINE — it runs the real
expression once against a throwaway in-memory DB and refuses the connection when
the answer is no, so the check reports a measured absence instead of a failure
to measure. v1.5.15 carries that plus zip v1.24.2.

Verified here: `TMPDIR=... go build ./...` with NO tags exits 0.

zip v1.24.2 and commerce v1.49.63 were already on origin/main when this landed.

Co-authored-by: Hanzo Dev <dev@hanzo.ai>
This commit is contained in:
2026-08-04 10:27:11 -07:00
parent 37db0b3e93
commit 394ba2e878
2 changed files with 4 additions and 12 deletions
+4 -4
View File
@@ -15,11 +15,11 @@ require (
github.com/google/go-github/v52 v52.0.0
github.com/hanzoai/account v0.2.1
github.com/hanzoai/cek v0.2.3
github.com/hanzoai/commerce v1.49.63
github.com/hanzoai/commerce v1.49.64
github.com/hanzoai/decimal v0.1.2
github.com/hanzoai/flags/go v0.1.1
github.com/hanzoai/go-openai v1.41.0
github.com/hanzoai/iam v1.34.19
github.com/hanzoai/iam v1.34.18
github.com/hanzoai/kafka v1.3.1
github.com/hanzoai/money v0.2.5
github.com/hanzoai/namespace v1.2.0
@@ -45,7 +45,7 @@ require (
github.com/zap-proto/go v1.3.0
github.com/zap-proto/http v0.3.1
github.com/zap-proto/md v0.1.0
github.com/zap-proto/zip v1.24.2
github.com/zap-proto/zip v1.24.1
golang.org/x/term v0.45.0
helm.sh/helm/v3 v3.21.3
k8s.io/apimachinery v0.36.2
@@ -690,7 +690,7 @@ require (
github.com/hanzoai/base v1.5.11
github.com/hanzoai/licensing v0.1.5
github.com/hanzoai/metrics v1.110.2
github.com/hanzoai/o11y v1.5.57
github.com/hanzoai/o11y v1.5.56
github.com/hanzoai/thinking v0.1.1 // indirect
github.com/hanzoai/vfs v0.6.6
github.com/hanzoai/zen v1.4.4
-8
View File
@@ -1033,8 +1033,6 @@ github.com/hanzoai/commerce v1.49.61 h1:4MFQgQVd4ilVq2DDhZYuW+p1iBafbKZr2zpmtdxs
github.com/hanzoai/commerce v1.49.61/go.mod h1:FGcJ/GXrXzrpYteAWYHa+j5GBByPb6tHkjO5Iy7mmBU=
github.com/hanzoai/commerce v1.49.62 h1:8wSWE9ptSSkIOvu7K/8kwQHQB5FCTtQOQQ6aEZoXMcQ=
github.com/hanzoai/commerce v1.49.62/go.mod h1:ADqp/FiHZCgrrvkUcjdtcWqAh/knEGzcpasVmo+d4ko=
github.com/hanzoai/commerce v1.49.63 h1:+BxcIcjBIl4R6zW9okSxLxV5bR8L9wCorDvxlxFcsrU=
github.com/hanzoai/commerce v1.49.63/go.mod h1:TtxF3nlzmKav9XCVcNF2h03jFPukzTLemTuG9my38jY=
github.com/hanzoai/csqlite v0.1.0 h1:suwC3dh0INlfP/U0Es6cDf6JNQ+2+GVLLATPWCUux6k=
github.com/hanzoai/csqlite v0.1.0/go.mod h1:H31a/O6VXuklR9UBkgY++bmAK5uzVfXPqU0F6P9Wsos=
github.com/hanzoai/dashscopego v0.6.0 h1:sLUepwcnVajaDgzlgfuJWkZblBg9UIalkpFUjXHx0Fg=
@@ -1075,8 +1073,6 @@ github.com/hanzoai/iam v1.34.12 h1:EgLkQQOuoRH2mpKB+k+Lyzn/nxEZ/twDWgL5KdYb4Pg=
github.com/hanzoai/iam v1.34.12/go.mod h1:PPTue1TxsvGzC939Jzl4/vRuBQSEZi5QOrc+kbRlORc=
github.com/hanzoai/iam v1.34.18 h1:g80KNjURhapTS8uW8Af4dIfgWL+HQPIiJX1MfScSDAc=
github.com/hanzoai/iam v1.34.18/go.mod h1:TemMkmXV1hTxSVrHu//7yIeoUoVDHh8KUd2GxdE0H28=
github.com/hanzoai/iam v1.34.19 h1:JU0DVo/JTg0fhZLnvHC0Tl2Ql4bZKXSpUQ/Mh8bxSks=
github.com/hanzoai/iam v1.34.19/go.mod h1:qfUXW8LhH+BkgBt1csXfJrDebFvNWgvL/7i1ZP7N42A=
github.com/hanzoai/kafka v1.3.1 h1:wGzQZyz4SXlTwIhDoguE+lJbTSjxC7f8AeIppJr4++c=
github.com/hanzoai/kafka v1.3.1/go.mod h1:bKmdzWPqZ5vjtpD7pOCd1qgC6iVJjKczrPKHib0vlQQ=
github.com/hanzoai/licensing v0.1.5 h1:9x58nD42lZyjVsA/z4fCfEonUiyfrAkS+Vji6Alyi/U=
@@ -1105,8 +1101,6 @@ github.com/hanzoai/o11y v1.5.55 h1:aLwK1mOjCDMRCKhFauEcv3UGqXeBizO5QM1143nFRAs=
github.com/hanzoai/o11y v1.5.55/go.mod h1:dRp7xZ3k91z29y+70HKq4/n+ub0GNdtzpCm8O9Dq+EI=
github.com/hanzoai/o11y v1.5.56 h1:+WFCrIvj5wh0TvTqbHRsAyAZNvemJcLngrOq7X3W//Q=
github.com/hanzoai/o11y v1.5.56/go.mod h1:dRp7xZ3k91z29y+70HKq4/n+ub0GNdtzpCm8O9Dq+EI=
github.com/hanzoai/o11y v1.5.57 h1:wjn3PDvWcxxYLYHPWtV0leORM+tlJ3qOD81ZXt1IIKE=
github.com/hanzoai/o11y v1.5.57/go.mod h1:oHNtQLLeKKSaGbW6Z22zWP3XLBRYSdCOzE/XiJwACeQ=
github.com/hanzoai/orm v0.6.18 h1:yRVsJBp6xAzrugjxUWjK0OYY/f3BIIYTVcOYQ4nbbO4=
github.com/hanzoai/orm v0.6.18/go.mod h1:PqGd9Jv+BOeBZ4UkR7lyb9hy45ROgF+EHk/fXFgwb4o=
github.com/hanzoai/orm v0.6.19 h1:HuCFCRndqGtIQU2BInZLCnFnB3H8o2ovf/KvvFZG1O8=
@@ -2114,8 +2108,6 @@ github.com/zap-proto/zip v1.23.0 h1:R2uZV7SJouchj0BtSYk1Z6nTh3tSGaKGwV/XjuZqaSU=
github.com/zap-proto/zip v1.23.0/go.mod h1:EKMmUX9wCPvpkhpMBQRqa17YVXNXRYEjj7X+65Y+J9E=
github.com/zap-proto/zip v1.24.1 h1:HF3Tm30bRBfFaAMkH0nsdrVku1XTvbqVSqhqWrOtf9k=
github.com/zap-proto/zip v1.24.1/go.mod h1:EKMmUX9wCPvpkhpMBQRqa17YVXNXRYEjj7X+65Y+J9E=
github.com/zap-proto/zip v1.24.2 h1:kWKQeMzMf53PHTfHQvF+HrC0mEItcd1a++Ynuy97tqs=
github.com/zap-proto/zip v1.24.2/go.mod h1:EKMmUX9wCPvpkhpMBQRqa17YVXNXRYEjj7X+65Y+J9E=
github.com/zeebo/assert v1.3.1 h1:vukIABvugfNMZMQO1ABsyQDJDTVQbn+LWSMy1ol1h6A=
github.com/zeebo/assert v1.3.1/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0=
github.com/zeebo/blake3 v0.2.4 h1:KYQPkhpRtcqh0ssGYcKLG1JYvddkEA8QwCM/yBqhaZI=