Skip to content

refactor: bump go toolchain to 1.26.8 - #480

Merged
edenreich merged 2 commits into
mainfrom
refactor/issue-474-20261004-1536
Oct 4, 2026
Merged

edenreich merged 2 commits into
mainfrom
refactor/issue-474-20261004-1536

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Bumps the Go toolchain from 1.26.7 to 1.26.8 across the CLI, matching inference-gateway/adk#374 and inference-gateway/cli#1500.

  • go.mod now declares go 1.26.8
  • .flox/env/manifest.toml pins go.version = "1.26.8" and manifest.lock is re-resolved
  • adl init prompt default, adl init wizard default and the AI instructions template (internal/templates/common/ai/claude.md.tmpl) default to 1.26.8
  • All examples/*.yaml, README.md, CONTRIBUTING.md and test fixtures updated
  • grep -rn "1\.26\.7" (excluding CHANGELOG.md) returns nothing

Note: re-locking the flox toplevel group also moved golangci-lint 2.13.1 -> 2.14.0, which is inside the existing ^2.12.2 pin - no manifest pin was changed for it.

Verification

  • go build ./... and go test ./... pass on go 1.26.8 (toolchain downloaded automatically)
  • go vet ./... clean, gofmt clean
  • task examples:test validates every example manifest

no docs ticket: internal-only refactor

Closes #474

Generated with Claude Code

@edenreich

Copy link
Copy Markdown
Contributor

@claude CI is failing - can you fix this?

@inference-gateway-maintainer

inference-gateway-maintainer Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor Author

Claude finished @edenreich's task in 2m 26s —— View job


CI fix: Nix build

  • Read the failing job log (Nix / Build → Validate flake builds)
  • Found root cause
  • Pushed fix

Root cause

flake.nix:58 sets env.GOTOOLCHAIN = "local", so the Nix build must use the Go from the pinned nixpkgs - it can't download a newer toolchain (no network in the build sandbox). The pinned nixpkgs rev 9387b3f ships Go 1.26.7, and this PR raised go.mod to go 1.26.8, so nix build .#adl died before producing a vendor hash. The workflow's awk '/got:/ ...' then found nothing and reported the misleading ERROR: could not extract vendorHash from nix build output.

The CI workflow passed because it uses actions/setup-go with go-version-file: go.mod, which just installs 1.26.8.

Fix

Bumped the nixpkgs input in flake.lock to c9fe7d12cd78d1adcd12dd15e24432dde5b155a0 (nixpkgs-unstable, Go 1.26.8) - the same rev inference-gateway/cli already locks, so the narHash is a known-good value. flake.nix needed no change: vendorHash tracks module deps, not the toolchain, and dependencies are untouched.

Note: nix commands are not in this run's allow-list, so I could not reproduce the build or run nix flake update locally - I verified the Go version at both nixpkgs revs via the GitHub API instead. The Nix workflow re-running on this commit is the real check.
| Branch

@edenreich
edenreich merged commit fb9473f into main Oct 4, 2026
1 check passed
@edenreich
edenreich deleted the refactor/issue-474-20261004-1536 branch October 4, 2026 15:59
inference-gateway-releaser Bot added a commit that referenced this pull request Oct 4, 2026
## [0.66.4](v0.66.3...v0.66.4) (2026-10-04)

### ♻️ Improvements

* bump go toolchain to 1.26.8 ([#480](#480)) ([fb9473f](fb9473f))

### 🐛 Bug Fixes

* use lowercase os in install.sh archive name ([#476](#476)) ([b0a7ab0](b0a7ab0))

### 📚 Documentation

* **agents:** add code readability guidelines ([#473](#473)) ([f6ef7a8](f6ef7a8))
* align readme quick start with the cli ([#477](#477)) ([26422a0](26422a0))
* fix stale adl-ignore, artifacts vars and examples ([#479](#479)) ([4a5d845](4a5d845))
* **readme:** call generated code tools, not skills ([#478](#478)) ([4373543](4373543))
* **readme:** match issue template section to templates ([#475](#475)) ([b4f6392](b4f6392))

### 🔧 Miscellaneous

* **deps:** bump the go adk to the usage extension release ([#481](#481)) ([ca5f637](ca5f637)), references [inference-gateway/cli#1526](inference-gateway/cli#1526)
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.66.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TASK] Bump Go toolchain to 1.26.8

1 participant