fix(agent): cap analysis results at Central limit #279

Merged
arnaud.dartois merged 2 commits from fix-analysis-result-detection-limit into main 2026-11-07 13:42:01 +01:00
Owner

Refs #270

Caps successful analysis result payloads to Central’s 500-detection limit after type filtering, preserving input/model order for ObjectDetection, PersonDetection, and VehicleClassification. Adds >500 boundary/order tests for all three types and updates the analysis pipeline skill.

Validation: dotnet test tests/Heimdall.Agent.Tests/Heimdall.Agent.Tests.csproj --no-restore --filter FullyQualifiedName~AnalysisJobPollingServiceTests passed 16/16; git diff --check passed.

Compose acceptance completed against merge commit cae09e36985010c5969751db06a39a433698a574: source-built Central rejected 501 detections with HTTP 400; a separate 500-detection result returned HTTP 204 and read back with exactly 500 persisted detections. Disposable project hmd279-accept-1794071843-1d8b7a used generated credentials and loopback-only ports. Cleanup confirmed no project containers, volumes, or networks; exact local tag heimdall:hmd279-accept-1794071843-1d8b7a-central was removed and verified absent. The successful locked restore used BuildKit host networking because Docker's default build network could not reach NuGet; source was unchanged. Synthetic RTSP was not contacted. No deployed telemetry was validated; issue #270 remains open for that follow-up.

Refs #270 Caps successful analysis result payloads to Central’s 500-detection limit after type filtering, preserving input/model order for ObjectDetection, PersonDetection, and VehicleClassification. Adds >500 boundary/order tests for all three types and updates the analysis pipeline skill. Validation: `dotnet test tests/Heimdall.Agent.Tests/Heimdall.Agent.Tests.csproj --no-restore --filter FullyQualifiedName~AnalysisJobPollingServiceTests` passed 16/16; `git diff --check` passed. Compose acceptance completed against merge commit `cae09e36985010c5969751db06a39a433698a574`: source-built Central rejected 501 detections with HTTP 400; a separate 500-detection result returned HTTP 204 and read back with exactly 500 persisted detections. Disposable project `hmd279-accept-1794071843-1d8b7a` used generated credentials and loopback-only ports. Cleanup confirmed no project containers, volumes, or networks; exact local tag `heimdall:hmd279-accept-1794071843-1d8b7a-central` was removed and verified absent. The successful locked restore used BuildKit host networking because Docker's default build network could not reach NuGet; source was unchanged. Synthetic RTSP was not contacted. No deployed telemetry was validated; issue #270 remains open for that follow-up.
arnaud.dartois added 1 commit 2026-11-07 09:44:41 +01:00
fix(agent): cap analysis results at Central limit (#270)
Heimdall Gitea / Detect CI scope (pull_request) Successful in 14s
Heimdall Gitea / Build and tests (pull_request) Successful in 16m32s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
Heimdall Gitea / Build and scan server image (pull_request) Successful in 10m5s
Heimdall Gitea / Build and scan agent image (pull_request) Successful in 15m2s
Heimdall Gitea / Publish Docker Hub latest tags (pull_request) Skipped
Heimdall Gitea / Build and scan NVIDIA Agent image (pull_request) Successful in 19m57s
Heimdall Gitea / CI policy (pull_request) Successful in 2s
81412e33e3
arnaud.dartois added 1 commit 2026-11-07 09:52:56 +01:00
fix(agent): cap filtered analysis results at 500 (#270)
Heimdall Gitea / Detect CI scope (pull_request) Successful in 5s
Heimdall Gitea / Build and tests (pull_request) Successful in 11m30s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
Heimdall Gitea / Build and scan server image (pull_request) Successful in 11m44s
Heimdall Gitea / Build and scan agent image (pull_request) Successful in 10m48s
Heimdall Gitea / Publish Docker Hub latest tags (pull_request) Skipped
Heimdall Gitea / Build and scan NVIDIA Agent image (pull_request) Successful in 32m26s
Heimdall Gitea / CI policy (pull_request) Successful in 1s
633576eb1f
arnaud.dartois merged commit cae09e3698 into main 2026-11-07 13:42:01 +01:00
arnaud.dartois deleted branch fix-analysis-result-detection-limit 2026-11-07 13:42:01 +01:00
Author
Owner

Disposable Compose acceptance completed against merge commit cae09e36985010c5969751db06a39a433698a574 (PR #279): source-built Central image heimdall:hmd279-accept-1794071843-1d8b7a-central in isolated project hmd279-accept-1794071843-1d8b7a, with generated credentials and loopback-only ports. Synthetic API setup registered/heartbeated an agent, assigned a camera, and exercised result submission: 501 detections returned HTTP 400; a separate 500-detection result returned HTTP 204 and read back from Central with 500 persisted detections. Cleanup verified zero project containers, volumes, and networks; the exact local Central tag was removed and verified absent. Initial build attempts exposed Docker build-network isolation; successful retry used BuildKit host networking without changing source or locked restore. Synthetic RTSP URI was not contacted. No deployed telemetry was validated.

Disposable Compose acceptance completed against merge commit `cae09e36985010c5969751db06a39a433698a574` (PR #279): source-built Central image `heimdall:hmd279-accept-1794071843-1d8b7a-central` in isolated project `hmd279-accept-1794071843-1d8b7a`, with generated credentials and loopback-only ports. Synthetic API setup registered/heartbeated an agent, assigned a camera, and exercised result submission: 501 detections returned HTTP 400; a separate 500-detection result returned HTTP 204 and read back from Central with 500 persisted detections. Cleanup verified zero project containers, volumes, and networks; the exact local Central tag was removed and verified absent. Initial build attempts exposed Docker build-network isolation; successful retry used BuildKit host networking without changing source or locked restore. Synthetic RTSP URI was not contacted. No deployed telemetry was validated.
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: arnaud.dartois/Heimdall#279