Retry nodejs.org and other fetches
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- node.js, typescript
- 領域
- cli, networking
研究方向
從 packages/commands/src/host/nodeInstaller.ts 開始,尤其查看 getReleases 以及堆疊追蹤中顯示的 fetches。追蹤相關的 host-install 命令,並找出該請求涵蓋的其他 fetches。完成標準是:500-level failures 會在延遲後至少重試一次,而不是立即失敗。
由索引模型根據 Issue 內容生成。
描述
[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.
- 主要語言
- TypeScript
- 星號
- 26
- 分支
- 6
- 平均合併
- 5 分鐘
- 30 天內合併 PR
- 3
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoft/typescript-benchmarking 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 35/100
-
難度 3/5 1-2 天 新手友好度 45/100
-
難度 4/5 3-5 天 新手友好度 25/100
-
難度 3/5 1-2 天 新手友好度 30/100
-
難度 3/5 1-2 天 新手友好度 35/100
查看 microsoft/typescript-benchmarking 的全部 Issue
相似的 Issue
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P2
難度 2/5 1-3 小時 新手友好度 72/100
openclaw/openclaw#168089 · 2 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
✨ enhancement needs-discussion
難度 1/5 1 小時以內 新手友好度 85/100
-
[Bug]: [MCP/CLI] Bare loopback IP addresses (127.0.0.1:port) and hosts with ports fail to navigate due to erroneous scheme inference可能已有人在做 @alok-108 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
microsoft/playwright#43263 ·
維護者通常 1 天內回覆
-
area:studio type:security
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
enhancement good first issue Stellar Wave trivial
難度 2/5 1-3 小時 新手友好度 85/100
StellarCanary/ProtocolCanary-Action#331 ·
維護者通常 1 天內回覆