Skip to content

refactor(cli): remove gateway lifecycle management#1221

Merged
drew merged 6 commits into
mainfrom
remove-gateway-management
May 7, 2026
Merged

refactor(cli): remove gateway lifecycle management#1221
drew merged 6 commits into
mainfrom
remove-gateway-management

Conversation

@drew
Copy link
Copy Markdown
Collaborator

@drew drew commented May 6, 2026

Summary

Remove CLI-owned gateway service lifecycle commands and bootstrap fallback so package/systemd/Helm flows own gateway start/stop/destruction.

Related Issue

N/A

Changes

  • Removed openshell gateway start|stop|destroy, sandbox auto-bootstrap fallback, and the old doctor LLM prompt.
  • Added openshell gateway remove [name] for local registration cleanup.
  • Pruned openshell-bootstrap to registration/auth/PKI/build helpers and removed Docker runtime/image push bootstrap code.
  • Updated docs, architecture notes, skills, RPM troubleshooting, man pages, and the RPM spec for package-owned gateway lifecycle.

Testing

  • mise run pre-commit passes
  • Unit tests added/updated
  • E2E tests added/updated (if applicable)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

@drew drew requested review from a team, derekwaynecarr, maxamillion and mrunalp as code owners May 6, 2026 23:19
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2026

TaylorMutch
TaylorMutch previously approved these changes May 6, 2026
@johntmyers
Copy link
Copy Markdown
Collaborator

@drew drew added the test:e2e Requires end-to-end coverage label May 7, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

Label test:e2e applied for 2d320c4. Open the existing run and click Re-run all jobs to execute with the label set. The E2E Gate check on this PR will flip green automatically once the run finishes.

@drew drew added the test:e2e-gpu Requires GPU end-to-end coverage label May 7, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

Label test:e2e-gpu applied for c035404. Open the existing run and click Re-run all jobs to execute with the label set. The E2E Gate check on this PR will flip green automatically once the run finishes.

@drew drew self-assigned this May 7, 2026
@drew drew force-pushed the remove-gateway-management branch from b814313 to 0cb254f Compare May 7, 2026 16:03
@drew drew merged commit 70a0f6c into main May 7, 2026
38 of 41 checks passed
@drew drew deleted the remove-gateway-management branch May 7, 2026 16:54
rodbutters added a commit to iamaible/OpenShell that referenced this pull request May 20, 2026
# Conflicts:
#	crates/openshell-server/src/cli.rs
#	deploy/docker/Dockerfile.gateway
#	deploy/docker/Dockerfile.supervisor
#	deploy/helm/openshell/values.yaml

fix(deploy): merge upstream, remove cluster image, parameterize registry

- Resolve merge conflicts from main merge:
  - cli.rs: migrate Args -> Cli, UNSPECIFIED -> LOCALHOST to match upstream
  - values.yaml: keep docker.io/aible registry and pinned tag, adopt
    upstream doc comments for Helm docs generation
- Remove deprecated cluster image artifacts (Dockerfile.cluster,
  cluster-entrypoint.sh, cluster-healthcheck.sh) following upstream
  removal in PR NVIDIA#390 and full lifecycle deprecation in PR NVIDIA#1221
- Parameterize docker-build.yml with image-registry input (default:
  ghcr.io/nvidia/openshell); fork callers pass docker.io/aible to route
  builds to the aible registry; login step selects REGISTRY_TOKEN vs
  GITHUB_TOKEN based on registry hostname
- Clean up docker-build-local.sh: remove cluster target, CLUSTER_IMAGE
  and CLUSTER_BASE_IMAGE env vars, and build_cluster function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:e2e Requires end-to-end coverage test:e2e-gpu Requires GPU end-to-end coverage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants