Repository navigation
feat(reports): add partial name filter to list_reports - #323
Merged
Merged
Conversation
dmitrijs-pavlovs-dev
changed the base branch from
main
to
fix/report-contracts
October 6, 2026 09:51
dmitrijs-pavlovs-dev
enabled auto-merge
October 6, 2026 11:30
farzadatdointl
approved these changes
Oct 6, 2026
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.
list_reportsnow accepts an optionalnameand sends it as the API's server-sidenameContainsfilter, so case-insensitive partial matching applies before pagination. The parameter is defined once in Zod and appears in both the derived stdio schema and the hosted argument schema.Demo-mode searches now apply the same name matching to the sample reports and return the matching row count. Previously a search such as
name: "cloud cost"returned all three samples; it now returns only the matching report. Searches with no match follow the handler's existingNo reports foundresponse, and searches without a name still return all samples.Regression tests reproduced the demo bug before the fix. They cover case-insensitive partial matches, multiple matches, no matches, empty and omitted names, fixture preservation, and the real demo-token handler without HTTP calls. The existing request-mapping test verifies the production API parameter.
Validation after synchronizing with main: 1,471 unit tests, 320 integration tests,
yarn check:dev, build, and whitespace checks passed. This change used deterministic validation and makes no new live API claim. No standalone validation documentation is included.