Repository navigation
Sanitize Cloud Hypervisor smoke harness failure output - #10123
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Failures without startup diagnostic records still need actionable, non-sensitive context.
1 open finding
What changed in this PR
Updates AWF’s Cloud Hypervisor live smoke harness to suppress sensitive rejection details.
Changes:
- Replaces raw error logging with fixed output while preserving failure status.
- Adds sentinel-based regression coverage for four rejection variants.
| File | Description |
|---|---|
scripts/ci/cloud-hypervisor-enclave-live-smoke.test.ts |
Tests output suppression and failure status. |
scripts/ci/cloud-hypervisor-enclave-live-smoke.js |
Adds and connects the sanitized failure handler. |
🧠 Review effort: Max
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| 'Live enclave acceptance failed; raw error details were suppressed. ' | ||
| + 'Review any AWF_HOST_STARTUP_DIAGNOSTIC records above.', |
|
@copilot address review feedback |
Added allowlisted stage labels for each credential prerequisite and the later acceptance phases, with an |
|
✅ Copilot review passed with no inline comments. @copilot Add the |
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (1 files)
Coverage comparison generated by |
|
✅ Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓
|
|
🛡️ Smoke Copilot Network Isolation confirmed the egress allowlist is enforced. ✅
|
|
🚀 Security Guard has started processing this pull request |
|
🔌 Smoke Services — All services reachable! ✅
|
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤
|
|
Smoke Cloud Hypervisor completed. Cloud Hypervisor + Copilot passed.
|
|
📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅
|
|
🔑 Smoke Copilot BYOK AOAI (api-key) is testing Azure OpenAI BYOK (api-key) mode on this pull request... |
|
💎 Smoke Gemini is crystallizing results on this pull request... |
|
✅ Smoke Claude passed
|
|
✅ Build Test Suite completed successfully!
|
|
Chroot tests passed! Smoke Chroot - All security and functionality tests succeeded.
|
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟
|
|
🪪 Smoke Copilot BYOK AOAI (Entra) is testing Azure OpenAI BYOK (Entra / GitHub OIDC) mode on this pull request... |
|
Cloud Hypervisor + Copilot smoke test
|
|
EGRESS_RESULT allow=pass deny=pass
Overall: PASS. cc @lpcox
|
Smoke Test: Copilot BYOK (Direct) Mode ✅Test Results:
Status: PASS | Mode: Direct BYOK (COPILOT_PROVIDER_API_KEY)
|
|
Smoke Copilot
Overall: PASS — @lpcox
|
|
Services smoke test: ✅ Redis PONG, ✅ pg_isready, ✅ SELECT 1. Overall: PASS
|
Smoke Test: Claude Engine Validation
Overall result: PASS
|
|
OTEL smoke test
|
Chroot version comparison
Node.js doesn't match. The chroot reported
|
🏗️ Build Test Suite Results
Overall: 8/8 ecosystems passed — PASS Notes: the Bun/Deno install scripts were blocked by sandbox permissions, so Bun and Deno were installed via npm instead. The .NET and Maven runs needed writable cache and runtime dirs under /tmp/gh-aw/agent. Default locations failed, but the runs passed once the dirs were changed.
|
|
chore: pin enclave smoke to AWF v0.28.61 — ✅
|

The live smoke harness printed raw rejection messages, allowing sensitive data to reach console output (CodeQL alert 1142). This change replaces that path with a bounded diagnostic while preserving nonzero failure status.
main()rejections through a handler that does not inspect the rejection value:Errormessages, nested causes, plain objects, and string rejections.