Commit Graph
1 Commits
Author SHA1 Message Date
Pujitha PaladuguandPujitha Paladugu ae605f2919 chore(deps): bump modernc.org/sqlite from 1.50.1 to 1.59.0 (#1813)
Motivation:
modernc.org/sqlite versions 1.39.0 through at least 1.50.1 (the version
previously pinned in go.mod) fail to compile on NetBSD amd64, breaking
any package that depends on gatus's sqlite storage backend on that
platform. The breakage is tracked upstream at
https://gitlab.com/cznic/sqlite/-/work_items/246, and is reported as
fixed starting with modernc.org/sqlite v1.53.0.

Approach:
Ran `go get modernc.org/sqlite@v1.59.0` (the latest available release,
newer than the minimum v1.53.0 fix version) followed by `go mod tidy`,
matching this repo's established convention of bumping straight to the
latest release rather than a minimum-fix version. This only touches
go.mod/go.sum; storage/store/sql/sql.go only uses the driver via the
standard `_ "modernc.org/sqlite"` blank import and generic database/sql
calls, so it is unaffected by internal changes in the new version. The
bump also pulls in a few indirect dependency updates (mattn/go-isatty,
modernc.org/libc, modernc.org/memory, and sqlite's own codegen
dependencies) via Go's module version selection.

Validation:
Ran `go build`, `go vet ./...`, and `go test ./... -race`, mirroring
this repo's test.yml CI workflow (minus the `sudo` it uses for a
ping-based test, which is unrelated to this change) — all packages
build and pass with the new dependency version, confirming no
regression on this platform. Also ran `go mod verify` and a second
`go mod tidy`, both producing no additional diff. The NetBSD build
fix itself could not be reproduced directly since this development
environment is macOS/arm64; the fix is bumping past the version range
the upstream sqlite issue identifies as broken.

Report: https://github.com/TwiN/gatus/issues/1709

Assisted-by: claude-sonnet-5 (via Claude Code)

Signed-off-by: Pujitha Paladugu <10557236+pujitha24@users.noreply.github.com>
Co-authored-by: Pujitha Paladugu <10557236+pujitha24@users.noreply.github.com>
2026-09-23 19:35:29 -04:00