A full inference queue can hide dropped work, and disposing the ONNX session while inference is active can race native resources. Missing models can also look like a successful negative result.
Change
Reject saturated submissions explicitly and count failures, drain in-flight inference before disposing ONNX, bound native inference time, validate the YOLOv8 COCO output contract, normalize image channels and coordinates, and report effective CPU/model health.
Validation
Full Heimdall.Agent.Tests: 360 passed, 1 failed (SnapshotPipelineServiceTests.StartStop_WithLocalCameras_PopulatesStoreFallback).
Isolated rerun of that test: 1 passed. The full suite is being rerun to confirm whether the failure was transient.
No merge requested; this PR targets main.
## Problem
A full inference queue can hide dropped work, and disposing the ONNX session while inference is active can race native resources. Missing models can also look like a successful negative result.
## Change
Reject saturated submissions explicitly and count failures, drain in-flight inference before disposing ONNX, bound native inference time, validate the YOLOv8 COCO output contract, normalize image channels and coordinates, and report effective CPU/model health.
## Validation
- Full Heimdall.Agent.Tests: 360 passed, 1 failed (SnapshotPipelineServiceTests.StartStop_WithLocalCameras_PopulatesStoreFallback).
- Isolated rerun of that test: 1 passed. The full suite is being rerun to confirm whether the failure was transient.
- No merge requested; this PR targets main.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
A full inference queue can hide dropped work, and disposing the ONNX session while inference is active can race native resources. Missing models can also look like a successful negative result.
Change
Reject saturated submissions explicitly and count failures, drain in-flight inference before disposing ONNX, bound native inference time, validate the YOLOv8 COCO output contract, normalize image channels and coordinates, and report effective CPU/model health.
Validation
arnaud.dartois referenced this pull request2026-10-20 07:27:16 +02:00