[bug] nightly: capability discovery browser test can pause its clock in the past
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 76/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions, playwright, typescript
- Lĩnh vực
- ci-cd, testing-qa
Hướng nghiên cứu
Đọc tests/browser/capability_discovery.mjs ở khoảng dòng 517 và phần thiết lập browser-production trong .github/workflows/nightly.yml (dòng 285–355). Tái hiện trường hợp trình duyệt production và kiểm tra cách bước kiểm tra draft service cài đặt đồng hồ và chọn thời điểm tạm dừng. Giữ cho dấu thời gian của fixture khớp với đồng hồ được điều khiển, giữ nguyên các assertion song ngữ và assertion không có yêu cầu bổ sung, đồng thời xác nhận nhiều lần chạy bằng trình duyệt production đều thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 119
- Fork
- 16
- Merge trung bình
- 16 giờ 13 phút
- Pull request đã merge (30 ngày)
- 195
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ThinkFlowLab/OpenDirector
-
area:provider
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ThinkFlowLab/OpenDirector#477 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[bug] agent: 长素材名在对话气泡中溢出,遮挡正文与素材栏Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởarea:agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
ThinkFlowLab/OpenDirector#348 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:provider
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ThinkFlowLab/OpenDirector#311 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:desktop area:install help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
ThinkFlowLab/OpenDirector#475 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:canvas area:desktop help wanted type:feat
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 22/100
ThinkFlowLab/OpenDirector#474 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ThinkFlowLab/OpenDirector
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
primer/primitives#1426 ·
-
Sign-in-only setup dialog describes API-key verificationCó thể đã có người làm @roboclaw-bot đã nhận hôm nay. Đang mởclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
openclaw/openclaw#204323 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
virtue-initiative/virtue-initiative#953 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-area-label
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
fumicode/bublys-org#261 ·
Maintainer thường phản hồi trong vòng 12 ngày