Skip to content

Apply sandbox context to local view_image reads#21861

Open
starr-openai wants to merge 1 commit intomainfrom
starr/view-image-sandbox-20260508
Open

Apply sandbox context to local view_image reads#21861
starr-openai wants to merge 1 commit intomainfrom
starr/view-image-sandbox-20260508

Conversation

@starr-openai
Copy link
Copy Markdown
Contributor

Summary

  • create a selected-cwd filesystem sandbox context for view_image metadata and file reads in both local and remote environments
  • add a local restricted-profile regression test for the previously unsandboxed read path

Validation

  • just fmt
  • bazel test --bes_backend= --bes_results_url= --test_output=errors --test_filter=view_image::tests::handle_passes_sandbox_context_for_local_filesystem_reads //codex-rs/core:core-unit-tests

Create a selected-cwd filesystem sandbox context for view_image metadata and file reads regardless of whether the selected environment is local or remote. Add a local restricted-profile regression test for the previously unsandboxed read path.

Co-authored-by: Codex <noreply@openai.com>
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