-
[OPIK-7090] [QA] test(e2e): thread / conversation logging coverage (#7229)
发布于
2026-06-25 12:29:51 +00:00 - [OPIK-7098] [QA] test(e2e): thread / conversation logging coverage
Seed a multi-turn conversation (>=2 traces sharing one thread_id) via the
SDK bridge and verify the Logs Threads view groups them into one thread with
the correct message count and renders the conversation turns in order.- bridge: thread_id on the lightweight /traces seed (via
opik_context.update_current_trace; /traces/nested already supported it) - new conversation fixture seeding 3 turns under one thread_id
- LogsPage Threads-tab methods + new ThreadPanelPage
- thread-logging-smoke.spec.ts (@t1-smoke @trace-explore)
Implements OPIK-7090.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
- fix(e2e): treat blank thread_id as absent in trace seed
A blank thread_id reached update_current_trace and would group all
empty-string traces into one phantom thread. Guard on truthiness so
both None and "" are treated as no thread.Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Co-authored-by: Claude Opus 4.8 noreply@anthropic.com
下载附件