Skip to content

[codex] Pin bundled SQLite to fixed WAL-reset version#27992

Merged
gpeal merged 4 commits into
mainfrom
gpeal/pin-fixed-sqlite
Jun 14, 2026
Merged

[codex] Pin bundled SQLite to fixed WAL-reset version#27992
gpeal merged 4 commits into
mainfrom
gpeal/pin-fixed-sqlite

Conversation

@gpeal

@gpeal gpeal commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

Prevent dependency refreshes from silently downgrading Codex's bundled SQLite to a release affected by the WAL-reset corruption bug.

SQLx 0.9 accepts a broad libsqlite3-sys range. An unrelated lock refresh therefore moved Codex from libsqlite3-sys 0.37.0 back to 0.35.0, changing the bundled SQLite runtime from 3.51.3 to 3.50.2. SQLite documents the affected versions and fix in The WAL Reset Bug and the SQLite 3.51.3 changelog.

@zanie-oai zanie-oai self-assigned this Jun 13, 2026

@ddr-oai ddr-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worth also adding a blocking build check that SQLite is of a min version just in case this regresses another way in the future?

@gpeal gpeal marked this pull request as ready for review June 13, 2026 20:04
@gpeal gpeal merged commit 73c5801 into main Jun 14, 2026
45 checks passed
@gpeal gpeal deleted the gpeal/pin-fixed-sqlite branch June 14, 2026 04:28
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants