Skip to content

fix: compute sandbox parent paths in linear time - #1895

Open
jbeckwith-oai wants to merge 1 commit into
mainfrom
codex/fix-sandbox-dirname-scan
Open

fix: compute sandbox parent paths in linear time#1895
jbeckwith-oai wants to merge 1 commit into
mainfrom
codex/fix-sandbox-dirname-scan

Conversation

@jbeckwith-oai

Copy link
Copy Markdown
Contributor

Replace trailing-slash matching in sandbox parent-path computation with a backward character scan. This keeps the operation linear while preserving existing dirname behavior for root, empty, relative, repeated-separator, and trailing-slash paths.

Adds benign regression coverage and an @openai/agents-core patch changeset. No API or path-validation changes.

Validation

  • Full repository verification passed: install, build, type and declaration checks, lint, formatting, and all 6,899 tests across 225 files.
  • Docker tests used local Colima with a local temporary directory; the global Docker context was unchanged.
  • Independent security and compatibility reviews completed. Maintainer security review requested for the sandbox path-computation boundary.

@jbeckwith-oai
jbeckwith-oai requested a review from a team as a code owner September 12, 2026 18:15
@changeset-bot

changeset-bot Bot commented Sep 12, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0a147c9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@openai/agents-core Patch
@openai/agents-extensions Patch
@openai/agents-openai Patch
@openai/agents-realtime Patch
@openai/agents Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 12, 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-09-12T18:16:17.201357Z 0a147c9 PR opened
🔒 Security Review Completed 2026-09-12T18:19:25.986743Z 0a147c9 PR opened
ℹ️ 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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant