Skip to content

deps: move to Go 1.26 and api-client-go v0.17.3 - #167

Merged
steve-calvert-glean merged 1 commit into
mainfrom
chore/go-1-26-api-client-go
Nov 10, 2026
Merged

steve-calvert-glean merged 1 commit into
mainfrom
chore/go-1-26-api-client-go

Conversation

@steve-calvert-glean

Copy link
Copy Markdown
Collaborator

The CLI pins api-client-go v0.13.4, which predates the SDK release that marked the platform Search and Chat APIs GA. The next release makes glean search and glean agents platform-first by default, so it should ship on current SDK models. api-client-go v0.17.3 requires Go 1.26.10, so this PR moves the toolchain too.

Changes

Verification

  • go build, go vet and go test -race ./... pass on Go 1.26.10.
  • golangci-lint v2.11.4 (the CI pin, built with Go 1.26.1) reports 0 issues.
  • I compared --dry-run request bodies from a main build and this branch for search (flags and --json), agents run, agents search, chat, documents retrieve and answers list. They are identical. entities read-people differs only by the default fallbackToAuthenticatedIdentity: false.
  • Not run: live calls against a Glean instance.

api-client-go v0.17.3 is the first SDK line generated after the platform
Search and Chat APIs went GA, and it requires Go 1.26.10. Moving to it
keeps the platform-first search and agents commands on the current API
models instead of the pre-GA v0.13.4 ones.

- go.mod: go 1.26.10, api-client-go v0.13.4 -> v0.17.3
- golang.org/x/oauth2 v0.37.0, x/mod v0.42.0, x/term v0.47.0 (these
  Dependabot bumps were blocked only by the Go version)
- mise.toml, CI matrix label and CONTRIBUTING.md: Go 1.26
- agents run: messages use PlatformMessageInput, the SDK's request type
  (same JSON shape: role plus text content blocks)
- entities read-people dry-run snapshot: the SDK now serializes the new
  optional fallbackToAuthenticatedIdentity field with its default (false)
@steve-calvert-glean
steve-calvert-glean requested a review from a team as a code owner November 10, 2026 21:24
@steve-calvert-glean
steve-calvert-glean merged commit 321b7a0 into main Nov 10, 2026
7 checks passed
@steve-calvert-glean
steve-calvert-glean deleted the chore/go-1-26-api-client-go branch November 10, 2026 21:27
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.

1 participant