Repository navigation
CX-56116 extend infra command - #236
Merged
Merged
Conversation
liviu-ilea
force-pushed
the
CX-56116-extend-infra-command
branch
from
September 25, 2026 06:05
be30a73 to
7b1384c
Compare
liviu-ilea
marked this pull request as ready for review
September 25, 2026 15:23
hayaa
reviewed
Oct 4, 2026
hayaa
reviewed
Oct 4, 2026
hayaa
reviewed
Oct 4, 2026
liviu-ilea
force-pushed
the
CX-56116-extend-infra-command
branch
from
October 5, 2026 12:57
c2cf5f9 to
2e8eaf4
Compare
hayaa
approved these changes
Oct 7, 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.
What this does
Brings
cx infra resourcesup to date with the infrastructure API.New API surface (CX-56116)
listrows now carryhealth_policies, so you can see which policy made a resource critical.health-historytakes several resource ids in one call. It moved toPOST /v1/health-history; the old per-idGETis deprecated server side.raw-datatakes--timestampto read a configuration as it stood in the past, and reports which version it returned.config-changes(which resources changed) andconfig-diff(what changed, field by field).The
cx-infraskill is updated for all of it, and rewritten to be shorter: about 1,140 words, down from 1,830 on master. It drops what--helpalready shows and keeps what an agent can't learn from the CLI (API behaviour, output shapes, outcomes).Breaking changes
These apply to
-o jsonand-o toonalike, since both encode the same rows.raw-datanow wraps the document instead of printing it bare. Read.raw_datawhere you read the top level before. Text output gains aversion:line above the document.health-historynow has one entry per resource, with its samples nested under it. The text table gains a leadingResourcecolumn.A resource with no samples is still listed, with an empty
health_history. In text output it shows as a row of dashes.Worth knowing
health-history,config-changesandconfig-diffaccept at most 100 resource ids. The API silently drops the rest, so the CLI refuses the call instead of returning a partial answer.--timestampis nanosecond precision, because the configuration history is keyed to the nanosecond.Testing
Unit, integration and e2e tests cover every new command and flag. Full suite passes (1319 tests).