feat: add worktree hygiene dashboard to web UI (Closes #432) #453

Merged
sysadmin merged 5 commits from feat/issue-432-worktree-hygiene into master 2026-07-09 08:24:35 -05:00
Showing only changes of commit b3bc459423 - Show all commits
-11
View File
@@ -34,13 +34,6 @@ class TestWebuiSkeleton(unittest.TestCase):
self.assertEqual(response.status_code, 200)
self.assertIn("Runtime health", response.text)
def test_route_stubs_render(self):
for path in ("/worktrees",):
with self.subTest(path=path):
response = self.client.get(path)
self.assertEqual(response.status_code, 200)
self.assertIn("child issue", response.text.lower())
def test_audit_is_implemented(self):
response = self.client.get("/audit")
self.assertEqual(response.status_code, 200)
@@ -61,16 +54,12 @@ class TestWebuiSkeleton(unittest.TestCase):
self.assertEqual(response.status_code, 200)
self.assertIn("Worktree hygiene", response.text)
def test_extra_stub_routes(self):
self.assertEqual(self.client.get("/leases").status_code, 200)
def test_leases_is_implemented(self):
response = self.client.get("/leases")
self.assertEqual(response.status_code, 200)
self.assertIn("Leases", response.text)
self.assertIn("Collision warnings", response.text)
def test_extra_stub_routes(self):
self.assertEqual(self.client.get("/worktrees").status_code, 200)
def test_post_is_rejected(self):
response = self.client.post("/health")