Repository navigation
fix: check the agent upload directory after path resolution - #4323
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis 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. |
markstuart-oai
approved these changes
Nov 24, 2026
markstuart-oai
left a comment
Contributor
There was a problem hiding this comment.
The directory check now compares the selected directory’s identity with the resolved path before selecting files. This preserves parent symlink support. The new sync and async cases verify that replacing the selected directory during resolution stops preparation before upload.
Static review only. Hosted checks were still running.
marcuswood-oai
enabled auto-merge
November 24, 2026 00:23
Merged
gh-actions-shared Bot
pushed a commit
to xf-qubit/openai-python
that referenced
this pull request
Nov 24, 2026
Automated Release PR --- ## [3.59.0](openai/openai-python@v3.58.0...v3.59.0) (2026-11-24) ### Features * **api:** add healthcare model IDs for Responses ([openai#4327](openai#4327)) ([804a9af](openai@804a9af)) ### Bug Fixes * check the agent upload directory after path resolution ([openai#4323](openai#4323)) ([bc02da4](openai@bc02da4)) * redact credential headers on API error requests ([openai#4316](openai#4316)) ([9d7f58e](openai@9d7f58e)) * reject empty webhook signing keys ([openai#4321](openai#4321)) ([dd69803](openai@dd69803)) * reject non-finite numbers in agent tool arguments ([openai#4326](openai#4326)) ([abbd379](openai@abbd379)) * use bearer authentication for beta Realtime sessions ([openai#4317](openai#4317)) ([7596fb8](openai@7596fb8)) ### Documentation * explain how to skip duplicate webhook events ([openai#4325](openai#4325)) ([6805f05](openai@6805f05)) --- 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>
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.
Changes being requested
Compare the selected directory with the resolved directory before selecting files. Reject a change of identity and keep support for symlinks in parent paths. This check is limited to path resolution.
Additional context & links
Sync and async regression tests verify that a change during path resolution stops preparation before any upload. Both failed before the change. The existing parent alias tests also passed. The agent streaming suite had 383 passes and 14 skips. Ruff and ty passed for both files.