redhat-developer / redhat-developer/vscode-java

onDidClasspathUpdate failing intermittently

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

Chưa có ai nhận issue này.

build/infra debt
Ngôn ngữ chính
TypeScript
Star
2.3k
Fork
546
Merge trung bình
20 giờ 1 phút
Pull request đã merge (30 ngày)
11

Mô tả

In test/standard-mode-suite/publicApi.test.ts. Also discussed during our migration in https://github.com/redhat-developer/vscode-java/pull/2031

1) Public APIs - Standard
       onDidClasspathUpdate should work:
     Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/vscode-java/vscode-java/out/test/standard-mode-suite/publicApi.test.js)
  	at listOnTimeout (internal/timers.js:554:17)
  	at processTimers (internal/timers.js:497:7)

I don't think it's strictly related to how fast the builder is, because I can't reproduce locally consistently by just limiting the process to 10% of CPU but I get the impression it happens on weaker builders under Github Actions. We had similar issues in https://github.com/redhat-developer/vscode-quarkus/issues/379 and increasing the timeouts worked, but I wonder if something else is happening here.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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.

Hướng nghiên cứu

Bắt đầu với test/standard-mode-suite/publicApi.test.ts và tái hiện timeout không ổn định của onDidClasspathUpdate được nêu trong issue. Xem lại thảo luận về việc migration trong pull request 2031 và issue 379 liên quan của vscode-quarkus, sau đó xác định liệu lỗi có cần thay đổi timeout hay một cách sửa khác; hoàn thành có nghĩa là test hoàn tất một cách ổn định trong GitHub Actions.

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

Đánh giá

Công nghệ
typescript
Lĩnh vực
testing
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
38/100

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.