Skip to content

test(ai-autopilot): sandboxed boot-and-serve — serveCheck × DockerRunner E2E#143

Merged
suleimansh merged 1 commit into
mainfrom
suleimansh/test/docker-serve-e2e
Jul 2, 2026
Merged

test(ai-autopilot): sandboxed boot-and-serve — serveCheck × DockerRunner E2E#143
suleimansh merged 1 commit into
mainfrom
suleimansh/test/docker-serve-e2e

Conversation

@suleimansh

Copy link
Copy Markdown
Member

Follow-up to #142 (DockerRunner). Proves the production-grade boot-and-serve check works through the sandbox, not just the host.

serveCheck is run end-to-end against a real container:

  • happy path — a real npm install, start the dev server, preview (readiness probed inside the container), fetch /health → empty-blockers verdict.
  • failure modes each surface as a blocker: a 5xx response, a server that exits before serving, and a failing install (short-circuits before anything is served).

This is what the #109 sandboxing effort was for: the full Bootstrap production-grade loop can now run untrusted, agent-authored code in a container and honestly verify it serves. Test-only (no changeset); skips cleanly with no daemon so CI stays green. Full suite 239/239, no leaked containers.

…ner E2E

Exercises serveCheck end-to-end against a real container: a real npm
install, start the dev server, preview (readiness probed inside the
container), fetch a health path -> empty-blockers verdict. Plus the
failure modes (5xx, exits-before-serving, install-failure) each surface
as a blocker. Proves the production-grade check works through the
DockerRunner sandbox, not just the host. Skips cleanly with no daemon.

Test-only, no changeset.
@suleimansh suleimansh added enhancement New feature or request priority: medium Worth doing, not urgent labels Jul 2, 2026
@suleimansh suleimansh self-assigned this Jul 2, 2026
@suleimansh suleimansh merged commit 98233f1 into main Jul 2, 2026
2 checks passed
@suleimansh suleimansh deleted the suleimansh/test/docker-serve-e2e branch July 2, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority: medium Worth doing, not urgent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant