test: absolute time bounds and other flakes under load (server, parallel suites)

Đang mở
#436 2 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/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ệ
javascript
Lĩnh vực
performance, testing

Hướng nghiên cứu

Start by listing tests that use absolute wall-clock bounds across the core, mcp, server, and pivotkit-report workspaces. Read the timing-test changes in #421 and #423, then run the affected suites in parallel to reproduce flakes. Update each test to use ratio bounds or interleaved best-of-N rounds while confirming it still fails on the defect it was written to detect.

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

Mô tả

area:tests

When all 8 workspaces' test suites run at the same time (harder than npm test, which runs them one after another), other tests with absolute time bounds fail now and then. Example: pivotkit-report "hostile markup ... in linear time" took 1046 ms against a 1 s bound. Tests in core, mcp and server failed occasionally as well.

This is the same pattern that #421 fixed for the xlsx used-range test. The CI runs one workspace at a time, so this has not caused a red main.

Fix: list the tests that use absolute wall-clock bounds. Move them to ratio bounds or interleaved best-of-N rounds, as in #423, without loosening what they detect: each must still fail on the defect it was written for.

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

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 eizedev/pivotkit

Tất cả issue của eizedev/pivotkit

Issue tương tự

Thêm issue về JavaScript

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.