Files
leonarski_f ec5c6cd6f1 Live stills: count a frame once it has its slot; cancel test waits for its frames
JFJochReceiverRugnux_Stills_CancelDuringRun failed once in CI (images_sent 3 vs
given 4) after passing on the same code three times. In the test's four-slot
buffer the last frame given could still be waiting for a hold slot when the
cancel came. The cancel ends that wait and the frame is dropped, as one arriving
after the cancel would be, but it had already been counted as collected, so
collected and sent disagreed.

The frame is now counted only once it has its slot. Every frame counted is then
written, and collected matches sent. The test cancels once every frame given has
been analysed, which takes the race out of it.

Passed 10 of 10 runs; JFJochReceiverRugnux*, *GPUStills*, [StillsGPUAnalysis],
[JFJochReceiver] and JFJochIntegrationTest_* pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
(cherry picked from commit 16e8dcd0657f39e5776b134c68413bdbce8b37da)
2026-11-21 13:54:04 +01:00
..
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00
2025-06-11 19:53:33 +02:00
2026-06-08 08:30:35 +02:00
2026-11-13 20:13:43 +01:00
2026-11-13 20:13:43 +01:00
2026-11-13 20:13:43 +01:00
2026-11-13 20:13:43 +01:00
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00
2026-11-13 20:13:43 +01:00
2026-11-13 20:13:43 +01:00
2026-11-13 20:13:43 +01:00
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00
2026-11-13 20:13:43 +01:00
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00
2025-05-28 18:49:27 +02:00
2026-06-08 08:30:35 +02:00
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00
2026-11-13 20:13:43 +01:00
2026-11-13 20:13:43 +01:00
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00
2026-11-19 20:49:28 +01:00