Skip to content

Fix artifact export throughput and extend capture to ten minutes - #47

Merged
sam2tom merged 2 commits into
betafrom
codex/stream-artifact-export
Oct 16, 2026
Merged

sam2tom merged 2 commits into
betafrom
codex/stream-artifact-export

Conversation

@sam2tom

@sam2tom sam2tom commented Oct 16, 2026

Copy link
Copy Markdown

Completed native Turns could fail while capturing generated files because short exporter reads caused hundreds of sequential transport round trips. Capture also had a three-minute limit, while the read-only preparation could expire during a longer export.

Coalesce exporter reads into the existing 64 KiB chunks and prefetch at most one receipt while storing the current chunk. Use one ten-minute capture budget across Core, gateway and Runtime, retain cancellation and atomic publication, and accept only confirmed, error-free read-only expiration as cleanup. Preserve production beta observations and measure prefetched requests from their actual send time.

Validation: focused dispatch, gateway and execution tests pass on the integrated beta snapshot, including existing observation tests. Virtual-clock tests cover a successful six-minute export, ten-minute expiration, earlier parent cancellation, release/shutdown and strict cleanup receipt ownership. Controlled MP4, PNG and 8 MiB ZIP fixtures preserve downloaded bytes and SHA-256. Focused race checks passed before beta integration; integrated checks and CI are required before release. The heavy timing fixture is not claimed as passing under race on the overloaded local host.

No public API fields, schema changes, partial-publication behavior or model replay. Deploy Core/Web and the matching Runtime template from the merged beta SHA. Existing allocations remain pinned. The companion Lab download fix is delivered separately.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 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-16T09:37:16.699582Z 7c32a53 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 acbc21b into beta Oct 16, 2026
22 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