Skip to content

[Bug]: Thread listing builds metadata for every thread before paginating (25 s for a one-row list on a 27 GB DB) #36416

Closed

Description

@mteam88

Follow-up to #23000, which was closed as not planned.

On a 27 GB statev2.sqlite (+700 MB WAL), 0.1.10-nightly.20261113.4643 on Linux, the thread list still builds metadata for every thread before pagination is applied:

Applying filters and the page limit before building thread shells, and not recounting full histories for list metadata, should make list cost independent of total history size.

Related: #30875 (subagent finalize reads), #36240 and #35184 (shell snapshot cost).

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

Metadata

Metadata

Assignees

No one assigned

    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