Skip to content

Migrate to zos_base@v1.1.0 + zos_sdk_go@v0.18.0#20

Merged
sameh-farouk merged 3 commits into
developmentfrom
migrate-to-zos-base-and-sdk
Jul 14, 2026
Merged

Migrate to zos_base@v1.1.0 + zos_sdk_go@v0.18.0#20
sameh-farouk merged 3 commits into
developmentfrom
migrate-to-zos-base-and-sdk

Conversation

@ashraffouda

Copy link
Copy Markdown
Contributor

Complete migration off the rename redirects (grid-cli + grid-agent-gui): zosbase -> zos_base@v1.1.0 and tfgrid-sdk-go/* -> zos_sdk_go/{grid-client,grid-proxy,rmb-sdk-go}@v0.18.0. Imports gofmt'd; go build ./... passes (grid-agent-gui: Go compiles, the frontend/dist embed is built by CI). Graph has no zosbase/tfgrid-sdk-go. Supersedes #19. Part of #2693.

ashraffouda and others added 3 commits July 13, 2026 17:01
grid-cli, grid-agent-gui: repoint zosbase -> zos_base@v1.1.0 and tfgrid-sdk-go/*
-> zos_sdk_go/{grid-client,grid-proxy,rmb-sdk-go}@v0.18.0. Imports gofmt'd,
go.mod/go.sum updated. grid-cli builds; grid-agent-gui Go compiles (frontend/dist
embed built by CI). Graph has no zosbase or tfgrid-sdk-go.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The module bump to `go 1.25.0` (grid-cli, grid-agent-gui) was not propagated
to the workspace or CI, breaking every workspace-mode build:

  go: module grid-cli listed in go.work file requires go >= 1.25.0,
      but go.work lists go 1.24

- go.work: go 1.24 -> 1.25.0, toolchain go1.24.2 -> go1.25.0 so the workspace
  (and `go work sync` via `make tidy`/`work-sync`) resolves again.
- release.yml: pin setup-go 1.23 -> 1.25 so release builds don't rely on
  implicit toolchain auto-download for the 1.25.0 modules.
- grid-cli/Makefile: repoint the `-X` ldflags from the stale monorepo path
  github.com/threefoldtech/tfgrid-sdk-go/grid-cli/cmd to the real module
  github.com/threefoldtech/grid-agent/grid-cli/cmd, so version/commit
  injection stops silently no-op'ing (verified: `tfcmd version` now reports
  the tag + commit).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QBTXyiV6w44ZBtDAikJ6uZ
Complete the rename cleanup the migration missed (non-build docs):
- repo URLs (releases/issues/clone) tfgrid-sdk-go -> grid_agent
- agent/README import + go get paths -> the real module path
  github.com/threefoldtech/grid-agent/agent
- agent/README "Related Projects" SDK link -> renamed zos_sdk_go
- grid-agent-gui desktop entry example path -> grid_agent

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QBTXyiV6w44ZBtDAikJ6uZ

@sameh-farouk sameh-farouk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving after verifying the migration and adding fixes for the workspace/CI Go 1.25.0 propagation, grid-cli Makefile ldflags path, and stale tfgrid-sdk-go doc references. Local build/vet/tests green across all three modules; workspace (go.work) resolves and tfcmd version now injects tag+commit correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants