Add tests and documentation for custom binary mounts in AWF sandbox#12459
Add tests and documentation for custom binary mounts in AWF sandbox#12459
Conversation
- Added tests for Claude and Codex engines with custom mounts - Added cross-engine test to verify consistent behavior - Added common tool mount scenarios tests (database clients, cloud CLIs, build tools, container tools, shared libraries, directories) - Enhanced documentation with detailed examples for common use cases - Added security warnings and best practices to documentation Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Created workflow demonstrating database clients, cloud CLIs, build tools, and shared libraries - Verified compilation and mount arguments in compiled workflow - All custom mounts are sorted and applied correctly to AWF command Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
🔍 PR Triage ResultsCategory: docs | Risk: low | Priority: 37/100 Scores Breakdown
📋 Recommended Action: deferLow impact or work in progress Note: CI status is unstable. Please resolve CI issues before final review. Triaged by PR Triage Agent on 2026-01-29
|
🔍 PR Triage ResultsCategory: feature | Risk: high | Priority: 50/100 Scores Breakdown
📋 Recommended Action: batch_reviewPart of Batch #2: Feature Additions (batch-feature-001). Related to PRs #12460, #12444 for container mount functionality. Triaged by PR Triage Agent on 2026-01-31 | Run #21540069309
|
🔍 PR Triage ResultsCategory: feature | Risk: high | Priority: 60/100 Scores Breakdown
📋 Recommended Action: Batch ReviewThis PR is recommended for batch review with similar PRs. 📦 Batch ProcessingThis PR is part of batch-feature-001 with 3 other PR(s): #12130, #12460, #12698 Consider reviewing these PRs together for consistency and efficiency. Triaged by PR Triage Agent on 2026-01-31 12:17 UTC
|
The
sandbox.agent.mountsfield was already implemented and working across all AWF engines (Copilot, Claude, Codex), but lacked comprehensive tests and documentation.Changes
Tests (
pkg/workflow/custom_mounts_test.go)Documentation (
docs/src/content/docs/reference/sandbox.md)Demo (
.github/workflows/demo-custom-mounts.md)Usage
Mount custom binaries and libraries into the AWF container:
Format:
source:destination:modewhere mode isro(read-only) orrw(read-write).Custom mounts are validated for syntax and applied to all AWF-wrapped engines. Mounts are sorted alphabetically in compiled workflows for consistency.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.