发布

  • [NA] [QA] fix: wait on experiment-creation response in Playground smoke (#7679)

    frostbyte_neo 发布于 2026-07-31 08:55:36 +00:00

    The Playground smoke test polled the experiments API for only 15s after the
    result rows rendered, then asserted an experiment existed. The frontend queues
    experiment creation independently of the trace/span batches that paint those
    rows (createLogPlaygroundProcessor), so the POST can land well after the table
    is complete. On production t3 that window exceeded 15s and the test failed
    after 25 consecutive passes.

    Latch POST /v1/private/experiments/ before clicking Re-run and await it before
    polling, so the test waits on the actual write instead of a fixed budget. The
    predicate matches the collection endpoint exactly, since items and finish
    share the prefix. Raise the residual read-after-write poll to 60s, matching the
    analogous wait in prompt-playground-traces.spec.ts.

    Co-authored-by: Claude Opus 5 noreply@anthropic.com

    下载附件