Skip to content

Conversation

@peterschmidt85
Copy link
Contributor

@peterschmidt85 peterschmidt85 commented Jan 4, 2026

Note

Introduces JSON inspection in both UI and CLI.

  • UI: New read-only Inspect tabs for runs and fleets using CodeEditor; updates routes (/inspect), tabs, and i18n strings
  • CLI: Adds run get --json, fleet get --json (by name or --id UUID), gateway get --json, and volume get --json; prints pretty JSON and proper not-found/UUID errors
  • API client: Extends runs.get and fleets.get to accept either name or UUID; registers RunCommand in CLI entrypoint

Written by Cursor Bugbot for commit 1148df9. This will update automatically on new commits. Configure here.

@peterschmidt85 peterschmidt85 marked this pull request as ready for review January 4, 2026 21:06
Copy link
Collaborator

@jvstme jvstme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a suggestion regarding naming. Did not look at the implementation yet

@jvstme
Copy link
Collaborator

jvstme commented Jan 6, 2026

(just a thought) the Inspect UI tab and the inspect CLI command are unrelated in terms of implementation and usage, so they could be implemented in separate PRs to simplify review

@peterschmidt85
Copy link
Contributor Author

(just a thought) the Inspect UI tab and the inspect CLI command are unrelated in terms of implementation and usage, so they could be implemented in separate PRs to simplify review

Agree, next time will do that way! 🙏🏽

@peterschmidt85 peterschmidt85 changed the title [Feature] Added dstack inspect CLI command [Feature] Allow to see JSON state of runs/volumes/fleets/gateways via CLI/UI Jan 7, 2026
Replaced `dstack inspect run|fleet|volume|gateway` with seprate commands `datack run|fleet|volume|gateway list --json`.
@peterschmidt85 peterschmidt85 requested a review from jvstme January 7, 2026 17:01
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on February 19

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Copy link
Collaborator

@jvstme jvstme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Python part LGTM 👍

Updated how UUID format errors are handled
Better handling edge case (empty ID)
@peterschmidt85 peterschmidt85 merged commit d48b15f into master Jan 8, 2026
29 checks passed
@peterschmidt85 peterschmidt85 deleted the inspect branch January 8, 2026 09:01
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.

3 participants