Standardize discovery pagination and grouped metadata - #4799
Merged
Conversation
Widthdom
force-pushed
the
fix-issue4730-4734-4735
branch
from
July 24, 2026 13:55
48092a2 to
1831f2f
Compare
Widthdom
marked this pull request as ready for review
July 24, 2026 14:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Root cause and impact
Several discovery surfaces exposed partial or grouped results without enough state to resume safely or distinguish authoritative totals from lower bounds. Some cursor fingerprints omitted effective filters, while aggregate modes could be projected as row output. The updated contracts prevent stale or mismatched cursor reuse, duplicate/omitted pages, lost aggregate payloads, and misleading counts.
Validation
dotnet build CodeIndex.sln -c Release -p:UseSharedCompilation=false --no-restore— passed with 0 warnings and 0 errorsdotnet format CodeIndex.sln --verify-no-changes --no-restore— passeddotnet run --project tools/CodeIndex.Changelog -c Release --no-build -- check— validated 42 fragmentsstatus --check --json— 1,002 files, 42,027 symbols, 347,959 references; fresh with 0 warnings/errorsDocumentation and changelog
USER_GUIDE.md,DEVELOPER_GUIDE.md, andTESTING_GUIDE.mdchangelog.d/unreleased/4730.fixed.mdchangelog.d/unreleased/4734.fixed.mdchangelog.d/unreleased/4735.fixed.mdRelated follow-up
Fixes #4730
Fixes #4734
Fixes #4735