gabriel / musehub public
fix minor bugfix/soft-delete-owner-slug #1 / 1
gabriel · 69 days ago · Apr 13, 2026 · Diff

fix: filter soft-deleted repos from get_repo_row_by_owner_slug

Soft-deleted repos were still returned via the owner/slug lookup path because deleted_at IS NULL was missing from get_repo_row_by_owner_slug. The UUID path (get_repo) already filtered correctly.

Added regression suite TestSoftDeleteOwnerSlugRegression with 4 tests: - get_repo_by_owner_slug returns None after delete - get_repo_row_by_owner_slug returns None after delete - live repo unaffected when sibling is deleted - HTTP /owner/slug returns 404 for deleted repo

sha256:d7c39230b08efc76ef28110fc809fc17a460e18d59f8de898df373b33c9504d5 sha
sha256:190cfe31c3f25c5da496b6899a480e7983878806b59e7add2407e098243b5397 snapshot
← Older Oldest on bugfix/soft-delete-owner-slug
All commits
Newer → Latest on bugfix/soft-delete-owner-slug

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:d7c39230b08efc76ef28110fc809fc17a460e18d59f8de898df373b33c9504d5 --body "your comment"