Repository navigation
feat(api): add compaction progress events - #2749
Conversation
Castiron custom code✅ No new custom-code files detected. 45 mixed files remain; 0 existing customizations changed; 7 generated baselines changed. Compared
38 existing customizations unchanged
A changed generated baseline means this report cannot reliably identify which handwritten lines changed. Inspect the custom-code diffDownload the exact patch produced by this run (requires repository access): gh run download 35034535575 --repo openai/openai-node \
--name castiron-custom-code-35034535575-1 --dir /tmp/castiron-custom-code-35034535575-1
git apply --stat /tmp/castiron-custom-code-35034535575-1/custom-code.patch
cat /tmp/castiron-custom-code-35034535575-1/custom-code.patchOr reproduce it from an SDK checkout containing the vendored reporter: git fetch --no-tags origin 0d69cb9338d01e77487b1548f08c3efdb21711d3 724e9a3536dac10e1eee0da1ab4c574f5539ceb1
python3 scripts/castiron/custom_code_report.py report \
--base 0d69cb9338d01e77487b1548f08c3efdb21711d3 \
--head 724e9a3536dac10e1eee0da1ab4c574f5539ceb1 --fetch --require-head-hash --public \
--out /tmp/castiron-custom-code-724e9a3536da
cat /tmp/castiron-custom-code-724e9a3536da/custom-code.patchThis is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR. |
Castiron-Internal-PR: openai/openai-node-internal#139 Castiron-Source-SHA: aa7e1df65e916e52acd28f945760bc9e9b13d6ae Castiron-Public-Base-SHA: 0d69cb9
ab62611 to
724e9a3
Compare
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
jbeckwith-oai
left a comment
There was a problem hiding this comment.
Reviewed exact head 724e9a3536dac10e1eee0da1ab4c574f5539ceb1. Stable/beta and WebSocket unions expose the compaction progress event with the expected fields. The accumulator recognizes the compaction item scope but deliberately ignores progress for mutation, while SSE, named listeners, generic listeners, async iteration, and WebSocket delivery retain repeated events; focused tests also confirm snapshot and output-item identity are unchanged. The accompanying WebSocket error hardening preserves direct .error access while making the payload non-enumerable and safely selecting string messages, with coverage. Current-head build, lint, Node 22/24/26, ecosystem, CodeQL, breaking-change, performance, and Castiron checks pass, and exact-head code/security reviews completed with no threads.
Automated Release PR --- ## [7.17.0](v7.16.0...v7.17.0) (2026-09-16) ### Features * **api:** add compaction progress events ([#2749](#2749)) ([425502d](425502d)) ### Bug Fixes * **ci:** retry transient Deno download failures ([#2752](#2752)) ([e39037b](e39037b)) * preserve chat runner abort reasons ([#2607](#2607)) ([eda4d0c](eda4d0c)) * **realtime:** preserve native WebSocket error causes ([#2715](#2715)) ([58fa72a](58fa72a)) * **responses:** reject function-based API keys in WebSocket constructors ([#2586](#2586)) ([eea7618](eea7618)) * **runners:** reject unfinished turns in streaming runTools ([#2716](#2716)) ([937ed67](937ed67)) * **streaming:** emit terminal SSE events missing a trailing blank line ([#2726](#2726)) ([94d6418](94d6418)) * **zod:** omit impossible optional branch in strict schemas ([#2751](#2751)) ([2b4c2c7](2b4c2c7)) ### Chores * update lint tooling and tailor anti-slop for the SDK ([#2753](#2753)) ([21a03c2](21a03c2)) ### Documentation * **examples:** preserve split UTF-8 in raw stream consumer ([#2714](#2714)) ([f44152a](f44152a)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: openai-sdks[bot] <284451331+openai-sdks[bot]@users.noreply.github.com>
Summary
Adds typed compaction progress events to Responses streams and WebSocket listeners.
Changes