Skip to content

Grouped search again reports bounded output as complete #4735

Description

@Widthdom

Summary

Grouped search truncation metadata is false and the reported total reflects only emitted rows, making a bounded response look complete.

Integrated v1.39.4 findings

  • Propagate truncation metadata in grouped search output

Evidence

search CommandErrorWriter --format grouped --limit 4 reported total_matches=4 and truncated=false, while the same query has 292 matches.

Expected behavior / direction

Compute totals/truncation from the complete bounded query contract, distinguish matched/emitted/grouped counts, and expose continuation guidance consistently.

Related closed issues

These issues remain closed; this is a new regression or follow-up observed on v1.39.4.

Environment

Reproduced with a locally built cdidx v1.39.4 from current origin/main at 87b8bf44210344f52ba4cb7827c149dfad32c0c8, using a fresh repository index on macOS arm64.

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .NET codebugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions