refactor: remove equivalent generated-source edits - #919
Conversation
Castiron custom code✅ No new custom-code files detected. 59 mixed files remain; 0 existing customizations changed; 2 customizations removed. Compared
59 existing customizations unchanged
19 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 32429695602 --repo openai/openai-java \
--name castiron-custom-code-32429695602-1 --dir /tmp/castiron-custom-code-32429695602-1
git apply --stat /tmp/castiron-custom-code-32429695602-1/custom-code.patch
cat /tmp/castiron-custom-code-32429695602-1/custom-code.patchOr reproduce it from an SDK checkout containing the vendored reporter: git fetch --no-tags origin ca9c11dd90be5b10b67797a0af6e575ce776bb6a a71b01501e3b72644c3bf535cc9dec8156457f02
python3 scripts/castiron/custom_code_report.py report \
--base ca9c11dd90be5b10b67797a0af6e575ce776bb6a \
--head a71b01501e3b72644c3bf535cc9dec8156457f02 --fetch --require-head-hash --public \
--out /tmp/castiron-custom-code-a71b01501e3b
cat /tmp/castiron-custom-code-a71b01501e3b/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. |
jbeckwith-oai
left a comment
There was a problem hiding this comment.
Independently verified both generated-source restorations are behavior-equivalent: whitespace normalization and explicit qualification of the same nested implementation preserve public signatures, serialization, constructors, and runtime behavior.
Summary
Remove two behavior-equivalent edits from generated Kotlin files: an extra blank line in
ResponseStreamEventserialization and an unqualified reference toImageServiceImpl.WithRawResponseImpl. Both complete files now match the verified public generated snapshot. Serialization, request handling, public API, generation metadata, and API-reference artifacts are unchanged.The custom-code report moves from 61 to 59 mixed files, with two customizations removed and all 59 others unchanged.
Test Plan
Automated
ResponseStreamEventTest,ResponseStreamEventValidationTest,ImageServiceTest, andImageServiceAsyncTest: 136 passed, four existing skips.