ci(canary): add two-step gateway start + sandbox create canary test#325
Merged
ci(canary): add two-step gateway start + sandbox create canary test#325
Conversation
Now that OPENSHELL_GATEWAY_HOST is supported in auto-bootstrap, remove the explicit `gateway start` step. The canary now tests the real zero-to-sandbox user path: a single `sandbox create` that auto-bootstraps the gateway, creates a sandbox, and runs a command.
Add a parallel canary job that explicitly tests the gateway start followed by sandbox create flow, separate from the existing auto-bootstrap path.
The gateway container is a Docker sibling, not in the CI container's network namespace. Without --gateway-host the metadata stores 127.0.0.1 which is unreachable. The auto-bootstrap path reads OPENSHELL_GATEWAY_HOST from the env, but gateway start requires it as a CLI flag.
Replace two separate jobs (canary-auto-bootstrap, canary-two-step) with a single job using arch x mode matrix. The only difference between modes is a conditional 'Start gateway' step for two-step mode.
drew
added a commit
that referenced
this pull request
Mar 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a two-step canary test (
gateway start→sandbox create) that runs in parallel with the existing auto-bootstrap canary. Consolidates both test modes into a single job using anarch × modematrix to eliminate duplication.Changes
modedimension (auto-bootstrap,two-step) to the canary matrix, producing 4 jobs (2 arch × 2 mode)Start gatewaystep is conditionally run only fortwo-stepmode viaif: matrix.mode == 'two-step'--gateway-host "$OPENSHELL_GATEWAY_HOST"togateway start— required because the gateway container is a Docker sibling, not in the CI container's network namespace (without it, metadata stores127.0.0.1which is unreachable)sandbox create --no-keep --no-tty -- echo "hello world"with grep validationTesting
Start gatewaystep is correctly skipped (-) for auto-bootstrap jobsChecklist