Skip to content

fix(v8): fetch replace_with crates from crates.io - #1245

Open
joyeecheung wants to merge 1 commit into
nodejs:mainfrom
joyeecheung:fix-crates
Open

joyeecheung wants to merge 1 commit into
nodejs:mainfrom
joyeecheung:fix-crates

Conversation

@joyeecheung

Copy link
Copy Markdown
Member

This is a stop-gap fix to keep the canary green. To keep the data in sync we need to genereate the replacement crates from chromium's data. For now this just fetch the crates from crates.io and fail if patches are detected.

See nodejs/node-v8#317 (comment)

This is a stop-gap fix to keep the canary green. To keep the data in
sync we need to genereate the replacement crates from chromium's data.
For now this just fetch the crates from crates.io and fail if
patches are detected.

Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com>
@codecov

codecov Bot commented Nov 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.52%. Comparing base (f84e3a5) to head (33a0ce3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1245   +/-   ##
=======================================
  Coverage   66.52%   66.52%           
=======================================
  Files          69       69           
  Lines       14105    14105           
=======================================
  Hits         9384     9384           
  Misses       4721     4721           

☔ 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.

ctx.temporalCAPIDirectory = dir;
}
// Fetch replace_with placeholders from crates.io.
// This is a stop-gap fix that only works as long as the

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.

Seems like an incomplete sentence.

} catch {
continue;
}
throw new Error(`Detected Chromium patches ${name} in ${chromiumPatches}/${dir}, ` +

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.

This branch has not been deployed

No deployments
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.

2 participants