-
Notifications
You must be signed in to change notification settings - Fork 0
Adjust Logs #153
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
base: main
Are you sure you want to change the base?
Adjust Logs #153
Conversation
| int64 note_id = 1; | ||
| string error_code = 2; | ||
| string error_message = 3; | ||
| optional string suggestion = 4; |
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.
This should not come from the runtime component. This should be handled inside IDE
|
|
||
| message RuntimeErrorLog { | ||
| int64 note_id = 1; | ||
| string error_code = 2; |
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.
We should specify this further. We errors can be emitted
| message RuntimeErrorLog { | ||
| int64 note_id = 1; | ||
| string error_code = 2; | ||
| string error_message = 3; |
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.
If we have an error_code a message is not needed
| message SuccessLog { | ||
| int64 note_id = 1; | ||
| shared.Value result = 2; | ||
| } |
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.
We should also store what got parsed in. So the parameter values
| message ApplicationLog { | ||
| string message = 1; | ||
| string level = 2; | ||
| string timestamp = 3; |
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'm not quite getting the purpose of this log type
The idea: instead of returning just application logs we can also log the result of evey node_function.
Instead of having just
Logwe would have:ApplicationLog=> Log from the ApplicationSuccessLog=> Result of a successful node_function executionRuntimeErrorLog=> Result of an unsuccessful node_function executionWhat do you think @Taucher2003 @nicosammito