Skip to content

Update all dependencies and bump to Go 1.25#7

Merged
adlio merged 3 commits into
mainfrom
update-deps-go125
May 2, 2026
Merged

Update all dependencies and bump to Go 1.25#7
adlio merged 3 commits into
mainfrom
update-deps-go125

Conversation

@kiro-agent
Copy link
Copy Markdown

@kiro-agent kiro-agent Bot commented Apr 30, 2026

This pull request was generated by @kiro-agent 👻

Comment with /kiro fix to address specific feedback or /kiro all to address everything.
Learn about Kiro autonomous agent


Summary

Updates all direct and transitive dependencies to their latest versions and bumps the minimum Go version from 1.17 to 1.25.

Key dependency upgrades

Direct dependencies:

  • github.com/jackc/pgconn v1.10.1 → v1.14.3
  • github.com/jackc/pgx/v4 v4.14.1 → v4.18.3
  • github.com/ory/dockertest/v3 v3.9.1 → v3.12.0
  • github.com/pashagolub/pgxmock v1.4.3 → v1.8.0

Notable transitive dependency upgrades:

  • golang.org/x/crypto v0.0.0-20211209... → v0.50.0
  • golang.org/x/sys v0.0.0-20220615... → v0.43.0
  • golang.org/x/text v0.3.7 → v0.36.0
  • github.com/docker/cli v20.10.17 → v29.4.1
  • github.com/docker/docker replaced by github.com/moby/moby/client v0.4.1
  • github.com/sirupsen/logrus v1.8.1 → v1.9.4
  • github.com/opencontainers/runc v1.1.3 → v1.2.3
  • github.com/opencontainers/image-spec v1.0.2 → v1.1.1

Verification

  • go build ./... passes cleanly
  • go vet ./... passes cleanly
  • Integration tests require a running Postgres instance (via dockertest) and could not be run in the sandbox environment

Notes

  • The embed_go116.go build constraint (go1.16) remains valid since Go 1.25 satisfies the minimum version check
  • The imdario/mergo dependency was replaced upstream by dario.cat/mergo via dockertest v3.12.0
  • New transitive dependencies include OpenTelemetry packages pulled in by the updated Docker/Moby libraries

kiro-agent and others added 2 commits May 2, 2026 17:34
Co-authored-by: Aaron Longwell <27492+adlio@users.noreply.github.com>

Co-authored-by: Aaron Longwell <27492+adlio@users.noreply.github.com>
- Migrate .golangci.yml to v2 format (required by golangci-lint v2.x)
- Update CI workflow to use golangci-lint v2.11.4 (v1.x cannot lint Go 1.25)
- Replace deprecated io/ioutil with os.ReadFile and io.ReadAll
- Fix gofmt issues from Go 1.25 stricter doc comment formatting
- Lowercase error strings per Go conventions (ST1005)
- Replace unused parameters with _ (revive: unused-parameter)
- Remove superfluous else after log.Fatalf (revive: superfluous-else)
- Use fmt.Fprintf instead of WriteString(fmt.Sprintf(...)) (staticcheck: QF1012)

Co-authored-by: Aaron Longwell <27492+adlio@users.noreply.github.com>
@adlio adlio force-pushed the update-deps-go125 branch from f59129f to 84dc6d8 Compare May 2, 2026 17:37
golangci-lint-action v6 does not support golangci-lint v2.x.
Action v7 is required for v2 compatibility.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (882683f) to head (1dadabb).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #7   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines          216       216           
=========================================
  Hits           216       216           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@adlio adlio merged commit 6b8f7c9 into main May 2, 2026
4 checks passed
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