Skip to content

chore(deps): bump modernc.org/sqlite from 1.46.1 to 1.48.2#935

Closed
dependabot[bot] wants to merge 1951 commits intodevelopfrom
dependabot/go_modules/modernc.org/sqlite-1.48.2
Closed

chore(deps): bump modernc.org/sqlite from 1.46.1 to 1.48.2#935
dependabot[bot] wants to merge 1951 commits intodevelopfrom
dependabot/go_modules/modernc.org/sqlite-1.48.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 11, 2026

Bumps modernc.org/sqlite from 1.46.1 to 1.48.2.

Changelog

Sourced from modernc.org/sqlite's changelog.

Changelog

  • 2026-04-06 v1.48.2:

    • Fix ABI mapping mismatch in the pre-update hook trampoline that caused silent truncation of large 64-bit RowIDs.
    • Ensure the Go trampoline signature correctly aligns with the public sqlite3_preupdate_hook C API, preventing data corruption for high-entropy keys (e.g., Snowflake IDs).
    • See [GitLab merge request #98](https://gitlab.com/cznic/sqlite/-/merge_requests/98), thanks Josh Bleecher Snyder!
    • Fix the memory allocator used in (*conn).Deserialize.
    • Replace tls.Alloc with sqlite3_malloc64 to prevent internal allocator corruption. This ensures the buffer is safely owned by SQLite, which may resize or free it due to the SQLITE_DESERIALIZE_RESIZEABLE and SQLITE_DESERIALIZE_FREEONCLOSE flags.
    • Prevent a memory leak by properly freeing the allocated buffer if fetching the main database name fails before handing ownership to SQLite.
    • See [GitLab merge request #100](https://gitlab.com/cznic/sqlite/-/merge_requests/100), thanks Josh Bleecher Snyder!
    • Fix (*conn).Deserialize to explicitly reject nil or empty byte slices.
    • Prevent silent database disconnection and connection pool corruption caused by SQLite's default behavior when sqlite3_deserialize receives a 0-length buffer.
    • See [GitLab merge request #101](https://gitlab.com/cznic/sqlite/-/merge_requests/101), thanks Josh Bleecher Snyder!
    • Fix commitHookTrampoline and rollbackHookTrampoline signatures by removing the unused pCsr parameter.
    • Aligns internal hook callbacks accurately with the underlying SQLite C API, cleaning up the code to prevent potential future confusion or bugs.
    • See [GitLab merge request #102](https://gitlab.com/cznic/sqlite/-/merge_requests/102), thanks Josh Bleecher Snyder!
    • Fix checkptr instrumentation failures during go test -race when registering and using virtual tables (vtab).
    • Allocate sqlite3_module instances using the C allocator (libc.Xcalloc) instead of the Go heap. This ensures transpiled C code can safely perform pointer operations on the struct without tripping Go's pointer checks.
    • See [GitLab merge request #103](https://gitlab.com/cznic/sqlite/-/merge_requests/103), thanks Josh Bleecher Snyder!
    • Fix data race on mutex.id in the mutexTry non-recursive path.
    • Ensure consistent atomic writes (atomic.StoreInt32) to prevent data races with atomic loads in mutexHeld and mutexNotheld during concurrent execution.
    • See [GitLab merge request #104](https://gitlab.com/cznic/sqlite/-/merge_requests/104), thanks Josh Bleecher Snyder!
    • Fix resource leak in (*Backup).Commit where the destination connection was not closed on error.
    • Ensure dstConn is properly closed when sqlite3_backup_finish fails, preventing file descriptor, TLS, and memory leaks.
    • See [GitLab merge request #105](https://gitlab.com/cznic/sqlite/-/merge_requests/105), thanks Josh Bleecher Snyder!
    • Fix Exec to fully drain rows when encountering SQLITE_ROW, preventing silent data loss in DML statements.
    • Previously, Exec aborted after the first row, meaning INSERT, UPDATE, or DELETE statements with a RETURNING clause would fail to process subsequent rows. The execution path now correctly loops until SQLITE_DONE and properly respects context cancellations during the drain loop, fully aligning with native C sqlite3_exec semantics.
    • See [GitLab merge request #106](https://gitlab.com/cznic/sqlite/-/merge_requests/106), thanks Josh Bleecher Snyder!
    • Fix "Shadowed err value (stmt.go)".
    • See [GitLab issue #249](https://gitlab.com/cznic/sqlite/-/work_items/249), thanks Emrecan BATI!
    • Fix silent omission of virtual table savepoint callbacks by correctly setting the sqlite3_module version.
    • See [GitLab merge request #107](https://gitlab.com/cznic/sqlite/-/merge_requests/107), thanks Josh Bleecher Snyder!
    • Fix vfsRead to properly handle partial and fragmented reads from io.Reader.
    • Replace f.Read with io.ReadFull to ensure the buffer is fully populated, preventing premature SQLITE_IOERR_SHORT_READ errors on valid mid-stream partial reads. Unread tail bytes at EOF are now efficiently zero-filled using the built-in clear function.
    • See [GitLab merge request #108](https://gitlab.com/cznic/sqlite/-/merge_requests/108), thanks Josh Bleecher Snyder!
    • Refactor internal error formatting to safely handle uninitialized or closed database pointers.
    • Prevent a misleading "out of memory" error message when an operation fails and the underlying SQLite database handle is NULL (db == 0).
    • See [GitLab merge request #109](https://gitlab.com/cznic/sqlite/-/merge_requests/109), thanks Josh Bleecher Snyder!
    • Fix error handling in database backup and restore initialization (sqlite3_backup_init).
    • Ensure error codes and messages are accurately read from the destination database handle rather than hardcoding the source or remote handle. This prevents swallowed errors or mismatched "not an error" messages when a backup or restore operation fails to start.
    • See [GitLab merge request #111](https://gitlab.com/cznic/sqlite/-/merge_requests/111), thanks Josh Bleecher Snyder!
    • Fix database handle and C-heap memory leaks when sqlite3_open_v2 fails.
    • Ensure sqlite3_close_v2 is called on the partially allocated database handle during a failed open, and explicitly close libc.TLS in newConn to prevent resource leakage.
    • Prevent misleading "out of memory" error messages on failed connections by correctly extracting the exact error string from the allocated handle before it is closed.
    • See [GitLab merge request #112](https://gitlab.com/cznic/sqlite/-/merge_requests/112), thanks Josh Bleecher Snyder!
  • 2026-04-03 v1.48.1:

    • Fix memory leaks and double-free vulnerabilities in the multi-statement query execution path.
    • Ensure bind-parameter allocations are reliably freed via strict ownership transfer if an error occurs mid-loop or if multiple statements bind parameters.
    • Fix a resource leak where a subsequent statement's error could orphan a previously generated rows object without closing it, leaking the prepared statement handle.

... (truncated)

Commits
  • df16977 CHANGELOG.md: add !112
  • 172c395 Merge branch 'fix-openv2-handle-leak' into 'master'
  • 2719730 fix openV2 handle leak, TLS leak, and misleading error on failed open
  • 53c87f6 CHANGELOG.md: add !111
  • c324f37 Merge branch 'fix-backup-restore-error-handle' into 'master'
  • fc791df read error from correct db handle on backup init failure
  • 1620515 CHANGELOG.md: add !109
  • 72aaab4 Merge branch 'errstr-for-db' into 'master'
  • 2ae65f7 extract errstrForDB from conn.errstr
  • eeec006 CHANGELOG.md: add !108
  • 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)

arcavenai and others added 30 commits March 18, 2026 01:39
Investigates why GitHub labels are not being applied to PRs (never)
and inconsistently to issues (only when envoy is running). Identifies
root causes: PR labeling was never assigned to any agent, envoy has
no startup catch-up for issues missed during downtime. Provides
concrete agent definition changes for merge-queue, envoy, and
supervisor.
docs: label usage gap analysis — research artifact
…72.4)

Based on label usage gap analysis (PR #806). Wire label application into
agent workflows: merge-queue PR labeling (title-prefix inference), envoy
startup catch-up + context exhaustion warning + mutual exclusivity,
supervisor label discipline, and retroactive cleanup.

Agent definition and operational doc changes only — no application code.
docs: plan Epic 72 — Operationalize GitHub Label Usage (4 stories)
… mutual exclusivity (Story 72.2)

- Add startup catch-up scan to envoy rhythm: scan open issues for zero
  labels, apply triage.new + type.* to catch issues created during downtime
- Add Context Exhaustion Risk section matching merge-queue/pr-shepherd format
- Add Label Mutual Exclusivity enforcement subsection with remove-before-add
  protocol for exclusive scopes (type.*, priority.*, triage.*, scope.*, resolution.*)
feat: Story 72.2 — Envoy Label Resilience
Add PR Labeling section to merge-queue.md with rules for inferring
type.*, scope.in-scope, and agent.worker labels from PR metadata.
Update the Labels reference table, Authority table, and
label-authority.md to reflect merge-queue's new labeling capabilities.
…tory 71.1)

Drop Apple Intel (darwin/amd64) build targets from:
- .goreleaser.yml: added darwin/amd64 to ignore list
- justfile: removed amd64 line from build-all recipe
- ci.yml: removed amd64 builds, signing, notarization, app bundles,
  DMG, pkg, artifact uploads, release notes, and Homebrew formula
  Intel branch

Only darwin/arm64 (Apple Silicon) and linux/amd64 remain as targets.
Saves CI runner minutes by eliminating expensive macOS Intel signing.
docs: Story 72.1 — Merge-Queue PR Labeling
docs: governance sync — Stories 72.1, 72.2 Done (Epic 72 2/4)
chore: sync operational data
…on (#813)

* docs: supervisor label discipline & resolution.wontfix label (Story 72.3)

Add label discipline section to supervisor agent definition with
instructions for applying agent.worker, scope.*, and resolution.*
labels during issue lifecycle. Create missing resolution.wontfix
label on GitHub. Update label-authority.md summary table to include
resolution.* in supervisor's Can Set column.

* docs: mark Story 72.3 Done (PR #813)
feat: Story 71.1 — Remove darwin/amd64 from CI build and alpha release pipeline
* docs: retroactive label cleanup — fix mutual exclusivity violations (Story 72.4)

Fixed mutual exclusivity violations on three closed issues:
- #330: removed triage.in-progress (kept triage.complete)
- #296: removed type.bug (kept type.infra)
- #283: removed type.bug (kept type.infra)

All seven originally unlabeled issues were already closed; per dev
notes, retroactive labeling of closed issues was skipped.

Final scan of all issues: zero violations remaining.

* docs: update story 72.4 status with PR number (Story 72.4)
Remove all darwin/amd64 references from the sign-stable job in
release.yml. Since only arm64 remains, loops are eliminated in favor
of direct commands for: download, sign, notarize, pkg build, pkg
notarize, checksums, and re-upload steps.
…tests, and agent definitions (#817)

* docs: remove darwin/amd64 (Intel Mac) references from docs, tests, and agent definitions (Story 71.3)

After Stories 71.1 and 71.2 dropped Intel builds from the build and release
pipelines, remaining references to darwin/amd64 in documentation, test tables,
and agent definitions are now stale. This cleans them up:

- README.md: Remove Intel rows from pkg installer and binary download tables
- docs-site installation page: Remove Intel mention from pre-built binary tab
- Architecture doc: Remove darwin/amd64 from cross-compile target lists
- codesign_test.go: Remove amd64 test case from SignMultipleBinaries
- pkg_builder_test.go: Remove amd64 test case from Build_PerArchitecture
- release-manager.md: Remove darwin-amd64 from cross-compile description

* docs: update Story 71.3 status to Done (PR #817)
arcaven and others added 22 commits March 30, 2026 01:51
…plete

docs: governance sync — Epic 76 3/6, Epic 77 COMPLETE
…6.5)

Implement SnapshotRecord type and SnapshotWriter for recording quota usage
snapshots to docs/operations/quota-usage.jsonl. Snapshots contain aggregated
metrics (usage %, per-agent breakdown, tier, peak flag, window timing) — no
raw per-interaction duplication. OTEL metric mapping documented in type comments
for Phase 3 Marvel portability.

Provenance: L3
feat: /stats usage data integration (Story 76.5)
- Story 76.3 (Warning Threshold Engine): Not Started → Done (PR #883)
- Epic 76 progress: 3/6 → 4/6
docs: governance sync — Story 76.3 Done, Epic 76 4/6
Research investigating how to install BMAD as a shared sidecar across
multiple repos. Evaluates 7 techniques (symlinks, overlayfs, git
submodules, --add-dir wrappers, MCP server, user-level commands).

Recommends two-phase approach: Phase 1 copies command stubs to
~/.claude/commands/ for instant global availability; Phase 2 adds
symlinks to shared runtime files for power users with 3+ repos.

Provenance: L3
docs: BMAD sidecar installation architecture research
- SC2015: Replace A && B || C with if/then in test-cron-scripts.sh
- SC2317/SC2329: Suppress false-positive unreachable function warnings
  in test-verify-mcp-bridge.sh (caused by exit in heredocs)
- SC2034: Remove unused variables (QUOTA_SCRIPT, OUTPUT, SESSION,
  YELLOW, recent_work_commands, TOTAL_TOKENS)
- SC2034: Suppress for color vars used in embedded Python (quota-status.sh)
- SC2086: Double-quote variable in date flag (sm-sprint-health.sh)
- SC2001: Suppress for sed backreference (handover-history.sh)
- SC2016: Suppress for intentional literal template tokens (validate-alpha-formula.sh)

All scripts now pass shellcheck cleanly.

Provenance: L3
fix: resolve pre-existing ShellCheck warnings in test scripts
The git-safety.sh hook from Story 73.3 (PR #840) blocked sync operations
(fetch, pull, rebase, merge) universally for ALL Claude agents. This was
over-broad -- persistent agents (merge-queue, pr-shepherd) and the
multiclaude CLI itself need these operations.

Two failure modes:
1. Persistent agents couldn't update PR branches or stay current with main
2. multiclaude CLI couldn't spawn workers (fetch is used internally to
   create worktrees), creating a catch-22 where the system couldn't
   self-heal

Fix: detect worker worktrees via path pattern (~/.multiclaude/wts/) and
only enforce sync restrictions there. Universal protections (unsigned
commits, push to main, Co-Authored-By) remain enforced in all contexts.

Test suite expanded from 38 to 68 cases covering both worker and main
checkout contexts with explicit edge cases for context detection.

Provenance: L3
- SC2016: disable for intentional literal ${VAR} patterns in validate-alpha-formula.sh
- SC2034: disable for color vars used in embedded Python (quota-status.sh),
  remove genuinely unused TOTAL_TOKENS and QUOTA_SCRIPT vars
- SC2034: remove unused YELLOW from rollcall.sh, recent_work_commands from shift-clock.sh
- SC2086: quote variable in date expansion (sm-sprint-health.sh)
- SC2069: fix redirect order in test-shift-snapshot.sh
- SC2001: replace sed with shell builtins in handover-history.sh
- SC2329: suppress false positive for indirectly-invoked function (test-verify-mcp-bridge.sh)

Provenance: L3
fix: scope git safety hook to worker worktrees only (Story 73.8)
Layer 1: 35 ADR nodes (34 bedrock + 1 frontier/deferred)
Layer 2: 26 BOARD nodes (18 open questions + 8 research/recommendations)
Layer 3: 4 incident report nodes (bedrock — validated by failure)

65 nodes total, 0 validation warnings. Key early signal:
adr-0026 (self-driving pipeline) contradicted by 3 of 4 incidents.
All incidents share a pattern: assumptions about isolation, atomicity,
or message routing never architecturally enforced.

Layers 4-6 (architecture, PRD, dark factory) pending.
Switch CI from trunk-based (main) to gitflow (develop + main):
- Push trigger: main -> develop for CI, docs, alpha releases
- PR trigger: main -> [develop, main] for CI and scope-check
- Remove stable binary builds from CI (stable releases via tag-triggered release.yml)
- Alpha-only signing: remove installer cert, app bundle, dmg, pkg steps
- Update release-verify to watch develop instead of main for alpha tap
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.46.1 to 1.48.2.
- [Changelog](https://gitlab.com/cznic/sqlite/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.46.1...v1.48.2)

---
updated-dependencies:
- dependency-name: modernc.org/sqlite
  dependency-version: 1.48.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 Apr 11, 2026
@arcaven arcaven closed this Apr 12, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 12, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/go_modules/modernc.org/sqlite-1.48.2 branch April 12, 2026 02:49
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.

3 participants