From 037112bc2c40544fcef1015fa1d0c1a782e03998 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sun, 8 Nov 2026 21:46:06 +0100 Subject: [PATCH] File the flaky client-abort log test as plan item 61 --- todo.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/todo.md b/todo.md index 9ae0a72..d83f794 100644 --- a/todo.md +++ b/todo.md @@ -6,12 +6,13 @@ `Bar = 1` -`Next ID = 61` +`Next ID = 62` ## Items | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| +| 61 | 0.5.0 | | | **Make the client-abort log test in `src/http/app.test.ts` wait on the handler, not on fixed sleeps.** | 1 | 1 | 1 | 1 | 2 | code health by 2 | 12.0 | | 5 | 0.5.0 | | | **List grants that no installed plugin declares, with a remove action.** | 2 | 2 | 2 | 4 | 4 | 2 by 3 | 2.1 | | 41 | 0.5.0 | | | **Apply a permission save as one Keto call, so it cannot stop part-way.** | 2 | 2 | 2 | 4 | 3 | 2 by 2 | 2.1 | | 19 | 0.6.0 | | question | **Run the documented Docker commands on macOS and fix whatever misbehaves.** | 2 | 2 | 1 | 3 | 3 | 1 by 3 | 3.3 | @@ -25,6 +26,12 @@ ## Details +### 61. Make the client-abort log test in `src/http/app.test.ts` wait on the handler, not on fixed sleeps. + +"ctx.log after a client abort doesn't throw" aborts at 20 ms, lets the handler log at 120 ms and asserts +at 200 ms. On a loaded CI runner the handler hadn't logged by then (PR #226, run 5739), so the gate went +red on unrelated work. Await a promise the handler resolves after it logs instead. + ### 5. List grants that no installed plugin declares, with a remove action. `grantDiff` never revokes an undeclared name, and nothing shows one either, so it can't be audited or