You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the LittleHorse Server fails to serialize a ReportTaskRun request, it returns an LHApiException early, which means we don't forward a record through our Kafka Streams Topology reporting the state of the TaskRun. This means that the TaskRun state is usually perceived as a Timeout by the server, since no state is reported. We should forward a ReportTaskRun Deserialization Error or something equivalent as the state of the TaskRun to our topology.
Steps to reproduce
Register any TaskDef with the LittleHorse Server
Register any WfSpec that uses that TaskDef with the LittleHorse Server
Run a Task Worker for your TaskDef
Run the workflow and execute that Task
Your Task Worker should pick up the TaskRun via a PollTask request
Intercept the ReportTask RPC call before it is sent to the server by your Task Worker
Use an invalid json_obj value for the ReportTask.Output, such as a non-JSON formatted string "test"
The server will fail to serialize the ReportTask request and interpret the Task as timed out after the timeout period expires
The text was updated successfully, but these errors were encountered:
Snarr
added
bug
An issue with correctness, stability, performance, or API conformance.
server
Affects the core LH Server code.
labels
Feb 9, 2025
Snarr
changed the title
Server ReportTaskRun serialization failure perceived as TaskTimeout
server: ReportTaskRun serialization failure perceived as TaskTimeout
Feb 9, 2025
Bug
When the LittleHorse Server fails to serialize a
ReportTaskRun
request, it returns anLHApiException
early, which means we don't forward a record through our Kafka Streams Topology reporting the state of theTaskRun
. This means that theTaskRun
state is usually perceived as aTimeout
by the server, since no state is reported. We should forward aReportTaskRun Deserialization Error
or something equivalent as the state of theTaskRun
to our topology.Steps to reproduce
TaskDef
with the LittleHorse ServerWfSpec
that uses thatTaskDef
with the LittleHorse ServerTaskDef
ReportTask
RPC call before it is sent to the server by your Task Workerjson_obj
value for theReportTask.Output
, such as a non-JSON formatted string"test"
ReportTask
request and interpret the Task as timed out after the timeout period expiresThe text was updated successfully, but these errors were encountered: