Repository navigation
chore(api): document decision choice constraints - #2914
Conversation
Castiron-Internal-PR: openai/openai-node-internal#266 Castiron-Source-SHA: f62aabf0822433890eb7dcd218a845b50633a9f2 Castiron-Public-Base-SHA: 1c380ea
Castiron custom codeEvaluated main: ✅ No new custom-code files detected. 50 mixed files remain; 0 existing customizations changed; 1 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 38113151599 --repo openai/openai-node \
--name castiron-custom-code-38113151599-1 --dir /tmp/castiron-custom-code-38113151599-1
git apply --stat /tmp/castiron-custom-code-38113151599-1/custom-code.patch
cat /tmp/castiron-custom-code-38113151599-1/custom-code.patchOr reproduce it from an SDK checkout containing the vendored reporter: git fetch --no-tags origin 1c380ea1e538d37f80654dffe36b1a25e9e61011 abba3ff6b6bf5818027bfa2e552f2f20da56fbe7
python3 scripts/castiron/custom_code_report.py report \
--base 1c380ea1e538d37f80654dffe36b1a25e9e61011 \
--head abba3ff6b6bf5818027bfa2e552f2f20da56fbe7 --fetch --require-head-hash --public \
--out /tmp/castiron-custom-code-abba3ff6b6bf
cat /tmp/castiron-custom-code-abba3ff6b6bf/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.
Reviewed all three changed files at abba3ff6b6bf5818027bfa2e552f2f20da56fbe7. No actionable findings.
The full schema comparison adds only the choice description: provide 2–255 choices, with each choice unique. The TypeScript field documentation matches it. Executable code, type declarations, schema constraints and configuration are unchanged. The public generator snapshot resolves and has no .github/workflows directory.
Current-head CI passed, including the Node.js test matrix. The external OkTest run also passed for this head and base. This was a source-only review; I ran no repository tests, builds or generation.
Summary
Clarifies the number and uniqueness requirements for decision choices.
Changes