honcho/tests/telemetry
Phil ee781c00e2 review: per-replica backlog gauge, drop duplicated constants and .meta refs
Addresses Vineeth's review on #927.

Blocking:
- message_embeddings_pending is a DB-global count, so drive it from
  ReconcilerScheduler._scheduler_loop (runs on every replica, every
  interval) instead of run_vector_reconciliation_cycle (runs off the
  queue behind work-unit dedup, so one replica per cycle). Combined with
  the zero-init, the old placement made every replica that never won the
  work unit export a confident permanent 0. Help string now names the
  owner so dashboards don't reach for sum().
- guard initialize_telemetry_dropped_metrics on METRICS.ENABLED,
  matching its sibling initializer.
- drop the duplicate REASONING_LEVELS; import the one in src/config.

Non-blocking:
- walk BaseSpecialist recursively via a shared utils.types.walk_subclasses
  (replaces the direct-children-only __subclasses__() and the test's
  private copy of the same helper).
- derive the specialist assertion from the subclasses instead of
  hardcoding two names — the hardcoded pair kept passing after
  CardRefreshSpecialist landed, leaving it uncovered.
- inline the zero-init rationale and the multi-instance bucket taxonomy;
  removes both pointers to a .meta design doc that is not in the repo.

Tests: new tests/reconciler/test_pending_backlog_gauge.py pins both
halves of the relocation (verified it fails when reverted).
2026-07-28 15:16:22 -04:00
..
__init__.py Telemetry Overhaul (#333) 2026-01-21 16:49:14 -05:00
conftest.py feat(telemetry): CloudEvents + Langfuse tracing as projections over a captured LLM stream (#845) 2026-07-02 16:49:53 -04:00
test_cross_agent_trace.py feat(telemetry): CloudEvents + Langfuse tracing as projections over a captured LLM stream (#845) 2026-07-02 16:49:53 -04:00
test_embedding_call_event.py feat: add new cloudevents for api routes (#637) 2026-05-20 18:25:30 -04:00
test_embedding_trace.py feat(telemetry): CloudEvents + Langfuse tracing as projections over a captured LLM stream (#845) 2026-07-02 16:49:53 -04:00
test_emit_function.py feat(telemetry): CloudEvents + Langfuse tracing as projections over a captured LLM stream (#845) 2026-07-02 16:49:53 -04:00
test_emitter.py feat: add new cloudevents for api routes (#637) 2026-05-20 18:25:30 -04:00
test_events.py Session-purity invariant + card_refresh dream type (DEV-2000) (#883) 2026-07-23 14:22:07 -04:00
test_langfuse_exporter.py feat(telemetry): CloudEvents + Langfuse tracing as projections over a captured LLM stream (#845) 2026-07-02 16:49:53 -04:00
test_metric_zero_init.py review: per-replica backlog gauge, drop duplicated constants and .meta refs 2026-07-28 15:16:22 -04:00
test_representation_v2_fields.py Counts documents deduped during representation, exact and semantically similar 2026-07-16 14:30:55 -02:00
test_sentry_before_send.py Vineeth/sentry filter consolidation (#934) 2026-07-24 15:42:41 -04:00
test_sentry_sampler.py Filter noisy sentry traces/profiles (#834) 2026-06-22 21:14:55 -04:00
test_summary_v2_fields.py feat: add new cloudevents for api routes (#637) 2026-05-20 18:25:30 -04:00
test_trace_events.py feat(telemetry): CloudEvents + Langfuse tracing as projections over a captured LLM stream (#845) 2026-07-02 16:49:53 -04:00