What happens
A v0.3 JSON-RPC or REST client that sends historyLength: 0 gets the task back with empty history. In v0.3, 0 means unlimited, and the gRPC path returns the full history.
Why
to_core_send_message_configuration (compat/v0_3/conversions.py:320) and to_core_get_task_request (:1077) pass 0 through as a limit, and the core reads 0 as no history. FromProto already maps 0 to None for gRPC since #1306.
Version
main @ e649325
What happens
A v0.3 JSON-RPC or REST client that sends
historyLength: 0gets the task back with empty history. In v0.3, 0 means unlimited, and the gRPC path returns the full history.Why
to_core_send_message_configuration(compat/v0_3/conversions.py:320) andto_core_get_task_request(:1077) pass 0 through as a limit, and the core reads 0 as no history.FromProtoalready maps 0 toNonefor gRPC since #1306.Version
main @ e649325