fix(alerts): asSystem builds its system session with the runtime instance #42

Merged
KofTwentyTwo merged 1 commits from fix/alerts-system-session-instance into develop 2026-10-15 12:38:27 +00:00
1 Commits
Author SHA1 Message Date
james.maesandClaude Opus 5.5 b638741c61 fix(alerts): asSystem builds its system session with the runtime instance
The alerts-sink drain thread (and schedulers) run engine work through
AlertsRuntime.asSystem with no QContext, so new QSystemUserSession()
read a null instance and warned "QInstance was not supplied" on every
call. AlertsSecurity.systemSession(QInstance) takes the instance; the
no-arg form delegates with the context instance.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 07:25:44 -05:00