Replies: 1 comment
-
So:
I don't understand this one. The compiled binary is not run during compilation. If you meant the run request - the status code should be the exit code. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the protocol, there are fields called statusCode/status, and I would be grateful for some clarification about their roles.
The status field of type StatusCode in the TaskFinishParams structure can be set to Ok/Error/Cancelled. What exactly does the Error mean?
What kind of errors should be reported using the status field inside the TaskFinishParams structure, the statusCode field inside the Compile/Run/Test Result, or the error field inside the ResponseMessage? Which one should I use if the server behaves correctly during the Compile Request, but the binary it compiles exits with a failure exit code?
Is the statusCode field inside the Compile/Run/Test Result intentionally Int, or is it some typo?
Please note that according to the protocol, if we pass some information using the error field inside the ResponseMessage, we shouldn't pass any information using the Compile/Run/Test Result, as the result field should be null.
Beta Was this translation helpful? Give feedback.
All reactions