Skip to content

build(ci): upgrade Go 1.26 to 1.27.1 - #310

Merged
AnnatarHe merged 1 commit into
mainfrom
claude/sleepy-cannon-jmiyrk
Oct 5, 2026
Merged

AnnatarHe merged 1 commit into
mainfrom
claude/sleepy-cannon-jmiyrk

Conversation

@AnnatarHe

Copy link
Copy Markdown
Contributor

Summary

  • Bump the go directive in go.mod from 1.26 to 1.27.1, the latest stable Go release.
  • Change both workflows (pr-check.yaml, release.yaml) from a hard-coded go-version: "1.26" to go-version-file: go.mod. The server already does this, and it keeps CI on the same version as the module.
  • Bump mockery from v3.5.0 to v3.7.4 in both workflows. v3.5.0 bundles golang.org/x/tools v0.33.0, which can't load packages for a go 1.27 module. It fails with internal error: package "bufio" without types was imported from ".../model", even when built with go1.27.1. v3.7.4 is the version the server already uses on Go 1.27.1.
  • Update the Go version in CLAUDE.md and AGENTS.md.

go mod tidy under go1.27.1 doesn't touch go.sum.

Test plan

All run locally on go1.27.1:

  • go mod tidy then go mod verify; a second go mod tidy makes no changes
  • mockery v3.7.4 generates MockCommandService / MockConfigService
  • go vet ./...
  • go build ./cmd/cli/main.go and go build ./cmd/daemon/main.go
  • go test -timeout 3m ./...: commands, daemon, model, and stloader all pass
  • PR Check workflow passes on 1.27.1

🤖 Generated with Claude Code

https://claude.ai/code/session_016nCMzAhia8nSVTafQzYZcr


Generated by Claude Code

Bump the go directive to 1.27.1, the latest stable release, and have both
workflows read the version from go.mod (matching the server) so CI cannot
drift from the module again.

Mockery v3.5.0 bundles golang.org/x/tools v0.33.0, which cannot load
packages for a go 1.27 module ("package without types was imported").
Bump it to v3.7.4, the version the server already runs on Go 1.27.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016nCMzAhia8nSVTafQzYZcr
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@claude

claude Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@AnnatarHe
AnnatarHe merged commit 8e12ac1 into main Oct 5, 2026
2 checks passed
@AnnatarHe
AnnatarHe deleted the claude/sleepy-cannon-jmiyrk branch October 5, 2026 06:43
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