Repository navigation
feat(api): add agent environment suspension and expiration - #4046
Conversation
Castiron-Internal-PR: openai/openai-python-internal#197 Castiron-Source-SHA: 5c4d19e0e1c30c8f245282a7819c6dfbff8597d7 Castiron-Public-Base-SHA: 1a90f1c
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. |
OkTest Summary✅ 236/236 SDK tests passed in 9.021s for Python SDK PR #4046. Test results — 42 filesSDK merge ( |
markstuart-oai
left a comment
There was a problem hiding this comment.
Approved at 40b7a6d4b64eb3d8d653f3395b9051f4cd1a04c4.
The suspended and expired variants are wired through session states, discriminated stream and webhook unions, exports, and sync/async subscription methods. The tests cover typed SSE events in strict and loose modes and signed webhook payloads. Signature verification remains ahead of parsing.
All current public CI checks pass. This was a source and hosted-CI review; I ran no repository tests or live backend calls. Backend activation remains a separate rollout step.
Automated Release PR --- ## [3.28.0](openai/openai-python@v3.27.0...v3.28.0) (2026-10-09) ### Features * **api:** add agent environment suspension and expiration ([openai#4046](openai#4046)) ([6aa25a9](openai@6aa25a9)) ### Chores * **deps:** bump astral-sh/setup-uv from 10.1.0 to 10.2.0 ([openai#4026](openai#4026)) ([8bfffd4](openai@8bfffd4)) * **deps:** bump CodeQL init and analyze to 4.38.2 ([openai#4025](openai#4025)) ([4f5e618](openai@4f5e618)) * **deps:** update PyJWT security constraint to 2.14.0 ([openai#3991](openai#3991)) ([aaed2a7](openai@aaed2a7)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: openai-sdks[bot] <284451331+openai-sdks[bot]@users.noreply.github.com>

Summary
Adds client support for agent environment suspension and expiration events.
Changes
Validation
git diff --checkpassed.Rollout
Public SDK promotion and backend activation remain separate steps.