Skip to content

Centralize SQLite connection configuration - #33938

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e3946b98bde04c47574532ac8b1a7bb2b03edd97
Jul 18, 2026
Merged

Centralize SQLite connection configuration#33938
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e3946b98bde04c47574532ac8b1a7bb2b03edd97

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 18, 2026

Copy link
Copy Markdown

Centralize SQLite connection configuration

What changed

  • Add SqliteConfig as the shared entry point for read-write and read-only SQLite pools.
  • Apply consistent WAL, synchronization, auto-vacuum, busy-timeout, logging, and pool-size settings to writable Codex databases.
  • Route state runtime, audit, CLI, and test database connections through the shared configuration.

Testing

  • Run migration tests against temporary on-disk databases opened through SqliteConfig, including the concurrent-writer repair case.

## What changed

- Add `SqliteConfig` as the shared entry point for read-write and read-only SQLite pools.
- Apply consistent WAL, synchronization, auto-vacuum, busy-timeout, logging, and pool-size settings to writable Codex databases.
- Route state runtime, audit, CLI, and test database connections through the shared configuration.

## Testing

- Run migration tests against temporary on-disk databases opened through `SqliteConfig`, including the concurrent-writer repair case.

GitOrigin-RevId: e3946b98bde04c47574532ac8b1a7bb2b03edd97
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/e3946b98bde04c47574532ac8b1a7bb2b03edd97 branch from c73ab10 to 6bd3f5e Compare July 18, 2026 02:07
@copyberry
copyberry Bot merged commit 6bd3f5e into main Jul 18, 2026
43 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/e3946b98bde04c47574532ac8b1a7bb2b03edd97 branch July 18, 2026 02:08
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 18, 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.

5 participants