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
CLI: Improve modern logs for create stack #10053
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10053 +/- ##
=======================================
Coverage 85.53% 85.53%
=======================================
Files 333 333
Lines 13473 13473
=======================================
Hits 11524 11524
Misses 1949 1949
Continue to review full report at Codecov.
|
lib/plugins/aws/lib/monitorStack.js
Outdated
if ((completedResources.size || inProgressResources.size) && action !== 'create') { | ||
const progressMessagePrefix = (() => { | ||
if (action === 'update') return 'Updating'; | ||
if (action === 'delete') return 'Deleting'; |
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.
It should result in Removing
instead of Deleting
to be consistent with our wording (it has been changed in one of recent PRs)
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.
One minor change, otherwise looks good 👍
5147b79
to
b4a922c
Compare
scripts/serverless.js
Outdated
@@ -901,5 +909,6 @@ const processSpanPromise = (async () => { | |||
}); | |||
} finally { | |||
clearTimeout(keepAliveTimer); | |||
log.notice(); // Ensure breathing line at the end of output |
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.
Should we have that in? I generally like the idea and I think we could use it in more places, but I remember that e.g. @mnapoli mentioned that we should not do it as people might have terminals configured to automatically print/render empty line after commands.
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.
Good point, I just assumed it's good to have that (design docs are not explicit on intention, as they do not show prompt after finalized output). Anyway let's first clarify with @mnapoli
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.
As we discussed on Slack, currently there's an agreement to add this in (but it's possible we'll revert that)
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.
Actually reverting that (following further discission on slack)
b4a922c
to
26f9ce8
Compare
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.
Looks great 👍
Addresses: #9860