I1: _DERIVER_TOKEN_COMBOS was factored task-independently, materializing the impossible (ingestion, input, previous_summary) series — previous_summary is summary-only. Make combos task-aware (_DERIVER_TOKEN_COMBOS_BY_TASK) so no always-0 impossible series is fabricated, matching the PR's own goal. Tests tightened to assert the ingestion/previous_summary series is absent. I2: the three gauge .set(0) zero-inits were bare while the counter inits go through the fail-soft _touch. Add _set_gauge_zero() so a gauge init can't propagate an exception into process startup either. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_cross_agent_trace.py | ||
| test_embedding_call_event.py | ||
| test_embedding_trace.py | ||
| test_emit_function.py | ||
| test_emitter.py | ||
| test_events.py | ||
| test_langfuse_exporter.py | ||
| test_metric_zero_init.py | ||
| test_representation_v2_fields.py | ||
| test_sentry_before_send.py | ||
| test_sentry_sampler.py | ||
| test_summary_v2_fields.py | ||
| test_trace_events.py | ||