kof22 0.1.121 (QQQ RC.18) logs QInstance was not supplied when creating a QSystemUserSession once per pod, on [main] at startup, right after the schedule manager starts.
The cause is QuickSearchRuntime.primeConfig. When there is no QContext, it calls QContext.init(qInstance, new QSystemUserSession()). The session is built before the context is set, so it has no instance and therefore no all-access keys. DiagnosticEventRecorder.insert has the same pattern.
Fix
Both now call new QSystemUserSession(qInstance).
Tests
QuickSearchRuntimeTest.primeConfigWithoutAContextGivesTheSystemSessionItsInstance: priming with no context logs no instance-less session warning. It fails before the fix.
## Problem
kof22 0.1.121 (QQQ RC.18) logs `QInstance was not supplied when creating a QSystemUserSession` once per pod, on `[main]` at startup, right after the schedule manager starts.
The cause is `QuickSearchRuntime.primeConfig`. When there is no `QContext`, it calls `QContext.init(qInstance, new QSystemUserSession())`. The session is built before the context is set, so it has no instance and therefore no all-access keys. `DiagnosticEventRecorder.insert` has the same pattern.
## Fix
Both now call `new QSystemUserSession(qInstance)`.
## Tests
- `QuickSearchRuntimeTest.primeConfigWithoutAContextGivesTheSystemSessionItsInstance`: priming with no context logs no instance-less session warning. It fails before the fix.
- `./mvnw test` passes.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
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
kof22 0.1.121 (QQQ RC.18) logs
QInstance was not supplied when creating a QSystemUserSessiononce per pod, on[main]at startup, right after the schedule manager starts.The cause is
QuickSearchRuntime.primeConfig. When there is noQContext, it callsQContext.init(qInstance, new QSystemUserSession()). The session is built before the context is set, so it has no instance and therefore no all-access keys.DiagnosticEventRecorder.inserthas the same pattern.Fix
Both now call
new QSystemUserSession(qInstance).Tests
QuickSearchRuntimeTest.primeConfigWithoutAContextGivesTheSystemSessionItsInstance: priming with no context logs no instance-less session warning. It fails before the fix../mvnw testpasses.🤖 Generated with Claude Code