Skip to content

Expands cluster commands to support create, update, delete#722

Open
mcncl wants to merge 3 commits intomainfrom
bm/cluster_expansion
Open

Expands cluster commands to support create, update, delete#722
mcncl wants to merge 3 commits intomainfrom
bm/cluster_expansion

Conversation

@mcncl
Copy link
Copy Markdown
Contributor

@mcncl mcncl commented Mar 27, 2026

Description

Currently we only support read actions in the CLI, but we can/should expand those so that all cluster actions can be performed.

This adds:

  • delete
  • create
  • update

We've also added tests for cluster commands.

Changes

Implemented commands for the following, using go-buildkite;

  • create
  • update
  • delete

Expanded test coverage to account for the cluster command use.

Testing

  • Tests have run locally (with go test ./...)
  • Code is formatted (with go fmt ./...)

Disclosures / Credits

AI was used for this; it generated the code based off of the existing commands available and a reference to go-buildkite, as well as guidance in how we wish to use persistent flags, such as --cluster-uuid. I have reviewed the generated code.

Currently we only support _read_ actions in the CLI, but we can/should expand those so that all cluster actions can be performed.

This adds:

- `delete`
- `create`
- `update`

We've also added tests for cluster commands.
@mcncl mcncl requested review from a team as code owners March 27, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant