EverOS/tests/unit
zhanghui 25964ccbb3 fix(observability): don't spawn a root trace per cascade embedding
The embedding-observation change wrapped every _embed_chunk call in a
span. Cascade-time indexing embeds run outside any request trace, so each
chunk started its OWN root trace — a per-chunk trace explosion (13 orphan
everos.embedding traces per add/flush), detached from session/user and
contrary to the "cascade is not instrumented" decision.

memory_span gains nested_only: open a span only when one is already
active. Embedding uses it, so search/flush embeds still nest under their
recall/extract span, while cascade embeds no-op (no trace) — restoring the
cascade-untraced boundary.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-24 15:29:54 +08:00
..
test_component feat(observability): capture LLM + embedding token usage 2026-07-23 20:47:39 +08:00
test_config feat(observability): OTel tracing chassis + request-id propagation 2026-07-23 20:47:39 +08:00
test_core fix(observability): don't spawn a root trace per cascade embedding 2026-07-24 15:29:54 +08:00
test_entrypoints feat(api): serve endpoints under /api/v2, retain /api/v1 as alias 2026-07-24 13:44:58 +08:00
test_infra feat(observability): instrument memory ops + OME trace linking 2026-07-23 20:47:39 +08:00
test_memory fix(observability): correct span typing and telemetry shape 2026-07-24 15:29:54 +08:00
test_scripts docs: align config and github workflow (#314) 2026-06-29 07:31:31 +08:00
test_service fix(observability): address OTel review findings 2026-07-24 15:29:54 +08:00
__init__.py chore: initialize EverOS 1.0.0 2026-06-06 07:33:17 +08:00
test_benchmark_config.py chore(release): update EverOS to 1.1.1 (#327) 2026-07-07 18:30:03 +08:00