Skip to content

feat(instances): KIND and HOST columns, and --include-community - #11

Open
heydryft wants to merge 2 commits into
mainfrom
feat/machine-kind
Open

heydryft wants to merge 2 commits into
mainfrom
feat/machine-kind

Conversation

@heydryft

@heydryft heydryft commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Adds the machine's kind and who hosts it to the instance views. Pairs with runcrate_app #303 (container machine kind and community host tier, RUN-625).

  • instances list and instances types: KIND (VM, Bare metal, Container, from deployment_type; anything else shown as sent, nothing as -) and HOST (Datacenter or Community, from host_tier; absent reads as Datacenter, since every machine before community hosts ran in one).
  • instances info: Kind: and Host: lines.
  • instances types --include-community and instances create --include-community (also on instance schedules): community hosts are listed and launched only when asked for, as the API does (?include_community=true, body include_community: true). Job schedules refuse the flag.

Proof: go vet ./... and go test ./... green (TestListInstanceTypes now checks community types appear only with the opt-in). Smoke against a fake API: list showed Datacenter / Community / Datacenter (absent host_tier), types without the flag listed only the datacenter type and with it both, info printed Host: Community, and create sent "include_community":true.

Refs: RUN-625

A KIND column in instances list and instances types, and Kind in
instances info, read from the API's deployment_type.

Refs: RUN-625
instances list and types gain a HOST column (Datacenter or Community, from the API's host_tier;
absent reads as Datacenter), instances info a Host line. types and create take
--include-community: community hosts are listed and launched only when asked for, as the API
does. Job schedules refuse the flag. Also puts stopReasonText's doc comment back on it.

Refs: RUN-625
@heydryft heydryft changed the title feat(instances): show each machine's kind (VM, Bare metal, Container) feat(instances): KIND and HOST columns, and --include-community Oct 25, 2026
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