19 Commits
Author SHA1 Message Date
zeekayandHanzo Dev 85d7501b1f Build on Go 1.27
go fix applied the modernizers. One rewrite it got wrong is corrected here: a
reverse loop over runes became a range over slices.Backward that bound the index
and the value to the SAME name, which does not compile and would have compared a
rune to an index if it had. The value gets its own name.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-17 06:18:28 -07:00
zeekayandHanzo Dev 5f20136b19 ci: canonical pair — hanzo.yml + forge caller
github.com has no runner for hanzo-build-linux-amd64, so a caller under
.github/workflows is a gate that can never be scheduled. This is the ~7-line
caller on the plane that can (git.hanzo.ai git-runner fleet), pinned @v1.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-06 02:25:23 -07:00
zeekayandHanzo Dev db24923e99 build: Go builder base to 1.26.5, GOTOOLCHAIN=auto
Currency bump. No go.mod directive changes.

The golang images ship GOTOOLCHAIN=local, so the moment a go.mod
directive moves past the image's Go version the build hard-fails
mid-stage. GOTOOLCHAIN=auto lets the toolchain resolve instead; the
pinned base stays the hermetic fast path.
alpine3.21 is no longer published for any golang 1.26.x tag; 3.23 is the
lowest alpine variant still cut for 1.26.5. The builder is CGO_ENABLED=0,
so the static binary is unaffected and the alpine:3.21 runtime stage stands.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-01 16:34:22 -07:00
zeekay 49aa51316c ci: remove GitHub CI — native git.hanzo.ai + cd.hanzo.ai only
This workflow ran on a self-hosted actions-runner-controller pool. ARC is
decommissioned: CI executes inside git.hanzo.ai (Gitea Actions, .hanzo/workflows)
and delivery is cd.hanzo.ai reconciling the reviewed image pin in
hanzoai/universe. GitHub is a mirror and runs nothing.

Removed rather than repointed — there is no GitHub-side pool to move to, and
leaving it would keep ARC load-bearing.
2026-07-27 08:18:09 -07:00
zeekay 154fb4b92c ci: remove GitHub CI — native git.hanzo.ai + cd.hanzo.ai only
This workflow ran on a self-hosted actions-runner-controller pool. ARC is
decommissioned: CI executes inside git.hanzo.ai (Gitea Actions, .hanzo/workflows)
and delivery is cd.hanzo.ai reconciling the reviewed image pin in
hanzoai/universe. GitHub is a mirror and runs nothing.

Removed rather than repointed — there is no GitHub-side pool to move to, and
leaving it would keep ARC load-bearing.
2026-07-27 08:18:07 -07:00
zeekay 46a5c3da3f fix(deps): patch the AWS SDK EventStream DoS (and the cascade it forced)
Panic-driven denial of service in the AWS SDK for Go v2 EventStream decoder:

    aws/protocol/eventstream  v1.4.8   -> v1.7.14
    service/s3                v1.27.11 -> v1.106.0

Bumping s3 alone does NOT compile here, and the reason is worth recording: the
S3 client changed ContentLength from int64 to *int64, and two pinned consumers
predate that change —

    feature/s3/manager v1.11.33  download.go:439
        invalid operation: resp.ContentLength > 0 (mismatched types *int64 and untyped int)
    snowflakedb/gosnowflake v1.6.19  s3_storage_client.go:107
        cannot use out.ContentLength (*int64) as int64 value in struct literal

So manager -> v1.22.35 and gosnowflake -> v1.19.1 are not incidental churn;
they are the rest of the same fix. That in turn exposed missing go.sum entries
under modernc.org (this fork carries ~20 database drivers), closed by tidy.

Verified against a measured baseline: go build ./... exit 0, and go test ./...
is 25 ok / 33 fail BOTH with and without this change — identical. Those tests
need live database servers and fail in a sandbox regardless; none of the 33 is
a regression from this commit.
2026-07-26 07:41:33 -07:00
zeekayandHanzo Dev bfc4b67c2f refactor(datastore): back the datastore migration driver with native hanzo-ds/go, drop clickhouse-go
The datastore:// migration driver is now a self-contained golang-migrate
database.Driver that opens through github.com/hanzo-ds/go (the native
ClickHouse-wire driver registered as the database/sql name "datastore").
The ClickHouse-specific migration logic (multi-statement exec,
schema_migrations DDL, cluster/engine config, Version/SetVersion/Drop/Lock)
is ported directly into database/datastore, so it no longer embeds or
imports the upstream database/clickhouse driver or
github.com/ClickHouse/clickhouse-go.

- Delete database/clickhouse (driver + test + examples) and
  internal/cli/build_clickhouse.go.
- internal/cli/build_datastore.go drops the clickhouse-go blank import.
- go.mod: drop github.com/ClickHouse/clickhouse-go, add
  github.com/hanzo-ds/go v1.0.1; tidy. Zero clickhouse-go in go.mod,
  go.sum, and the module/dependency graph.
- Port the driver test + example migrations under database/datastore
  (integration test requires a live datastore/clickhouse-wire backend).
- Update README, release workflow build tags, bug report template.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-18 18:40:56 -07:00
zeekay 2bb8e012ad docs(brand): add hero banner 2026-06-28 20:17:58 -07:00
zeekay 3e00f6b4ae chore(brand): dynamic hero banner 2026-06-28 20:17:56 -07:00
a270eacaf6 ci: run on self-hosted ARC pool (hanzo-build-linux-amd64/deploy), not GitHub-hosted (#1)
Co-authored-by: zeekay <[email protected]>
2026-06-19 20:36:45 -07:00
zeekay 17c19cc035 deps: bump Go to 1.26.4 across go.mod, Dockerfiles, GH Actions
Workspace-wide sync. luxfi/node already shipped on 1.26.4 in v1.30.6
(commit 121aca1fa9); this is the cross-repo catch-up.
2026-06-07 12:10:59 -07:00
zeekay 1a882760f8 Merge remote-tracking branch 'upstream/master' 2026-05-19 21:54:56 -07:00
zeekay 8c7c06df37 go.mod: bump go directive to 1.26.3 (security advisory) 2026-05-12 21:25:26 -07:00
zeekay 2eee18e63e chore: symlink AGENTS.md and CLAUDE.md to LLM.md
Canonical project context lives in LLM.md. Symlinks ensure
agentic coding tools (agent, Cursor, etc.) find context
automatically regardless of which filename they look for.
2026-04-01 14:12:04 -07:00
zeekay f79031511f chore: bump Go 1.26.1 2026-03-22 14:10:48 -07:00
zeekay 9a545a8e5a docs: add LLM.md project guide 2026-03-11 10:31:22 -07:00
zeekay e63bd3da1a fix: tar binary as 'migrate' not 'migrate.linux-amd64' to match upstream 2026-03-03 10:16:42 -08:00
zeekay fbac13febc Add release workflow for CI-built binaries
Builds migrate CLI for linux/darwin (amd64/arm64) with datastore
driver support and publishes GitHub Release on tag push.
2026-03-03 09:24:50 -08:00
zeekay 0f12524bc1 Add datastore database driver for Hanzo Datastore
Registers "datastore://" as a URL scheme that delegates to the
ClickHouse driver. This allows golang-migrate to natively connect
to Hanzo Datastore instances without URL rewriting in scripts.
2026-03-03 09:15:21 -08:00