guan404ming commented on code in PR #77230:
URL: https://github.com/apache/airflow/pull/77230#discussion_r4704192822
##########
ts-sdk/src/coordinator/client.ts:
##########
@@ -304,7 +305,7 @@ export function createCoordinatorClient(
type: "SetTaskStateStore",
ti_id: tiId,
key,
- value,
+ value: toPlainJson(value, `task state store value for "${key}"`),
Review Comment:
I suggest to move the check into `encodeRequest` so every request is checked
and the error names its type. Feel free to let me know whether it could be
better. Thanks!
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]