gabriel / musehub public
fix patch bugfix/soft-delete-listing-queries #1 / 1
gabriel · 69 days ago · Apr 13, 2026 · Diff

fix: add deleted_at IS NULL to all public repo listing queries

Soft-deleted repos were still appearing on explore, search, sitemap, and topic pages. Only the UUID path (get_repo) filtered correctly.

Fixed 6 files — every query that selects public MusehubRepo rows now includes deleted_at.is_(None): - musehub_discover.list_public_repos (explore page / discover API) - musehub_repository (global search query) - ui.py (explore page chip cloud + hero stats — 4 sub-queries) - sitemap.py (repo, tag, and release sitemap queries) - topics.py (topic list + list_repos_by_topic) - ui_topics.py (SSR topic list + _fetch_topic_repos)

sha256:bf9b9ac069f24ccaf9e08b1ced813eca4930a28f607ffafee96602bd7945debc sha
sha256:d9138bb7da0404963b1e27480e8f57af693dbf668463bc6f60f32dc244fc415b snapshot
← Older Oldest on bugfix/soft-delete-listing-queries
All commits
Newer → Latest on bugfix/soft-delete-listing-queries

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:bf9b9ac069f24ccaf9e08b1ced813eca4930a28f607ffafee96602bd7945debc --body "your comment"