Skip to content

fix(dir): index artifact.media_type in database - #1911

Merged
csirmazbendeguz merged 1 commit into
mainfrom
fix/artifact-media-type
Jul 28, 2026
Merged

csirmazbendeguz merged 1 commit into
mainfrom
fix/artifact-media-type

Conversation

@csirmazbendeguz

@csirmazbendeguz csirmazbendeguz commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

we need to index the module's artifact.media_type field in the database

Screenshot 2026-07-28 at 15 40 41

this is needed for these filters to work, so we can filter for artifact types like:

  • application/agent-skills+gzip
  • application/agent-skills+md

so, this PR adds the artifact_media_type column to the modules table

@github-actions github-actions Bot added the size/M Denotes a PR that changes 200-999 lines label Jul 28, 2026
@csirmazbendeguz
csirmazbendeguz force-pushed the fix/artifact-media-type branch from ce175fc to 25fd5df Compare July 28, 2026 13:43
@csirmazbendeguz
csirmazbendeguz force-pushed the fix/artifact-media-type branch from 25fd5df to 16d7d2d Compare July 28, 2026 13:47
@github-actions github-actions Bot added size/S Denotes a PR that changes 50-199 lines and removed size/M Denotes a PR that changes 200-999 lines labels Jul 28, 2026
@csirmazbendeguz
csirmazbendeguz force-pushed the fix/artifact-media-type branch from e685786 to dcf8077 Compare July 28, 2026 14:44
@csirmazbendeguz
csirmazbendeguz marked this pull request as ready for review July 28, 2026 15:14
@csirmazbendeguz
csirmazbendeguz requested a review from a team as a code owner July 28, 2026 15:14
@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 87.50000% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
server/database/gorm/module.go 71.4% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@csirmazbendeguz
csirmazbendeguz merged commit c721b61 into main Jul 28, 2026
57 of 59 checks passed
@csirmazbendeguz
csirmazbendeguz deleted the fix/artifact-media-type branch July 28, 2026 15:41
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.

feat(catalog): server-side tag/trusted filtering and pagination for AI Catalog UI

2 participants