feat(pipeline): detect node crashes and tally dropped frames

Register a KPN event handler in both scene_analyze and scene_preview:
  - Overflow events accumulate per-node dropped-frame counts, printed on exit.
  - A Closed event from any node other than result_sink at EOF means a stage
    died; trip an atomic so the main loop bails out instead of hanging on
    'done' forever, and exit non-zero.

Bumps external/KPN to the commit that exposes set_event_handler / NodeEvent.
This commit is contained in:
2026-07-04 18:55:47 +02:00
parent 152c34b1f4
commit 66298026e2
3 changed files with 85 additions and 9 deletions
+1 -1