Fix search tag fixtures and add missing filters#12
Merged
Conversation
Tags are plain strings, not objects. The fixture used object format while the schema correctly expected strings.
Add optional fields returned by the live API: image_url, golden, last_active_at, board/column/creator refs, comments_url, reactions_url.
Enable sorting results by newest/oldest/recently_active and filtering by free-text search terms via the fizzy_search tool.
Greptile OverviewGreptile SummaryAligned test fixtures with actual API behavior and added new search capabilities. The
Confidence Score: 5/5
|
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.
The
mockCardtest fixture used object-shaped tags ({id, title, color}) while the API returns plain strings (["bug"]). This mismatch meant tests passed but didn't reflect real API behavior. Fixed the fixture and its assertions.CardSchemawas missing several optional fields the live API returns —image_url,golden,last_active_at, embeddedboard/column/creatorrefs,comments_url, andreactions_url. Added them all as optional to avoid breaking existing consumers.fizzy_searchnow supportssorted_by(newest/oldest/recently_active) andterms(free-text search) filters, wired through schema → tool params → client query construction. Users can sort results and search by keywords without dropping to raw API calls.