flaky: Windows scripts job hits test timeouts (check-dco, i18n runner/translate, check-changed)

Đang mở
#550 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
56/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
bun, github-actions, rust, typescript
Lĩnh vực
ci-cd, testing

Hướng nghiên cứu

Start by reading the four named tests: scripts/check-dco.test.ts, scripts/i18n/runner.test.ts, scripts/i18n/translate.test.ts, and scripts/check-changed.test.ts. Check how bun run release:test sets test timeouts on Windows and how the cargo metadata test handles its cache. Confirm the intermittent timeout locally or in CI; done means the Windows scripts job passes reliably without masking genuine test failures.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area: ci os: windows type: bug

Repo scripts (windows-latest) fails intermittently on bun run release:test because tests hit bun's default 5 s timeout (and one its 60 s timeout) on the Windows runner. Everything else in the run passed; a rerun of the failed job passed.

Evidence

Run 44112407920 (PR #462, head 5a0796e0), job 134145061890, test summary:

  • scripts/check-dco.test.ts: a signed-off commit by a real identity passes timed out after 5000 ms.
  • scripts/i18n/runner.test.ts: bun scripts/i18n/check.ts > info findings are hidden unless --info, and never fail the run timed out after 5000 ms.
  • scripts/i18n/translate.test.ts: the prompt > includes at most 20 existing pairs of the same area, never the keys being translated timed out after 5000 ms.
  • scripts/check-changed.test.ts:129: --json --stdin (the atlas_affected plugin) > a crate under crates/ resolves through cargo metadata to its dependents timed out after 60000 ms.

Frequency: 1 occurrence in the 4 or so Windows scripts jobs I watched on 2026-11-17 (the runners were heavily queued). All four tests spawn a child process (git, bun, cargo metadata), which is slow on Windows when the machine is busy.

Suspected cause (not verified)

Spawning git/bun/cargo metadata per test on a contended Windows runner exceeds the default test timeouts. The cargo metadata test has no warm cache on that job. Raising the per-test timeout on Windows (or a CI-wide --timeout), or caching cargo metadata, would be the options.

No fix in the PR where it was seen.

Ngôn ngữ chính
Rust
Star
3
Fork
1
Merge trung bình
9 giờ 51 phút
Pull request đã merge (30 ngày)
310

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của codeatlasdev/atlas

Tất cả issue của codeatlasdev/atlas

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.