Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/implementation-todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/verification-baseline.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |

Expand Down