fix: resolve conflicts for PR #453

Merge prgs/master into PR branch.
This commit is contained in:
2026-07-08 22:39:42 -04:00
111 changed files with 20184 additions and 449 deletions
+12 -2
View File
@@ -53,6 +53,14 @@ class TestWebuiSkeleton(unittest.TestCase):
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")
@@ -65,10 +73,12 @@ class TestWebuiSkeleton(unittest.TestCase):
self.assertIn("Live queue", response.text)
def test_nav_links_on_all_pages(self):
for path in ("/", "/queue", "/projects", "/prompts", "/runtime", "/audit", "/worktrees"):
paths = ("/", "/queue", "/projects", "/prompts", "/runtime", "/audit", "/worktrees", "/leases")
hrefs = ("/queue", "/projects", "/prompts", "/runtime", "/audit", "/worktrees", "/leases")
for path in paths:
with self.subTest(path=path):
text = self.client.get(path).text
for href in ("/queue", "/projects", "/prompts", "/runtime", "/audit", "/worktrees"):
for href in hrefs:
self.assertIn(f'href="{href}"', text)