Skip to content

feat: enable and expose npm meta fetch retry#284

Open
SukkaW wants to merge 2 commits into
antfu-collective:mainfrom
SukkaW:enable-retry
Open

feat: enable and expose npm meta fetch retry#284
SukkaW wants to merge 2 commits into
antfu-collective:mainfrom
SukkaW:enable-retry

Conversation

@SukkaW

@SukkaW SukkaW commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

🔗 Linked issue

Fixes #230

🧭 Context

This is another approach to fix #230.

This does not supersede #283. Instead, it is a supplement here.

📚 Description

Back in 2025, I opened antfu/fast-npm-meta#23, which is exactly the same issue as #230. I later opened antfu/fast-npm-meta#24, adding retry.

The PR now makes taze utilize that retry option.

  • Enable retry by default, which uses p-retry built-in default options (which should be enough) plus 4 default retry count.
  • Expose retry options as CLI arguments and config file options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'Error: Timeout requesting' has occurred for a few packages in GitHub Codespace when updating dependencies.

1 participant