Add dedicated storage for paginated thread history - #32234
Merged
copyberry[bot] merged 1 commit intoJul 10, 2026
Merged
Conversation
## Why Paginated thread history needs its own SQLite database to avoid adding lock contention to the main state store. ## What changed - Add the `thread_history_1.sqlite` path and migration scaffolding. - Create tables and pagination indexes for projected turns and items, plus a per-thread projection checkpoint. - Register the database with runtime diagnostics, Bazel inputs, and database telemetry. GitOrigin-RevId: d194310835f1df2a2a29c7827d77ca37eabbd0a3
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/d194310835f1df2a2a29c7827d77ca37eabbd0a3
branch
from
July 10, 2026 18:27
ab0a9f1 to
414217d
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/d194310835f1df2a2a29c7827d77ca37eabbd0a3
branch
July 10, 2026 18:29
ItayCohen-Prog
temporarily deployed
to
issue-triage
July 10, 2026 18:37 — with
GitHub Actions
Inactive
ItayCohen-Prog
temporarily deployed
to
issue-triage
July 10, 2026 18:37 — with
GitHub Actions
Inactive
ItayCohen-Prog
temporarily deployed
to
issue-triage
July 10, 2026 18:37 — with
GitHub Actions
Inactive
ItayCohen-Prog
temporarily deployed
to
issue-triage
July 10, 2026 18:38 — with
GitHub Actions
Inactive
topemalheiro
temporarily deployed
to
issue-triage
July 10, 2026 18:44 — with
GitHub Actions
Inactive
topemalheiro
temporarily deployed
to
issue-triage
July 10, 2026 18:44 — with
GitHub Actions
Inactive
topemalheiro
temporarily deployed
to
issue-triage
July 10, 2026 18:44 — with
GitHub Actions
Inactive
topemalheiro
temporarily deployed
to
issue-triage
July 10, 2026 18:46 — with
GitHub Actions
Inactive
topemalheiro
temporarily deployed
to
issue-triage
July 10, 2026 18:46 — with
GitHub Actions
Inactive
topemalheiro
temporarily deployed
to
issue-triage
July 10, 2026 18:46 — with
GitHub Actions
Inactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add dedicated storage for paginated thread history
Why
Paginated thread history needs its own SQLite database to avoid adding lock
contention to the main state store.
What changed
thread_history_1.sqlitepath and migration scaffolding.per-thread projection checkpoint.
telemetry.