Retry nodejs.org and other fetches
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
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- node.js, typescript
- Lĩnh vực
- cli, networking
Hướng nghiên cứu
Bắt đầu trong packages/commands/src/host/nodeInstaller.ts, đặc biệt là getReleases và các fetches được hiển thị trong stack trace. Truy vết lệnh host-install liên quan và xác định các fetches khác được request này bao phủ. Hoàn tất khi các 500-level failures được thử lại ít nhất một lần sau một khoảng trễ thay vì thất bại ngay lập tức.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
[18:38:45.539] [0] $ node /home/azdo/agent/_work/2/typescript-benchmarking/ts-perf/bin/ts-perf host install --host '[email protected]'
Error: Could not download 'https://nodejs.org/download/release/index.json'; 502 Bad Gateway
at getReleases (/home/azdo/agent/_work/2/typescript-benchmarking/ts-perf/packages/commands/src/host/nodeInstaller.ts:53:29)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at installMatchingNodeHosts (/home/azdo/agent/_work/2/typescript-benchmarking/ts-perf/packages/commands/src/host/nodeInstaller.ts:290:22)
at installHost (/home/azdo/agent/_work/2/typescript-benchmarking/ts-perf/packages/commands/src/host/install.ts:15:26)
at Command._invokeExec (/home/azdo/agent/_work/2/typescript-benchmarking/node_modules/.pnpm/[email protected]/node_modules/power-options/dist/lib/resolver.js:978:17)
at Command.execute (/home/azdo/agent/_work/2/typescript-benchmarking/node_modules/.pnpm/[email protected]/node_modules/power-options/dist/lib/resolver.js:869:13)
at CommandLine.execute (/home/azdo/agent/_work/2/typescript-benchmarking/node_modules/.pnpm/[email protected]/node_modules/power-options/dist/lib/commandLine.js:63:17)
at CommandLine.parseAndExecute (/home/azdo/agent/_work/2/typescript-benchmarking/node_modules/.pnpm/[email protected]/node_modules/power-options/dist/lib/commandLine.js:76:9)
at main (/home/azdo/agent/_work/2/typescript-benchmarking/ts-perf/packages/cli/src/index.ts:69:24)
[18:38:46.242] [0] ✘ Command failed with exit code 1: node /home/azdo/agent/_work/2/typescript-benchmarking/ts-perf/bin/ts-perf host install --host '[email protected]'
[18:38:46.242] [0] ✘ (done in 703ms)
file:///home/azdo/agent/_work/2/typescript-benchmarking/node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6
return new ErrorClass(message, options);
^
We should retry 500 errors at least once after a delay.
- Ngôn ngữ chính
- TypeScript
- Star
- 26
- Fork
- 6
- Merge trung bình
- 5 phút
- Pull request đã merge (30 ngày)
- 3
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 microsoft/typescript-benchmarking
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Add iterations=... parameterĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Add scenarios=... parameterĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Tất cả issue của microsoft/typescript-benchmarking
Issue tương tự
-
priority:high
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
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 78/100
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
immich-app/immich#32426 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue hacktoberfest help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
libredb/libredb-studio#1756 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
state:triage-needed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày