feat(workflow): living-server supervises the locust UI, locust load test and coverage gate

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-24 03:10:28 +02:00
co-authored by Claude Sonnet 5.5
parent 97b4b5f574
commit bb8fcf9cf7
7 changed files with 392 additions and 5 deletions
+1
View File
@@ -15,6 +15,7 @@ int main() {
// The template escapes '&' in hrefs.
for (std::size_t a; (a = href.find("&amp;")) != std::string::npos;)
href.replace(a, 5, "&");
if (href.rfind("http", 0) == 0) continue; // external (locust UI), not a route
auto res = f.client->get(href);
// /auth/me demands credentials by design; every other row must be 2xx/3xx.
bool ok = res.status < 400 || (href == "/auth/me" && res.status == 401);