Skip to content

feat: add Docker sandbox smoke tests for Claude, Codex, and build workloads#6145

Merged
lpcox merged 4 commits into
mainfrom
docker-sbx-smoke-tests
Jul 12, 2026
Merged

feat: add Docker sandbox smoke tests for Claude, Codex, and build workloads#6145
lpcox merged 4 commits into
mainfrom
docker-sbx-smoke-tests

Conversation

@lpcox

@lpcox lpcox commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds three new smoke test workflows for the Docker sandbox (default AWF mode, no gVisor) to provide a comparison baseline and ensure Docker sandbox continues working across engines and workload types.

New Workflows

Workflow Engine What it tests
smoke-docker-sbx-claude.md Claude (haiku-4-5) Docker sbx + Claude: MCP, connectivity, file I/O, network isolation
smoke-docker-sbx-codex.md Codex (gpt-5.4) Docker sbx + Codex: MCP, connectivity, file I/O, network isolation
smoke-docker-sbx-build-test.md Copilot Docker sbx + real build workloads: npm ci/build, Jest tests, Go build & test

Design

These mirror the gVisor smoke tests (smoke-gvisor-claude, smoke-gvisor-codex, smoke-gvisor-build-test) to allow direct comparison of Docker sandbox vs gVisor behavior. Each has its own label_command trigger for targeted testing.

Note

Lock files not yet compiled — will need gh aw compile before these can run.

…kloads

Add three new smoke test workflows for the Docker sandbox (default AWF mode):

- smoke-docker-sbx-claude.md: Docker sbx + Claude engine (haiku-4-5)
- smoke-docker-sbx-codex.md: Docker sbx + Codex engine (gpt-5.4)
- smoke-docker-sbx-build-test.md: Docker sbx + Node.js/Go build & test workloads

These mirror the gVisor smoke tests to provide a comparison baseline and
ensure Docker sandbox continues to work across engines and workloads.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 12, 2026 16:01

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.

Pull request overview

Adds Docker sandbox smoke-test baselines across Claude, Codex, and build workloads.

Changes:

  • Adds engine-specific connectivity, MCP, file I/O, and isolation tests.
  • Adds Node.js and Go build/test validation.
  • Adds safe-output reporting and token-usage checks.
Show a summary per file
File Description
.github/workflows/smoke-docker-sbx-codex.md Adds the Codex smoke workflow.
.github/workflows/smoke-docker-sbx-claude.md Adds the Claude smoke workflow.
.github/workflows/smoke-docker-sbx-build-test.md Adds multi-ecosystem build smoke tests.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 3/3 changed files
  • Comments generated: 5
  • Review effort level: Medium

@@ -0,0 +1,263 @@
---
Comment on lines +94 to +101
echo "::group::npm ci"
npm ci 2>&1 | tail -5
NPM_CI_EXIT=$?
echo "::endgroup::"

echo "::group::npm run build"
npm run build 2>&1 | tail -5
NPM_BUILD_EXIT=$?
Comment on lines +114 to +116
echo "::group::npm test"
npx jest --ci --forceExit --maxWorkers=2 --testPathPattern='squid-config|docker-manager|logger' 2>&1 | tail -20
TEST_EXIT=$?
Comment on lines +129 to +131
echo "::group::Clone Go test repo"
git clone --depth 1 https://github.com/Mossaka/gh-aw-firewall-test-go.git /tmp/test-go 2>&1 | tail -3
CLONE_EXIT=$?
id: net-check
run: |
echo "::group::Blocked domain test"
BLOCKED_CODE=$(curl -s -o /dev/null -w "%{http_code}" --max-time 5 https://example.com 2>/dev/null || echo "000")
@github-actions

Copy link
Copy Markdown
Contributor

✅ Copilot review passed with no inline comments.

@lpcox Add the ready-for-aw label to this PR to trigger agentic CI smoke tests.

@lpcox lpcox merged commit 1f435b6 into main Jul 12, 2026
22 checks passed
@lpcox lpcox deleted the docker-sbx-smoke-tests branch July 12, 2026 16:16
@github-actions

Copy link
Copy Markdown
Contributor

✅ Coverage Check Passed

Overall Coverage

Metric Base PR Delta
Lines 98.30% 98.33% 📈 +0.03%
Statements 98.23% 98.26% 📈 +0.03%
Functions 99.07% 99.07% ➡️ +0.00%
Branches 93.85% 93.85% ➡️ +0.00%
📁 Per-file Coverage Changes (1 files)
File Lines (Before → After) Statements (Before → After)
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants