Skip to content

fix(core): replay goal results from durable run receipts - #449

Merged
lg2m merged 1 commit into
fix/journal-recovery-evidencefrom
fix/durable-run-receipts
Oct 24, 2026
Merged

lg2m merged 1 commit into
fix/journal-recovery-evidencefrom
fix/durable-run-receipts

Conversation

@lg2m

@lg2m lg2m commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator

Headless goal-result replay now reads immutable terminal receipts saved with each run, so retiring delivery history cannot make already finished work time out during reporting. Reads use an indexed cursor range and pages bounded by 128 runs and 8 MiB. Schema 62 backfills original legacy receipts where available; missing receipts are not fabricated.

Third PR in the storage stack, based on #447. Bounded journal retention follows separately.

Verified: the CLI regression failed before the fix with a 30-second replay timeout and now passes after deleting delivery events. Tests cover migration/reopen, ownership fences, exclusive cursors, immutable receipts, and both page limits without skipped runs. cargo xtask check --base origin/fix/journal-recovery-evidence passed fmt, lint, strict Clippy and all 2,499 tests (14 skipped) on 6fd25bb9; all 11 real-binary smoke scenarios passed. Evidence: target/qq-verify/run-receipts/evidence/.

lg2m commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review head 6fd25bb against the stack parent #447. Focus on transactional terminal receipts, schema-61 migration, bounded keyset pagination, and headless goal-run reporting after delivery history is removed.

@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-24T02:24:15.764018Z 6fd25bb 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 6fd25bb9c6

ℹ️ 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 207f8c2 into main Oct 24, 2026
9 checks passed
@lg2m
lg2m deleted the fix/durable-run-receipts 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