Repository navigation
feat(api): add response error diagnostics and model notices - #2948
Conversation
Castiron-Internal-PR: openai/openai-node-internal#304 Castiron-Source-SHA: ee0e019237ceeef943eda735c9316a2e77329137 Castiron-Public-Base-SHA: 5f218bf
Castiron custom codeEvaluated main: ✅ No new custom-code files detected. 51 mixed files remain; 0 existing customizations changed; 2 generated baselines changed. Compared
49 existing customizations unchanged
9 more in the full report. 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 38688180561 --repo openai/openai-node \
--name castiron-custom-code-38688180561-1 --dir /tmp/castiron-custom-code-38688180561-1
git apply --stat /tmp/castiron-custom-code-38688180561-1/custom-code.patch
cat /tmp/castiron-custom-code-38688180561-1/custom-code.patchOr reproduce it from an SDK checkout containing the vendored reporter: git fetch --no-tags origin 5f218bf5d8770de5445012b4f1c3b150db983379 1aa88194933c4836db8a30680fec894221eac399
python3 scripts/castiron/custom_code_report.py report \
--base 5f218bf5d8770de5445012b4f1c3b150db983379 \
--head 1aa88194933c4836db8a30680fec894221eac399 --fetch --require-head-hash --public \
--out /tmp/castiron-custom-code-1aa88194933c
cat /tmp/castiron-custom-code-1aa88194933c/custom-code.patchThis is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR. |
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.
Automated source review of 1aa88194933c4836db8a30680fec894221eac399: no blocking findings.
The stable Responses, beta Responses, and video error types expose optional, nullable type and param fields while preserving code and message. The model notices keep the existing identifiers available. The new transport test covers all three APIs and distinguishes populated, null, and omitted diagnostics. The change adds no runtime parser or compatibility wrapper.
Verified hosted checks on this head passed: lint, build, Windows build, Node 22/24/26 tests, ecosystem tests, and Castiron baseline and budget checks. I reviewed the source and tests without running local project workloads.
Summary
Expose optional response error diagnostics and add model shutdown notices.
Changes