[bug] nightly: video capability test times out after submitting with unknown support

未關閉
#420 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
github-actions, javascript, node.js, playwright, typescript
領域
testing-qa

研究方向

Start with tests/browser/video_capability_roles.mjs around lines 283-336, where the rejected-role run switches the fixture to unknown support and clicks Run after reload. Check how the wait for the first job reaching succeeded is written, and add logging of the second generation.submit receipt, job ID, state and error. Run the isolated case and the browser-extended lane; done means the failure reports why the job did not succeed while both denied-role and unknown-role assertions still pass.

由索引模型根據 Issue 內容生成。

描述

area:ci

Observed failure

Scheduled Nightly #15 / browser-extended on main ffa16c46f57ec3eab16c9fb2fe677c5ba7097f0d finished with 48 browser scripts passing and one failing. video_capability_roles.mjs timed out at line 320 with Video capability workflow did not reach the expected state. The same script passed in the preceding scheduled extended job. This is separate from #411: the new production-browser job passed capability discovery.

Environment: GitHub-hosted Ubuntu 22.04, Node 24.22.1, Playwright/Chromium and the isolated creation app. This test uses a simulated capability HTTP server and saved substitute media; it does not run a real model.

Reproduce

Use the browser-extended job setup, then run node tests/browser/video_capability_roles.mjs. The failing path first exercises an explicitly rejected input role, then switches the fixture to unknown support, refreshes availability, reloads, and clicks Run with the preserved draft.

Expected: with unknown rather than denied support, submission succeeds, preserves the draft/reference, and saves playable substitute video.
Actual: the project poll did not observe the first job reach succeeded within 20 seconds. The current failure output does not say whether the second command was accepted, whether a job ever existed, or what state/error it ended in. No independent rerun or product regression is claimed.

Next evidence

Capture the second generation.submit receipt and last observed job ID/state/error plus locale when the wait fails. Then rerun the isolated case and the extended lane on a fix, preserving both denied-role and unknown-role assertions. Determine whether the fault is admission, job execution, or test timing before changing the wait.

主要語言
TypeScript
星號
119
分支
16
平均合併
16 小時 13 分鐘
30 天內合併 PR
195

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

ThinkFlowLab/OpenDirector 的其他 Issue

查看 ThinkFlowLab/OpenDirector 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。