Skip to content

go upgrade to 1.26.1#2060

Merged
akshaydeo merged 1 commit intomainfrom
03-13-go_upgrade_to_1.26.1
Mar 13, 2026
Merged

go upgrade to 1.26.1#2060
akshaydeo merged 1 commit intomainfrom
03-13-go_upgrade_to_1.26.1

Conversation

@akshaydeo
Copy link
Copy Markdown
Contributor

@akshaydeo akshaydeo commented Mar 13, 2026

Summary

Updates Go version from 1.26 to 1.26.1 across the entire codebase to incorporate the latest patch release with bug fixes and security improvements.

Changes

  • Updated Go version specification in all go.mod files from go 1.26 to go 1.26.1
  • Updated GitHub Actions workflows to use Go 1.26.1 in CI/CD pipelines
  • Updated Docker base images from golang:1.26-alpine3.22 to golang:1.26.1-alpine3.23
  • Updated Alpine base images from alpine3.22 to alpine3.23 for consistency
  • Updated documentation references to reflect the new Go version requirement
  • Moved rewriteSGRParams function from tabmgr.go to a separate sgr.go file for better code organization

Type of change

  • Chore/CI

Affected areas

  • Core (Go)
  • Transports (HTTP)
  • Providers/Integrations
  • Plugins
  • UI (Next.js)
  • Docs

How to test

Verify the Go version update works correctly across all components:

# Verify Go version
go version  # Should show go1.26.1

# Test core modules
cd core && go test ./...
cd ../cli && go test ./...
cd ../transports && go test ./...

# Test plugin examples
cd examples/plugins/hello-world
make build

# Test Docker builds
docker build -f transports/Dockerfile .

# Verify workspace still functions
go work sync

Screenshots/Recordings

N/A - Version update only

Breaking changes

  • Yes
  • No

This is a patch version update that maintains compatibility.

Related issues

N/A - Routine Go version maintenance

Security considerations

This update includes any security patches from Go 1.26.1. All build environments and documentation now consistently reference the patched version.

Checklist

  • I read docs/contributing/README.md and followed the guidelines
  • I added/updated tests where appropriate
  • I updated documentation where needed
  • I verified builds succeed (Go and UI)
  • I verified the CI pipeline passes locally if applicable

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 13, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6a8bc262-10bd-4bed-b73b-8b8535b366cc

📥 Commits

Reviewing files that changed from the base of the PR and between 9ecafca and acc05c2.

📒 Files selected for processing (43)
  • .github/workflows/e2e-tests.yml
  • .github/workflows/pr-tests.yml
  • .github/workflows/release-cli.yml
  • .github/workflows/release-pipeline.yml
  • .github/workflows/snyk.yml
  • AGENTS.md
  • Makefile
  • cli/go.mod
  • cli/internal/runtime/sgr.go
  • cli/internal/runtime/tabmgr.go
  • core/go.mod
  • docs/benchmarking/run-your-own-benchmarks.mdx
  • docs/plugins/building-dynamic-binary.mdx
  • docs/plugins/writing-go-plugin.mdx
  • examples/mcps/edge-case-server/go.mod
  • examples/mcps/error-test-server/go.mod
  • examples/mcps/go-test-server/go.mod
  • examples/mcps/http-no-ping-server/README.md
  • examples/mcps/http-no-ping-server/go.mod
  • examples/mcps/parallel-test-server/go.mod
  • examples/plugins/hello-world-wasm-go/go.mod
  • examples/plugins/hello-world/Makefile
  • examples/plugins/hello-world/go.mod
  • examples/plugins/http-transport-only/go.mod
  • examples/plugins/llm-only/go.mod
  • examples/plugins/mcp-only/go.mod
  • examples/plugins/multi-interface/go.mod
  • framework/go.mod
  • plugins/governance/go.mod
  • plugins/jsonparser/go.mod
  • plugins/litellmcompat/go.mod
  • plugins/logging/go.mod
  • plugins/maxim/go.mod
  • plugins/mocker/go.mod
  • plugins/otel/go.mod
  • plugins/semanticcache/go.mod
  • plugins/telemetry/go.mod
  • tests/governance/go.mod
  • tests/scripts/1millogs/go.mod
  • tests/scripts/migration-checker/go.mod
  • transports/Dockerfile
  • transports/Dockerfile.local
  • transports/go.mod

📝 Walkthrough

Summary by CodeRabbit

  • Chores

    • Upgraded Go toolchain requirement to 1.26.1 across all modules, CI/CD workflows, and documentation
    • Updated Docker base images to alpine3.23 with Go 1.26.1
  • Bug Fixes

    • Improved handling of terminal escape sequence (SGR) parameters for enhanced color and text formatting support

Walkthrough

Repository-wide Go version upgrade from 1.26 to 1.26.1 across workflows, go.mod files, Dockerfiles, and documentation. Docker base images updated concurrently (Alpine 3.22 to 3.23). SGR parameter rewriting logic moved between runtime modules.

Changes

Cohort / File(s) Summary
GitHub Workflows
.github/workflows/e2e-tests.yml, pr-tests.yml, release-cli.yml, release-pipeline.yml, snyk.yml
Updated Go version from 1.26 to 1.26.1 in setup-go steps across all CI workflows for consistent build environment.
Go Module Files
cli/go.mod, core/go.mod, framework/go.mod, transports/go.mod, examples/mcps/*/go.mod, examples/plugins/*/go.mod, plugins/*/go.mod, tests/*/go.mod
Bumped Go language version directive from 1.26 to 1.26.1 across all module files (40\+ files).
Container Images
Makefile, transports/Dockerfile, transports/Dockerfile.local, docs/plugins/building-dynamic-binary.mdx
Updated Docker base images from golang:1.26-alpine3.22 to golang:1.26.1-alpine3.23 and node:24-alpine3.22 to node:24-alpine3.23.
Documentation
AGENTS.md, docs/benchmarking/run-your-own-benchmarks.mdx, docs/plugins/writing-go-plugin.mdx, examples/mcps/http-no-ping-server/README.md
Updated Go version prerequisites and references from 1.26 to 1.26.1 in documentation and README files.
SGR Logic Reorganization
cli/internal/runtime/sgr.go, cli/internal/runtime/tabmgr.go
Moved rewriteSGRParams function from tabmgr.go to sgr.go; handles colon-separated SGR sub-parameter conversion for color codes (38/48), underline styles (4), and drops unsupported underline color (58).

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~30 minutes

Possibly related PRs

  • bifrost moves to go1.26 #1651: Performs repository-wide Go toolchain version bump in workflows and go.mod files (previous version 1.26 upgrade), directly preceding this patch-level increment to 1.26.1.

Poem

🐰 A version bump hops through the code,
From 1.26 to 1.26.1's road,
Dockerfiles dance with Alpine's grace,
SGR colors find their new place,
All workflows run with fresher pace!

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 03-13-go_upgrade_to_1.26.1
📝 Coding Plan
  • Generate coding plan for human review comments

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Copy Markdown
Contributor

🧪 Test Suite Available

This PR can be tested by a repository admin.

Run tests for PR #2060

@akshaydeo akshaydeo marked this pull request as ready for review March 13, 2026 10:57
@akshaydeo akshaydeo merged commit c6c1147 into main Mar 13, 2026
8 of 11 checks passed
@akshaydeo akshaydeo deleted the 03-13-go_upgrade_to_1.26.1 branch March 13, 2026 10:58
@coderabbitai coderabbitai Bot mentioned this pull request Mar 30, 2026
@coderabbitai coderabbitai Bot mentioned this pull request Apr 9, 2026
12 tasks
This was referenced Apr 19, 2026
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