Skip to content

Docker smoke can exit 13 during the initial HTTP readiness await #1356

Description

@luokerenx4

Evidence

The Docker Smoke image build succeeds, then the host Node process exits 13 about 300 ms after creating the container, before any Workspace acceptance assertion:

Warning: Detected unsettled top-level await at scripts/docker-runtime-smoke.mjs:420
const version = await waitForHttp(baseUrl)

Observed again in run 33901164137 (attempt 1), during test-only release correction #1355. A matching earlier occurrence during #1349 passed on unchanged-source retry, while fresh local OrbStack acceptance and other hosted runs passed. This is intermittent, not evidence that Runtime readiness was actually evaluated and failed.

Suspected boundary

scripts/docker-runtime-smoke.mjs waitForHttp -> fetchJson uses host Node fetch for the first /api/version probe. The retry sleep is referenced, but a pending initial fetch may leave Node without a live event-loop handle. Root cause remains unconfirmed. Inspect the host Node/Undici lifecycle and container logs; distinguish a probe-process failure from actual container startup failure.

Deferred scope

The current release is retrying only the failed Docker job, preserving other accepted evidence. Investigate a bounded deterministic probe/process-lifetime fix and regression coverage separately; do not remove readiness checks, hide the error, or claim the container passed when the host exits early.

Run: https://github.com/TraderAlice/OpenAlice/actions/runs/33901164137
Earlier promotion: #1349
Test-only correction: #1355

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions