Repository navigation
Update V8 to 15.9.128.39 - #8900
Conversation
There was a problem hiding this comment.
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.jsoncbuild/deps/gen/deps.MODULE.bazelbuild/deps/v8.MODULE.bazelpatches/v8/2020-03-26-Add-methods-to-get-heap-and-external-memory-sizes-directly.patchpatches/v8/2022-03-02-Allow-manually-setting-ValueDeserializer-format-version.patchpatches/v8/2022-03-16-Allow-manually-setting-ValueSerializer-format-version.patchpatches/v8/2023-03-16-Allow-Windows-builds-under-Bazel.patchpatches/v8/2023-06-07-Speed-up-V8-bazel-build-by-always-using-target-cfg.patchpatches/v8/2023-06-22-Implement-Promise-Context-Tagging.patchpatches/v8/2023-07-09-Enable-V8-shared-linkage.patchpatches/v8/2023-09-13-Randomize-the-initial-ExecutionContextId-used-by-the-inspector.patchpatches/v8/2024-03-02-Add-ValueSerializer-SetTreatFunctionsAsHostObjects.patchpatches/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.patchpatches/v8/2024-07-09-Update-illegal-invocation-error-message-in-v8.patchpatches/v8/2024-12-02-Add-another-slot-in-the-isolate-for-embedder.patchpatches/v8/2024-12-04-Add-ValueSerializer-SetTreatProxiesAsHostObjects.patchpatches/v8/2025-01-15-Expose-AdjustAmountOfExternalAllocatedMemoryImpl-as-public-API.patchpatches/v8/2025-02-26-Revert-heap-Add-masm-specific-unwinding-annotations-to-GC.patchpatches/v8/2025-03-03-Modify-where-to-look-for-fast_float-and-simdutf.patchpatches/v8/2025-04-07-Remove-unneded-latomic-linker-flag.patchpatches/v8/2025-06-08-Port-V8_USE_ZLIB-support.patchpatches/v8/2025-06-08-Port-concurrent-mksnapshot-support.patchpatches/v8/2025-06-19-Modify-where-to-look-for-dragonbox.patchpatches/v8/2025-07-01-Implement-additional-Exception-construction-methods.patchpatches/v8/2025-10-02-bind-icu-to-googlesource.patchpatches/v8/2025-11-06-Add-v8-String-IsFlat-API.patchpatches/v8/2026-02-04-Add-verify_write_barriers-flag-in-V8-s-bazel-config.patchpatches/v8/2026-02-17-Return-false-on-Object.hasOwnProperty-with-interceptors.patchpatches/v8/2026-03-04-Remove-V8-MODULE.bazel-llvm-toolchain-and-libcxx-repo-rules.patchpatches/v8/2026-03-04-Remove-libcxx-dep-from-defs.bzl-not-resolvable-via-http_archive.patchpatches/v8/2026-04-15-Track-external-memory-separately-from-the-global-allocation-limit.patchpatches/v8/2026-06-05-Implement-cross-request-context-promise-resolve-handling.patchpatches/v8/2026-06-16-Fix-ExtendedMap-layout-on-Windows.patchpatches/v8/2026-06-17-Fix-CFunction-MemorySpan-declarations-on-Windows.patchpatches/v8/2026-07-01-Properly-depend-on-llvm-libc.patchpatches/v8/2026-08-10-Fix-TSan-build-without-the-V8-sandbox.patchpatches/v8/2026-08-31-Disable-preserve_most-on-Windows-x64-before-Clang-22.patchpatches/v8/2026-09-02-Enable-Perfetto-support-in-the-V8-Bazel-build.patchpatches/v8/2026-10-10-Build-V8-release-archives-without-metagen.patchpatches/v8/2026-10-14-Consider-all-dynamic-functions-code-like.patchpatches/v8/2026-10-15-Add-UnboundModuleScript-GetCompileHintsCollector.patchpatches/v8/2026-10-21-Add-v8-Data-IsCompatibleWithIsolate.patchpatches/v8/2026-10-22-Build-Temporal-in-the-V8-Bazel-build.patchpatches/v8/2026-10-23-Forward-ThinStrings-shortcut-by-the-scavenger.patchpatches/v8/2026-10-24-Keep-llvm-libc-private-to-v8_libbase.patchpatches/v8/2026-10-24-Keep-v8_libshared-private-to-v8.patchpatches/v8/2026-11-05-Add-DisallowHeapAllocation-to-the-API.patchpatches/v8/2026-11-09-Leave-the-SharedFunctionInfo-id-out-of-the-read-only-heap-checksum.patchpatches/v8/2026-11-10-Add-SnapshotCreator-HasSuspendedGenerators.patchpatches/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-lockfileon 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()andExec()→ExecV2()keep the same logic..As<v8::ArrayBuffer>()appears only where anArrayBufferis actually needed (Detach, theJsArrayBufferconstructor).- The new
DataCloneErrorinSerializer::transferfor views backed by a SharedArrayBuffer matches whatglobal-scope-test.jsalready expects. - The new BoringSSL patch points V8 at
@ssl, which the existingboringsslbazel_dep (repo_name = "ssl") defines. CountingObserverincompile-cache-testoverrides 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
fdf2b9a to
8bc3fbb
Compare
There was a problem hiding this comment.
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.jsoncbuild/deps/gen/deps.MODULE.bazelbuild/deps/v8.MODULE.bazelpatches/v8/2020-03-26-Add-methods-to-get-heap-and-external-memory-sizes-directly.patchpatches/v8/2022-03-02-Allow-manually-setting-ValueDeserializer-format-version.patchpatches/v8/2022-03-16-Allow-manually-setting-ValueSerializer-format-version.patchpatches/v8/2023-03-16-Allow-Windows-builds-under-Bazel.patchpatches/v8/2023-06-07-Speed-up-V8-bazel-build-by-always-using-target-cfg.patchpatches/v8/2023-06-22-Implement-Promise-Context-Tagging.patchpatches/v8/2023-07-09-Enable-V8-shared-linkage.patchpatches/v8/2023-09-13-Randomize-the-initial-ExecutionContextId-used-by-the-inspector.patchpatches/v8/2024-03-02-Add-ValueSerializer-SetTreatFunctionsAsHostObjects.patchpatches/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.patchpatches/v8/2024-07-09-Update-illegal-invocation-error-message-in-v8.patchpatches/v8/2024-12-02-Add-another-slot-in-the-isolate-for-embedder.patchpatches/v8/2024-12-04-Add-ValueSerializer-SetTreatProxiesAsHostObjects.patchpatches/v8/2025-01-15-Expose-AdjustAmountOfExternalAllocatedMemoryImpl-as-public-API.patchpatches/v8/2025-02-26-Revert-heap-Add-masm-specific-unwinding-annotations-to-GC.patchpatches/v8/2025-03-03-Modify-where-to-look-for-fast_float-and-simdutf.patchpatches/v8/2025-04-07-Remove-unneded-latomic-linker-flag.patchpatches/v8/2025-06-08-Port-V8_USE_ZLIB-support.patchpatches/v8/2025-06-08-Port-concurrent-mksnapshot-support.patchpatches/v8/2025-06-19-Modify-where-to-look-for-dragonbox.patchpatches/v8/2025-07-01-Implement-additional-Exception-construction-methods.patchpatches/v8/2025-10-02-bind-icu-to-googlesource.patchpatches/v8/2025-11-06-Add-v8-String-IsFlat-API.patchpatches/v8/2026-02-04-Add-verify_write_barriers-flag-in-V8-s-bazel-config.patchpatches/v8/2026-02-17-Return-false-on-Object.hasOwnProperty-with-interceptors.patchpatches/v8/2026-03-04-Remove-V8-MODULE.bazel-llvm-toolchain-and-libcxx-repo-rules.patchpatches/v8/2026-03-04-Remove-libcxx-dep-from-defs.bzl-not-resolvable-via-http_archive.patchpatches/v8/2026-04-15-Track-external-memory-separately-from-the-global-allocation-limit.patchpatches/v8/2026-06-05-Implement-cross-request-context-promise-resolve-handling.patchpatches/v8/2026-06-16-Fix-ExtendedMap-layout-on-Windows.patchpatches/v8/2026-06-17-Fix-CFunction-MemorySpan-declarations-on-Windows.patchpatches/v8/2026-07-01-Properly-depend-on-llvm-libc.patchpatches/v8/2026-08-10-Fix-TSan-build-without-the-V8-sandbox.patchpatches/v8/2026-08-31-Disable-preserve_most-on-Windows-x64-before-Clang-22.patchpatches/v8/2026-09-02-Enable-Perfetto-support-in-the-V8-Bazel-build.patchpatches/v8/2026-10-10-Build-V8-release-archives-without-metagen.patchpatches/v8/2026-10-14-Consider-all-dynamic-functions-code-like.patchpatches/v8/2026-10-15-Add-UnboundModuleScript-GetCompileHintsCollector.patchpatches/v8/2026-10-21-Add-v8-Data-IsCompatibleWithIsolate.patchpatches/v8/2026-10-22-Build-Temporal-in-the-V8-Bazel-build.patchpatches/v8/2026-10-23-Forward-ThinStrings-shortcut-by-the-scavenger.patchpatches/v8/2026-10-24-Keep-llvm-libc-private-to-v8_libbase.patchpatches/v8/2026-10-24-Keep-v8_libshared-private-to-v8.patchpatches/v8/2026-11-05-Add-DisallowHeapAllocation-to-the-API.patchpatches/v8/2026-11-09-Leave-the-SharedFunctionInfo-id-out-of-the-read-only-heap-checksum.patchpatches/v8/2026-11-10-Add-SnapshotCreator-HasSuspendedGenerators.patchpatches/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 anArrayBufferis required.Serializer::transferrejects views backed by a SharedArrayBuffer before the cast.global-scope-test.jsalready expects this.compile-cache-test.c++: theCountingObserveroverrides match the hooks declared inobserver.h.request-ops-test.c++forcesADDRESS_ONLYstack traces, so the test no longer depends on whetherllvm-symbolizeris installed.- The Cargo lockfiles are consistent with the
icu_calendar2.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.
There was a problem hiding this comment.
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.bazelpatches/v8/2020-03-26-Add-methods-to-get-heap-and-external-memory-sizes-directly.patchpatches/v8/2022-03-02-Allow-manually-setting-ValueDeserializer-format-version.patchpatches/v8/2022-03-16-Allow-manually-setting-ValueSerializer-format-version.patchpatches/v8/2023-03-16-Allow-Windows-builds-under-Bazel.patchpatches/v8/2023-06-07-Speed-up-V8-bazel-build-by-always-using-target-cfg.patchpatches/v8/2023-06-22-Implement-Promise-Context-Tagging.patchpatches/v8/2023-07-09-Enable-V8-shared-linkage.patchpatches/v8/2023-09-13-Randomize-the-initial-ExecutionContextId-used-by-the-inspector.patchpatches/v8/2024-03-02-Add-ValueSerializer-SetTreatFunctionsAsHostObjects.patchpatches/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.patchpatches/v8/2024-07-09-Update-illegal-invocation-error-message-in-v8.patchpatches/v8/2024-12-02-Add-another-slot-in-the-isolate-for-embedder.patchpatches/v8/2024-12-04-Add-ValueSerializer-SetTreatProxiesAsHostObjects.patchpatches/v8/2025-01-15-Expose-AdjustAmountOfExternalAllocatedMemoryImpl-as-public-API.patchpatches/v8/2025-02-26-Revert-heap-Add-masm-specific-unwinding-annotations-to-GC.patchpatches/v8/2025-03-03-Modify-where-to-look-for-fast_float-and-simdutf.patchpatches/v8/2025-04-07-Remove-unneded-latomic-linker-flag.patchpatches/v8/2025-06-08-Port-V8_USE_ZLIB-support.patchpatches/v8/2025-06-08-Port-concurrent-mksnapshot-support.patchpatches/v8/2025-06-19-Modify-where-to-look-for-dragonbox.patchpatches/v8/2025-07-01-Implement-additional-Exception-construction-methods.patchpatches/v8/2025-10-02-bind-icu-to-googlesource.patchpatches/v8/2025-11-06-Add-v8-String-IsFlat-API.patchpatches/v8/2026-02-04-Add-verify_write_barriers-flag-in-V8-s-bazel-config.patchpatches/v8/2026-02-17-Return-false-on-Object.hasOwnProperty-with-interceptors.patchpatches/v8/2026-03-04-Remove-V8-MODULE.bazel-llvm-toolchain-and-libcxx-repo-rules.patchpatches/v8/2026-03-04-Remove-libcxx-dep-from-defs.bzl-not-resolvable-via-http_archive.patchpatches/v8/2026-04-15-Track-external-memory-separately-from-the-global-allocation-limit.patchpatches/v8/2026-06-05-Implement-cross-request-context-promise-resolve-handling.patchpatches/v8/2026-06-16-Fix-ExtendedMap-layout-on-Windows.patchpatches/v8/2026-06-17-Fix-CFunction-MemorySpan-declarations-on-Windows.patchpatches/v8/2026-07-01-Properly-depend-on-llvm-libc.patchpatches/v8/2026-08-10-Fix-TSan-build-without-the-V8-sandbox.patchpatches/v8/2026-08-31-Disable-preserve_most-on-Windows-x64-before-Clang-22.patchpatches/v8/2026-09-02-Enable-Perfetto-support-in-the-V8-Bazel-build.patchpatches/v8/2026-10-10-Build-V8-release-archives-without-metagen.patchpatches/v8/2026-10-14-Consider-all-dynamic-functions-code-like.patchpatches/v8/2026-10-15-Add-UnboundModuleScript-GetCompileHintsCollector.patchpatches/v8/2026-10-21-Add-v8-Data-IsCompatibleWithIsolate.patchpatches/v8/2026-10-22-Build-Temporal-in-the-V8-Bazel-build.patchpatches/v8/2026-10-23-Forward-ThinStrings-shortcut-by-the-scavenger.patchpatches/v8/2026-10-24-Keep-llvm-libc-private-to-v8_libbase.patchpatches/v8/2026-10-24-Keep-v8_libshared-private-to-v8.patchpatches/v8/2026-11-05-Add-DisallowHeapAllocation-to-the-API.patchpatches/v8/2026-11-09-Leave-the-SharedFunctionInfo-id-out-of-the-read-only-heap-checksum.patchpatches/v8/2026-11-10-Add-SnapshotCreator-HasSuspendedGenerators.patchpatches/v8/2026-11-17-heap-Check-the-old-generation-limit-in-SetIsLoading-false-without-incremental-marking.patchpatches/v8/2026-11-23-Implement-DOMException-and-QuotaExceededError.patchpatches/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::transferrejects views backed by a SharedArrayBuffer before the cast.- The version
#ifremovals keep the new-version branches. compile-cache-test.c++now counts cache hits throughCountingObserver.request-ops-test.c++forcesADDRESS_ONLYstack 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
DataCloneErrorfor views backed by a SharedArrayBuffer is raised before theArrayBuffercast in the transfer path. JsArrayBufferView::getBuffer()behaves as it did before: the oldBuffer()already returned the same underlying buffer typed asv8::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
d76646f to
18547d5
Compare
There was a problem hiding this comment.
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.patchpatches/v8/2022-03-02-Allow-manually-setting-ValueDeserializer-format-version.patchpatches/v8/2022-03-16-Allow-manually-setting-ValueSerializer-format-version.patchpatches/v8/2023-03-16-Allow-Windows-builds-under-Bazel.patchpatches/v8/2023-06-07-Speed-up-V8-bazel-build-by-always-using-target-cfg.patchpatches/v8/2023-06-22-Implement-Promise-Context-Tagging.patchpatches/v8/2023-07-09-Enable-V8-shared-linkage.patchpatches/v8/2023-09-13-Randomize-the-initial-ExecutionContextId-used-by-the-inspector.patchpatches/v8/2024-03-02-Add-ValueSerializer-SetTreatFunctionsAsHostObjects.patchpatches/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.patchpatches/v8/2024-07-09-Update-illegal-invocation-error-message-in-v8.patchpatches/v8/2024-12-02-Add-another-slot-in-the-isolate-for-embedder.patchpatches/v8/2024-12-04-Add-ValueSerializer-SetTreatProxiesAsHostObjects.patchpatches/v8/2025-01-15-Expose-AdjustAmountOfExternalAllocatedMemoryImpl-as-public-API.patchpatches/v8/2025-02-26-Revert-heap-Add-masm-specific-unwinding-annotations-to-GC.patchpatches/v8/2025-03-03-Modify-where-to-look-for-fast_float-and-simdutf.patchpatches/v8/2025-04-07-Remove-unneded-latomic-linker-flag.patchpatches/v8/2025-06-08-Port-V8_USE_ZLIB-support.patchpatches/v8/2025-06-08-Port-concurrent-mksnapshot-support.patchpatches/v8/2025-06-19-Modify-where-to-look-for-dragonbox.patchpatches/v8/2025-07-01-Implement-additional-Exception-construction-methods.patchpatches/v8/2025-10-02-bind-icu-to-googlesource.patchpatches/v8/2025-11-06-Add-v8-String-IsFlat-API.patchpatches/v8/2026-02-04-Add-verify_write_barriers-flag-in-V8-s-bazel-config.patchpatches/v8/2026-02-17-Return-false-on-Object.hasOwnProperty-with-interceptors.patchpatches/v8/2026-03-04-Remove-V8-MODULE.bazel-llvm-toolchain-and-libcxx-repo-rules.patchpatches/v8/2026-03-04-Remove-libcxx-dep-from-defs.bzl-not-resolvable-via-http_archive.patchpatches/v8/2026-04-15-Track-external-memory-separately-from-the-global-allocation-limit.patchpatches/v8/2026-06-05-Implement-cross-request-context-promise-resolve-handling.patchpatches/v8/2026-06-16-Fix-ExtendedMap-layout-on-Windows.patchpatches/v8/2026-06-17-Fix-CFunction-MemorySpan-declarations-on-Windows.patchpatches/v8/2026-07-01-Properly-depend-on-llvm-libc.patchpatches/v8/2026-08-10-Fix-TSan-build-without-the-V8-sandbox.patchpatches/v8/2026-08-31-Disable-preserve_most-on-Windows-x64-before-Clang-22.patchpatches/v8/2026-09-02-Enable-Perfetto-support-in-the-V8-Bazel-build.patchpatches/v8/2026-10-10-Build-V8-release-archives-without-metagen.patchpatches/v8/2026-10-14-Consider-all-dynamic-functions-code-like.patchpatches/v8/2026-10-15-Add-UnboundModuleScript-GetCompileHintsCollector.patchpatches/v8/2026-10-21-Add-v8-Data-IsCompatibleWithIsolate.patchpatches/v8/2026-10-22-Build-Temporal-in-the-V8-Bazel-build.patchpatches/v8/2026-10-23-Forward-ThinStrings-shortcut-by-the-scavenger.patchpatches/v8/2026-10-24-Keep-llvm-libc-private-to-v8_libbase.patchpatches/v8/2026-10-24-Keep-v8_libshared-private-to-v8.patchpatches/v8/2026-11-05-Add-DisallowHeapAllocation-to-the-API.patchpatches/v8/2026-11-09-Leave-the-SharedFunctionInfo-id-out-of-the-read-only-heap-checksum.patchpatches/v8/2026-11-10-Add-SnapshotCreator-HasSuspendedGenerators.patchpatches/v8/2026-11-17-heap-Check-the-old-generation-limit-in-SetIsLoading-false-without-incremental-marking.patchpatches/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_calendarresolves to 2.4.0 inCargo.toml,Cargo.lockandcargo-bazel-lock.json.- The new BoringSSL patch is listed in
PATCHES. - The
Buffer()→GetBuffer()andExec()→ExecV2()replacements keep the same logic. - Every removed version
#ifkeeps the new-version branch. Serializer::transferrejects views backed by a SharedArrayBuffer withDataCloneErrorbefore theArrayBuffercast.compile-cache-test.c++counts cache hits throughCountingObserver.request-ops-test.c++forcesADDRESS_ONLYstack 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
DataCloneErrorfor a view backed by a SharedArrayBuffer before it casts toArrayBuffer. 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
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.
There was a problem hiding this comment.
💬 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.patchpatches/v8/2022-03-02-Allow-manually-setting-ValueDeserializer-format-version.patchpatches/v8/2022-03-16-Allow-manually-setting-ValueSerializer-format-version.patchpatches/v8/2023-03-16-Allow-Windows-builds-under-Bazel.patchpatches/v8/2023-06-07-Speed-up-V8-bazel-build-by-always-using-target-cfg.patchpatches/v8/2023-06-22-Implement-Promise-Context-Tagging.patchpatches/v8/2023-07-09-Enable-V8-shared-linkage.patchpatches/v8/2023-09-13-Randomize-the-initial-ExecutionContextId-used-by-the-inspector.patchpatches/v8/2024-03-02-Add-ValueSerializer-SetTreatFunctionsAsHostObjects.patchpatches/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.patchpatches/v8/2024-07-09-Update-illegal-invocation-error-message-in-v8.patchpatches/v8/2024-12-02-Add-another-slot-in-the-isolate-for-embedder.patchpatches/v8/2024-12-04-Add-ValueSerializer-SetTreatProxiesAsHostObjects.patchpatches/v8/2025-01-15-Expose-AdjustAmountOfExternalAllocatedMemoryImpl-as-public-API.patchpatches/v8/2025-02-26-Revert-heap-Add-masm-specific-unwinding-annotations-to-GC.patchpatches/v8/2025-03-03-Modify-where-to-look-for-fast_float-and-simdutf.patchpatches/v8/2025-04-07-Remove-unneded-latomic-linker-flag.patchpatches/v8/2025-06-08-Port-V8_USE_ZLIB-support.patchpatches/v8/2025-06-08-Port-concurrent-mksnapshot-support.patchpatches/v8/2025-06-19-Modify-where-to-look-for-dragonbox.patchpatches/v8/2025-07-01-Implement-additional-Exception-construction-methods.patchpatches/v8/2025-10-02-bind-icu-to-googlesource.patchpatches/v8/2025-11-06-Add-v8-String-IsFlat-API.patchpatches/v8/2026-02-04-Add-verify_write_barriers-flag-in-V8-s-bazel-config.patchpatches/v8/2026-02-17-Return-false-on-Object.hasOwnProperty-with-interceptors.patchpatches/v8/2026-03-04-Remove-V8-MODULE.bazel-llvm-toolchain-and-libcxx-repo-rules.patchpatches/v8/2026-03-04-Remove-libcxx-dep-from-defs.bzl-not-resolvable-via-http_archive.patchpatches/v8/2026-04-15-Track-external-memory-separately-from-the-global-allocation-limit.patchpatches/v8/2026-06-05-Implement-cross-request-context-promise-resolve-handling.patchpatches/v8/2026-06-16-Fix-ExtendedMap-layout-on-Windows.patchpatches/v8/2026-06-17-Fix-CFunction-MemorySpan-declarations-on-Windows.patchpatches/v8/2026-07-01-Properly-depend-on-llvm-libc.patchpatches/v8/2026-08-10-Fix-TSan-build-without-the-V8-sandbox.patchpatches/v8/2026-08-31-Disable-preserve_most-on-Windows-x64-before-Clang-22.patchpatches/v8/2026-09-02-Enable-Perfetto-support-in-the-V8-Bazel-build.patchpatches/v8/2026-10-10-Build-V8-release-archives-without-metagen.patchpatches/v8/2026-10-14-Consider-all-dynamic-functions-code-like.patchpatches/v8/2026-10-15-Add-UnboundModuleScript-GetCompileHintsCollector.patchpatches/v8/2026-10-21-Add-v8-Data-IsCompatibleWithIsolate.patchpatches/v8/2026-10-22-Build-Temporal-in-the-V8-Bazel-build.patchpatches/v8/2026-10-23-Forward-ThinStrings-shortcut-by-the-scavenger.patchpatches/v8/2026-10-24-Keep-llvm-libc-private-to-v8_libbase.patchpatches/v8/2026-10-24-Keep-v8_libshared-private-to-v8.patchpatches/v8/2026-11-05-Add-DisallowHeapAllocation-to-the-API.patchpatches/v8/2026-11-09-Leave-the-SharedFunctionInfo-id-out-of-the-read-only-heap-checksum.patchpatches/v8/2026-11-10-Add-SnapshotCreator-HasSuspendedGenerators.patchpatches/v8/2026-11-17-heap-Check-the-old-generation-limit-in-SetIsLoading-false-without-incremental-marking.patchpatches/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: thesrc/string/memory_utils/**/*.hglob is added only to the privateinternaltarget, and it covers the header that the Darwin arm64fenvimplementation includes.- The BoringSSL patch rewrites
@boringssl//:cryptoto@ssl//:crypto.@sslresolves throughrepo_name = "ssl"inbuild/deps/gen/deps.MODULE.bazel, and the patch is listed inPATCHES. - The
Buffer()→GetBuffer()andExec()→ExecV2()replacements keep the same logic, and every removed version#ifkeeps the new-version branch. Serializer::transferthrowsDataCloneErrorfor a view backed by a SharedArrayBuffer before it casts toArrayBuffer. The existing structured-clone tests cover this case.compile-cache-test.c++counts cache hits throughCountingObserver, andrequest-ops-test.c++forcesADDRESS_ONLYstack 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
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.