Skip to content

Replace Docker SBX CI smoke tests with Cloud Hypervisor - #8838

Merged
lpcox merged 3 commits into
mainfrom
replace-docker-sbx-ci
Sep 21, 2026
Merged

lpcox merged 3 commits into
mainfrom
replace-docker-sbx-ci

Conversation

@lpcox

@lpcox lpcox commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • retire the five deprecated Docker SBX agentic smoke workflows and their generated lock files
  • promote Smoke Cloud Hypervisor to the standard ready-for-aw CI gate
  • remove Docker-SBX-only workflow post-processing and its obsolete regression test
  • update the Docker SBX documentation to point CI coverage at Cloud Hypervisor

The existing Cloud Hypervisor Copilot, Claude, Codex, build/test, and Playwright workflows provide direct counterparts to the removed Docker SBX workflows. This change keeps their specialized manual label triggers and makes the primary Cloud Hypervisor smoke replace the primary Docker SBX check in normal agentic CI.

Validation

  • gh aw compile smoke-cloud-hypervisor
  • npx ts-node scripts/ci/postprocess-smoke-workflows.ts
  • npm test -- --runInBand scripts/ci/ready-for-aw-workflows.test.ts scripts/ci/postprocess-smoke-workflows.test.ts scripts/ci/test-cloud-hypervisor-workflow.test.ts scripts/ci/cloud-hypervisor-ci-scripts.test.ts
  • npm run build

Related to #8834.

Retire the deprecated Docker SBX smoke workflows.

Promote Cloud Hypervisor smoke coverage to the ready-for-aw CI gate.

Remove obsolete post-processing and tests.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 21, 2026 16:08
@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Documentation Preview

Documentation has been built for this PR.

Download preview artifact

To view locally:

  1. Download the docs-preview-pr-8838 artifact from the workflow run
  2. Unzip and open index.html in your browser

Built from commit 528d362

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ Coverage Check Passed

Overall Coverage

Metric Base PR Delta
Lines 93.29% 93.29% ➡️ +0.00%
Statements 91.97% 91.97% ➡️ +0.00%
Functions 92.00% 92.00% ➡️ +0.00%
Branches 85.80% 85.79% ➡️ -0.01%
📁 Per-file Coverage Changes (2 files)
File Lines (Before → After) Statements (Before → After)
src/nvx/one-shot-adapter.ts 80.7% → 80.1% (-0.61%) 77.9% → 77.4% (-0.57%)
src/log-directory-setup.ts 96.2% → 100.0% (+3.78%) 96.3% → 100.0% (+3.71%)

Coverage comparison generated by scripts/ci/compare-coverage.ts

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The new mandatory gate has a known hosted-runner preflight failure, and supported SBX runtime coverage is removed.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 1 High severity · 1 Medium severity

Open (2)
What changed in this PR

Replaces deprecated Docker SBX CI smoke coverage with Cloud Hypervisor and makes it the standard agentic CI gate.

Changes:

  • Removes Docker SBX smoke workflows and generated artifacts.
  • Promotes Cloud Hypervisor to the ready-for-aw gate.
  • Cleans up obsolete post-processing, tests, and documentation.
File Description
scripts/​ci/​smoke-docker-sbx-workflow.test.ts Removes obsolete SBX workflow tests.
scripts/​ci/​ready-for-aw-workflows.test.ts Adds Cloud Hypervisor to required CI workflows.
scripts/​ci/​postprocess-smoke-workflows.ts Removes Docker SBX post-processing.
docs/​sbx-integration.md Documents retired SBX smoke workflows.
.github/​workflows/​smoke-playwright-docker-sbx.md Removes the SBX Playwright workflow.
.github/​workflows/​smoke-playwright-docker-sbx.lock.yml Removes its generated workflow.
.github/​workflows/​smoke-docker-sbx.md Removes the primary SBX smoke workflow.
.github/​workflows/​smoke-docker-sbx-codex.md Removes SBX Codex coverage.
.github/​workflows/​smoke-docker-sbx-claude.md Removes SBX Claude coverage.
.github/​workflows/​smoke-docker-sbx-build-test.md Removes SBX build/test coverage.
.github/​workflows/​smoke-cloud-hypervisor.md Changes the trigger to ready-for-aw.
.github/​workflows/​smoke-cloud-hypervisor.lock.yml Regenerates the promoted workflow.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

workflow_dispatch:
label_command:
name: test-cloud-hypervisor
name: ready-for-aw
Comment thread docs/sbx-integration.md
Comment on lines +356 to +358
- gh-aw workflow frontmatter: `sandbox.agent.runtime: docker-sbx`. The
Docker SBX CI smoke workflows have been retired in favor of their Cloud
Hypervisor equivalents.
@lpcox

lpcox commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator Author

@copilot address review feedback

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

❌ Smoke Copilot BYOK AOAI (Entra) reports failed. AOAI BYOK (Entra) mode investigation needed...

🪪 BYOK (AOAI Entra) report filed by Smoke Copilot BYOK AOAI (Entra)

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤

📰 BREAKING: Report filed by Smoke Copilot

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

❌ Smoke Gemini reports failed. Facets need polishing...

💎 Faceted by Smoke Gemini

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

🔌 Smoke Services — All services reachable! ✅

🔌 Service connectivity validated by Smoke Services

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • msfeed25.pkgs.visualstudio.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "msfeed25.pkgs.visualstudio.com"

See Network Configuration for more information.

🔮 The oracle has spoken through Smoke Codex

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ Build Test Suite completed successfully!

Generated by Build Test Suite for #8838

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Security Guard has started processing this pull request

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

🛡️ Smoke Copilot Network Isolation confirmed the egress allowlist is enforced. ✅

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • example.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "example.com"

See Network Configuration for more information.

🛡️ Egress verdict from Smoke Copilot Network Isolation

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ Smoke Claude passed

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • api.anthropic.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "api.anthropic.com"

See Network Configuration for more information.

Generated by Smoke Claude for #8838

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

❌ Smoke Copilot BYOK reports failed to deliver outputs. BYOK mode investigation needed...

🔑 BYOK report filed by Smoke Copilot BYOK

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Smoke Cloud Hypervisor reports failed. Cloud Hypervisor + Copilot failed.

Cloud Hypervisor + Copilot smoke test by Smoke Cloud Hypervisor

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Chroot tests passed! Smoke Chroot - All security and functionality tests succeeded.

Tested by Smoke Chroot

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅

📡 OTel tracing validated by Smoke OTel Tracing

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

❌ Smoke Copilot BYOK AOAI (api-key) reports failed. AOAI BYOK (api-key) mode investigation needed...

🔑 BYOK (AOAI api-key) report filed by Smoke Copilot BYOK AOAI (api-key)

Copilot AI commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

@copilot address review feedback

Addressed in 4a8317b: Cloud Hypervisor is back on test-cloud-hypervisor, and the primary Docker SBX ready-for-aw smoke workflow plus its post-processing/tests are restored.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions github-actions Bot added the smoke-copilot-network-isolation Copilot network-isolation egress smoke test label Sep 21, 2026
@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Smoke Cloud Hypervisor reports failed. Cloud Hypervisor + Copilot failed.

Cloud Hypervisor + Copilot smoke test by Smoke Cloud Hypervisor

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓

🔑 BYOK report filed by Smoke Copilot BYOK

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

❌ Smoke Gemini reports failed. Facets need polishing...

💎 Faceted by Smoke Gemini

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅

📡 OTel tracing validated by Smoke OTel Tracing

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

🛡️ Smoke Copilot Network Isolation confirmed the egress allowlist is enforced. ✅

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • example.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "example.com"

See Network Configuration for more information.

🛡️ Egress verdict from Smoke Copilot Network Isolation

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Chroot tests passed! Smoke Chroot - All security and functionality tests succeeded.

Tested by Smoke Chroot

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

❌ Smoke Copilot BYOK AOAI (api-key) reports failed. AOAI BYOK (api-key) mode investigation needed...

🔑 BYOK (AOAI api-key) report filed by Smoke Copilot BYOK AOAI (api-key)

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Security Guard has started processing this pull request

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

🔌 Smoke Services — All services reachable! ✅

🔌 Service connectivity validated by Smoke Services

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤

📰 BREAKING: Report filed by Smoke Copilot

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟

Warning

Firewall blocked 7 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • msfeed25.pkgs.visualstudio.com
  • update.googleapis.com
  • www.google.com
  • www.gstatic.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "msfeed25.pkgs.visualstudio.com"
    - "update.googleapis.com"
    - "www.google.com"
    - "www.gstatic.com"

See Network Configuration for more information.

🔮 The oracle has spoken through Smoke Codex

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ Build Test Suite completed successfully!

Generated by Build Test Suite for #8838

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ Smoke Claude passed

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • api.anthropic.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "api.anthropic.com"

See Network Configuration for more information.

Generated by Smoke Claude for #8838

@github-actions

Copy link
Copy Markdown
Contributor

✅ Smoke Test: Copilot BYOK (Direct) Mode

Test Result
GitHub.com Connectivity ✅ HTTP 200
File Write/Read ✅ Exists
BYOK Inference ✅ Working
MCP GitHub API ✅ Connected

Running in direct BYOK mode (COPILOT_PROVIDER_API_KEY) via api-proxy → api.githubcopilot.com

Overall Status: ✅ PASS

🔑 BYOK report filed by Smoke Copilot BYOK
Add label ready-for-aw to run again

@lpcox
lpcox deployed to aoai-model September 21, 2026 16:49 — with GitHub Actions Active
@github-actions

Copy link
Copy Markdown
Contributor

EGRESS_RESULT allow=pass deny=pass

✅ Allowed domain (api.github.com) reachable — allowed=200
✅ Blocked domain (example.com) denied — CONNECT tunnel failed, response 403

Overall status: PASS

@lpcox network isolation egress enforcement working as expected.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • example.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "example.com"

See Network Configuration for more information.

🛡️ Egress verdict from Smoke Copilot Network Isolation
Add label ready-for-aw to run again

@lpcox
lpcox deployed to aoai-model September 21, 2026 16:49 — with GitHub Actions Active
@github-actions

Copy link
Copy Markdown
Contributor

Smoke Test: Copilot Engine

Overall: PASS

cc @lpcox

📰 BREAKING: Report filed by Smoke Copilot
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor

Smoke Test: Services Connectivity

  • ✅ Redis PING → PONG
  • ✅ PostgreSQL pg_isready → accepting connections
  • ✅ PostgreSQL SELECT 1 → 1

Overall: PASS

🔌 Service connectivity validated by Smoke Services
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor

Smoke Test: Claude Engine Validation

Check Result
API ✅ PASS
gh CLI ✅ PASS
File ✅ PASS

Overall result: PASS

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • api.anthropic.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "api.anthropic.com"

See Network Configuration for more information.

Generated by Smoke Claude for #8838 · claude · haiku45 · 55.8 AIC · ⊞ 4.7K · ◷
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor

Chroot Version Comparison Results

Runtime Host Version Chroot Version Match?
Python Python 3.12.14 Python 3.12.14 ✅ YES
Node.js v24.21.0 v2.98.0 ❌ NO
Go go1.22.12 go1.22.12 ✅ YES

Overall: FAILED — Node.js version mismatch between host and chroot environments. The smoke-chroot label was not added since not all tests passed.

Tested by Smoke Chroot
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor

Smoke Test: API Proxy OpenTelemetry Tracing

# Scenario Result
1 OTEL module loading (otel.js) ✅ Loaded successfully. isEnabled: true. Exports: startRequestSpan, setTokenAttributes, setBudgetAttributes, endSpan, endSpanError, shutdown, isEnabled, _provider, _ProxyAwareOtlpExporter, _FileSpanExporter, _FanOutSpanExporter, _parseEndpoints, _parseOtlpHeaders, _buildResourceSpans, _createOtlpWorkloadIdentity
2 api-proxy OTEL test suite ✅ 3 suites / 68 tests passed (0 failed). Note: the workflow step uses deprecated --testPathPattern, which Jest 30 rejects as an unrecognized CLI flag (prints a deprecation error, exits 0 due to `
3 Env var forwarding ✅ env-passthrough.ts forwards GITHUB_AW_OTEL_TRACE_ID / GITHUB_AW_OTEL_PARENT_SPAN_ID to the agent; api-proxy-env-config.ts forwards GH_AW_OTLP_ENDPOINTS, OTEL_EXPORTER_OTLP_ENDPOINT, and both trace-context vars to api-proxy
4 token-tracker OTEL hook ✅ token-tracker-http.js contains the onUsage callback integration point
5 OTEL diagnostics (this run) ⚠️ No otel.jsonl span file found under api-proxy logs (OTEL collector endpoint not configured for this smoke run), but token-usage.jsonl shows 12 real LLM request records — confirming graceful degradation: api-proxy processes requests normally with tracing simply inactive when unconfigured, as expected

Overall: 4/5 fully pass, 1 expected-pending (no OTLP endpoint configured in this environment) — no unexpected failures. One minor issue: the "Run api-proxy OTEL tests" step silently no-ops due to a deprecated --testPathPattern flag; suggest switching to --testPathPatterns so the suite actually executes in CI.

📡 OTel tracing validated by Smoke OTel Tracing
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor

🏗️ Build Test Suite Results

Ecosystem Project Build/Install Tests Status
Bun elysia ✅ 1/1 passed ✅ PASS
Bun hono ✅ 1/1 passed ✅ PASS
C++ fmt ✅ N/A ✅ PASS
C++ json ✅ N/A ✅ PASS
Deno oak N/A 1/1 passed ✅ PASS
Deno std N/A 1/1 passed ✅ PASS
.NET hello-world ✅ N/A ✅ PASS
.NET json-parse ✅ N/A ✅ PASS
Go color ✅ ok ✅ PASS
Go env ✅ ok ✅ PASS
Go uuid ✅ ok ✅ PASS
Java gson ✅ 1/1 passed ✅ PASS
Java caffeine ✅ 1/1 passed ✅ PASS
Node.js clsx ✅ passed ✅ PASS
Node.js execa ✅ passed ✅ PASS
Node.js p-limit ✅ passed ✅ PASS
Rust fd ✅ 1/1 passed ✅ PASS
Rust zoxide ✅ 1/1 passed ✅ PASS

Overall: 8/8 ecosystems passed — PASS

Notes:

  • All 8 repos cloned successfully; all 18 test projects built/installed and passed their tests.
  • Java's default ~/.m2/repository was not writable in this sandbox (pre-existing root-owned ~/.m2 directory, no privilege escalation available/attempted). Compile/test were rerun with -Dmaven.repo.local=/tmp/gh-aw/agent/m2repo to work around this environment limitation; both gson and caffeine then compiled and passed (1/1 tests each). This is a local sandbox artifact, not a firewall/network issue — proxy settings (squid-proxy:3128) were applied correctly per JAVA_TOOL_OPTIONS.

Generated by Build Test Suite for #8838 · copilot · auto · 51.6 AIC · ⊞ 11.8K · ◷
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor

Smoke Test

Fix Cloud Hypervisor trusted artifact EACCES on hosted runners
Refactor filtered model alias snapshots
GitHub reads/discussion ✅
Playwright ✅
File/bash ✅
Build ✅
Overall: PASS

Warning

Firewall blocked 7 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • msfeed25.pkgs.visualstudio.com
  • update.googleapis.com
  • www.google.com
  • www.gstatic.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "msfeed25.pkgs.visualstudio.com"
    - "update.googleapis.com"
    - "www.google.com"
    - "www.gstatic.com"

See Network Configuration for more information.

🔮 The oracle has spoken through Smoke Codex
Add label ready-for-aw to run again

@lpcox
lpcox merged commit 7e6e105 into main Sep 21, 2026
144 of 150 checks passed
@lpcox
lpcox deleted the replace-docker-sbx-ci branch September 21, 2026 21:31

This branch was successfully deployed

1 active deployment
aoai-model — 34ef1df7 Deployed Sep 21, 2026 by lpcox via conclusion #1711
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants