-
[NA] [E2E] fix: 3 e2e test failures (#6088)
发布于
2026-04-07 09:19:36 +00:00 - [NA] [E2E] fix: set end_time on test helper traces for online scoring and update Anthropic model names
Online scoring E2E tests fail on local runs because the test helper creates
traces without end_time. The OnlineScoringSampler skips these as "partial
traces", so scoring never executes and the Moderation column never appears.Also updates Anthropic model names from 4.5 to 4.6 in models_config.yaml.
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
- fix: set OPIK_URL_OVERRIDE for local env and fix experiment items pagination locator
- Flask test helper skipped setting OPIK_URL_OVERRIDE for localhost,
causing SDK to fall back to ~/.opik.config (remote server) and timeout - Experiment items pagination locator used getByRole('button') but the
"Showing X of Y" element is a div, not a button
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
- fix: use REST API for dataset item queries to fix UI-created dataset item visibility
SDK's dataset.get_items() returns 0 items for datasets created without a
project_name (e.g. via UI). Switch wait-for-items-count and get-items
endpoints to use the REST API client which correctly queries by dataset ID.Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
- Revert "fix: use REST API for dataset item queries to fix UI-created dataset item visibility"
This reverts commit 1d39098b888874362beda4d9bcb18bcee49d379d.
Co-authored-by: Andrei Căutișanu andreicautisanu@Andreis-MacBook-Pro.local
Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com下载附件