Skip to content

[test] providers: diagnose video capability generation failures - #423

Merged
wangtiance merged 1 commit into
ThinkFlowLab:mainfrom
wangtiance:codex/video-capability-diagnostics
Nov 21, 2026
Merged

wangtiance merged 1 commit into
ThinkFlowLab:mainfrom
wangtiance:codex/video-capability-diagnostics

Conversation

@wangtiance

Copy link
Copy Markdown
Collaborator

Summary

Nightly run https://github.com/ThinkFlowLab/OpenDirector/actions/runs/44836587419 failed in video_capability_roles.mjs while waiting 20 seconds for jobs[0].status to become succeeded. The old failure did not include the second generation.submit receipt or the observed jobs.

本次 PR 补充失败证据:捕获第二次 generation.submit 回执并要求 applied;失败时输出 locale、项目/spec 标识、回执、jobs(含错误和技术检查)、夹具健康及调用记录、composer 文本和页面错误,再抛出原异常。它用于区分提交拒绝、任务失败和任务未完成,保留原有 20 秒成功等待。

Capture and assert the second submission receipt, and print the observed jobs, fixture health/calls, composer text and page errors when submission or completion fails. Rethrow the original error and retain the existing 20-second completion wait.

Scope and remaining work / 已解决与未解决

  • Addresses missing failure diagnostics only; no production behavior changes.
  • 仅解决诊断信息缺失;没有修复、定位或证明消除原始生成超时,没有延长原等待或自动重试生成。
  • The original generation timeout was not reproduced locally. API/browser networking initially blocked setup; after service startup, system Chrome timed out during page navigation. Installing the matching Nightly Chromium shell did not complete. These attempts never reached the changed generation block.
  • 本地尝试未到达生成步骤,不能作为完整流程通过或新诊断分支已执行的证据。需要 CI/后续复现验证,并依据实际回执和任务错误继续修复。
  • Previous three scheduled runs failed for different reasons; the immediately preceding run explicitly passed this script. Earlier two runs preceded its introduction. This PR makes no claim about fixing those failures.

Linked issue

  • No issue applies; investigation references the Nightly run above. No issue is closed.

Labels

  • Labels: type:ci, area:ci, area:provider.

Test plan

  • Passed: node --check tests/browser/video_capability_roles.mjs
  • Passed: Prettier check for the changed file
  • Passed: npm run check:browser-manifest
  • Passed: git diff --check
  • Pre-commit: skipped for this commit with explicit user authorization after Windows permission failures. No hook configuration was permanently changed.
  • Local browser execution: blocked at page navigation; no full browser pass claimed.
  • Left to CI: repository checks and execution of the bilingual browser workflow. Actual failure-diagnostic execution and original root cause remain unverified.

Evidence that it works

  • N/A for media: test diagnostics only, with no UI or application changes. Static checks pass; the changed runtime branch is not yet verified locally.

Provider verification

  • No real-provider calls were made. The isolated fixture provides substitute model results; local attempts did not reach generation.

Bilingual UI

  • No user-facing copy changed. The existing en-US and zh-CN workflow coverage remains.

## summary

Capture the second generation submission receipt and print jobs,
fixture calls, composer text and page errors when generation fails.
The original timeout remains unresolved.

## validation

Syntax, Prettier, browser manifest and diff checks passed.
Browser attempts did not reach generation. The pre-commit hook was
skipped for this commit with explicit user authorization after local
Windows permission failures.
@wangtiance wangtiance added area:ci Continuous integration and checks area:provider Model providers and generation protocols type:ci Build, test and release automation labels Nov 21, 2026
@wangtiance
wangtiance merged commit 0b3b41f into ThinkFlowLab:main Nov 21, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci Continuous integration and checks area:provider Model providers and generation protocols type:ci Build, test and release automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant