Skip to content

Make goto --all return every definition or an explicit continuation #4837

Description

@Widthdom

Summary

goto --all still applies the default 20-row limit. A query with 63 definitions returns 20 bare-array rows with no truncation flag or cursor; adding --limit 100 returns all 63.

Audit ID: Q-03. Reproduced on v1.40.3; no exact existing issue was found.

Expected behavior

--all must remove the default result limit. If an explicit safety ceiling remains, the response must disclose total/omitted/truncated state and provide continuation.

PR scope

Keep this to goto limit normalization and response completeness.

Implementation guide for Codex 5.6 sol xhigh

  • Normalize --all, explicit --limit, and defaults before query execution.
  • Add a fixture with more than 20 definitions and cover array, envelope, and human output.
  • If array mode cannot carry metadata, either return all requested rows or require an envelope for a bounded continuation; never silently truncate.
  • Preserve deterministic ordering and exact-name/partial-family semantics.
  • Add tests, run net8/net9, and add a bilingual changelog fragment.

Acceptance criteria

  • The 63-definition fixture is fully returned with --all, or is explicitly and resumably bounded.
  • Explicit limits still work.
  • No output mode silently applies the default 20-row cap.

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