Repository navigation
Guard Copilot sandbox startup against RUNNER_TEMP loss - #72933
Conversation
Co-authored-by: pelikhan <[email protected]>
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Ponytail Reviewer completed successfully!
|
|
✅ PR Code Quality Reviewer completed the code quality review.
|
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft. Design Decision Gate 🏗️Outcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for this test-only change adding sandbox startup regression coverage.
No open issues 🎉
What changed in this PR
Adds execution-level regression coverage for the Copilot sandbox startup failure reported in #72489. The tests protect existing RUNNER_TEMP preservation behavior; production code is unchanged.
Changes:
- Exercise generated CLI and SDK commands through simulated sudo-rs/AWF boundaries for both sandbox runtimes.
- Verify argument handling with runner paths containing spaces, quotes, and dollar signs.
- Confirm that the simulated old blanket environment-preservation behavior reproduces the missing-module error.
| File | Description |
|---|---|
pkg/workflow/copilot_engine_harness_test.go |
Adds real-Node regression tests for sandbox environment preservation and startup failure reproduction. |
Review effort: Balanced (auto)
|
🎉 This pull request is included in a new release. Release: |
Losing
RUNNER_TEMPacross the sandbox boundary caused Node to resolve the Copilot driver under/gh-aw/actions/and fail withMODULE_NOT_FOUND. The current code already preserves the variable; this change adds execution-level regression coverage.