Skip to content

fix(core): survive SQLite transaction aborts in grouped writes - #445

Merged
lg2m merged 1 commit into
mainfrom
fix/storage-efficiency
Oct 24, 2026
Merged

lg2m merged 1 commit into
mainfrom
fix/storage-efficiency

Conversation

@lg2m

@lg2m lg2m commented Oct 24, 2026 •

Copy link
Copy Markdown
Collaborator

SQLite disk exhaustion can roll back an entire grouped transaction, including earlier jobs' savepoints. QQ now stops that group, returns the original persistence error to its callers, publishes no rolled-back events, and leaves unstarted jobs queued. The store can accept later writes after space is restored.

First PR in the storage/reliability stack. Journal retention and automatic task resumption are separate work.

Hosted CI passed; Codex reviewed exact head 2f769887 with no findings. The page-limit regression failed before the fix; 17 focused store tests and all 11 real-binary smoke scenarios pass locally. Local cargo xtask check passed fmt, lint and strict Clippy; 2,488 tests passed, six timed out, 14 skipped. All six timeout cases passed on their targeted rerun without code changes. The failed check and all rerun evidence remain at target/qq-verify/storage/evidence/. No tests or timeouts were weakened.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-24T00:59:44.510488Z 2f76988 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

lg2m commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review head 2f76988, especially whole-transaction rollback on SQLITE_FULL, preserving the originating error for earlier jobs, publication ordering, and leaving unstarted work queued.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 2f76988778

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@lg2m
lg2m added this pull request to stack #456 October 24, 2026 04:31
@lg2m
lg2m merged commit 8046323 into main Oct 24, 2026
7 checks passed
@lg2m
lg2m deleted the fix/storage-efficiency branch October 24, 2026 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant