Skip to content

v0.3 JSON-RPC and REST GetTask return no history when history_length is 0 #1311

Description

@ConnorMoss02

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions