Skip to content

release: 3.28.0 - #4045

Merged
jbeckwith-oai merged 1 commit into
mainfrom
release-please--branches--main
Oct 9, 2026
Merged

jbeckwith-oai merged 1 commit into
mainfrom
release-please--branches--main

Conversation

@openai-sdks

@openai-sdks openai-sdks Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Automated Release PR

3.28.0 (2026-10-09)

Features

  • api: add agent environment suspension and expiration (#4046) (6aa25a9)

Chores

  • deps: bump astral-sh/setup-uv from 10.1.0 to 10.2.0 (#4026) (8bfffd4)
  • deps: bump CodeQL init and analyze to 4.38.2 (#4025) (4f5e618)
  • deps: update PyJWT security constraint to 2.14.0 (#3991) (aaed2a7)

This PR was generated with Release Please. See documentation.

@openai-sdks
openai-sdks Bot requested a review from a team as a code owner October 9, 2026 14:40
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-09T20:27:12.489580Z c357fa4 New commits
🔒 Security Review ✅ Completed 2026-10-09T20:27:17.337411Z c357fa4 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Castiron custom code

Evaluated main: 6aa25a9959f451ef67de948b792779e3d130a9c2.

✅ No new custom-code files detected.

52 mixed files remain; 0 existing customizations changed.

Compared 6aa25a9959f4 → c357fa42969c. Generated baselines verified.

52 existing customizations unchanged
  • api.md
  • scripts/castiron/custom_code_budget.py
  • scripts/castiron/custom_code_report.py
  • scripts/castiron/test_custom_code_budget.py
  • scripts/castiron/test_custom_code_github.py
  • scripts/castiron/test_custom_code_publication.py
  • scripts/castiron/test_custom_code_report.py
  • src/openai/init.py
  • src/openai/_client.py
  • src/openai/resources/audio/transcriptions.py
  • src/openai/resources/audio/translations.py
  • src/openai/resources/beta/agents/environments/files.py
  • src/openai/resources/beta/agents/sessions/artifacts.py
  • src/openai/resources/beta/agents/sessions/sessions.py
  • src/openai/resources/beta/beta.py
  • src/openai/resources/beta/responses/responses.py
  • src/openai/resources/beta/threads/runs/runs.py
  • src/openai/resources/beta/threads/threads.py
  • src/openai/resources/chat/completions/completions.py
  • src/openai/resources/embeddings.py
  • src/openai/resources/files.py
  • src/openai/resources/live/forks.py
  • src/openai/resources/live/live.py
  • src/openai/resources/live/sideband.py
  • src/openai/resources/realtime/api.md
  • src/openai/resources/realtime/realtime.py
  • src/openai/resources/responses/responses.py
  • src/openai/resources/uploads/uploads.py
  • src/openai/resources/vector_stores/file_batches.py
  • src/openai/resources/vector_stores/files.py
  • src/openai/resources/videos.py
  • src/openai/resources/webhooks/init.py
  • src/openai/resources/webhooks/webhooks.py
  • src/openai/types/beta/agent_session_message.py
  • src/openai/types/chat/init.py
  • src/openai/types/chat/chat_completion_message_tool_call.py
  • src/openai/types/fine_tuning/fine_tuning_job_integration.py
  • src/openai/types/realtime/conversation_item_input_audio_transcription_delta_event.py
  • src/openai/types/realtime/realtime_error_event.py
  • src/openai/types/responses/init.py

12 more in the full report.

A changed generated baseline means this report cannot reliably identify which handwritten lines changed.

Inspect the custom-code diff

Download the exact patch produced by this run (requires repository access):

gh run download 37987018094 --repo openai/openai-python \
  --name castiron-custom-code-37987018094-1 --dir /tmp/castiron-custom-code-37987018094-1
git apply --stat /tmp/castiron-custom-code-37987018094-1/custom-code.patch
cat /tmp/castiron-custom-code-37987018094-1/custom-code.patch

Or reproduce it from an SDK checkout containing the vendored reporter:

git fetch --no-tags origin 6aa25a9959f451ef67de948b792779e3d130a9c2 c357fa42969c6a2ac4ab58b52787d4d7566a6d60
python3 scripts/castiron/custom_code_report.py report \
  --base 6aa25a9959f451ef67de948b792779e3d130a9c2 \
  --head c357fa42969c6a2ac4ab58b52787d4d7566a6d60 --fetch --require-head-hash --public \
  --out /tmp/castiron-custom-code-c357fa42969c
cat /tmp/castiron-custom-code-c357fa42969c/custom-code.patch

This is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR.

Full report and patch

@openai-sdks

openai-sdks Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor Author

OkTest Summary

✅ 236/236 SDK tests passed in 9.328s for Python SDK PR #4045.

Test results — 42 files
Test Result Time
tests/chat-completions-complex-body.test.ts ✅ Passed 215ms
tests/chat-completions-create.test.ts ✅ Passed 223ms
tests/chat-completions-stream.test.ts ✅ Passed 264ms
tests/files-content-binary.test.ts ✅ Passed 222ms
tests/files-create-multipart.test.ts ✅ Passed 305ms
tests/files-list-pagination.test.ts ✅ Passed 297ms
tests/initialize-config.test.ts ✅ Passed 173ms
tests/instance-isolation.test.ts ✅ Passed 192ms
tests/models-list.test.ts ✅ Passed 207ms
tests/responses-background-lifecycle.test.ts ✅ Passed 196ms
tests/responses-body-method-errors.test.ts ✅ Passed 346ms
tests/responses-cancel-timeout.test.ts ✅ Passed 216ms
tests/responses-cancel.test.ts ✅ Passed 171ms
tests/responses-compact-retries.test.ts ✅ Passed 306ms
tests/responses-compact.test.ts ✅ Passed 292ms
tests/responses-create-advanced-stream.test.ts ✅ Passed 185ms
tests/responses-create-advanced.test.ts ✅ Passed 224ms
tests/responses-create-disconnect.test.ts ✅ Passed 1.311s
tests/responses-create-errors.test.ts ✅ Passed 205ms
tests/responses-create-malformed-api-responses.test.ts ✅ Passed 222ms
tests/responses-create-retries.test.ts ✅ Passed 252ms
tests/responses-create-stream-failures.test.ts ✅ Passed 718ms
tests/responses-create-stream-timeout.test.ts ✅ Passed 240ms
tests/responses-create-stream-wire.test.ts ✅ Passed 1.927s
tests/responses-create-stream.test.ts ✅ Passed 157ms
tests/responses-create-terminal-states.test.ts ✅ Passed 244ms
tests/responses-create-timeout.test.ts ✅ Passed 235ms
tests/responses-create.test.ts ✅ Passed 577ms
tests/responses-delete.test.ts ✅ Passed 184ms
tests/responses-input-items-errors.test.ts ✅ Passed 435ms
tests/responses-input-items-list.test.ts ✅ Passed 330ms
tests/responses-input-items-options.test.ts ✅ Passed 251ms
tests/responses-input-tokens-count-timeout.test.ts ✅ Passed 284ms
tests/responses-input-tokens-count.test.ts ✅ Passed 192ms
tests/responses-malformed-inputs.test.ts ✅ Passed 1.025s
tests/responses-not-found-errors.test.ts ✅ Passed 255ms
tests/responses-parse.test.ts ✅ Passed 271ms
tests/responses-retrieve-retries.test.ts ✅ Passed 229ms
tests/responses-retrieve.test.ts ✅ Passed 204ms
tests/responses-stored-method-errors.test.ts ✅ Passed 470ms
tests/retry-behavior.test.ts ✅ Passed 3.153s
tests/sdk-error-shape.test.ts ✅ Passed 293ms

View OkTest run #37986927854

SDK merge (a124cc6a0dc3) · head (c357fa42969c) · base (6aa25a9959f4) · OkTest (aae4f6a5102a)

@openai-sdks
openai-sdks Bot force-pushed the release-please--branches--main branch from 398c87a to 9218ade Compare October 9, 2026 14:49
@openai-sdks openai-sdks Bot changed the title release: 3.27.1 release: 3.28.0 Oct 9, 2026
@openai-sdks
openai-sdks Bot force-pushed the release-please--branches--main branch from 9218ade to c357fa4 Compare October 9, 2026 20:25
@jbeckwith-oai
jbeckwith-oai added this pull request to the merge queue Oct 9, 2026
Merged via the queue into main with commit ef676db Oct 9, 2026
28 checks passed
@jbeckwith-oai
jbeckwith-oai deleted the release-please--branches--main branch October 9, 2026 20:48
@openai-sdks

openai-sdks Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Created releases:

🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant