From 43e894f9b361dfa0119a57dcb79923f411443313 Mon Sep 17 00:00:00 2001 From: Antony Rizzitelli Date: Thu, 19 Nov 2026 21:50:46 +0000 Subject: [PATCH] test(e2e): name DMS auth as the cause of the health route's 500 with MongoDB down --- e2e/journeys/overview.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/journeys/overview.mjs b/e2e/journeys/overview.mjs index 4af0903..faf739c 100644 --- a/e2e/journeys/overview.mjs +++ b/e2e/journeys/overview.mjs @@ -180,7 +180,7 @@ export const journeys = [ title: "when the database stops answering, the Connection card turns to Unavailable with the last error and a Check again button, the backend keeps running, and Check again shows Healthy once the database is back", entryPoint: "/modules/database/overview, GET /api/database/health", knownFailures: { - "the health route answers status down within 10 s of the request": "with MongoDB stopped, GET /api/database/health answers 500 after the driver's 30 s server selection timeout, not status down with the probe's error within the 3 s probe deadline: the totals read after the probe throw, so the card's Last error reads No answer", + "the health route answers status down within 10 s of the request": "with MongoDB stopped, GET /api/database/health answers 500 after the driver's 30 s server selection timeout, before the route runs: DMS auth (validateUserToken of @antelopejs/dms) reads the session and records the user's activity in MongoDB on every request, so the card's Last error reads No answer (proposed AntelopeJS/dms follow-up of Wdf26acfc-150)", }, async run(/** @type {Ctx} */ ctx) { const tab = await overviewTab(ctx);