[bug] nightly: capability discovery browser test can pause its clock in the past
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 76/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- github-actions, playwright, typescript
- 領域
- ci-cd, testing-qa
研究方向
閱讀 tests/browser/capability_discovery.mjs 第 517 行附近的內容,以及 .github/workflows/nightly.yml 中 browser-production 的設定(第 285–355 行)。重現 production browser 的情況,並檢查 draft service 檢查如何安裝時鐘以及如何選擇暫停時間。使 fixture 時間戳與受控時鐘保持一致,保留雙語斷言和無額外請求斷言,並確認使用 production browser 的多次執行皆通過。
由索引模型根據 Issue 內容生成。
描述
Observed failure
Scheduled Nightly 44645615189, browser-production tested main 7dc1152ba78bdec05db8d2bbeed4d347ca40b082 (attempt 1). Thirteen of fourteen browser journeys passed. capability_discovery.mjs:517 exited with clock.pauseAt: Error: Cannot fast-forward to the past, before the stale/future/legacy/connection assertions. Captured browser diagnostics had no page errors. Environment: GitHub-hosted Ubuntu 22.04.5, Node 24.22.1, Playwright Core 1.58.2 with Chromium headless shell, Vite production preview and isolated fixture (no live provider).
Reproduce
Use the browser-production setup, then run node tests/browser/capability_discovery.mjs. In the draft service check, after the partial-capability state, the test installs its browser clock and immediately asks it to pause at the Node process's current wall clock. The failure depends on timing; one local pass does not rule it out.
Expected: freeze browser time and verify the same service observation in both locales without a second request.
Actual: Playwright refuses to pause at the supplied timestamp and the observation checks never run.
Scope and acceptance
Current main still has these calls. The stack is in Playwright's clock controller, not the product service. The likely race is that the browser clock ticks past the timestamp before the pause applies. Set an explicit installed time and a later pause target within that controlled clock, or use an equivalent deterministic setup. Keep fixture timestamps consistent with the controlled clock, preserve the bilingual/no-extra-request assertions, and verify multiple runs of the production-browser case. No independent rerun or product regression is claimed.
- 主要語言
- TypeScript
- 星號
- 119
- 分支
- 16
- 平均合併
- 16 小時 13 分鐘
- 30 天內合併 PR
- 195
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
ThinkFlowLab/OpenDirector 的其他 Issue
-
area:provider
難度 2/5 1-3 小時 新手友好度 78/100
ThinkFlowLab/OpenDirector#477 · 1 則留言 ·
維護者通常 1 天內回覆
-
[bug] agent: 长素材名在对话气泡中溢出,遮挡正文与素材栏可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉area:agent
難度 2/5 1-3 小時 新手友好度 88/100
ThinkFlowLab/OpenDirector#348 ·
維護者通常 1 天內回覆
-
area:provider
難度 2/5 1-3 小時 新手友好度 72/100
ThinkFlowLab/OpenDirector#311 ·
維護者通常 1 天內回覆
-
area:desktop area:install help wanted
難度 4/5 3-5 天 新手友好度 25/100
ThinkFlowLab/OpenDirector#475 ·
維護者通常 1 天內回覆
-
area:canvas area:desktop help wanted type:feat
難度 5/5 一週以上 新手友好度 22/100
ThinkFlowLab/OpenDirector#474 ·
維護者通常 1 天內回覆
查看 ThinkFlowLab/OpenDirector 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
primer/primitives#1426 ·
-
Sign-in-only setup dialog describes API-key verification可能已有人在做 @roboclaw-bot 今天認領。 未關閉clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
難度 1/5 1 小時以內 新手友好度 78/100
openclaw/openclaw#204323 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 65/100
virtue-initiative/virtue-initiative#953 ·
維護者通常 1 天內回覆
-
needs-area-label
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 88/100
fumicode/bublys-org#261 ·
維護者通常 12 天內回覆