You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "carloea2 (via GitHub)" <gi...@apache.org> on 2026/08/29 05:53:46 UTC
[I] Malformed workflow WebSocket messages are not reported [texera]
carloea2 opened a new issue, #8091:
URL: https://github.com/apache/texera/issues/8091
## What happened?
Root cause: `WorkflowWebsocketResource.myOnMsg` parses each message before entering its existing error handler. Malformed JSON therefore escapes without producing the `WorkflowErrorEvent` used for every other request failure.
Before: Malformed JSON throws and the client receives no error event.
Expected: Malformed JSON produces a `WorkflowErrorEvent` and the exception still reaches the WebSocket container.
## How to reproduce?
1. Check out main at commit `caeb27ea54`.
2. Register a session state and call `myOnMsg` with an incomplete JSON object.
3. Observe that parsing throws before the session receives an error payload.
A focused runtime test failed with 0 tests passing and 1 test failing because the expected send never occurred.
## Version and branch
Main, version 1.3.0 incubating snapshot.
## Commit hash
`caeb27ea54`
## Browsers
Not applicable. This is a WebSocket server issue.
## Relevant log output
```text
Total number of tests run: 1
Tests: succeeded 0, failed 1, canceled 0, ignored 0, pending 0
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Malformed workflow WebSocket messages are not reported [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8091:
URL: https://github.com/apache/texera/issues/8091#issuecomment-5460676494
<!-- texera:template-compliance -->
👋 Thanks for opening this issue, @carloea2!
It looks like the issue description doesn't quite follow our template yet:
- This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see [CONTRIBUTING.md](https://github.com/apache/texera/blob/main/CONTRIBUTING.md) for the full contribution flow.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Malformed workflow WebSocket messages are not reported [texera]
Posted by "carloea2 (via GitHub)" <gi...@apache.org>.
carloea2 commented on issue #8091:
URL: https://github.com/apache/texera/issues/8091#issuecomment-5548207493
/take
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org