chore: remove deprecated sf clusters command#238
Merged
sigmachirality merged 1 commit intomainfrom Jan 20, 2026
Merged
Conversation
The clusters feature has been fully deprecated and is now being removed. This removes: - All cluster command implementations (list, users add/rm/list, config) - Kubeconfig management utilities - Cluster-related types and mocks - Associated tests
Changed Files
|
Contributor
Greptile SummaryCleanly removes the deprecated clusters feature from the CLI, deleting approximately 1,817 lines of code across 11 files. What was removed:
Changes made:
Verification:
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant CLI as sf CLI
participant Index as src/index.ts
participant Program as Commander Program
Note over User,Program: BEFORE (clusters feature existed)
User->>CLI: sf clusters list
CLI->>Index: Load and register commands
Index->>Index: import registerClusters
Index->>Program: registerClusters(program)
Program->>Program: Register clusters command tree
Program-->>User: Execute clusters command
Note over User,Program: AFTER (clusters feature removed)
User->>CLI: sf clusters list
CLI->>Index: Load and register commands
Index->>Program: Skip registerClusters (removed)
Program-->>User: Error: unknown command 'clusters'
Note over Index: Removed imports and calls:<br/>- registerClusters import<br/>- registerClusters(program) call
Note over Program: Remaining commands:<br/>- login, buy, extend, orders<br/>- contracts, sell, balance<br/>- tokens, upgrade, scale<br/>- me, vm, nodes, zones
|
sigmachirality
pushed a commit
that referenced
this pull request
Jan 20, 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.
The clusters feature has been fully deprecated and is now being removed.
This removes: