-
Notifications
You must be signed in to change notification settings - Fork 109
[CLI] Add --extra
flag for deployment describe
#3875
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I take over the review of this one. |
Few bits from trying this out:
No need for the millisecond part, and make the formatting nicer splitting date and time
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @slinkydeveloper!
I'm sorry @muhamadazmy, I'd been completely ignoring my GH queue for the last few days.
In
They are! In a descending order |
I think it should really be in the simple list view as well, it's just a huge crucial piece of information to miss it. Deployments are of no use to a user really without the list of services. |
@slinkydeveloper |
cli/src/ui/datetime.rs
Outdated
fn display(&self) -> String { | ||
let dt: DateTime<Local> = self.with_timezone(&Local); | ||
|
||
dt.format("%a, %d %h %Y %X %Z").to_string() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personal preference here, but comma is noisy to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps @nikrooz we should align how we display dates between CLI and UI. Can do in followup PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i can remove it, but I was trying to be as close to rfc2822 as possible with minor changes to have a 0 prefixed numbers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now do as you like, later on we should align CLI/UI on this
Summary: This is useful on heavy systems to avoid running long and heavy queries to compute the deployment status and number of active invocations Same for `deployment list` Fixes restatedev#3867
[CLI] Add
--extra
flag fordeployment describe
Summary:
This is useful on heavy systems to avoid running long and
heavy queries to compute the deployment status and number of
active invocations
Same for
deployment list
Fixes #3867