The headline ParentExecutionIdCorrelationTests intermittently failed under full-suite parallel load, seeing 6 of 7 routed-run rows (NotifySend missing). Root cause: WaitForSiteRowsPersistedAsync checked only a row *count*, which a partial snapshot could satisfy before the last-emitted NotifySend row settled, letting the SiteAuditTelemetryActor drain a partial batch. Fix is test-only: wait on the specific audit Kinds (guaranteeing NotifySend is durably in SQLite before the assertion) and widen the assertion ceiling 30s -> 90s for drain headroom under load. Also drops leftover // DIAG sampler debug scaffolding.
31 KiB
31 KiB