Skip to content

Fix large command results failing Turn persistence - #17

Merged
sam2tom merged 1 commit into
betafrom
codex/fix-turn-event-persistence
Oct 8, 2026
Merged

sam2tom merged 1 commit into
betafrom
codex/fix-turn-event-persistence

Conversation

@sam2tom

@sam2tom sam2tom commented Oct 8, 2026

Copy link
Copy Markdown

Command completion snapshots above 512 KiB were accepted by the 4 MiB Runtime transport but rejected by the execution journal, failing the Turn after streamed command output had already been saved. Align the journal payload ceiling with the existing transport limit and store large observations alone, preserving per-Turn budgets and failure semantics.

Add payload-free journal failure categories, SQLSTATE and correlation IDs, plus regression coverage for large second-turn snapshots, database failures and retained history. The historical Weibo failure is consistent with this defect, but its rejected event and original error were not retained.

Validation: affected Go packages, make check-runtime-contract, dedicated local PostgreSQL regressions (including real JSONB failure), diagnostic redaction tests, bilingual documentation checks, and independent review passed. No paid production replay was performed.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 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-08T08:26:00.880065Z 523a84b PR opened
ℹ️ 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.

@sam2tom
sam2tom merged commit 89f01a5 into beta Oct 8, 2026
20 checks passed
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