Enable cloud-hypervisor sandbox runtime for copilot, claude, and gemini smoke workflows - #53133
Merged
Merged
Conversation
…orkflows; fix gemini firewall auto-enable gap Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
Update agentic workflows to use cloud-hypervisor sandbox runtime
Enable cloud-hypervisor sandbox runtime for copilot, claude, and gemini smoke workflows
Aug 16, 2026
Copilot created this pull request from a session on behalf of
pelikhan
August 16, 2026 13:25
View session
pelikhan
marked this pull request as ready for review
August 16, 2026 13:29
Contributor
There was a problem hiding this comment.
Pull request overview
Enables cloud-hypervisor for Copilot, Claude, and Gemini smoke workflows while adding Gemini’s missing default firewall enablement.
Changes:
- Opts three smoke workflows into cloud-hypervisor.
- Enables AWF by default for Gemini.
- Updates tests, golden output, and compiled workflows.
Show a summary per file
| File | Description |
|---|---|
pkg/workflow/firewall.go |
Adds Gemini firewall defaults. |
pkg/workflow/compiler_orchestrator_engine.go |
Applies the Gemini default. |
pkg/workflow/firewall_default_enablement_test.go |
Tests Gemini firewall behavior. |
pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden |
Updates Gemini golden output. |
.github/workflows/smoke-gemini.md |
Enables cloud-hypervisor and removes gh-proxy. |
.github/workflows/smoke-gemini.lock.yml |
Regenerates the Gemini workflow. |
.github/workflows/smoke-agent-all-merged.md |
Enables cloud-hypervisor for Claude. |
.github/workflows/smoke-agent-all-merged.lock.yml |
Regenerates the Claude workflow. |
.github/workflows/smoke-test-tools.md |
Enables cloud-hypervisor for Copilot. |
.github/workflows/smoke-test-tools.lock.yml |
Regenerates the Copilot workflow. |
Review details
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 10/10 changed files
- Comments generated: 1
- Review effort level: Balanced
| sandbox: | ||
| agent: | ||
| id: awf | ||
| runtime: cloud-hypervisor |
Contributor
|
🎉 This pull request is included in a new release. Release: |
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.
Onboards three of the four agentic engines onto the preview
cloud-hypervisorsandbox runtime, and fixes a compiler gap that made this impossible forgemini.Runtime opt-in
smoke-test-tools.md(copilot) andsmoke-agent-all-merged.md(claude): setsandbox.agent.runtime: cloud-hypervisor.smoke-gemini.md(gemini): setsandbox.agent.runtime: cloud-hypervisor; dropped theshared/gh.mdimport, which forcedtools.github.mode: gh-proxy— incompatible with cloud-hypervisor and unused by the workflow body.Compiler fix — missing gemini firewall default
pkg/workflow/firewall.goauto-enables the AWF firewall by default per engine (enableFirewallByDefaultForCopilot/Claude/Pi), but had no gemini equivalent. Without it,NetworkPermissions.Firewallstayednil, so the cloud-hypervisor setup step emitted an emptyGH_AW_AWF_VERSION, which fails schema validation asnull:Added
enableFirewallByDefaultForGemini, mirroring the existing per-engine functions, and wired it intocompiler_orchestrator_engine.go.Added
TestEnableFirewallByDefaultForGeminiand regenerated the gemini wasm golden fixture to reflect the firewall now being enabled by default.Out of scope:
pipihas no native MCP support and unconditionally requirestools.github.mode: gh-proxy+cli-proxy: true(agent_validation.go). Cloud-hypervisor's topology has no CLI-proxy sidecar and explicitly rejects gh-proxy/cli-proxy (sandbox_validation.go). This is intentional, enforced validation, so nopiworkflow can adopt cloud-hypervisor yet — flagging for visibility rather than working around it.