Skip to content

Add beta cluster remediation CLI commands#369

Draft
blainekasten wants to merge 1 commit into
nextfrom
blaine/tcl-6313-add-node-remediation-apis-to-sdk-and-cli
Draft

Add beta cluster remediation CLI commands#369
blainekasten wants to merge 1 commit into
nextfrom
blaine/tcl-6313-add-node-remediation-apis-to-sdk-and-cli

Conversation

@blainekasten
Copy link
Copy Markdown
Contributor

Summary

  • Add tg beta clusters remediations command group with create, list, approve, cancel, and reject commands.
  • Support optional instance_id for list by using the SDK wildcard instance path when omitted.
  • Resolve approve/cancel/reject by remediation ID through SDK list calls before invoking typed SDK action methods.
  • Add remediation CLI help examples and focused CLI tests.

Tests

  • python3 -m ruff check src/together/lib/cli/__init__.py src/together/lib/cli/api/beta/clusters/remediations tests/cli/test_beta_clusters.py
  • python3 -m pyright src/together/lib/cli/api/beta/clusters/remediations src/together/lib/cli/__init__.py
  • python3 -m pytest tests/cli/test_beta_clusters.py -q
Open in Web Open in Cursor 

Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
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.

2 participants