Repository navigation
Fix missing sandbox network dependency diagnostics - #342858
Harini (Harini410) wants to merge 12 commits into
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The narrow implementation matches the stated intent and includes focused regression coverage.
No open issues 🎉
What changed in this PR
Fixes Agent Host sandbox diagnostics so missing network dependencies are reported when allowOutbound is unspecified or false.
Changes:
- Removes the outbound-policy condition from network diagnostics.
- Adds regression coverage for missing and available network dependencies.
No actionable findings remain.
| File | Description |
|---|---|
| src/vs/platform/agentHost/test/node/copilotSandboxDiagnostics.test.ts | Adds network dependency regression tests and adjusts denied-path coverage. |
| src/vs/platform/agentHost/node/copilot/copilotSandboxDiagnostics.ts | Reports missing network dependencies regardless of outbound policy. |
Review effort: Balanced
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
2 open issues
Review effort: Lite
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
No open issues 🎉
2 resolved since last review
Review effort: Lite
|
Merge conflicts with |


Summary
Fix missing sandbox network dependency diagnostics when
allowOutboundis unspecified orfalse.Add regression tests for missing and available network dependencies.
Testing