Commit Graph
7 Commits
Author SHA1 Message Date
Drew Newberry e890b68e13 feat(cli): add 'doctor check' subcommand for system prerequisite validation
Adds 'openshell doctor check' that validates Docker connectivity before
gateway setup. Reports pass/fail with version info and DOCKER_HOST
status, giving users a quick way to verify their environment.
2026-03-14 23:56:17 -07:00
Drew Newberry 15e0a32feb feat(bootstrap): add Docker preflight check before gateway startup
Fail fast with actionable guidance when Docker is not installed, not
running, or unreachable instead of starting a multi-minute deploy that
times out with a cryptic error.

- Add check_docker_available() preflight that pings the Docker daemon
  before any gateway work begins
- Integrate into both gateway start and sandbox create auto-bootstrap
- Probe alternative socket paths (~/.orbstack, ~/.colima) and suggest
  DOCKER_HOST when no default socket is found
- Expand FAILURE_PATTERNS to match socket-not-found errors
- Update docs to list supported Docker-compatible runtimes
- Add e2e tests verifying fast failure and error message quality
2026-03-14 23:43:19 -07:00
Drew Newberry 4b23a7e242 feat(bootstrap): restore per-gateway Docker bridge networks (#303)
PR #281 removed the shared openshell-cluster Docker network in favor of
the default bridge. This restores custom bridge networking but makes each
gateway use its own isolated network named openshell-cluster-{name},
matching the existing container/volume naming convention.

Changes:
- Add network_name() to constants.rs for per-gateway network naming
- Add ensure_network() with retry/backoff and force_remove_network()
  parameterized by network name instead of a global constant
- Attach containers to their per-gateway network via network_mode
- Disconnect and remove the network during gateway destroy
- Wire ensure_network() into the deploy flow before ensure_volume()
- Update architecture docs to reflect per-gateway network isolation
2026-03-14 13:36:06 -07:00
Drew Newberry 1ba798f0fb ci(release): pin OPENSHELL_IMAGE_TAG to version for tagged releases (#297) 2026-03-13 19:28:35 -07:00
Drew Newberry 19c3230267 feat(ci): add automated release workflow with patch version bumping (#284) 2026-03-13 17:44:22 -07:00
Drew Newberry 20c32716ad fix(bootstrap): detect missing sandbox supervisor binary during gateway health check (#281) 2026-03-13 15:07:50 -07:00
Drew Newberry fbd93a4632 refactor: rename navigator- crate prefix to openshell- (#277) 2026-03-13 02:02:18 -07:00