fix(#1344): update Go version in code agent sandbox to 1.26.0#1990
Conversation
The sandbox image pinned Go 1.24.13 while go.mod requires 1.26.0. This version mismatch prevented the code agent from compiling or testing Go code, causing it to submit untested PRs (e.g. PR #1016 shipped a duplicate map key that go build would have caught). Update GO_VERSION from 1.24.13 to 1.26.0 and replace the SHA256 checksums for linux-amd64 and linux-arm64 archives. Checksums sourced from docker-library/golang at the go1.26.0 release commit. The sandbox image will rebuild automatically via the sandbox-images.yml workflow on push to main. Note: pre-commit could not run in-sandbox (exit 3) because the gitleaks hook tried to auto-download a newer Go toolchain, which is blocked by sandbox network policy. This is the same version mismatch this commit fixes. Closes #1344
Site previewPreview: https://09468cca-site.fullsend-ai.workers.dev Commit: |
ReviewFindingsLow
Info
Previous runReviewFindingsLow
Info
|
gopls 0.18.1 depends on golang.org/x/tools v0.30.x which fails to compile under Go 1.26.0 (invalid array length in tokeninternal.go). Bump to gopls 0.22.0, the latest release, which supports Go 1.26. Assisted-by: Claude claude-opus-4-6 <noreply@anthropic.com> Signed-off-by: Ralph Bean <rbean@redhat.com>
Keep the PR's Go ENV block (PATH, GOPATH, GOMODCACHE) and gopls v0.22.0 install; remove the duplicate gopls v0.18.1 block that came from main. Assisted-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Ralph Bean <rbean@redhat.com>
|
🤖 Review · Started 3:38 PM UTC |
Fixes end-of-file-fixer pre-commit hook failure. Assisted-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Ralph Bean <rbean@redhat.com>
|
🤖 Review · Started 3:41 PM UTC |
|
🤖 Retro · Started 3:47 PM UTC |
|
Review skipped — this PR is already merged. The Posted by fullsend post-review check |
|
🤖 Finished Review · ✅ Success · Started 3:41 PM UTC · Completed 3:51 PM UTC |
Retro: PR #1990 — Update Go version in code agent sandboxThis PR originated from issue #1344, which was itself filed by the retro agent after PR #1016 shipped a Go compile error because the sandbox couldn't build Go code (Go 1.24.13 in sandbox vs 1.26.0 required by go.mod). The full loop — retro → triage → prioritize → code → review → merge — worked well. What went well:
What required human intervention:
Skipped proposals (already covered by existing issues):
1 proposal filed for code agent cascading dependency checking. Proposals filed
|
|
🤖 Finished Retro · ✅ Success · Started 3:47 PM UTC · Completed 3:53 PM UTC |
The sandbox image pinned Go 1.24.13 while go.mod requires 1.26.0. This version mismatch prevented the code agent from compiling or testing Go code, causing it to submit untested PRs (e.g. PR #1016 shipped a duplicate map key that go build would have caught).
Update GO_VERSION from 1.24.13 to 1.26.0 and replace the SHA256 checksums for linux-amd64 and linux-arm64 archives. Checksums sourced from docker-library/golang at the go1.26.0 release commit.
The sandbox image will rebuild automatically via the sandbox-images.yml workflow on push to main.
Note: pre-commit could not run in-sandbox (exit 3) because the gitleaks hook tried to auto-download a newer Go toolchain, which is blocked by sandbox network policy. This is the same version mismatch this commit fixes.
Closes #1344
Post-script verification
agent/1344-update-go-sandbox-version)9ea038f26b4c37a1000c1fe5a42303217a79357b..HEAD)