test: remove unimplemented worktree archival tests and unused code

This commit is contained in:
Mohamed Boudra
2026-03-13 13:44:03 +07:00
parent 049edbfcaf
commit a194a901b4
4 changed files with 5 additions and 181 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ When a test fails:
- Flaky (races, timing) → make it deterministic
- Too slow → make it fast or delete
Do NOT weaken tests. Do NOT add conditionals. Do NOT introduce mocks — we use real environment on purpose because we want to test the REAL thing. Do NOT add auth gating or skip conditions.
Do NOT weaken tests. Do NOT add conditionals. Do NOT introduce mocks — we use real environment on purpose because we want to test the REAL thing. Do NOT add auth gating or skip conditions. Do NOT implement new features to make a test pass. You are here to fix tests, not build features. If a test expects unimplemented behavior, delete it.
While you're in a file, improve it:
- Refactor repeated code RUTHLESSLY. Extract shared helpers across test files.