Repository navigation
Conversation
Castiron custom codeEvaluated main: Trusted main policy: ✅ No new custom-code files detected. 0 mixed files remain; 0 existing customizations changed. Compared 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 40028664785 --repo openai/openai-python \
--name castiron-custom-code-40028664785-1 --dir /tmp/castiron-custom-code-40028664785-1
git apply --stat /tmp/castiron-custom-code-40028664785-1/custom-code.patch
cat /tmp/castiron-custom-code-40028664785-1/custom-code.patchOr reproduce it from an SDK checkout containing the vendored reporter: git fetch --no-tags origin 43045fcaf91aec08571e54c57706597cefd32d45 d92a22cb2272d4aac80a0d6cfa41ac7152e08d74
python3 scripts/castiron/custom_code_report.py report \
--base 43045fcaf91aec08571e54c57706597cefd32d45 \
--head d92a22cb2272d4aac80a0d6cfa41ac7152e08d74 --target-branch main --fetch --require-head-hash --public \
--out /tmp/castiron-custom-code-d92a22cb2272
cat /tmp/castiron-custom-code-d92a22cb2272/custom-code.patchThis is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR. |
markstuart-oai
left a comment
There was a problem hiding this comment.
Reviewed d92a22cb2272d4aac80a0d6cfa41ac7152e08d74. No blocking findings. The three removed tests duplicate retained synchronous client coverage. The corrected inputs now exercise base URLs without a trailing slash for both synchronous and asynchronous clients, including custom HTTP clients.
Source-only review; I did not run candidate code or tests. Hosted checks: 22 successful and 13 skipped.
Changes being requested
Remove three tests in
TestAsyncOpenAIthat use the synchronousOpenAIfixture and repeat the correspondingTestOpenAIassertions for extra JSON, headers, and query parameters. Correct the standard and custom HTTP client inputs in both no-trailing-slash tests so they actually exercise base URLs without a trailing slash.Additional context & links
292 passed, 2 skipped; Ruff lint and format checks passed.