Repository navigation
fix(openai): close owned Agents SDK client - #4508
Conversation
Signed-off-by: Abhinav Kumar Singh <[email protected]>
|
@abhinavkr26104 Thanks for the PR! It doesn't reference an issue yet. We require an issue for every PR, so the work can be prioritized before it's reviewed. Add one to the description:
No issue exists for this yet? Open one first, then reference it. That's how we track what's worth doing, and it's usually quicker than it sounds. Note a reference has to point at an issue: naming another PR doesn't count. The only exceptions are changes with no user-visible behaviour: pure Refactor / chore, Docs, or Test / CI work. If that's genuinely what this is, check that box under Type of change. Anything that fixes a bug, adds a feature, or changes the UI needs an issue, even when it also touches docs or tests. See CONTRIBUTING.md for the full policy. No action is taken beyond this comment. |
|
@abhinavkr26104 This PR is a Bug fix, Feature, or UI / frontend change but the Demo section is missing or only contains a placeholder. These change types require a screenshot or screen recording so reviewers can see the new behaviour without checking out the branch. Please update the Demo section with:
Use |
|
/review |
|
dhruv0811
left a comment
There was a problem hiding this comment.
LGTM! Thanks for catching this :)
|
|
🏷️ Doc impact: Internal lifecycle change adding a Auto-classified on merge. Set the label manually before merging to override. · run |
Complete 18 truncated entries, add proper [Bug fix / Test/CI] tags to #4508 and #4509 (which had bare `*` bullets), and drop the internal-only [Docs] N/A entry (#4925). Signed-off-by: Tomu Hirata <[email protected]>
* docs(changelog): record v0.10.0 * docs(changelog): fix truncated and malformed entries in v0.10.0 Complete 18 truncated entries, add proper [Bug fix / Test/CI] tags to #4508 and #4509 (which had bare `*` bullets), and drop the internal-only [Docs] N/A entry (#4925). Signed-off-by: Tomu Hirata <[email protected]> --------- Signed-off-by: Tomu Hirata <[email protected]> Co-authored-by: omnigent-ci[bot] <294685417+omnigent-ci[bot]@users.noreply.github.com> Co-authored-by: Tomu Hirata <[email protected]>
…i#4508) Signed-off-by: Abhinav Kumar Singh <[email protected]>
* docs(changelog): record v0.10.0 * docs(changelog): fix truncated and malformed entries in v0.10.0 Complete 18 truncated entries, add proper [Bug fix / Test/CI] tags to omnigent-ai#4508 and omnigent-ai#4509 (which had bare `*` bullets), and drop the internal-only [Docs] N/A entry (omnigent-ai#4925). Signed-off-by: Tomu Hirata <[email protected]> --------- Signed-off-by: Tomu Hirata <[email protected]> Co-authored-by: omnigent-ci[bot] <294685417+omnigent-ci[bot]@users.noreply.github.com> Co-authored-by: Tomu Hirata <[email protected]>
…i#4508) Signed-off-by: Abhinav Kumar Singh <[email protected]> Co-authored-by: Abhinav Kumar Singh <[email protected]>
* docs(changelog): record v0.10.0 * docs(changelog): fix truncated and malformed entries in v0.10.0 Complete 18 truncated entries, add proper [Bug fix / Test/CI] tags to omnigent-ai#4508 and omnigent-ai#4509 (which had bare `*` bullets), and drop the internal-only [Docs] N/A entry (omnigent-ai#4925). Signed-off-by: Tomu Hirata <[email protected]> --------- Signed-off-by: Tomu Hirata <[email protected]> Co-authored-by: omnigent-ci[bot] <294685417+omnigent-ci[bot]@users.noreply.github.com> Co-authored-by: Tomu Hirata <[email protected]>
…i#4508) Signed-off-by: Abhinav Kumar Singh <[email protected]> Co-authored-by: Abhinav Kumar Singh <[email protected]>
* docs(changelog): record v0.10.0 * docs(changelog): fix truncated and malformed entries in v0.10.0 Complete 18 truncated entries, add proper [Bug fix / Test/CI] tags to omnigent-ai#4508 and omnigent-ai#4509 (which had bare `*` bullets), and drop the internal-only [Docs] N/A entry (omnigent-ai#4925). Signed-off-by: Tomu Hirata <[email protected]> --------- Signed-off-by: Tomu Hirata <[email protected]> Co-authored-by: omnigent-ci[bot] <294685417+omnigent-ci[bot]@users.noreply.github.com> Co-authored-by: Tomu Hirata <[email protected]>
* docs(changelog): record v0.10.0 * docs(changelog): fix truncated and malformed entries in v0.10.0 Complete 18 truncated entries, add proper [Bug fix / Test/CI] tags to omnigent-ai#4508 and omnigent-ai#4509 (which had bare `*` bullets), and drop the internal-only [Docs] N/A entry (omnigent-ai#4925). Signed-off-by: Tomu Hirata <[email protected]> --------- Signed-off-by: Tomu Hirata <[email protected]> Co-authored-by: omnigent-ci[bot] <294685417+omnigent-ci[bot]@users.noreply.github.com> Co-authored-by: Tomu Hirata <[email protected]> Signed-off-by: Andreas Peters <[email protected]>
Related issue
Closes #4504
Summary
OpenAI Agents SDK executors created a provider client but inherited the base executor's no-op shutdown method, leaving its HTTP connection pool open across executor lifecycles.
This change:
Test Plan
Demo
N/A — non-visual backend change.
Type of change
Test coverage
Coverage notes
The new unit test verifies that shutdown closes an executor-created client exactly once and does not close a caller-injected client.
Changelog