Skip to content

Update V8 to 15.9.128.39 - #8900

Merged
erikcorry merged 3 commits into
mainfrom
erikcorry/roll-15.9
Nov 26, 2026
Merged

erikcorry merged 3 commits into
mainfrom
erikcorry/roll-15.9

Conversation

@erikcorry

@erikcorry erikcorry commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Rebase the V8 patches and add one that points V8's new BoringSSL dependency at @ssl. Bump llvm-libc to the revision in V8's DEPS.

Remove the V8 version ifdefs, which were only needed while edgeworker could still revert its roll.

Replace the deprecated ArrayBufferView::Buffer() and RegExp::Exec() with GetBuffer() and ExecV2(). Transferring a view backed by a SharedArrayBuffer now throws DataCloneError.

compile-cache-test no longer corrupts the source to detect a cache hit, since V8 now hashes the source; it counts hits through the observer instead. request-ops-test no longer depends on whether llvm-symbolizer is installed.

No new V8 APIs were activated by this roll.

@erikcorry
erikcorry requested review from a team as code owners November 25, 2026 14:24

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Superseded by the review of 8bc3fbb4.

This review, of fdf2b9ad

💬 Approved with comments — A clean, mostly mechanical V8 roll. The one WARNING is a process item: the commit message has no record of the audit for newly default-enabled APIs. The other two items are a stale Cargo.toml comment and a question about a lockfile downgrade.

Findings: 1 warning · 1 question · 1 info (1 is an inline comment on the diff)

Not opened by the correctness review: 56 changed files it was meant to read
  • build/deps/deps.jsonc
  • build/deps/gen/deps.MODULE.bazel
  • build/deps/v8.MODULE.bazel
  • patches/v8/2020-03-26-Add-methods-to-get-heap-and-external-memory-sizes-directly.patch
  • patches/v8/2022-03-02-Allow-manually-setting-ValueDeserializer-format-version.patch
  • patches/v8/2022-03-16-Allow-manually-setting-ValueSerializer-format-version.patch
  • patches/v8/2023-03-16-Allow-Windows-builds-under-Bazel.patch
  • patches/v8/2023-06-07-Speed-up-V8-bazel-build-by-always-using-target-cfg.patch
  • patches/v8/2023-06-22-Implement-Promise-Context-Tagging.patch
  • patches/v8/2023-07-09-Enable-V8-shared-linkage.patch
  • patches/v8/2023-09-13-Randomize-the-initial-ExecutionContextId-used-by-the-inspector.patch
  • patches/v8/2024-03-02-Add-ValueSerializer-SetTreatFunctionsAsHostObjects.patch
  • patches/v8/2024-04-22-Modify-where-to-look-for-fp16-dependency.-This-dependency-is-normally-downloaded-by-gn-but-we-need-to-fetch-it-in-Bazel.-We-do-so-in-the-workerd-repo-in-the-WORKSPACE-file.patch
  • patches/v8/2024-07-09-Update-illegal-invocation-error-message-in-v8.patch
  • patches/v8/2024-12-02-Add-another-slot-in-the-isolate-for-embedder.patch
  • patches/v8/2024-12-04-Add-ValueSerializer-SetTreatProxiesAsHostObjects.patch
  • patches/v8/2025-01-15-Expose-AdjustAmountOfExternalAllocatedMemoryImpl-as-public-API.patch
  • patches/v8/2025-02-26-Revert-heap-Add-masm-specific-unwinding-annotations-to-GC.patch
  • patches/v8/2025-03-03-Modify-where-to-look-for-fast_float-and-simdutf.patch
  • patches/v8/2025-04-07-Remove-unneded-latomic-linker-flag.patch
  • patches/v8/2025-06-08-Port-V8_USE_ZLIB-support.patch
  • patches/v8/2025-06-08-Port-concurrent-mksnapshot-support.patch
  • patches/v8/2025-06-19-Modify-where-to-look-for-dragonbox.patch
  • patches/v8/2025-07-01-Implement-additional-Exception-construction-methods.patch
  • patches/v8/2025-10-02-bind-icu-to-googlesource.patch
  • patches/v8/2025-11-06-Add-v8-String-IsFlat-API.patch
  • patches/v8/2026-02-04-Add-verify_write_barriers-flag-in-V8-s-bazel-config.patch
  • patches/v8/2026-02-17-Return-false-on-Object.hasOwnProperty-with-interceptors.patch
  • patches/v8/2026-03-04-Remove-V8-MODULE.bazel-llvm-toolchain-and-libcxx-repo-rules.patch
  • patches/v8/2026-03-04-Remove-libcxx-dep-from-defs.bzl-not-resolvable-via-http_archive.patch
  • patches/v8/2026-04-15-Track-external-memory-separately-from-the-global-allocation-limit.patch
  • patches/v8/2026-06-05-Implement-cross-request-context-promise-resolve-handling.patch
  • patches/v8/2026-06-16-Fix-ExtendedMap-layout-on-Windows.patch
  • patches/v8/2026-06-17-Fix-CFunction-MemorySpan-declarations-on-Windows.patch
  • patches/v8/2026-07-01-Properly-depend-on-llvm-libc.patch
  • patches/v8/2026-08-10-Fix-TSan-build-without-the-V8-sandbox.patch
  • patches/v8/2026-08-31-Disable-preserve_most-on-Windows-x64-before-Clang-22.patch
  • patches/v8/2026-09-02-Enable-Perfetto-support-in-the-V8-Bazel-build.patch
  • patches/v8/2026-10-10-Build-V8-release-archives-without-metagen.patch
  • patches/v8/2026-10-14-Consider-all-dynamic-functions-code-like.patch
  • patches/v8/2026-10-15-Add-UnboundModuleScript-GetCompileHintsCollector.patch
  • patches/v8/2026-10-21-Add-v8-Data-IsCompatibleWithIsolate.patch
  • patches/v8/2026-10-22-Build-Temporal-in-the-V8-Bazel-build.patch
  • patches/v8/2026-10-23-Forward-ThinStrings-shortcut-by-the-scavenger.patch
  • patches/v8/2026-10-24-Keep-llvm-libc-private-to-v8_libbase.patch
  • patches/v8/2026-10-24-Keep-v8_libshared-private-to-v8.patch
  • patches/v8/2026-11-05-Add-DisallowHeapAllocation-to-the-API.patch
  • patches/v8/2026-11-09-Leave-the-SharedFunctionInfo-id-out-of-the-read-only-heap-checksum.patch
  • patches/v8/2026-11-10-Add-SnapshotCreator-HasSuspendedGenerators.patch
  • patches/v8/2026-11-17-heap-Check-the-old-generation-limit-in-SetIsLoading-false-without-incremental-marking.patch
  • … and 6 more

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.

🔧 Fix with your agent

Paste the following into your coding agent to investigate and fix these issues.

Fix the following code review issues found in pull request #8900.

Before making changes, review each issue and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g., the fix would require disproportionate changes
  for minimal ROI, or the finding is factually incorrect), explain why
- If you need to clarify something before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order

## WARNING (1)

### [Code Quality] The commit message does not record the audit of newly default-enabled standard APIs in V8 15.9, or what was done with each, which the repository's backward-compatibility rules require for every V8 update. Add the audit result to the commit message, or state that the audit found none.

## INFO (1)

### [Code Quality] The comment above the icu_calendar pin still describes the 2.2.1 pin.
- **File:** deps/rust/Cargo.toml:107

## QUESTIONS (1)

### [Code Quality] MODULE.bazel.lock moves aspect_tools_telemetry from 0.5.2 to 0.5.1 and notice_version from 3 to 2, which a V8 roll should not change. Was the lockfile regenerated from an older main? If so, regenerate it with `just update-lockfile` on current main.
- **File:** MODULE.bazel.lock:1714

📋 Code Quality: ⚠️ 1 warning · 1 question · 1 info

The patch rebases, the removal of the version ifdefs and the API renames look correct. Missing: a record of the compatibility audit, a current comment on the icu_calendar pin, and an explanation for the lockfile downgrade.

Recommendation: 📝 Minor Comments

  • [WARNING] The commit message does not record the audit of newly default-enabled standard APIs in V8 15.9, or what was done with each, which the repository's backward-compatibility rules require for every V8 update. Add the audit result to the commit message, or state that the audit found none.
  • [QUESTION] MODULE.bazel.lock moves aspect_tools_telemetry from 0.5.2 to 0.5.1 and notice_version from 3 to 2, which a V8 roll should not change. Was the lockfile regenerated from an older main? If so, regenerate it with just update-lockfile on current main. (MODULE.bazel.lock:1714)
  • [INFO] The comment above the icu_calendar pin still describes the 2.2.1 pin. (deps/rust/Cargo.toml:107)
View full review

Compatibility audit not recorded. The repository's backward-compatibility rules ask every V8 update to list each newly default-enabled standard API and say what was done with it in the commit message. If there are none, the commit message should say that the update disables all of them and the audit found no others. Neither the commit message nor the pull request description says anything about new globals or APIs.

Stale comment. deps/rust/Cargo.toml:105-106 still says Chromium builds icu_calendar 2.2.1 and that the pin keeps ICU4X data on the 2.2 line. The pin is now =2.4.0.

Lockfile downgrade. MODULE.bazel.lock moves aspect_tools_telemetry from 0.5.2 to 0.5.1, drops aspect_rules_js from the telemetry deps and lowers notice_version from 3 to 2. None of that relates to a V8 roll. The registry section at the head does list 0.5.1, so the file is internally consistent, but this looks like a regeneration against an older state of main.

Checked, no issues:

  • Buffer() → GetBuffer() and Exec() → ExecV2() keep the same logic. .As<v8::ArrayBuffer>() appears only where an ArrayBuffer is actually needed (Detach, the JsArrayBuffer constructor).
  • The new DataCloneError in Serializer::transfer for views backed by a SharedArrayBuffer matches what global-scope-test.js already expects.
  • The new BoringSSL patch points V8 at @ssl, which the existing boringssl bazel_dep (repo_name = "ssl") defines.
  • CountingObserver in compile-cache-test overrides the observer hooks with matching signatures.

✅ All other checks passed

🚀 Release: ✅ LGTM

No release artifacts change. This pull request updates the V8 dependency, not the project's own version or release process.


🔒 Security: ✅ LGTM

No security issues found. Rejecting transfers of views backed by a SharedArrayBuffer closes off an unsafe cast in the transfer path.


📖 AGENTS.md: ✅ LGTM

No AGENTS.md updates needed.


⚡ Performance: ✅ LGTM

No performance issues found.


📝 Documentation: ✅ LGTM

The docs/v8-updates.md additions look fine. The stale icu_calendar comment is covered in the code-quality section.


Reviewed commit: fdf2b9ad

Comment thread deps/rust/Cargo.toml Resolved

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Superseded by the review of d76646fb.

This review, of 8bc3fbb4

💬 Approved with comments — A mostly mechanical V8 roll with correct API migrations. The one WARNING is a process item: the commit message has no record of the compatibility audit. The other note is a stale comment in Cargo.toml.

Findings: 1 warning · 1 info

Not opened by the correctness review: 56 changed files it was meant to read
  • build/deps/deps.jsonc
  • build/deps/gen/deps.MODULE.bazel
  • build/deps/v8.MODULE.bazel
  • patches/v8/2020-03-26-Add-methods-to-get-heap-and-external-memory-sizes-directly.patch
  • patches/v8/2022-03-02-Allow-manually-setting-ValueDeserializer-format-version.patch
  • patches/v8/2022-03-16-Allow-manually-setting-ValueSerializer-format-version.patch
  • patches/v8/2023-03-16-Allow-Windows-builds-under-Bazel.patch
  • patches/v8/2023-06-07-Speed-up-V8-bazel-build-by-always-using-target-cfg.patch
  • patches/v8/2023-06-22-Implement-Promise-Context-Tagging.patch
  • patches/v8/2023-07-09-Enable-V8-shared-linkage.patch
  • patches/v8/2023-09-13-Randomize-the-initial-ExecutionContextId-used-by-the-inspector.patch
  • patches/v8/2024-03-02-Add-ValueSerializer-SetTreatFunctionsAsHostObjects.patch
  • patches/v8/2024-04-22-Modify-where-to-look-for-fp16-dependency.-This-dependency-is-normally-downloaded-by-gn-but-we-need-to-fetch-it-in-Bazel.-We-do-so-in-the-workerd-repo-in-the-WORKSPACE-file.patch
  • patches/v8/2024-07-09-Update-illegal-invocation-error-message-in-v8.patch
  • patches/v8/2024-12-02-Add-another-slot-in-the-isolate-for-embedder.patch
  • patches/v8/2024-12-04-Add-ValueSerializer-SetTreatProxiesAsHostObjects.patch
  • patches/v8/2025-01-15-Expose-AdjustAmountOfExternalAllocatedMemoryImpl-as-public-API.patch
  • patches/v8/2025-02-26-Revert-heap-Add-masm-specific-unwinding-annotations-to-GC.patch
  • patches/v8/2025-03-03-Modify-where-to-look-for-fast_float-and-simdutf.patch
  • patches/v8/2025-04-07-Remove-unneded-latomic-linker-flag.patch
  • patches/v8/2025-06-08-Port-V8_USE_ZLIB-support.patch
  • patches/v8/2025-06-08-Port-concurrent-mksnapshot-support.patch
  • patches/v8/2025-06-19-Modify-where-to-look-for-dragonbox.patch
  • patches/v8/2025-07-01-Implement-additional-Exception-construction-methods.patch
  • patches/v8/2025-10-02-bind-icu-to-googlesource.patch
  • patches/v8/2025-11-06-Add-v8-String-IsFlat-API.patch
  • patches/v8/2026-02-04-Add-verify_write_barriers-flag-in-V8-s-bazel-config.patch
  • patches/v8/2026-02-17-Return-false-on-Object.hasOwnProperty-with-interceptors.patch
  • patches/v8/2026-03-04-Remove-V8-MODULE.bazel-llvm-toolchain-and-libcxx-repo-rules.patch
  • patches/v8/2026-03-04-Remove-libcxx-dep-from-defs.bzl-not-resolvable-via-http_archive.patch
  • patches/v8/2026-04-15-Track-external-memory-separately-from-the-global-allocation-limit.patch
  • patches/v8/2026-06-05-Implement-cross-request-context-promise-resolve-handling.patch
  • patches/v8/2026-06-16-Fix-ExtendedMap-layout-on-Windows.patch
  • patches/v8/2026-06-17-Fix-CFunction-MemorySpan-declarations-on-Windows.patch
  • patches/v8/2026-07-01-Properly-depend-on-llvm-libc.patch
  • patches/v8/2026-08-10-Fix-TSan-build-without-the-V8-sandbox.patch
  • patches/v8/2026-08-31-Disable-preserve_most-on-Windows-x64-before-Clang-22.patch
  • patches/v8/2026-09-02-Enable-Perfetto-support-in-the-V8-Bazel-build.patch
  • patches/v8/2026-10-10-Build-V8-release-archives-without-metagen.patch
  • patches/v8/2026-10-14-Consider-all-dynamic-functions-code-like.patch
  • patches/v8/2026-10-15-Add-UnboundModuleScript-GetCompileHintsCollector.patch
  • patches/v8/2026-10-21-Add-v8-Data-IsCompatibleWithIsolate.patch
  • patches/v8/2026-10-22-Build-Temporal-in-the-V8-Bazel-build.patch
  • patches/v8/2026-10-23-Forward-ThinStrings-shortcut-by-the-scavenger.patch
  • patches/v8/2026-10-24-Keep-llvm-libc-private-to-v8_libbase.patch
  • patches/v8/2026-10-24-Keep-v8_libshared-private-to-v8.patch
  • patches/v8/2026-11-05-Add-DisallowHeapAllocation-to-the-API.patch
  • patches/v8/2026-11-09-Leave-the-SharedFunctionInfo-id-out-of-the-read-only-heap-checksum.patch
  • patches/v8/2026-11-10-Add-SnapshotCreator-HasSuspendedGenerators.patch
  • patches/v8/2026-11-17-heap-Check-the-old-generation-limit-in-SetIsLoading-false-without-incremental-marking.patch
  • … and 6 more

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.

🔧 Fix with your agent

Paste the following into your coding agent to investigate and fix these issues.

Fix the following code review issues found in pull request #8900.

Before making changes, review each issue and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g., the fix would require disproportionate changes
  for minimal ROI, or the finding is factually incorrect), explain why
- If you need to clarify something before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order

## WARNING (1)

### [Code Quality] The commit message does not record the audit of newly default-enabled standard APIs in V8 15.9, or what was done with each, which the repository's backward-compatibility rules require for every V8 update. Add the audit result to the commit message, or state that the update disables all such APIs and the audit found no others.

## INFO (1)

### [Code Quality] The comment above the icu_calendar pin still describes the 2.2.1 pin, but the pin is now =2.4.0.
- **File:** deps/rust/Cargo.toml:103

📋 Code Quality: ⚠️ 1 warning · 1 info

The compatibility audit is still missing from the commit message, and a Cargo.toml comment is stale. The lockfile question is gone because MODULE.bazel.lock is no longer changed.

Recommendation: 📝 Minor Comments

  • [WARNING] The commit message does not record the audit of newly default-enabled standard APIs in V8 15.9, or what was done with each, which the repository's backward-compatibility rules require for every V8 update. Add the audit result to the commit message, or state that the update disables all such APIs and the audit found no others.
  • [INFO] The comment above the icu_calendar pin still describes the 2.2.1 pin, but the pin is now =2.4.0. (deps/rust/Cargo.toml:103)
View full review

Compatibility audit not recorded. The repository's backward-compatibility rules ask every V8 update to:

  • list each newly default-enabled standard API and say what was done with it, or
  • state that the update disables all such APIs and that the audit found no others.

Neither the commit message nor the pull request description says either.

Stale comment. deps/rust/Cargo.toml:103-104 still says Chromium builds icu_calendar 2.2.1 and that the pin keeps ICU4X data on the 2.2 line. The pin is now =2.4.0.

Checked, no issues:

  • GetBuffer() / ExecV2() keep the same logic. The .As<v8::ArrayBuffer>() casts appear only where an ArrayBuffer is required.
  • Serializer::transfer rejects views backed by a SharedArrayBuffer before the cast. global-scope-test.js already expects this.
  • compile-cache-test.c++: the CountingObserver overrides match the hooks declared in observer.h.
  • request-ops-test.c++ forces ADDRESS_ONLY stack traces, so the test no longer depends on whether llvm-symbolizer is installed.
  • The Cargo lockfiles are consistent with the icu_calendar 2.4.0 pin.

✅ All other checks passed

🚀 Release: ✅ LGTM

This pull request updates the V8 dependency, not the project's own version or release process.


🔒 Security: ✅ LGTM

No security issues found. The new DataCloneError for views backed by a SharedArrayBuffer is raised before the ArrayBuffer cast in the transfer path. The hardening in RegExp::ExecV2 against a monkey-patched exec is unchanged.


📖 AGENTS.md: ✅ LGTM

No AGENTS.md updates needed.


⚡ Performance: ✅ LGTM

The API swaps do the same work as before.


📝 Documentation: ✅ LGTM

The docs/v8-updates.md additions look fine. The stale icu_calendar comment is covered in the code-quality section.


Reviewed commit: 8bc3fbb4

Rebase the V8 patches and add one that points V8's new BoringSSL
dependency at @ssl. Bump llvm-libc to the revision in V8's DEPS.

Remove the V8 version ifdefs, which were only needed while
edgeworker could still revert its roll.

Replace the deprecated ArrayBufferView::Buffer() and RegExp::Exec()
with GetBuffer() and ExecV2(). Transferring a view backed by a
SharedArrayBuffer now throws DataCloneError.

compile-cache-test no longer corrupts the source to detect a cache
hit, since V8 now hashes the source; it counts hits through the
observer instead. request-ops-test no longer depends on whether
llvm-symbolizer is installed.
ICU stays at 78.2 with tzdb 2026f and a pruned data bundle, and
icu_calendar moves to 2.4.0 to match Chromium. These can change
Intl and Temporal output (time zone data, non-ISO calendar year
calculations) but add no API.

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Superseded by the review of 18547d50.

This review, of d76646fb

💬 Approved with comments — The API migrations in this V8 roll are correct. The one open WARNING is a process item: the commit message doesn't record the required audit of newly default-enabled standard APIs.

Findings: 1 warning (1 is an inline comment on the diff)

Not opened by the correctness review: 50 changed files it was meant to read
  • build/deps/gen/deps.MODULE.bazel
  • patches/v8/2020-03-26-Add-methods-to-get-heap-and-external-memory-sizes-directly.patch
  • patches/v8/2022-03-02-Allow-manually-setting-ValueDeserializer-format-version.patch
  • patches/v8/2022-03-16-Allow-manually-setting-ValueSerializer-format-version.patch
  • patches/v8/2023-03-16-Allow-Windows-builds-under-Bazel.patch
  • patches/v8/2023-06-07-Speed-up-V8-bazel-build-by-always-using-target-cfg.patch
  • patches/v8/2023-06-22-Implement-Promise-Context-Tagging.patch
  • patches/v8/2023-07-09-Enable-V8-shared-linkage.patch
  • patches/v8/2023-09-13-Randomize-the-initial-ExecutionContextId-used-by-the-inspector.patch
  • patches/v8/2024-03-02-Add-ValueSerializer-SetTreatFunctionsAsHostObjects.patch
  • patches/v8/2024-04-22-Modify-where-to-look-for-fp16-dependency.-This-dependency-is-normally-downloaded-by-gn-but-we-need-to-fetch-it-in-Bazel.-We-do-so-in-the-workerd-repo-in-the-WORKSPACE-file.patch
  • patches/v8/2024-07-09-Update-illegal-invocation-error-message-in-v8.patch
  • patches/v8/2024-12-02-Add-another-slot-in-the-isolate-for-embedder.patch
  • patches/v8/2024-12-04-Add-ValueSerializer-SetTreatProxiesAsHostObjects.patch
  • patches/v8/2025-01-15-Expose-AdjustAmountOfExternalAllocatedMemoryImpl-as-public-API.patch
  • patches/v8/2025-02-26-Revert-heap-Add-masm-specific-unwinding-annotations-to-GC.patch
  • patches/v8/2025-03-03-Modify-where-to-look-for-fast_float-and-simdutf.patch
  • patches/v8/2025-04-07-Remove-unneded-latomic-linker-flag.patch
  • patches/v8/2025-06-08-Port-V8_USE_ZLIB-support.patch
  • patches/v8/2025-06-08-Port-concurrent-mksnapshot-support.patch
  • patches/v8/2025-06-19-Modify-where-to-look-for-dragonbox.patch
  • patches/v8/2025-07-01-Implement-additional-Exception-construction-methods.patch
  • patches/v8/2025-10-02-bind-icu-to-googlesource.patch
  • patches/v8/2025-11-06-Add-v8-String-IsFlat-API.patch
  • patches/v8/2026-02-04-Add-verify_write_barriers-flag-in-V8-s-bazel-config.patch
  • patches/v8/2026-02-17-Return-false-on-Object.hasOwnProperty-with-interceptors.patch
  • patches/v8/2026-03-04-Remove-V8-MODULE.bazel-llvm-toolchain-and-libcxx-repo-rules.patch
  • patches/v8/2026-03-04-Remove-libcxx-dep-from-defs.bzl-not-resolvable-via-http_archive.patch
  • patches/v8/2026-04-15-Track-external-memory-separately-from-the-global-allocation-limit.patch
  • patches/v8/2026-06-05-Implement-cross-request-context-promise-resolve-handling.patch
  • patches/v8/2026-06-16-Fix-ExtendedMap-layout-on-Windows.patch
  • patches/v8/2026-06-17-Fix-CFunction-MemorySpan-declarations-on-Windows.patch
  • patches/v8/2026-07-01-Properly-depend-on-llvm-libc.patch
  • patches/v8/2026-08-10-Fix-TSan-build-without-the-V8-sandbox.patch
  • patches/v8/2026-08-31-Disable-preserve_most-on-Windows-x64-before-Clang-22.patch
  • patches/v8/2026-09-02-Enable-Perfetto-support-in-the-V8-Bazel-build.patch
  • patches/v8/2026-10-10-Build-V8-release-archives-without-metagen.patch
  • patches/v8/2026-10-14-Consider-all-dynamic-functions-code-like.patch
  • patches/v8/2026-10-15-Add-UnboundModuleScript-GetCompileHintsCollector.patch
  • patches/v8/2026-10-21-Add-v8-Data-IsCompatibleWithIsolate.patch
  • patches/v8/2026-10-22-Build-Temporal-in-the-V8-Bazel-build.patch
  • patches/v8/2026-10-23-Forward-ThinStrings-shortcut-by-the-scavenger.patch
  • patches/v8/2026-10-24-Keep-llvm-libc-private-to-v8_libbase.patch
  • patches/v8/2026-10-24-Keep-v8_libshared-private-to-v8.patch
  • patches/v8/2026-11-05-Add-DisallowHeapAllocation-to-the-API.patch
  • patches/v8/2026-11-09-Leave-the-SharedFunctionInfo-id-out-of-the-read-only-heap-checksum.patch
  • patches/v8/2026-11-10-Add-SnapshotCreator-HasSuspendedGenerators.patch
  • patches/v8/2026-11-17-heap-Check-the-old-generation-limit-in-SetIsLoading-false-without-incremental-marking.patch
  • patches/v8/2026-11-23-Implement-DOMException-and-QuotaExceededError.patch
  • patches/v8/2026-11-25-Modify-where-to-look-for-BoringSSL.patch

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.

🔧 Fix with your agent

Paste the following into your coding agent to investigate and fix these issues.

Fix the following code review issues found in pull request #8900.

Before making changes, review each issue and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g., the fix would require disproportionate changes
  for minimal ROI, or the finding is factually incorrect), explain why
- If you need to clarify something before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order

## WARNING (1)

### [Code Quality] The commit messages don't record the audit of newly default-enabled standard APIs in V8 15.9, which the repository's backward-compatibility rules require for every V8 update.
- **File:** build/deps/v8.MODULE.bazel:21

📋 Code Quality: ⚠️ 1 warning

API migrations are correct; the compatibility audit is still missing from the commit message.

Recommendation: 📝 Minor Comments

  • [WARNING] The commit messages don't record the audit of newly default-enabled standard APIs in V8 15.9, which the repository's backward-compatibility rules require for every V8 update. (build/deps/v8.MODULE.bazel:21)
View full review

Compatibility audit not recorded. The repository's backward-compatibility rules require every V8 update to do one of two things in the commit message:

  • list each newly default-enabled standard API and say what was done with it, or
  • state that the update disables all such APIs and that the audit found no others.

Neither commit message nor the pull request description does either.

Fixed since the last review: the comment above the icu_calendar pin in deps/rust/Cargo.toml now matches the =2.4.0 pin. Cargo.lock and cargo-bazel-lock.json both resolve to 2.4.0.

Checked, no issues:

  • The GetBuffer() / ExecV2() replacements keep the same logic.
  • Serializer::transfer rejects views backed by a SharedArrayBuffer before the cast.
  • The version #if removals keep the new-version branches.
  • compile-cache-test.c++ now counts cache hits through CountingObserver.
  • request-ops-test.c++ forces ADDRESS_ONLY stack traces.
  • The new BoringSSL patch is listed in PATCHES.

✅ All other checks passed

🚀 Release: ✅ LGTM

This pull request updates the V8 dependency, not the project's own version or release process.


🔒 Security: ✅ LGTM

No security issues found.

  • The new DataCloneError for views backed by a SharedArrayBuffer is raised before the ArrayBuffer cast in the transfer path.
  • JsArrayBufferView::getBuffer() behaves as it did before: the old Buffer() already returned the same underlying buffer typed as v8::ArrayBuffer.
  • Detach paths are guarded by IsDetachable(), which is false for shared buffers.

📖 AGENTS.md: ✅ LGTM

No AGENTS.md updates needed.


⚡ Performance: ✅ LGTM

The API swaps do the same work as before.


📝 Documentation: ✅ LGTM

The docs/v8-updates.md additions look fine.


Reviewed commit: d76646fb

Comment thread build/deps/v8.MODULE.bazel Resolved

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Superseded by the review of a12178a7.

This review, of 18547d50

💬 Approved with comments — The V8 API migrations, the version-#if removals and the test updates are correct. One INFO remains: the API audit statement appears in the pull request description but not in a commit message.

Findings: 1 info (1 is an inline comment on the diff)

Not opened by the correctness review: 48 changed files it was meant to read
  • patches/v8/2020-03-26-Add-methods-to-get-heap-and-external-memory-sizes-directly.patch
  • patches/v8/2022-03-02-Allow-manually-setting-ValueDeserializer-format-version.patch
  • patches/v8/2022-03-16-Allow-manually-setting-ValueSerializer-format-version.patch
  • patches/v8/2023-03-16-Allow-Windows-builds-under-Bazel.patch
  • patches/v8/2023-06-07-Speed-up-V8-bazel-build-by-always-using-target-cfg.patch
  • patches/v8/2023-06-22-Implement-Promise-Context-Tagging.patch
  • patches/v8/2023-07-09-Enable-V8-shared-linkage.patch
  • patches/v8/2023-09-13-Randomize-the-initial-ExecutionContextId-used-by-the-inspector.patch
  • patches/v8/2024-03-02-Add-ValueSerializer-SetTreatFunctionsAsHostObjects.patch
  • patches/v8/2024-04-22-Modify-where-to-look-for-fp16-dependency.-This-dependency-is-normally-downloaded-by-gn-but-we-need-to-fetch-it-in-Bazel.-We-do-so-in-the-workerd-repo-in-the-WORKSPACE-file.patch
  • patches/v8/2024-07-09-Update-illegal-invocation-error-message-in-v8.patch
  • patches/v8/2024-12-02-Add-another-slot-in-the-isolate-for-embedder.patch
  • patches/v8/2024-12-04-Add-ValueSerializer-SetTreatProxiesAsHostObjects.patch
  • patches/v8/2025-01-15-Expose-AdjustAmountOfExternalAllocatedMemoryImpl-as-public-API.patch
  • patches/v8/2025-02-26-Revert-heap-Add-masm-specific-unwinding-annotations-to-GC.patch
  • patches/v8/2025-03-03-Modify-where-to-look-for-fast_float-and-simdutf.patch
  • patches/v8/2025-04-07-Remove-unneded-latomic-linker-flag.patch
  • patches/v8/2025-06-08-Port-V8_USE_ZLIB-support.patch
  • patches/v8/2025-06-08-Port-concurrent-mksnapshot-support.patch
  • patches/v8/2025-06-19-Modify-where-to-look-for-dragonbox.patch
  • patches/v8/2025-07-01-Implement-additional-Exception-construction-methods.patch
  • patches/v8/2025-10-02-bind-icu-to-googlesource.patch
  • patches/v8/2025-11-06-Add-v8-String-IsFlat-API.patch
  • patches/v8/2026-02-04-Add-verify_write_barriers-flag-in-V8-s-bazel-config.patch
  • patches/v8/2026-02-17-Return-false-on-Object.hasOwnProperty-with-interceptors.patch
  • patches/v8/2026-03-04-Remove-V8-MODULE.bazel-llvm-toolchain-and-libcxx-repo-rules.patch
  • patches/v8/2026-03-04-Remove-libcxx-dep-from-defs.bzl-not-resolvable-via-http_archive.patch
  • patches/v8/2026-04-15-Track-external-memory-separately-from-the-global-allocation-limit.patch
  • patches/v8/2026-06-05-Implement-cross-request-context-promise-resolve-handling.patch
  • patches/v8/2026-06-16-Fix-ExtendedMap-layout-on-Windows.patch
  • patches/v8/2026-06-17-Fix-CFunction-MemorySpan-declarations-on-Windows.patch
  • patches/v8/2026-07-01-Properly-depend-on-llvm-libc.patch
  • patches/v8/2026-08-10-Fix-TSan-build-without-the-V8-sandbox.patch
  • patches/v8/2026-08-31-Disable-preserve_most-on-Windows-x64-before-Clang-22.patch
  • patches/v8/2026-09-02-Enable-Perfetto-support-in-the-V8-Bazel-build.patch
  • patches/v8/2026-10-10-Build-V8-release-archives-without-metagen.patch
  • patches/v8/2026-10-14-Consider-all-dynamic-functions-code-like.patch
  • patches/v8/2026-10-15-Add-UnboundModuleScript-GetCompileHintsCollector.patch
  • patches/v8/2026-10-21-Add-v8-Data-IsCompatibleWithIsolate.patch
  • patches/v8/2026-10-22-Build-Temporal-in-the-V8-Bazel-build.patch
  • patches/v8/2026-10-23-Forward-ThinStrings-shortcut-by-the-scavenger.patch
  • patches/v8/2026-10-24-Keep-llvm-libc-private-to-v8_libbase.patch
  • patches/v8/2026-10-24-Keep-v8_libshared-private-to-v8.patch
  • patches/v8/2026-11-05-Add-DisallowHeapAllocation-to-the-API.patch
  • patches/v8/2026-11-09-Leave-the-SharedFunctionInfo-id-out-of-the-read-only-heap-checksum.patch
  • patches/v8/2026-11-10-Add-SnapshotCreator-HasSuspendedGenerators.patch
  • patches/v8/2026-11-17-heap-Check-the-old-generation-limit-in-SetIsLoading-false-without-incremental-marking.patch
  • patches/v8/2026-11-23-Implement-DOMException-and-QuotaExceededError.patch

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


📋 Code Quality: 💬 1 info

The code changes are correct. One process note remains: the V8 API audit statement is missing from the commit messages.

Recommendation: 💬 Optional Nits

  • [INFO] The audit result for newly default-enabled V8 APIs ("No new V8 APIs were activated by this roll") is in the pull request description but in neither commit message. (build/deps/v8.MODULE.bazel:21)
View full review

🔄 Since last review: 1 finding resolved (the icu_calendar comment), 1 kept and lowered to INFO, 0 new.

Audit statement not in a commit message (build/deps/v8.MODULE.bazel:21)

The repository's backward-compatibility rules ask that the result of the audit of newly default-enabled standard APIs be recorded in the commit message of a V8 update. The pull request description now says "No new V8 APIs were activated by this roll." Neither commit message (a7f65ec, 18547d5) contains that sentence. If the pull request is squashed with its description as the commit message, nothing more is needed. Otherwise, add the sentence to a7f65ec.

Fixed since the last review: the comment above the icu_calendar pin in deps/rust/Cargo.toml now matches the =2.4.0 pin.

Checked, no issues:

  • icu_calendar resolves to 2.4.0 in Cargo.toml, Cargo.lock and cargo-bazel-lock.json.
  • The new BoringSSL patch is listed in PATCHES.
  • The Buffer() → GetBuffer() and Exec() → ExecV2() replacements keep the same logic.
  • Every removed version #if keeps the new-version branch.
  • Serializer::transfer rejects views backed by a SharedArrayBuffer with DataCloneError before the ArrayBuffer cast.
  • compile-cache-test.c++ counts cache hits through CountingObserver.
  • request-ops-test.c++ forces ADDRESS_ONLY stack traces.

✅ All other checks passed

🚀 Release: ✅ LGTM

This pull request updates the V8 dependency; it does not change the project's own version or release process.


🔒 Security: ✅ LGTM

No security issues found.

  • The transfer path raises DataCloneError for a view backed by a SharedArrayBuffer before it casts to ArrayBuffer.
  • getBuffer() returns the same underlying buffer as before.

📖 AGENTS.md: ✅ LGTM

No AGENTS.md updates needed.


⚡ Performance: ✅ LGTM

The API swaps do the same work as before. The new IsShared() check in Serializer::transfer is O(1).


📝 Documentation: ✅ LGTM

The docs/v8-updates.md additions look fine.


Reviewed commit: 18547d50

Comment thread build/deps/v8.MODULE.bazel Resolved
The llvm-libc revision V8 15.9 uses includes
src/string/memory_utils/inline_memcpy.h from its Darwin arm64
fenv header, which broke the macOS build.

@clanky-the-clanker clanky-the-clanker Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💬 Approved with comments — The V8 API migrations, the version-#if removals, the test updates and the new llvm-libc header glob are correct. One INFO remains: the API audit statement is in the pull request description but in none of the commit messages.

Findings: 1 info

Not opened by the correctness review: 48 changed files it was meant to read
  • patches/v8/2020-03-26-Add-methods-to-get-heap-and-external-memory-sizes-directly.patch
  • patches/v8/2022-03-02-Allow-manually-setting-ValueDeserializer-format-version.patch
  • patches/v8/2022-03-16-Allow-manually-setting-ValueSerializer-format-version.patch
  • patches/v8/2023-03-16-Allow-Windows-builds-under-Bazel.patch
  • patches/v8/2023-06-07-Speed-up-V8-bazel-build-by-always-using-target-cfg.patch
  • patches/v8/2023-06-22-Implement-Promise-Context-Tagging.patch
  • patches/v8/2023-07-09-Enable-V8-shared-linkage.patch
  • patches/v8/2023-09-13-Randomize-the-initial-ExecutionContextId-used-by-the-inspector.patch
  • patches/v8/2024-03-02-Add-ValueSerializer-SetTreatFunctionsAsHostObjects.patch
  • patches/v8/2024-04-22-Modify-where-to-look-for-fp16-dependency.-This-dependency-is-normally-downloaded-by-gn-but-we-need-to-fetch-it-in-Bazel.-We-do-so-in-the-workerd-repo-in-the-WORKSPACE-file.patch
  • patches/v8/2024-07-09-Update-illegal-invocation-error-message-in-v8.patch
  • patches/v8/2024-12-02-Add-another-slot-in-the-isolate-for-embedder.patch
  • patches/v8/2024-12-04-Add-ValueSerializer-SetTreatProxiesAsHostObjects.patch
  • patches/v8/2025-01-15-Expose-AdjustAmountOfExternalAllocatedMemoryImpl-as-public-API.patch
  • patches/v8/2025-02-26-Revert-heap-Add-masm-specific-unwinding-annotations-to-GC.patch
  • patches/v8/2025-03-03-Modify-where-to-look-for-fast_float-and-simdutf.patch
  • patches/v8/2025-04-07-Remove-unneded-latomic-linker-flag.patch
  • patches/v8/2025-06-08-Port-V8_USE_ZLIB-support.patch
  • patches/v8/2025-06-08-Port-concurrent-mksnapshot-support.patch
  • patches/v8/2025-06-19-Modify-where-to-look-for-dragonbox.patch
  • patches/v8/2025-07-01-Implement-additional-Exception-construction-methods.patch
  • patches/v8/2025-10-02-bind-icu-to-googlesource.patch
  • patches/v8/2025-11-06-Add-v8-String-IsFlat-API.patch
  • patches/v8/2026-02-04-Add-verify_write_barriers-flag-in-V8-s-bazel-config.patch
  • patches/v8/2026-02-17-Return-false-on-Object.hasOwnProperty-with-interceptors.patch
  • patches/v8/2026-03-04-Remove-V8-MODULE.bazel-llvm-toolchain-and-libcxx-repo-rules.patch
  • patches/v8/2026-03-04-Remove-libcxx-dep-from-defs.bzl-not-resolvable-via-http_archive.patch
  • patches/v8/2026-04-15-Track-external-memory-separately-from-the-global-allocation-limit.patch
  • patches/v8/2026-06-05-Implement-cross-request-context-promise-resolve-handling.patch
  • patches/v8/2026-06-16-Fix-ExtendedMap-layout-on-Windows.patch
  • patches/v8/2026-06-17-Fix-CFunction-MemorySpan-declarations-on-Windows.patch
  • patches/v8/2026-07-01-Properly-depend-on-llvm-libc.patch
  • patches/v8/2026-08-10-Fix-TSan-build-without-the-V8-sandbox.patch
  • patches/v8/2026-08-31-Disable-preserve_most-on-Windows-x64-before-Clang-22.patch
  • patches/v8/2026-09-02-Enable-Perfetto-support-in-the-V8-Bazel-build.patch
  • patches/v8/2026-10-10-Build-V8-release-archives-without-metagen.patch
  • patches/v8/2026-10-14-Consider-all-dynamic-functions-code-like.patch
  • patches/v8/2026-10-15-Add-UnboundModuleScript-GetCompileHintsCollector.patch
  • patches/v8/2026-10-21-Add-v8-Data-IsCompatibleWithIsolate.patch
  • patches/v8/2026-10-22-Build-Temporal-in-the-V8-Bazel-build.patch
  • patches/v8/2026-10-23-Forward-ThinStrings-shortcut-by-the-scavenger.patch
  • patches/v8/2026-10-24-Keep-llvm-libc-private-to-v8_libbase.patch
  • patches/v8/2026-10-24-Keep-v8_libshared-private-to-v8.patch
  • patches/v8/2026-11-05-Add-DisallowHeapAllocation-to-the-API.patch
  • patches/v8/2026-11-09-Leave-the-SharedFunctionInfo-id-out-of-the-read-only-heap-checksum.patch
  • patches/v8/2026-11-10-Add-SnapshotCreator-HasSuspendedGenerators.patch
  • patches/v8/2026-11-17-heap-Check-the-old-generation-limit-in-SetIsLoading-false-without-incremental-marking.patch
  • patches/v8/2026-11-23-Implement-DOMException-and-QuotaExceededError.patch

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


📋 Code Quality: 💬 1 info

One INFO is still open: the API audit statement is not in any commit message.

Recommendation: 💬 Optional Nits

  • [INFO] The API audit result ("No new V8 APIs were activated by this roll") is in the pull request description but in none of the commit messages. (build/deps/v8.MODULE.bazel:21)
View full review

Audit statement not in a commit message (build/deps/v8.MODULE.bazel:21)

The repository's backward-compatibility rules ask that the result of the audit of newly default-enabled standard APIs be recorded in the commit message of a V8 update. The pull request description says "No new V8 APIs were activated by this roll." None of the three commits (a7f65ec, 18547d5, a12178a) includes that sentence. If the pull request is squashed with its description as the commit message, nothing more is needed. Otherwise, add the sentence to a7f65ec.

Checked, no issues:

  • build/BUILD.llvm-libc: the src/string/memory_utils/**/*.h glob is added only to the private internal target, and it covers the header that the Darwin arm64 fenv implementation includes.
  • The BoringSSL patch rewrites @boringssl//:crypto to @ssl//:crypto. @ssl resolves through repo_name = "ssl" in build/deps/gen/deps.MODULE.bazel, and the patch is listed in PATCHES.
  • The Buffer() → GetBuffer() and Exec() → ExecV2() replacements keep the same logic, and every removed version #if keeps the new-version branch.
  • Serializer::transfer throws DataCloneError for a view backed by a SharedArrayBuffer before it casts to ArrayBuffer. The existing structured-clone tests cover this case.
  • compile-cache-test.c++ counts cache hits through CountingObserver, and request-ops-test.c++ forces ADDRESS_ONLY stack traces.

✅ All other checks passed

🚀 Release: ✅ LGTM

This pull request updates the V8 dependency and related build files; it does not change the project's own version or release process.


🔒 Security: ✅ LGTM

No security issues found. The transfer path now rejects views backed by a SharedArrayBuffer before the ArrayBuffer cast, which is stricter than before. The llvm-libc header glob is a build-only change.


📖 AGENTS.md: ✅ LGTM

No AGENTS.md updates needed.


⚡ Performance: ✅ LGTM

The API swaps do the same work as before.


📝 Documentation: ✅ LGTM

The docs/v8-updates.md additions look fine.


Reviewed commit: a12178a7

@erikcorry
erikcorry merged commit 5b55092 into main Nov 26, 2026
24 checks passed
@erikcorry
erikcorry deleted the erikcorry/roll-15.9 branch November 26, 2026 17:39
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