fix: resolve linting issues for sandbox feature#4887
Merged
Mossaka merged 2 commits intomossaka/srtfrom Nov 26, 2025
Merged
Conversation
…d sandbox.go Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add new sandbox for copilot with sandbox-runtime support
fix: resolve linting issues for sandbox feature
Nov 26, 2025
Mossaka
added a commit
that referenced
this pull request
Nov 26, 2025
…time (#4295) * feat(sandbox): add Sandbox Runtime (SRT) support for Copilot engine Add support for Anthropic's Sandbox Runtime as an alternative sandboxing mechanism for Copilot-based agentic workflows. Key changes: - Add new sandbox types: 'default' (AWF) and 'sandbox-runtime' (SRT) - Add SRT configuration parsing from workflow frontmatter - Generate SRT wrapper script that initializes sandbox and passes env vars - Fix: Remove GITHUB_TOKEN and GH_TOKEN from SRT exports to prevent interference with COPILOT_GITHUB_TOKEN authentication - Fix: Normalize nil slices to empty slices for proper JSON serialization The SRT sandbox uses bubblewrap to create isolated environments with configurable network and filesystem restrictions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * test(srt): add smoke tests for Sandbox Runtime integration Add smoke test workflows to validate SRT functionality: - smoke-srt.md: Basic SRT smoke test using compiled workflow - smoke-srt-custom-config.md: SRT test with custom configuration - smoke-isolated-srt.yml: Hand-written SRT test for isolated testing - smoke-copilot-no-firewall.md: Copilot test without firewall 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * fix: resolve linting issues for sandbox feature (#4887) --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Copilot <198982749+Copilot@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.
Fixes compilation errors after
enableFirewallByDefaultForCopilotsignature changed to include*SandboxConfigparameter.Changes
nil) to three test call sitesgetSandboxConfigfunction💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.