Skip to content

test: remove test-buffer-bytelength-safe-fast.js - #67897

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
joyeecheung:remove-fast
Dec 2, 2026
Merged

nodejs-github-bot merged 1 commit into
nodejs:mainfrom
joyeecheung:remove-fast

Conversation

@joyeecheung

Copy link
Copy Markdown
Member

This test makes too many assumptions about how strings in V8 is represented and optimized, which can easily get broken by V8 updates.

Refs: v8#266
Refs: https://chromium-review.googlesource.com/c/v8/v8/+/8803935

This test makes too many assumptions about how strings in
V8 is represented and optimized, which can easily get
broken by V8 updates.

Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com>
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure. labels Nov 30, 2026
@joyeecheung

joyeecheung commented Nov 30, 2026 •

Copy link
Copy Markdown
Member Author

cc @ronag

@legendecas legendecas added author ready PRs with CI started, the required approvals, and no outstanding review comments. request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. labels Nov 30, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Nov 30, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@codecov

codecov Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.58%. Comparing base (91f8170) to head (e026780).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #67897      +/-   ##
==========================================
- Coverage   90.58%   90.58%   -0.01%     
==========================================
  Files         802      802              
  Lines      286659   286659              
  Branches    55370    55368       -2     
==========================================
- Hits       259676   259661      -15     
- Misses      17083    17088       +5     
- Partials     9900     9910      +10     

see 28 files with indirect coverage changes

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

@Renegade334 Renegade334 added the commit-queue PRs queued for automated landing through the Commit Queue. label Nov 30, 2026
@nodejs-github-bot
nodejs-github-bot merged commit b53e7a5 into nodejs:main Dec 2, 2026
80 checks passed
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in b53e7a5

@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Dec 2, 2026
jkleinsc added a commit to electron/electron that referenced this pull request Dec 2, 2026
…n Turboshaft

Turboshaft now deoptimizes, instead of calling the slow callback, when a
kSeqOneByteString fast API parameter receives another kind of string.
test-buffer-bytelength-safe-fast relied on the old behavior, so backport
the upstream removal of the test (nodejs/node#67897).

Ref: https://chromium-review.googlesource.com/c/v8/v8/+/8803935

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jkleinsc added a commit to electron/electron that referenced this pull request Dec 3, 2026
* chore: bump chromium in DEPS to 160.0.8183.0

* 7848641: [webauthn] Add Permissions API plumbing for remoteClientDataJSON

Upstream added PUBLIC_KEY_CREDENTIALS_REMOTE_CLIENT_DATA_JSON = 47 to
blink::PermissionType and the matching PermissionName, so Electron's
DEPRECATED_SYNC_CLIPBOARD_READ / ELECTRON_FIRST move to 48 and the
Electron cases slot in after the new upstream ones. While here, drop the
duplicate GEOLOCATION_APPROXIMATE cases the clipboard patch re-added
(upstream already handles them) and tidy the run-on case lines, so each
patch compiles on its own again.

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/7848641

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* 8848639: [objects] Visit JSPromise embedder fields via VisitCppHeapPointer

Upstream widened the DCHECK in Serializer::ObjectSerializer::
VisitCppHeapPointer to JSObject::MayHaveEmbedderFields, which is exactly
what fix_allow_embedder_slots_of_non-api_objects_in_snapshot.patch did,
so remove the now-upstreamed patch.

Ref: https://chromium-review.googlesource.com/c/v8/v8/+/8848639

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* chore: update libc++ filenames

* chore: update patches

* 8821061: Change WebUIExtension to be an instance per RenderFrame

Upstream made WebUIExtension a RenderFrameObserver with a
WillReleaseScriptContext override, so it needs the isolate parameter
that chore_expose_isolate_parameter_in_script_lifecycle_observers.patch
adds to that hook.

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8821061

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* 8839607: Remove static pointer tables from WebKit font family prefs

Upstream deleted pref_font_script_names-inl.h and the
WEBKIT_WEBPREFS_FONTS_* macros. Build the per-script pref names from
prefs::kWebKitScriptsForFontFamilyMaps and the family map names
instead, the same way prefs_tab_helper.cc now does.

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8839607

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* 8846368: base: Remove out-parameter Base64UrlEncode() overloads

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8846368

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* 8832168: [webauthn] Migrate response transports to FidoTransportProtocolSet

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8832168

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NayLZmJJv2PCUyprP4YX1L

* 8775587: [inspector] Remove AllowJavascriptExecutionScope from dispatch

Runtime.evaluate dispatched from a V8 API interrupt now hits the
DisallowJavascriptExecution check that Electron enables, so
test-inspector-dom-storage-interrupt aborted when it used evaluate to
stop the child's busy loop. Stop the loop through a file instead and
read the call count from console output.

Ref: https://chromium-review.googlesource.com/c/v8/v8/+/8775587

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NayLZmJJv2PCUyprP4YX1L

* chore: bump chromium in DEPS to 160.0.8184.0

* chore: update patches

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NayLZmJJv2PCUyprP4YX1L

* fixup! 8775587: [inspector] Remove AllowJavascriptExecutionScope from dispatch

Runtime.evaluate and other methods that run JavaScript still aborted
the process when they reached Node's inspector from a V8 API interrupt.
Like Blink's ShouldInterruptForMethod(), dispatch only an allow-list of
methods that never run JavaScript from the interrupt, and defer the rest
of a session's messages, in order, until the thread yields.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NayLZmJJv2PCUyprP4YX1L

* fixup! 8775587: [inspector] Remove AllowJavascriptExecutionScope from dispatch

Let Debugger.pause and Runtime.terminateExecution overtake a session's
deferred messages, as Blink does on its IO channel, so a frontend that
sent Runtime.evaluate during a busy loop can still pause or terminate
it. Document that attaching to an already stuck process cannot pause it
while Debugger.enable is deferred.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NayLZmJJv2PCUyprP4YX1L

* chore: bump chromium in DEPS to 160.0.8185.0

* chore: update patches

* 8863584: Remove temporary raw_ptr container traits

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8863584

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* 8336709: extensions: avoid duplicate JSON serialization in storage API

Upstream folded SettingsStorageQuotaEnforcer into
value_store::QuotaEnforcer, which CreateSettingsStore now returns
directly. Mirror LocalValueStoreCache and call SetQuotaLimits on the
returned store instead of wrapping it.

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8336709

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* chore: bump chromium in DEPS to 160.0.8187.0

* 8826893: Revert CHECK to DCHECK in DesktopWindowTreeHostWin::SetAspectRatio

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8826893

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* chore: update patches

* 8850105: content: Use UI-thread file access check in file URL loader

CreateFileURLLoaderBypassingSecurityChecks() now CHECKs that it runs on
the UI thread. The asar loader resolves archive paths on a thread pool
sequence and handed plain file:// requests to it from there, which hit
the CHECK for every non-asar file load. Post that hand-off to the UI
thread instead; the asar path keeps its threading.

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8850105

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NayLZmJJv2PCUyprP4YX1L

* 8866586: Linux: Show extensions in described file chooser filter names

The portal file chooser now names a described filter after its
description and patterns, so the <input type=file> accept filter is
'Custom Files (*.png, *.txt)' instead of 'Custom Files'. Update the
expected filter name and current_filter in the Linux portal spec.

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8866586

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NayLZmJJv2PCUyprP4YX1L

* chore: bump chromium in DEPS to 160.0.8189.0

* 8872587: [Capture] Record macOS native picker request outcomes and wait times

Upstream now logs a per-picker-type request-tracking histogram at the
top of Open(), and its type-suffix helper NOTREACHED()s on TYPE_NONE.
Map TYPE_NONE to the Window suffix, matching how the existing Log*ToUma
helpers already report the combined picker.

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8872587

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* chore: update patches

* chore: update patches

* 8809914: Fix build with unbundled zstd, limit visibility of //third_party/zstd:headers

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8809914

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* chore: update patches

* chore: update libc++ filenames

* 8790374: [network] Stage NetToMojoPendingBuffer writes in a heap buffer

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8790374

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* chore: bump chromium in DEPS to 160.0.8191.0

* 8848011: FSA: remove */.mvn from sensitive path blocklist

Upstream removed the */.mvn kBlockWrite suffix rule from kBlockPaths,
which this patch moves into chrome_file_system_access_blocklist.cc.
Drop the rule from the blocklist file as well so Electron's blocklist
stays in sync with Chrome's.

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8848011

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* chore: update patches

* chore: bump chromium in DEPS to 160.0.8193.0

* chore: update siso revision

* chore: update patches

* fixup! chore: update siso revision

Rebase the in-tree siso patches onto 253ebfc3d6 so the build-siso jobs
can apply them again.

* 0002: upstream e8a5bc0 ("siso: read zstd-compressed Ninja files")
  made fileParser.readFile open Ninja files with os.Open itself and map
  them with the new mmapfile.Map, so it no longer goes through
  mmapfile.Read. Export the Windows retry as mmapfile.Open (a plain
  os.Open elsewhere) and use it in readFile, so Ninja file opens keep
  retrying transient ERROR_INVALID_PARAMETER.
* 0003: upstream f3a845e ("siso: apply remote inputs inside precomputed
  subtrees") added siso/build/tree_input_test.go and a remoteInputs
  argument to treeInput. Append the regression test to that file and
  pass nil remote inputs.
* 0006: refresh cas_test.go context after upstream 62c6788 added tests
  at the end of the file.

0004 and 0005 still apply unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NayLZmJJv2PCUyprP4YX1L

* chore: update patches

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NayLZmJJv2PCUyprP4YX1L

* chore: update patches

Restore the src/env.h index line in
inspector_only_dispatch_interrupt-safe_methods_from_v8_interrupts.patch
to the node v26.13.1 value that this branch's DEPS needs. The previous
commit (05b2143) changed it to the v26.14.0 value, which only matches
main and broke the checkout jobs with "needs update".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NayLZmJJv2PCUyprP4YX1L

* fixup! 8775587: [inspector] Remove AllowJavascriptExecutionScope from dispatch

Rework the Node inspector patch to follow Blink's InspectorTaskRunner:
keep a separate queue for requests that may run JavaScript, handle it
only outside V8 interrupts, and let interrupt-safe methods (now
including Debugger.enable/disable and the Profiler controls) overtake
it so frontends can attach to and profile a busy thread. Outside of
interrupts both queues are handled in posting order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fixup! 8775587: [inspector] Remove AllowJavascriptExecutionScope from dispatch

Document that inspector commands that can run JavaScript now wait for a
busy main process, utility process or worker thread, while commands
that do not run JavaScript can overtake them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: update patches

skip-lint: updating patches after rebase

* 8803935: [fastapi] Eagerly deopt for kPointer and kSeqOneByteString in Turboshaft

Turboshaft now deoptimizes, instead of calling the slow callback, when a
kSeqOneByteString fast API parameter receives another kind of string.
test-buffer-bytelength-safe-fast relied on the old behavior, so backport
the upstream removal of the test (nodejs/node#67897).

Ref: https://chromium-review.googlesource.com/c/v8/v8/+/8803935

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: electron-claude[bot] <279139701+electron-claude[bot]@users.noreply.github.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants