Commit Graph
6 Commits
Author SHA1 Message Date
Arnaud Dartois d78da50c93 feat(notifications): fan out camera events to authorized users
Heimdall Gitea / Build and tests (pull_request) Failing after 0s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-22 19:43:18 +02:00
Arnaud Dartois 8fafbdfaec fix(events): query duplicate retries through context interface
Heimdall Gitea / Build and tests (pull_request) Failing after 1s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-22 19:31:28 +02:00
Arnaud Dartois 183e1b37f7 fix(agent): persist detection events until central accepts
Heimdall Gitea / Build and tests (pull_request) Failing after 50s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-22 19:24:18 +02:00
Arnaud Dartois 45c6ce82eb perf: add ConfigureAwait(false) to all async calls in library projects
Add ConfigureAwait(false) to all await expressions in Application and
Infrastructure projects (111 files). This follows .NET best practices
for library code to avoid potential deadlocks when consumed from
synchronization contexts (legacy, unit test runners).

Also fix 4 test assertions that check SaveChangesAsync — update to
SaveChangesWithRetryAsync to match the handler changes from Fix 4.
2026-07-27 18:59:12 +00:00
Arnaud Dartois 55620b0776 fix(cqrs): address code review findings
Critical fixes:
- Publish EventCreatedNotification (SignalR broadcast was broken)
- Use ValidateAsync in ValidationBehavior (async validators were skipped)

Important fixes:
- Remove dead UnitOfWorkBehavior (handlers manage saves themselves)
- Remove dead ConfigChangedNotification (controller broadcasts directly)
- Guard MappingProfile Activator.CreateInstance against missing ctor
- Add CA1711 pragma with justification
2026-07-22 20:22:34 +00:00
Arnaud Dartois c1b3b3d3b4 feat(cqrs): migrate Events, Agents, Assignments, Discovery, Others to CQRS
- Events: CRUD commands/queries + EventCreatedNotification for SignalR
- Agents: Register (with API key gen), Heartbeat, queries
- Assignments: Assign, Failover, Release commands + queries
- Discovery: 10 handlers delegating to existing probes/services
- Groups/Persons/Settings/Audit/Stats: full CQRS for remaining domains
- Extend IApplicationDbContext with all DbSets
2026-07-22 19:48:16 +00:00