feat: hard-delete repos — drop deleted_at, convert soft-delete to CASCADE
- Migration 0047: drop deleted_at column and ix_musehub_repos_deleted_at index - MusehubRepo ORM: remove deleted_at field - delete_repo(): session.delete() + flush() instead of UPDATE SET deleted_at - Remove all deleted_at.is_(None) query filters across services and routes - Update tests to use hard-delete patterns; drop soft-delete test cases - Update migration count/head assertions to 47
sha256:6cc6c26f84cf0c1ced2c799bbb9ad0a948a7f4eb4db795eb006e2ecb02490411
sha
+17
~68
−15
symbols
sha256:1fe17f92e30a571c54e95c714a0d7f666202dc9147dd85490a2641df47b2a5a6
snapshot
+17
symbols added
~68
symbols modified
−15
symbols removed
0
dead code introduced
Semantic Changes
100 symbols
~
_db_repo
−
test_list_repos_excludes_soft_deleted
method
async_method test_list_repos_excludes_soft_deleted L1293–1308
−
test_list_repos_total_excludes_soft_deleted
method
async_method test_list_repos_total_excludes_soft_deleted L1310–1324
+
test_list_repos_total_excludes_deleted
method
async_method test_list_repos_total_excludes_deleted L1309–1322
~
_HEAD
−
test_delete_repo_service_sets_deleted_at
function
async_function test_delete_repo_service_sets_deleted_at L1402–1421
+
test_delete_repo_service_hard_deletes_row
function
async_function test_delete_repo_service_hard_deletes_row L1402–1422
−
test_soft_delete_hides_repo_but_preserves_db_row
method
async_method test_soft_delete_hides_repo_but_preserves_db_row L714–730
−
test_get_repo_by_owner_slug_returns_none_after_soft_delete
method
async_method test_get_repo_by_owner_slug_returns_none_after_soft_delete L967–984
−
test_get_repo_row_by_owner_slug_returns_none_after_soft_delete
method
async_method test_get_repo_row_by_owner_slug_returns_none_after_soft_delete L987–1004
−
test_live_repo_still_returned_after_another_is_deleted
method
async_method test_live_repo_still_returned_after_another_is_deleted L1007–1024
−
test_owner_slug_http_returns_404_for_deleted_repo
method
async_method test_owner_slug_http_returns_404_for_deleted_repo L1027–1046
+
test_owner_slug_http_returns_404_for_deleted_repo
method
async_method test_owner_slug_http_returns_404_for_deleted_repo L958–970
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:6cc6c26f84cf0c1ced2c799bbb9ad0a948a7f4eb4db795eb006e2ecb02490411 --body "your comment"
No comments yet. Be the first to start the discussion.