Skip to content

Conversation

@raphael-goetz
Copy link
Member

@raphael-goetz raphael-goetz commented Nov 11, 2025

Resolves: #152

The idea: instead of returning just application logs we can also log the result of evey node_function.

Instead of having just Log we would have:
ApplicationLog => Log from the Application
SuccessLog => Result of a successful node_function execution
RuntimeErrorLog => Result of an unsuccessful node_function execution

What do you think @Taucher2003 @nicosammito

@raphael-goetz raphael-goetz marked this pull request as ready for review December 16, 2025 15:51

message RuntimeErrorLog {
int64 node_id = 1;
string error = 2;
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this the error message or just a error type?

message SuccessLog {
int64 node_id = 1;
shared.Value result = 2;
repeated shared.Value parameter = 3;
Copy link
Contributor

Choose a reason for hiding this comment

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

Naming is a little bit confusing. Its not the parameter its the input value for each value

}

message SuccessLog {
int64 node_id = 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

are you just using the index of the database id or also the complete id, because that its a string

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm using the database id that Sagittarius is giving me. In that case its an index

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.

Adjust Logs to be assined to a NodeFunction

3 participants