Skip to content

Bump Go to 1.27, add dependabot config, fix lint issues - #59

Merged
byo merged 5 commits into
masterfrom
update-go-1.27
Nov 17, 2026
Merged

byo merged 5 commits into
masterfrom
update-go-1.27

Conversation

@byo

@byo byo commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add .github/dependabot.yml: weekly updates for gomod, docker and github-actions. Minor/patch Go updates are grouped into one PR, security fixes get their own group, and major bumps stay separate.
  • Bump Go 1.25 -> 1.27 (go.mod, workflows, Dockerfiles) and update all dependencies.
  • Migrate golangci-lint to v2 (the v1 tool panics on Go 1.27) and migrate .golangci.yml. Test files are excluded from goconst, and gosec taint rules G703/G704/G710 are disabled because paths and URLs come from validated blob names or user config.
  • Apply go fix and fix the remaining linter findings.
  • Fix the testvectors generator so go generate ./... produces code matching TestBlob again (it emitted plain []byte for the blob name and key, which no longer compiles).

Testing

  • go build ./..., go vet ./..., golangci-lint (0 issues), go generate ./... (no diff), and the test suite pass locally.

byo and others added 2 commits November 17, 2026 16:46
Weekly updates for gomod, docker and github-actions. Minor/patch Go
updates are grouped in one PR, security fixes in their own group, major
bumps stay separate.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Config migrated to the v2 format; test files are excluded from goconst
and gosec taint rules G703/G704/G710 are disabled (paths and URLs come
from validated blob names or user config).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@coveralls

coveralls commented Nov 17, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 95.599% (-0.2%) from 95.786% — update-go-1.27 into master

byo and others added 3 commits November 17, 2026 17:07
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The generated testblobs code used plain byte slices for the blob name and
key, which no longer compiles. Emit the BlobName / BlobKey constructors
so that 'go generate ./...' leaves the tree unchanged again.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Wait until the server accepts connections instead of sleeping for 1ms,
which failed with 'connection refused' on slower CI runners.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@byo
byo merged commit c496165 into master Nov 17, 2026
12 checks passed
@byo
byo deleted the update-go-1.27 branch November 17, 2026 16:09
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