gabriel / musehub public
fix BREAKING task/fix-87-tests #1 / 1
gabriel · 168 days ago · Apr 11, 2026 · Diff

fix: add .env.example to unblock 12 skipped environment tests

All 12 skipped tests in test_environments_section71.py were gated on _skip_no_env_example (file missing). .env.example now satisfies every assertion: MUSE_ENV, DB_PASSWORD, DEBUG, CORS_ORIGINS, WEBHOOK_SECRET_KEY, RUNNER_TOKEN, staging/production guidance, secret generation commands, no real secrets embedded.

sha256:a940b066cc47fbc9396902676837f7db2d26ffe507dbd46e3e912047422a41ca sha
+20 ~52 −21 symbols
sha256:c7877d66c247bfca0fe36acb8e40fc6af674f8e838cdfacfdc5e041c982941cd snapshot
+20
symbols added
~52
symbols modified
−21
symbols removed
0
dead code introduced
Semantic Changes 93 symbols
~ tests/test_object_store.py .py 4 symbols added, 5 symbols removed, 11 symbols modified
− test_separate_repos_isolated method async_method test_separate_repos_isolated L199–202
− test_traversal_via_dotdot_repo_id_raises method method test_traversal_via_dotdot_repo_id_raises L99–102
− test_traversal_via_repo_id_raises method method test_traversal_via_repo_id_raises L94–97
− test_traversal_via_repo_id_double_slash method method test_traversal_via_repo_id_double_slash L755–758
− test_traversal_via_repo_id_raises_value_error method method test_traversal_via_repo_id_raises_value_error L743–746
+ test_separate_repos_share_global_storage method async_method test_separate_repos_share_global_storage L197–202
+ test_dotdot_in_object_id_is_sanitised method method test_dotdot_in_object_id_is_sanitised L94–100
+ test_object_id_double_slash_is_sanitised method method test_object_id_double_slash_is_sanitised L758–762
+ test_object_id_with_dotdot_is_sanitised method method test_object_id_with_dotdot_is_sanitised L743–748
~ tests/test_rate_limiting_section4.py .py 4 symbols added, 4 symbols removed
− test_bot_ua_scrapy_is_blocked function async_function test_bot_ua_scrapy_is_blocked L123–126
− test_bot_ua_sqlmap_is_blocked function async_function test_bot_ua_sqlmap_is_blocked L135–138
− test_bot_ua_wget_is_blocked function async_function test_bot_ua_wget_is_blocked L129–132
− test_missing_ua_non_cdn_path_is_blocked function async_function test_missing_ua_non_cdn_path_is_blocked L141–144
+ test_bot_ua_scrapy_is_blocked_on_write function async_function test_bot_ua_scrapy_is_blocked_on_write L123–134
+ test_bot_ua_sqlmap_is_blocked_on_write function async_function test_bot_ua_sqlmap_is_blocked_on_write L147–154
+ test_bot_ua_wget_is_blocked_on_write function async_function test_bot_ua_wget_is_blocked_on_write L137–144
+ test_missing_ua_post_non_cdn_path_is_blocked function async_function test_missing_ua_post_non_cdn_path_is_blocked L157–163
~ tests/test_storage_backends_section33.py .py 12 symbols added, 12 symbols removed, 14 symbols modified
− test_path_traversal_variations method method test_path_traversal_variations L410–419
− test_multiple_repos_isolated method async_method test_multiple_repos_isolated L232–237
− test_delete_does_not_allow_traversal method async_method test_delete_does_not_allow_traversal L467–470
− test_exists_does_not_allow_traversal method async_method test_exists_does_not_allow_traversal L462–465
− test_get_does_not_allow_path_outside_root method async_method test_get_does_not_allow_path_outside_root L457–460
− test_path_traversal_dotdot_deep_raises method method test_path_traversal_dotdot_deep_raises L439–443
− test_path_traversal_repo_id_raises method method test_path_traversal_repo_id_raises L434–437
− test_put_does_not_allow_path_outside_root method async_method test_put_does_not_allow_path_outside_root L452–455
− test_write_many_repos method async_method test_write_many_repos L367–373
− test_path_traversal_deep_raises method method test_path_traversal_deep_raises L84–87
− test_path_traversal_in_repo_id_raises method method test_path_traversal_in_repo_id_raises L79–82
− test_uri_for_contains_repo_and_obj method method test_uri_for_contains_repo_and_obj L94–98
+ test_path_traversal_variations_sanitised method method test_path_traversal_variations_sanitised L411–421
+ test_global_storage_same_id_shares_object method async_method test_global_storage_same_id_shares_object L231–237
+ test_delete_with_dotdot_object_id_is_noop method async_method test_delete_with_dotdot_object_id_is_noop L475–478
+ test_dotdot_deep_in_object_id_sanitised method method test_dotdot_deep_in_object_id_sanitised L442–446
+ test_dotdot_in_object_id_sanitised method method test_dotdot_in_object_id_sanitised L436–440
+ test_exists_with_dotdot_object_id_sanitised method async_method test_exists_with_dotdot_object_id_sanitised L469–473
+ test_get_with_dotdot_object_id_sanitised method async_method test_get_with_dotdot_object_id_sanitised L463–467
+ test_put_with_dotdot_object_id_sanitised method async_method test_put_with_dotdot_object_id_sanitised L455–461
+ test_write_many_objects_different_ids method async_method test_write_many_objects_different_ids L367–374
+ test_path_dotdot_deep_stays_in_root method method test_path_dotdot_deep_stays_in_root L85–88
+ test_path_sanitises_dotdot_in_object_id method method test_path_sanitises_dotdot_in_object_id L79–83
+ test_uri_for_contains_obj method method test_uri_for_contains_obj L95–98
← Older Oldest on task/fix-87-tests
All commits
Newer → Latest on task/fix-87-tests

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