Audience: On-call / Ops / DBAs. Symptom → diagnosis → fix → prevention.
The dominant failure mode is warehouse staleness — reports read a synced copy, not live data. Most "report is wrong" tickets are sync lag or a filter, not the report engine.
Symptom: reports lag behind live data by more than a few seconds.
Diagnose: the DataSynchronizationService (30s worker) or one of the SyncBIData() calls may be failing/slow. Check the worker is alive and its logs; check ProcedureExecutionContainer for procedure failures.
Fix: restart the worker; fix the failing SyncBIData() path or SQL procedure.
Prevent: monitor the sync worker and alert on lag (last-sync age).
Symptom: e.g. payroll reports lag but employee reports don't.
Diagnose: the per-service sync is independent — _payrollService.SyncBIData() vs _personService.SyncBIData(). One can fail alone.
Fix: investigate that service's sync; the others are unaffected.
Symptom: report figures don't match expectations.
Diagnose, in order:
Fix: correct the filter; wait out lag; escalate a genuine mismatch with the report + source ids.