Exit code tracking and 127 handling #75
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#74
This pull request updates the worker's test case evaluation to improve error reporting, especially around process exit codes, and refines the message formats in the documentation and code. The changes clarify the meaning of exit codes in test results, add more detailed error messages, and enhance test coverage for edge cases like command-not-found errors. The README has also been updated to better document the message structure and processing flow.
Test case evaluation and error reporting:
command not found), which may indicate memory limit issues, with a new error message and status inverifier.goand corresponding constant inconstants.go[1] [2] [3].ExitCodefield in all test result objects for more granular error reporting, both in the code and in the example response structures in the README [1] [2] [3] [4] [5] [6] [7] [8] [9].Testing improvements:
verifier_test.goto cover cases for command-not-found exit code, output comparison failures, and to assert correct handling of the newExitCodefield [1] [2] [3] [4] [5].Documentation updates: