Commit 4ece696
fix: add retry with longer timeout for slow npm installs
The first `npx promptfoo@latest` invocation can take 1-2 minutes as npm
downloads and installs the full promptfoo package with all dependencies.
This is expected behavior, not a failure.
Adding retry with 5-minute timeout prevents false failures from slow npm
registry downloads and allows sufficient time for package installation.
Co-Authored-By: Michael D'Angelo <michael@promptfoo.dev>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 8871443 commit 4ece696
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
91 | 96 | | |
92 | 97 | | |
93 | 98 | | |
| |||
0 commit comments