-
Notifications
You must be signed in to change notification settings - Fork 226
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
kpt fn
error reporting and CLI output
#1557
Comments
This is addressed with #1634 |
Reopening this since we need to hash out the UX for error reporting and CLI output. A list of all the data involved in running functions:
We need to figure out the best UX for providing all or subset of the following to the user across:
As part of this, need to consider happy paths and failure paths:
Some principles to follow:
|
kpt fn render
error reporting and debuggabilitykpt fn
error reporting and CLI output UX
#1783 should be addressed as part of this. |
As part this, need to add e2e test cases for both |
kpt fn
error reporting and CLI output UXkpt fn
error reporting and CLI output
kpt fn
error reporting and CLI outputkpt fn
error reporting and CLI output
Related to this, the current output while a pipeline is running is a little confusing. It prints
with the caret blinking at the end of the line. It looks like we expect some kind of user input. |
A design proposal for the UI: https://docs.google.com/document/d/1mWZyYcCWmFUZuNNG3O0r-Y-FOk256JS-1mVpNRxeuMg/edit?hl=en# |
Adding that we should address the concerns raised here: |
kpt fn render
should report errors with useful diagnostic info that helps the end-users as well as kpt developers. We should explore if wekpt
can support error reporting explained in this post byRob Pike
. The approach in that post tries to strike the right balance with needs of both the personas.In addition, being able to trace
input/output
for each function execution of thepipeline
can assist in function level debugging as well.The text was updated successfully, but these errors were encountered: