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.
Fix Node.js test parser
View on Jolt ⚡️
Description:
CI stage is failing, possibly due to updates in the way Node.js emits the status updates during test execution or the format of the output. This requires investigation and fixes for:
Event type handling - verify all Node.js test runner event types are properly handled (EVENT_TEST_START, EVENT_TEST_PASS, EVENT_TEST_FAIL, EVENT_TEST_DIAGNOSTIC)
Event structure validation - check and update destructuring assignments if event structure has changed
Regex pattern updates - review and modify patterns used for parsing diagnostic messages if format has changed
Error handling improvements - ensure proper handling of error codes and structures like ERR_TEST_FAILURE
Review Node.js test runner documentation and logs to identify specific changes requiring updates in the parser.