fix: filter mist-backed repos out of repo Explore
A Mist is the Muse answer to a GitHub gist — a single-artifact share backed by a real MusehubRepo row (domain_id="mist") purely as VCS plumbing, not a project meant to be showcased. Explore's repo grid, search, and sidebar stats had no domain filter, so every public mist appeared alongside real repos in discovery.
Added `MusehubRepo.domain_id != "mist"` to: - musehub_discover.list_public_repos (the Explore grid's data source) - musehub_discover.search_repos_by_text (the Explore search fragment) - explore_page's 4 supporting queries (language chips, topic chips, hero commit count, domain count)
4 new regression tests. Also discovered and documented (not fixed, out of scope) a pre-existing, previously-untested bug: GET /explore/search 500s on any query with real results (Jinja template-caching TypeError, reproduces with zero mist repos involved) — worked around in the new test by asserting at the service-function level instead.
Semantic Changes
8 symbols
Files Changed
~3
1003 in snapshot
0 comments
muse hub commit comment sha256:3a9ed461ab182f367088dc3119dbf68a3929b75830b35157dd0c8caa05e1c37b --body "your comment"
No comments yet. Be the first to start the discussion.