fix(api)!: declare required local shell output call IDs - #1044
Conversation
Castiron-Internal-PR: openai/openai-java-internal#130 Castiron-Source-SHA: d5f87525b8030862f14bdfa3df8bdd1df6e52b53 Castiron-Public-Base-SHA: d2969f8
Castiron custom code✅ No new custom-code files detected. 83 mixed files remain; 0 existing customizations changed; 1 generated baselines changed. Compared
82 existing customizations unchanged
42 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 35565986319 --repo openai/openai-java \
--name castiron-custom-code-35565986319-1 --dir /tmp/castiron-custom-code-35565986319-1
git apply --stat /tmp/castiron-custom-code-35565986319-1/custom-code.patch
cat /tmp/castiron-custom-code-35565986319-1/custom-code.patchOr reproduce it from an SDK checkout containing the vendored reporter: git fetch --no-tags origin d2969f8efd588e492d97ec41e892cd91e9906c59 c0c2353448fde71c1ea636e9155af6c2fd7bdf0e
python3 scripts/castiron/custom_code_report.py report \
--base d2969f8efd588e492d97ec41e892cd91e9906c59 \
--head c0c2353448fde71c1ea636e9155af6c2fd7bdf0e --fetch --require-head-hash --public \
--out /tmp/castiron-custom-code-c0c2353448fd
cat /tmp/castiron-custom-code-c0c2353448fd/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. |
…" (#1048) Reverts #1044. This reverts commit 8d1aa39. The generated SDK changes merged before their source-of-truth changes. This restores the preceding SDK definitions and generation metadata. The resulting tracked tree exactly matches the reverted commit’s parent. Validation: the complete patch is byte-for-byte the inverse of the named commit. Version manifests and release configuration are unchanged. Local test suites and new review rounds were not run for this urgent revert; current-head CI will validate this PR. CI diagnosis: [API compatibility](https://github.com/openai/openai-java/actions/runs/35622435007/job/106411604513) fails on 15 `callId` references in the external tests extracted from base `8d1aa390a325d69b68dd4db060f5dfefb1385e81`. Every failing reference was introduced by #1044. This revert's entire tracked tree equals pre-promotion `d2969f8efd588e492d97ec41e892cd91e9906c59`; the new API is deliberately absent. The required aggregate fails because this job fails. The existing workflow always executes the detector from the current PR base and imports that base's tests. It has no supported unreleased-revert baseline selection. Changing this PR's detector or fixtures cannot override that trusted check. An explicit repository policy for validating unreleased reverts against their verified pre-promotion baseline is needed to reconcile this check with the requested rollback. The gate remains failed; no API restoration, test exclusion, forced-success status, retry, or version bump was used.
Historical local-shell output models now expose required
callIdseparately from the output itemid. SupplycallIdwhen constructing these items;idandoutputremain required, and historical call IDs gain no length restriction.The API reference also removes the phantom
request_idrequirement from MCP approval objects while preserving their real correlation fields and returned IDs.Validation: seven actual builder checks, 38 schema checks and the focused fixture under normal and Jackson compatibility tests pass. CI passes lint, build, tests, API/Jackson compatibility, and Java 8/25 runtime compatibility.
BEGIN_COMMIT_OVERRIDE
ci(release): omit fully reverted unreleased change (#1044)
END_COMMIT_OVERRIDE