test: split Cloud Hypervisor runtime backend suites - #8024
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The refactor preserves coverage and behavior, with only a non-blocking indentation issue.
Pull request overview
Splits Cloud Hypervisor backend tests into focused suites without changing production behavior.
Changes:
- Extracts environment/path mapping tests into a standalone file.
- Groups lifecycle tests by feature area.
File summaries
| File | Description |
|---|---|
src/cloud-hypervisor-runtime-backend.test.ts |
Organizes lifecycle tests into nested suites. |
src/cloud-hypervisor-runtime-backend.env-mapping.test.ts |
Adds isolated mapping and compatibility coverage. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 1
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| eligibilitySpy.mockRestore(); | ||
| }); | ||
|
|
||
| describe('startup and preflight', () => { |
|
@copilot address review feedback |
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Applied the nested-suite indentation convention throughout |
|
✅ Copilot review passed with no inline comments. @copilot Add the |
|
🛡️ Smoke Copilot Network Isolation confirmed the egress allowlist is enforced. ✅ Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
To allow these domains, add them to the network:
allowed:
- defaults
- "example.com"See Network Configuration for more information.
|
|
✅ Smoke Claude passed Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
To allow these domains, add them to the network:
allowed:
- defaults
- "api.anthropic.com"See Network Configuration for more information.
|
|
✅ Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓
|
|
❌ Contribution Check failed. Please review the logs for details.
|
|
❌ Smoke Gemini reports failed. Facets need polishing...
|
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 Warning Firewall blocked 7 domainsThe following domains were blocked by the firewall during workflow execution:
To allow these domains, add them to the network:
allowed:
- defaults
- "accounts.google.com"
- "android.clients.google.com"
- "clients2.google.com"
- "contentautofill.googleapis.com"
- "msfeed25.pkgs.visualstudio.com"
- "www.google.com"
- "www.gstatic.com"See Network Configuration for more information.
|
|
🔌 Smoke Services — All services reachable! ✅
|
|
✅ Smoke Copilot BYOK AOAI (Entra) completed. Copilot AOAI BYOK (Entra) mode operational. 🔓
|
|
✅ Build Test Suite completed successfully!
|
|
❌ Smoke Copilot BYOK AOAI (api-key) reports failed. AOAI BYOK (api-key) mode investigation needed...
|
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤
|
|
📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅
|
|
🚀 Security Guard has started processing this pull request |
|
📰 VERDICT: Smoke Docker Sbx has concluded. All systems operational. This is a developing story. 🎤
|
|
Chroot tests passed! Smoke Chroot - All security and functionality tests succeeded.
|
|
Smoke Test: Copilot BYOK (Direct Mode) ✅ PASS
Running in direct BYOK mode via
|
Smoke Test Results (Copilot Engine)
Overall: PASS cc
|
|
EGRESS_RESULT allow=pass deny=pass ✅ Allowed domain (github.com) reachable: Overall: PASS cc Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
To allow these domains, add them to the network:
allowed:
- defaults
- "example.com"See Network Configuration for more information.
|
Smoke Test: Claude Engine Validation
Overall result: PASS Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
To allow these domains, add them to the network:
allowed:
- defaults
- "api.anthropic.com"See Network Configuration for more information.
|
|
Smoke Test Results: GitHub Actions Services Connectivity
Overall: FAIL —
|
Smoke Test: API Proxy OTEL Tracing — Results
All scenarios pass — no unexpected failures.
|
|
Smoke Test: Docker Sbx — PR #8024 "test: split Cloud Hypervisor runtime backend suites"
Overall: PASS cc
|
🏗️ Build Test Suite Results
Overall: 8/8 ecosystems passed — PASS Notes:
|
|
Smoke test: FAIL Warning Firewall blocked 7 domainsThe following domains were blocked by the firewall during workflow execution:
To allow these domains, add them to the network:
allowed:
- defaults
- "accounts.google.com"
- "android.clients.google.com"
- "clients2.google.com"
- "contentautofill.googleapis.com"
- "msfeed25.pkgs.visualstudio.com"
- "www.google.com"
- "www.gstatic.com"See Network Configuration for more information.
|
|
test: validate shared-gateway enclave smoke
|
Chroot Version Comparison Results
Overall: FAILED — Node.js version differs between host and chroot environment (
|
The Cloud Hypervisor runtime backend tests combined boot lifecycle, readiness, execution, diagnostics, and pure environment mapping coverage in one flat suite. This separates the standalone mapping cases and adds feature-oriented navigation to the backend suite.
Environment and path mapping
cloud-hypervisor-runtime-backend.env-mapping.test.tsfor isolated guest-environment and compatibility coverage.Runtime backend lifecycle
describeblocks: