Skip to content

fix(dir): add Annotations to RecordFilters - #1898

Merged
csirmazbendeguz merged 1 commit into
mainfrom
fix/annotation-filter
Jul 27, 2026
Merged

csirmazbendeguz merged 1 commit into
mainfrom
fix/annotation-filter

Conversation

@csirmazbendeguz

@csirmazbendeguz csirmazbendeguz commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

right now, RecordFilters supports AnnotationKeys and AnnotationValues filters ... BUT these are not good for exact matches

this PR adds the Annotations filter which can match exact annotations (by both key AND value)


why do we need this?

since annotations are included as tags in the AI Catalog UI, we need the ability to filter for them. so we will use this code in a follow-up PR

@github-actions github-actions Bot added the size/S Denotes a PR that changes 50-199 lines label Jul 27, 2026
@csirmazbendeguz
csirmazbendeguz marked this pull request as ready for review July 27, 2026 11:56
@csirmazbendeguz
csirmazbendeguz requested a review from a team as a code owner July 27, 2026 11:56
@csirmazbendeguz
csirmazbendeguz force-pushed the fix/annotation-filter branch 6 times, most recently from 9fe5ba2 to 456cbe1 Compare July 27, 2026 12:16
@csirmazbendeguz
csirmazbendeguz force-pushed the fix/annotation-filter branch from 456cbe1 to e48cb63 Compare July 27, 2026 12:18
@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
server/database/utils/wildcard.go 0.0% 12 Missing ⚠️
server/database/gorm/record.go 0.0% 3 Missing and 1 partial ⚠️
server/types/search.go 0.0% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

@csirmazbendeguz
csirmazbendeguz merged commit a9feb42 into main Jul 27, 2026
40 checks passed
@csirmazbendeguz
csirmazbendeguz deleted the fix/annotation-filter branch July 27, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 50-199 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants