Skip to content

util: honor breakLength: Infinity for deep objects and arrays #61097

util: honor breakLength: Infinity for deep objects and arrays

util: honor breakLength: Infinity for deep objects and arrays #61097

Triggered via pull request October 3, 2026 11:41
@RohithParikiRohithPariki
synchronize #66471
Status Failure
Total duration 28s
Artifacts –

commit-lint.yml

on: pull_request_target
lint-commit-message
24s
lint-commit-message
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
lint-commit-message
# 1cb1836d5bbfc6b6c6c92197a0fa72ddcd1f5172 ok 1 assisted-by-is-trailer: no Assisted-by metadata ok 2 co-authored-by-is-trailer: no Co-authored-by metadata ok 3 fixes-url: Valid fixes URL. [https://github.com/nodejs/node/issues/60475] ok 4 line-after-title: blank line after title ok 5 line-length: line-lengths are valid not ok 6 signed-off-by: Commit must have a "Signed-off-by" trailer () --- { found: '', compare: '===', wanted: '', at: { line: 0, column: 0, body: [ '', 'When `util.inspect` is called with `breakLength: Infinity`, it should', 'always format the output as a single line. However, the existing logic', 'for compact arrays (`groupArrayElements`) and deep objects ignored this', 'when the depth was large or the array was long.', '', 'This commit updates `groupArrayElements` to return early if', '`breakLength === Infinity`, preventing column grouping. It also', 'updates `reduceToSingleString` to bypass the depth checks when', '`breakLength === Infinity`, ensuring all deep objects are consolidated.', '', 'Fixes: https://github.com/nodejs/node/issues/60475', 'PR-URL: https://github.com/nodejs/node/pull/66471' ] } } ... ok 7 subsystem: valid subsystems [util] ok 8 title-format: Title is formatted correctly. 0..8 # tests 8 # pass 7 # fail 1 # Please review the commit message guidelines: # https://github.com/nodejs/node/blob/HEAD/doc/contributing/pull-requests.md#commit-message-guidelines npm warn deprecated tap@16.3.10: Versions of tap before v18 are no longer maintained. Please upgrade. npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead npm warn deprecated libtap@1.4.1: This library is no longer used by node-tap, and is unmaintained. npm warn deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
Workflow execution policy warning (evaluate mode): .github/workflows/commit-lint.yml#L1
On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target