Skip to content

fix: use fetchWithRetry for nodevu fetch calls#8609

Merged
araujogui merged 4 commits intomainfrom
MattIPv4/nodevu-fetch-tweaks
Feb 6, 2026
Merged

fix: use fetchWithRetry for nodevu fetch calls#8609
araujogui merged 4 commits intomainfrom
MattIPv4/nodevu-fetch-tweaks

Conversation

@MattIPv4
Copy link
Member

@MattIPv4 MattIPv4 commented Feb 6, 2026

Description

Uses our standard fetch wrapper for the nodevu fetch calls, to help with issues we've been seeing coming from this specifically. Will automatically retry if a fetch call fails, while also logging which fetch call is actually causing the problem.

Validation

nodevu data continues to load.

Related Issues

N/A

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run pnpm format to ensure the code follows the style guide.
  • I have run pnpm test to check if all tests are passing.
  • I have run pnpm build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

@MattIPv4 MattIPv4 requested a review from a team as a code owner February 6, 2026 16:26
Copilot AI review requested due to automatic review settings February 6, 2026 16:26
@vercel
Copy link

vercel bot commented Feb 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nodejs-org Ready Ready Preview Feb 6, 2026 4:40pm

Request Review

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

👋 Codeowner Review Request

The following codeowners have been identified for the changed files:

Team reviewers: @nodejs/nodejs-website

Please review the changes when you have a chance. Thank you! 🙏

@codecov
Copy link

codecov bot commented Feb 6, 2026

Codecov Report

❌ Patch coverage is 50.00000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.95%. Comparing base (097cac6) to head (55f54bb).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
apps/site/util/fetch.ts 33.33% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8609      +/-   ##
==========================================
- Coverage   75.03%   74.95%   -0.09%     
==========================================
  Files         103      103              
  Lines        9062     9063       +1     
  Branches      312      312              
==========================================
- Hits         6800     6793       -7     
- Misses       2260     2268       +8     
  Partials        2        2              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR switches the @nodevu/core data fetch inside the majorNodeReleases generator to use the site’s standard fetchWithRetry wrapper, aiming to improve resilience and logging around nodevu network calls.

Changes:

  • Use fetchWithRetry instead of the global fetch when calling nodevu(...).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

📦 Build Size Comparison

Summary

Metric Value
Old Total Size 3.75 MB
New Total Size 3.75 MB
Delta 366.00 B (+0.01%)

Changes

➕ Added Assets (2)
Name Size
.next/static/chunks/670694a4c1fc1058.js 136.20 KB
.next/static/chunks/a390708deeaaf897.js 207.00 KB
➖ Removed Assets (2)
Name Size
.next/static/chunks/4b7037092daa963a.js 135.84 KB
.next/static/chunks/a6fe51a683a01590.js 207.00 KB

Copy link
Member

@araujogui araujogui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MattIPv4
Copy link
Member Author

MattIPv4 commented Feb 6, 2026

Requesting fast-track on this as a fix for a continual papercut

@MattIPv4 MattIPv4 added the fast-track Fast Tracking PRs label Feb 6, 2026
@araujogui araujogui added this pull request to the merge queue Feb 6, 2026
Merged via the queue into main with commit ecc5ae0 Feb 6, 2026
17 checks passed
@araujogui araujogui deleted the MattIPv4/nodevu-fetch-tweaks branch February 6, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fast-track Fast Tracking PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants