pub(crate) fn spawn_probes()Expand description
The two background tasks mira_core::diag needs to be readable.
A function rather than the body of the if that gates it, because
tracing::enabled! reads the current dispatcher and a tokio::spawned
task does not inherit the scoped one a test can install — so the gate and
the tasks behind it cannot both be reached through the call site, and the
instrument the ingest diagnosis is read from would be the one part of it
never run under test.