Heimdall Gitea / Detect CI scope (pull_request) Successful in 4s
Heimdall Gitea / Build and tests (pull_request) Successful in 26m47s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
Heimdall Gitea / Build and scan agent image (pull_request) Successful in 9m53s
Heimdall Gitea / Build and scan server image (pull_request) Successful in 13m40s
Heimdall Gitea / Publish Docker Hub latest tags (pull_request) Skipped
Heimdall Gitea / Build and scan NVIDIA Agent image (pull_request) Successful in 33m16s
Heimdall Gitea / CI policy (pull_request) Successful in 3s
2.0 KiB
2.0 KiB
name, description
| name | description |
|---|---|
| camera-assignment | Implement and verify assignment of Heimdall cameras to online Agents using persisted assignment history and actual Agent capabilities. |
Heimdall camera assignment
Read AGENTS.md, the camera/Agent assignment Gitea issue, and skills/heimdall-dotnet/SKILL.md. For persistence changes, also follow skills/ef-core-persistence/SKILL.md.
- Keep assignment scoped to the camera's site and online Agents. Persist assignment/release history and update
Camera.AgentIdin the same EF Core unit of work. - Assignment strategy must use evidence actually supplied by the relevant entity. Do not infer Agent inference hardware from camera-side protocol flags such as PTZ or camera-native motion detection.
GpuPriorityprefers Agents reportingHasGpu; if none are GPU-capable, it falls back to all online Agents. Workload balancing remains deterministic within the eligible candidates.- Camera discovery currently does not populate
Camera.HasMotionDetection; treat that legacy field as unknown/false and do not use it for Agent placement until a camera capability probe supplies verified data. - Add PostgreSQL relational tests for strategy selection, failover, and assignment history. Do not use EF InMemory to verify concurrency or transaction semantics.
- For every behavior change, build a uniquely tagged disposable Docker Compose acceptance stack from the changed source, exercise the changed assignment through the API or service boundary against PostgreSQL, and use generated credentials, ports, volumes, and project name. Install an EXIT trap before build/start; tear down only that project, verify zero project containers/volumes/networks, remove each locally built image tag and verify it absent. Preserve shared base images and test exit status. Follow
skills/compose-disposable-recipe/SKILL.md.
Current validated behavior: GpuPriority selects a GPU Agent for a camera even when camera motion capability is false; PostgreSQL test evidence is recorded in the linked Gitea issue.