test(paths): 7-tier tests for init_repo_dirs
Tier 1 Unit — each dir helper, return value, idempotency, missing root Tier 2 Integration — dirs writable by object/commit/snapshot/shelf layers Tier 3 E2E — CLI muse init produces the same layout as init_repo_dirs Tier 4 Stress — 100 sequential calls, 20 concurrent threads, threadpool Tier 5 State — no files written, no HEAD/repo.json, no extra dirs, existing files preserved Tier 6 Security — symlink root, spaces in path, unicode path Tier 7 Performance — single call <100ms, idempotent call <50ms
sha256:cc38f468248e290e26aaf7f2f839634bfc8927bc0b872ea8def891aa5558433e
sha
+32
~5
−2
symbols
sha256:4fab05264e1000dd2e1ebb9003d8aece06a57f0ba48db060b0d91a856f4be4f3
snapshot
+32
symbols added
~5
symbols modified
−2
symbols removed
0
dead code introduced
Semantic Changes
39 symbols
~
tests/test_core_paths_init_repo_dirs.py
.py
32 symbols added, 2 symbols removed, 5 symbols modified
+
test_bare_repo_dirs_subset_of_full_init
method
method test_bare_repo_dirs_subset_of_full_init L130–136
+
test_threadpool_concurrent_different_roots
method
method test_threadpool_concurrent_different_roots L168–173
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:cc38f468248e290e26aaf7f2f839634bfc8927bc0b872ea8def891aa5558433e --body "your comment"
No comments yet. Be the first to start the discussion.