Skip to content

chore(deps): bump github.com/mattn/go-sqlite3 from 1.14.28 to 1.14.52 - #829

Merged
nieblara merged 2 commits into
mainfrom
dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.52
Oct 6, 2026
Merged

nieblara merged 2 commits into
mainfrom
dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.52

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/mattn/go-sqlite3 from 1.14.28 to 1.14.52.

Release notes

Sourced from github.com/mattn/go-sqlite3's releases.

1.14.52

What's Changed

Full Changelog: mattn/go-sqlite3@v1.14.51...v1.14.52

1.14.51

What's Changed

New Contributors

Full Changelog: mattn/go-sqlite3@v1.14.50...v1.14.51

1.14.50

What's Changed

New Contributors

Full Changelog: mattn/go-sqlite3@v1.14.49...v1.14.50

1.14.49

What's Changed

... (truncated)

Commits
  • b0be46f Merge pull request #1454 from mattn/fix-stmt-cache-probe-cost
  • c8212b8 Replace schema probe with eager first step for cached statements
  • d7f5da7 Merge pull request #1452 from mattn/fix-stmt-cache-schema-change
  • 6428cad Merge pull request #1444 from bradengroom/codex/efficient-query-cancellation
  • be93f7a Merge pull request #1453 from mattn/fix-handle-map-quadratic
  • 5b285a1 Merge branch 'master' into codex/efficient-query-cancellation
  • 2294cd9 Replace copy-on-write handle map with sync.Map
  • 5341cee Gate cache on runtime version and skip probing in transactions
  • c7ed68d Flush statement cache when the schema changes
  • 6507893 Merge pull request #1367 from kberov/typos
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note

Overview
Dependency-only update: bumps github.com/mattn/go-sqlite3 from v1.14.28 to v1.14.52 in go.mod and refreshes the matching entries in go.sum. There are no application or test code changes in this repo.

The newer driver pulls in upstream fixes and behavior changes (statement-cache handling around schema changes, query-cancellation efficiency, handle-map concurrency, SQLite version bumps, and assorted vtable/Exec error fixes). Anything that opens SQLite through this driver may see slightly different performance or edge-case behavior without local code edits.

Reviewed by Cursor Bugbot for commit 38b4208. Bugbot is set up for automated code reviews on this repo. Configure here.

Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.28 to 1.14.52.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](mattn/go-sqlite3@v1.14.28...v1.14.52)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
  dependency-version: 1.14.52
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Sep 29, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner September 29, 2026 04:53
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Sep 29, 2026
cursor Bot pushed a commit that referenced this pull request Oct 5, 2026
Replays #720 codegen drift, #639 stale UI dist, #723 npm ERESOLVE, #831
unused dependency, a low-risk patch (#635) that must be safe to merge, and
the #829 false-safe case where an unpullable image satisfied the cgo gate.

Co-authored-by: Ramon Niebla <nieblara@users.noreply.github.com>
cursor Bot pushed a commit that referenced this pull request Oct 5, 2026
The pr-829-release-targets-build fixture expects safe-to-merge and a
release-snapshot pass for all 8 targets. pr-829-gate-not-satisfied
now makes both images unpullable, so it still proves that a missing
image gives incomplete. replay.sh can match text in a check summary.

Co-authored-by: Ramon Niebla <nieblara@users.noreply.github.com>
@cursor

cursor Bot commented Oct 6, 2026

Copy link
Copy Markdown

Dependency verification: SAFE TO MERGE

Risk tier medium (cgo, dev-server) · ecosystems: gomod · head b33da96 tested as merged into main @ 9197f92

Every required check ran and passed. No decision is necessary.

Updates

Package From To Change Ecosystem Tier
github.com/mattn/go-sqlite3 v1.14.28 v1.14.52 patch gomod medium

What the verifier checked

Check Result Summary
PR merges cleanly and changes only dependency files pass Merges cleanly into main; only dependency manifests changed
CI results on the PR head pass All 12 CI checks green on PR head b33da96
No dependency goes to a lower version than base pass No downgrades
Upstream release notes and diff of each direct update pass (note) Upstream notes cover the full range for 1 of 1 direct update(s); notes mention: deprecation (1), requirements (1). The impact review must cover them
Transitive dependency changes (new, removed, major, install scripts) pass (note) gomod: 1 changed (0 major), 0 added, 0 removed
Licenses of new and changed dependencies pass All 1 added or changed dependencies use a license in the policy, with no license change
go mod tidy makes no change to go.mod or go.sum pass go.mod/go.sum are tidy
go and toolchain directives (unchanged, or the new version is supported) pass go 1.25 (unchanged)
go build and go vet pass go build ./... and go vet ./... succeed
go test ./... (isolated environment) pass 51 packages pass
go generate makes no change, and the generated code builds fails on base too go generate rewrites 1 file(s) and the regenerated code does not compile
govulncheck: no new reachable vulnerabilities pass No new reachable vulnerabilities; still reachable: GO-2026-5320, GO-2026-5970
All release targets cross-compile in goreleaser-cross (CGO) pass All 8 release targets build in goreleaser-cross (the public image with musl.cc toolchains, not the release image)
golangci-lint (pre-commit configuration) pass golangci-lint clean (v1.63.4)
Binary smoke test: --version, help for all commands, dev-server serves the UI and API pass --version, --help for 416 commands, dev-server UI and API all OK
CLI help output is the same as on base pass Help output identical for 416 commands

Already failing on main (not caused by this PR)

  • go generate makes no change, and the generated code builds: go generate rewrites 1 file(s) and the regenerated code does not compile

Generated checks

A generated check counts only when it fails on the old version and passes on the new one. 1 of 1 proven.

Check Kind Base PR Outcome
Debug-event queries do no per-row work under a cancellable request context discriminating fail pass proven (fails on base, passes on PR)

Impact review

go-sqlite3 v1.14.28 to v1.14.52 updates the bundled SQLite from 3.49.1 to 3.53.x, adds an opt-in statement cache, removes the per-row goroutine for context cancellation, and fixes leaks and bind errors. ldcli uses the driver in the dev-server project store (internal/dev_server/db), the debug-event store (internal/dev_server/events_db), and backup and restore (internal/dev_server/db/backup). The per-row cancellation change reaches the dev-server queries that run under a request context. The other changes do not change the SQL that ldcli runs.

  • github.com/mattn/go-sqlite3 v1.14.28..v1.14.52: SQLite 3.49.1 to 3.53.4 amalgamation. Avoid per-row goroutines for query cancellation (#1444). Opt-in statement cache (#1387, #1388, #1452, #1454), off unless the DSN asks for it. Return an error for unsupported bind types instead of ignoring them (#1422). Close the database on all Open error paths (#1423). Drop the userauth build-tag feature (#1344). Minimum Go 1.21 (#1384). Legacy +build tags removed (#1428). (source)
  • Used in: internal/dev_server/db/sqlite.go, internal/dev_server/events_db/sqlite.go, internal/dev_server/db/backup/sqllite_backup.go
  • Upstream behavior changes that reach ldcli: yes
  • Note: Per-row cancellation (#1444) reaches events_db.QueryEvents, QueryDebugSessions, and the project queries in db/sqlite.go, which all use QueryContext with a request context. The generated check measures this change. (Avoid per-row goroutines for query cancellation mattn/go-sqlite3#1444, internal/dev_server/events_db/sqlite.go)
  • Note: The statement cache is opt-in through DSN parameters. ldcli opens plain file paths (sql.Open("sqlite3", dbPath)), so the cache stays off. ([codex] add opt-in statement cache mattn/go-sqlite3#1387, internal/dev_server/db/sqlite.go)
  • Note: Strict bind types (#1422) do not affect ldcli. It binds only strings, ints, and json.RawMessage, which database/sql converts to []byte. go-test passes on the PR. (Return error instead of silently ignoring unsupported bind types mattn/go-sqlite3#1422)
  • Note: ldcli does not use the userauth build tag, and go.mod already requires Go 1.25. All 8 release targets build with CGO in the release-snapshot check. (go.mod, state/checks/release-snapshot)
Check details

pr-state

  • Branch is 3 commit(s) behind main. The checks ran on the PR merged into the current main.

ci-status

  • CI results are for the PR head b33da96 as pushed, which may be behind the base branch.

upstream-changes

transitive-changes

  • gomod (modules compiled into ldcli): 1 changed, 0 added, 0 removed
    • github.com/mattn/go-sqlite3 v1.14.28 → v1.14.52 (patch)

license-changes

  • github.com/mattn/go-sqlite3@v1.14.52: MIT

go-generate-drift

Files rewritten by go generate ./... (patch saved as drift.patch next to this check's status):

 internal/dev_server/api/server.gen.go | 430 +++++++++++++++-----
 1 file changed, 323 insertions(+), 107 deletions(-)

The regenerated code does not compile:

# github.com/launchdarkly/ldcli/internal/dev_server/api
internal/dev_server/api/data_mapping.go:11:5: unknown field Id in struct literal of type Variation
internal/dev_server/api/get_project.go:20:3: unknown field LastSyncedFromSource in struct literal of type ProjectJSONResponse
internal/dev_server/api/patch_project.go:24:3: unknown field LastSyncedFromSource in struct literal of type ProjectJSONResponse
internal/dev_server/api/post_add_project.go:38:3: unknown field LastSyncedFromSource in struct literal of type ProjectJSONResponse
internal/dev_server/api/post_import_project.go:45:21: v.Id undefined (type Variation has no field or method Id)
internal/dev_server/api/post_import_project.go:75:3: unknown field LastSyncedFromSource in struct literal of type ProjectJSONResponse
internal/dev_server/api/server.gen.go:382:16: undefined: runtime.BindQueryParameterWithOptions
internal/dev_server/api/server.gen.go:382:114: undefined: runtime.BindQueryParameterOptions
internal/dev_server/api/server.gen.go:384:30: undefined: runtime.RequiredParameterError
internal/dev_server/api/server.gen.go:395:16: undefined: runtime.BindQueryParameterWithOptions
internal/dev_server/api/server.gen.go:395:16: too many errors

govulncheck

  • Still reachable on the PR: GO-2026-5320 (github.com/yuin/goldmark, fixed in v1.7.17), GO-2026-5970 (golang.org/x/text, fixed in v0.39.0)

release-snapshot

  • Release image not pullable (unauthorized). Fallback: public goreleaser/goreleaser-cross:v1.24.2 (goreleaser/goreleaser-cross@sha256:c4bfde12925cd9e23faae3e35…) with sha256-pinned musl.cc toolchains at /musl.
  • dist/ldcli_darwin_amd64_v1/ldcli: Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>
  • dist/ldcli_darwin_arm64_v8.0/ldcli: Mach-O 64-bit arm64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>
  • dist/ldcli_linux_386_sse2/ldcli: ELF 32-bit LSB executable, Intel 80386
  • dist/ldcli_linux_amd64_v1/ldcli: ELF 64-bit LSB executable, x86-64
  • dist/ldcli_linux_arm64_v8.0/ldcli: ELF 64-bit LSB executable, ARM aarch64
  • dist/ldcli_windows_386_sse2/ldcli.exe: PE32 executable (console) Intel 80386, for MS Windows
  • dist/ldcli_windows_amd64_v1/ldcli.exe: PE32+ executable (console) x86-64, for MS Windows
  • dist/ldcli_windows_arm64_v8.0/ldcli.exe: PE32+ executable (console) Aarch64, for MS Windows
  • Fidelity gap: the public image plus musl.cc replace the LaunchDarkly image, which can have extras that this build does not have.
  • Fidelity gap: the binaries are built, but not executed.
  • Fidelity gap: goreleaser build does not run the dockers, docker_manifests, or brews steps.

binary-smoke

  • ldcli --version: ldcli version dev
  • dev-server served /ui/ (1160 KB) and /dev/projects ([])

generated: rows-under-cancellable-context

QueryEvents over 400 rows: extra-allocs-per-row: 0.04 (background 6598, cancellable 6614)

Generated by scripts/dependency-pr/verify.sh (profile full) at 2026-10-06T21:54:50Z. The verifier does not approve or merge.

@nieblara
nieblara merged commit c86f522 into main Oct 6, 2026
10 checks passed
@nieblara
nieblara deleted the dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.52 branch October 6, 2026 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant