[DO NOT MERGE] Preview custom-code reporting with a new mixed file - #3648
Closed
apcha-oai wants to merge 1 commit into
Closed
[DO NOT MERGE] Preview custom-code reporting with a new mixed file#3648apcha-oai wants to merge 1 commit into
apcha-oai wants to merge 1 commit into
Conversation
Contributor
Castiron custom codeMixed files: 49 → 50 1 newly customized · 0 customizations removed · 0 existing customizations changed · 0 generated baselines changed Compared Legacy baseline: content hash computed from the pinned checkpoint; not yet recorded in that revision’s stats.
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 32164416320 --repo openai/openai-python \
--name castiron-custom-code-32164416320-1 --dir /tmp/castiron-custom-code-32164416320-1
git apply --stat /tmp/castiron-custom-code-32164416320-1/custom-code.patch
cat /tmp/castiron-custom-code-32164416320-1/custom-code.patchOr reproduce it from an SDK checkout containing the vendored reporter: git fetch --no-tags origin 44c1560ad2f707d68e3f28d66aae602f7626e187 661d42f3984dce357ed4868923b376a74a4f86c7
python3 scripts/castiron/custom_code_report.py report \
--base 44c1560ad2f707d68e3f28d66aae602f7626e187 \
--head 661d42f3984dce357ed4868923b376a74a4f86c7 --fetch --require-head-hash --public \
--out /tmp/castiron-custom-code-661d42f3984d
cat /tmp/castiron-custom-code-661d42f3984d/custom-code.patchThis is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR. |
Castiron-Internal-PR: openai/openai-python-internal#32 Castiron-Source-SHA: 9092fbb4836628641cc5504827339e853cad241f Castiron-Public-Base-SHA: 44c1560
apcha-oai
force-pushed
the
castiron/promotions/pr-32
branch
from
August 18, 2026 17:12
ca0f0a9 to
661d42f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Exercise the report for a PR that adds a new customization to a previously untouched generated file.
DO NOT MERGE. The edit in
src/openai/types/model.pyis an intentional comment-only example with no runtime behavior change. Expected report: 49 → 50 mixed files, with one newly customized file.This draft contains the manually vendored reporter, hash-consistency tests, and an experimental workflow restricted to protected maintainer-owned branches. The report updates one comment and includes commands to inspect the exact custom-code patch. This is an experiment, not a release or a request to merge.