Skip to content

refactor(v8): cache new V8 version during major update#1116

Merged
aduh95 merged 1 commit into
nodejs:mainfrom
Renegade334:v8-version-refactor
Jul 14, 2026
Merged

refactor(v8): cache new V8 version during major update#1116
aduh95 merged 1 commit into
nodejs:mainfrom
Renegade334:v8-version-refactor

Conversation

@Renegade334

Copy link
Copy Markdown
Member

After updating the V8 tree, we currently re-fetch the new V8 version from the filesystem several times during various tasks. Instead, we can cache it in the same way that we do the existing version.

Updates getCurrentV8Version() to a generic task that accepts a label for the version, either 'current' or 'new', from which the context property name is derived.

After updating the V8 tree, we currently re-fetch the new V8 version
from the filesystem several times during various tasks.
Instead, we can cache it in the same way that we do the existing
version.

Updates `getCurrentV8Version()` to a generic task that accepts a label
for the version, either 'current' or 'new', from which the context
property name is derived.
@codecov

codecov Bot commented Jul 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.06%. Comparing base (0ead0a1) to head (b0b2ee0).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1116      +/-   ##
==========================================
+ Coverage   62.37%   63.06%   +0.68%     
==========================================
  Files          48       50       +2     
  Lines        7892     8288     +396     
==========================================
+ Hits         4923     5227     +304     
- Misses       2969     3061      +92     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@targos targos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

SGTM

@aduh95 aduh95 merged commit 09c8ff9 into nodejs:main Jul 14, 2026
11 checks passed
@Renegade334 Renegade334 deleted the v8-version-refactor branch July 14, 2026 08:59
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.

3 participants