Repository navigation
fix(api)!: include retained messages in compaction output types - #3068
Conversation
Castiron-Internal-PR: openai/openai-node-internal#402 Castiron-Source-SHA: a8acc0fe2e66838f262d6e909a2fcbfa78b899ce Castiron-Public-Base-SHA: 5f23520
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. |
markstuart-oai
left a comment
There was a problem hiding this comment.
Reviewed all 28 changed paths at 2224f96951d6fe058d46e07255d64b03b89e045a. GA and beta compaction output now use the broader response-item unions, consistent with the transformed schema and retained input messages. The migration guide explains the next-major type change and the remaining request-input constraints. The new public-entrypoint fixture covers retained roles, compaction records and repeated compaction without changing request serialization.
The 19 retired reporting files match the inventory removals, and the ownership/security guidance matches the resulting tree. No actionable findings after source review and an independent pass.
Verified hosted lint, Linux/Windows builds, ecosystem checks, CodeQL and Node 22/24/26 tests passed. This was a source-only review; no local candidate tests, builds or generation ran.
Summary
Compaction output types include retained input messages as well as output items.
Changes