From a9f901abbfb86bf5350c91e58a5fea2635cd5cf8 Mon Sep 17 00:00:00 2001 From: SherlockChiang Date: Tue, 3 Nov 2026 18:18:23 +0800 Subject: [PATCH] docs: cite merged RasterHost commit hashes PR #49 was rebase-merged, so its commits landed on main as 7b36b8d (gate deadline fix) and fb58765 (host exit-code and thread diagnostics). The flake records still cited the pre-merge hashes, which are not reachable from main. Release-Note: skip Co-Authored-By: Claude Opus 5.5 --- docs/implementation-todo.md | 4 ++-- docs/verification-baseline.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/implementation-todo.md b/docs/implementation-todo.md index 5aafab9..2994d7c 100644 --- a/docs/implementation-todo.md +++ b/docs/implementation-todo.md @@ -44,9 +44,9 @@ Evidence and limitations are recorded in (CI run 40650433905 attempt 1, website-only `7ff3a88`). The unchanged job rerun passed; the log has no host exit code, so the cause is unconfirmed. Eight stressed local runs passed. Integration failures now report the host - exit code (`d71cd90`), so a recurrence will separate watchdog exits from crashes. + exit code (`fb58765`), so a recurrence will separate watchdog exits from crashes. - [x] Return a decode failure, not request cancellation, when a native HANDLE - decode reaches its deadline while queued behind the decode gate (`0c27790`). + decode reaches its deadline while queued behind the decode gate (`7b36b8d`). Focused heartbeat/render-completion/thumbnail helpers satisfy the demonstrated extraction needs in this batch. Broader restructuring stays in `E26-05`; preserve diff --git a/docs/verification-baseline.md b/docs/verification-baseline.md index 6e794d7..d4a4f58 100644 --- a/docs/verification-baseline.md +++ b/docs/verification-baseline.md @@ -148,8 +148,8 @@ runner's processor count and the xUnit parallelism it implies. | Finding | Evidence | Outcome | |---|---|---| | Native HANDLE decode deadline under contention | Alone under CPU load, the SVG test failed 3/6 times. The host log showed no native result, then a system-codec failure, because WIC has no SVG decoder. In full parallel runs it failed 1 in 8-10 runs. | By design, a decode past the 2.5 s deadline fails. That timeout previously wrote nothing to the host log; it now logs `native HANDLE image decode timed out`. The deadline is unchanged. | -| Gate wait escaped the deadline handler | `TryDecodeHandleAsync` awaited its decode gate outside the handler. A request queued behind a canceled decode therefore surfaced its timeout as `OperationCanceledException`. The open worker logged "open canceled" and sent no reply, which matches the 45 s failure. Parallel runs: 1/8 before the fix, 0/10 after. | Fixed in `0c27790`. Two tests hold the gate and cover both deadline and caller cancellation. Moving the wait back outside the handler makes the deadline test fail. | -| `E26-04` handle growth | Thread counts now accompany the budget (`d71cd90`). Five local failures: 411→425 handles with 23→26 or 23→27 threads, 416→431 with 23→26 or 24→27, and 422→437 with 24→27. That is 3.5-5 handles per added thread. Runs without thread growth showed no handle growth. | The growth matches late runtime thread creation, not per-preview handle retention. The budget, cycle counts and assertion are unchanged. | +| Gate wait escaped the deadline handler | `TryDecodeHandleAsync` awaited its decode gate outside the handler. A request queued behind a canceled decode therefore surfaced its timeout as `OperationCanceledException`. The open worker logged "open canceled" and sent no reply, which matches the 45 s failure. Parallel runs: 1/8 before the fix, 0/10 after. | Fixed in `7b36b8d`. Two tests hold the gate and cover both deadline and caller cancellation. Moving the wait back outside the handler makes the deadline test fail. | +| `E26-04` handle growth | Thread counts now accompany the budget (`fb58765`). Five local failures: 411→425 handles with 23→26 or 23→27 threads, 416→431 with 23→26 or 24→27, and 422→437 with 24→27. That is 3.5-5 handles per added thread. Runs without thread growth showed no handle growth. | The growth matches late runtime thread creation, not per-preview handle retention. The budget, cycle counts and assertion are unchanged. | | Test parallelism | Serialized runs (`xUnit.ParallelizeTestCollections=false`) failed 2/8, all `E26-04`. | Parallelism alone does not explain the flakes. The setting was not changed. | | Early pipe closure in the metadata child-lease test | Eight runs of the test alone under CPU load passed. | Not reproduced. When the pipe closes before an expected reply, integration tests now report the RasterHost exit code. Codes 31-33 identify the drain watchdogs. |