Worker: log exception messages and per-command start/end (R21-O3, O7) #184

Open
opened 2026-11-06 15:25:00 -05:00 by dohertj2 · 0 comments
Owner

Worker logging gaps:

  • R21-O3: WorkerApplication.Run catch blocks log the exception type but never the message.
  • R21-O7: the documented per-command start/end log with correlation id and latency does not exist.

Source: archreview/2026-10-21/remediation/00-tracking.md row R21-O3, R21-O7 (cycle-1 WRK-10, WRK-19)

Next step (from the tracker): O3: add exception_message through WorkerLogRedactor in the three catch blocks plus a WorkerApplicationTests assertion. O7: add level-gated WorkerCommandStarted/WorkerCommandCompleted in StaCommandDispatcher.ExecuteQueuedCommandAsync.

Current-state evidence: the row is still Open/Deferred in the latest (2026-10-21) tracker, and a code check on local main @ 8c0a51d (2026-11-06) found it still present unless noted below.

Worker logging gaps: - R21-O3: `WorkerApplication.Run` catch blocks log the exception type but never the message. - R21-O7: the documented per-command start/end log with correlation id and latency does not exist. Source: `archreview/2026-10-21/remediation/00-tracking.md` row R21-O3, R21-O7 (cycle-1 WRK-10, WRK-19) Next step (from the tracker): O3: add `exception_message` through `WorkerLogRedactor` in the three catch blocks plus a `WorkerApplicationTests` assertion. O7: add level-gated `WorkerCommandStarted`/`WorkerCommandCompleted` in `StaCommandDispatcher.ExecuteQueuedCommandAsync`. Current-state evidence: the row is still `Open`/`Deferred` in the latest (2026-10-21) tracker, and a code check on local `main` @ `8c0a51d` (2026-11-06) found it still present unless noted below.
dohertj2 added the area:workertype:review-findingpriority:p3migrated labels 2026-11-06 15:25:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/mxaccessgw#184