Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v20.17.0 proposal #54447

Merged
merged 176 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
176 commits
Select commit Hold shift + click to select a range
cad46af
module: support require()ing synchronous ESM graphs
joyeecheung Mar 11, 2024
4dae68c
module: centralize SourceTextModule compilation for builtin loader
joyeecheung Apr 3, 2024
51b88fa
module: disallow CJS <-> ESM edges in a cycle from require(esm)
joyeecheung Apr 8, 2024
3a2d8bf
lib: convert WeakMaps in cjs loader with private symbol properties
legendecas Apr 12, 2024
6c4f477
module: tidy code and comments
JakobJingleheimer Apr 13, 2024
7625dc4
module: fix submodules loaded by require() and import()
joyeecheung Apr 16, 2024
4a3ecbf
stream: implement `min` option for `ReadableStreamBYOBReader.read`
MattiasBuelens Jan 4, 2024
9b82b15
stream: update ongoing promise in async iterator return() method
MattiasBuelens Apr 28, 2024
a6dd864
src: reduce unnecessary serialization of CLI options in C++
joyeecheung May 2, 2024
a52de8c
bootstrap: print `--help` message using `console.log`
jcbhmr May 12, 2024
1cd3c8e
doc: fix typo
ehsankhfr Jun 10, 2024
62f4f6f
src: remove ArrayBufferAllocator::Reallocate override
syg Jun 13, 2024
57b8b8e
path: add `matchesGlob` method
RedYetiDev Jun 23, 2024
ceb1d5e
crypto: avoid taking ownership of OpenSSL objects
tniessen Jun 23, 2024
5d03f6f
esm: move hooks test with others
GeoffreyBooth Jun 25, 2024
59c5c5c
doc: note http.closeAllConnections excludes upgraded sockets
robhogan Jun 25, 2024
bcd08be
meta: prevent constant references to issues in versioning
RedYetiDev Jun 26, 2024
73860ac
doc: clarify that fs.exists() may return false for existing symlink
tniessen Jun 26, 2024
f8f247b
doc: document addition testing options
RedYetiDev Jun 26, 2024
156fc53
doc: clarify usage of coverage reporters
eliphazbouye Jun 26, 2024
2b70018
test: refactor, add assertion to http-request-end
jakecastelli Jun 26, 2024
a075267
test: fix OpenSSL version checks
richardlau Jun 26, 2024
0c91186
meta: warnings bypass deprecation cycle
benjamingr Jun 27, 2024
3d8721f
build: add version-specific library path for AIX
richardlau Jun 27, 2024
8404421
tools: replace reference to NodeMainInstance with SnapshotBuilder
codediverdev Jun 27, 2024
c7e4c3d
benchmark: add cpSync benchmark
anonrig Jun 27, 2024
4187b81
doc, typings: events.once accepts symbol event type
Renegade334 Jun 27, 2024
44d901a
meta: move member from TSC regular to emeriti
mhdawson Jun 28, 2024
460240c
crypto: make deriveBits length parameter optional and nullable
panva Jun 28, 2024
1e9ff50
lib: add toJSON to PerformanceMeasure
theanarkh Jun 29, 2024
16d55f1
doc: add esm example for os
peixotoleonardo Jun 29, 2024
c997dbe
doc: add issue for news from ambassadors
mhdawson Jun 29, 2024
5076f0d
doc: remove some news issues that are no longer
mhdawson Jun 29, 2024
43ac5a2
doc: fix doc for correct usage with plan & TestContext
Emiltayeb Jun 29, 2024
0312065
tools: update lint-md-dependencies to [email protected]
nodejs-github-bot Jun 30, 2024
662bf52
test: do not assume cwd in snapshot tests
aduh95 Jun 30, 2024
2d8490f
typings: add `fs_dir` types
anonrig Jun 30, 2024
e0d213d
doc: fix module customization hook examples
elliotgoodrich Jul 1, 2024
758178b
doc: include node.module_timer on available categories
H4ad Jul 1, 2024
4346de7
doc: mark NODE_MODULE_VERSION for Node.js 22.0.0
targos Jul 2, 2024
5dcdfb5
meta: bump step-security/harden-runner from 2.8.0 to 2.8.1
dependabot[bot] Jul 3, 2024
bb6fe38
meta: bump peter-evans/create-pull-request from 6.0.5 to 6.1.0
dependabot[bot] Jul 3, 2024
39d6c78
meta: bump actions/checkout from 4.1.6 to 4.1.7
dependabot[bot] Jul 3, 2024
d5a9c24
meta: bump github/codeql-action from 3.25.7 to 3.25.11
dependabot[bot] Jul 3, 2024
f84e215
meta: bump mozilla-actions/sccache-action from 0.0.4 to 0.0.5
dependabot[bot] Jul 3, 2024
a5f5b45
meta: bump codecov/codecov-action from 4.4.1 to 4.5.0
dependabot[bot] Jul 3, 2024
6dc1898
test: use python3 instead of python in pummel test
fahrradflucht Jul 4, 2024
aa0c5c2
meta: move regular TSC member to emeritus
mhdawson Jul 4, 2024
754090c
doc: add additional explanation to the wildcard section in permissions
jakecastelli Jul 4, 2024
3b632e1
doc: require `node:process` in assert doc examples
mfdebian Jul 4, 2024
c2b0dcd
test: un-set inspector-async-hook-setup-at-inspect-brk as flaky
abmusse Jul 4, 2024
5ec5e78
build: fix mac build error of c-ares under GN
zcbenz Jul 5, 2024
1d961fa
url: add missing documentation for `URL.parse()`
anonrig Jul 5, 2024
c3536cf
doc: fix releases guide for recent Git versions
targos Jul 5, 2024
60ee41d
doc: exclude voting and regular TSC from spotlight
mhdawson Jul 5, 2024
d6d0427
worker: allow copied NODE_OPTIONS in the env setting
joyeecheung Jul 5, 2024
98d59aa
doc: remove the last <pre> tag
ovflowd Jul 6, 2024
4647e6b
deps: update c-ares to v1.32.0
nodejs-github-bot Jul 6, 2024
ef5dabd
src: fix Worker termination when '--inspect-brk' is passed
daeyeon Jul 6, 2024
fa0e8d7
crypto: avoid std::function
tniessen Jul 6, 2024
229f7f8
doc: mention v8.setFlagsFromString to pm
RafaelGSS Jul 6, 2024
584beaa
src: zero-initialize data that are copied into the snapshot
joyeecheung Jun 23, 2024
e6d735a
src: document the Node.js context embedder data
joyeecheung Jul 6, 2024
820e6e1
cli: update `node.1` to reflect Atom's sunset
RedYetiDev Jul 6, 2024
878e9a4
deps: update minimatch to 9.0.5
nodejs-github-bot Jul 7, 2024
832328e
deps: update c-ares to v1.32.1
nodejs-github-bot Jul 7, 2024
d012dd3
lib: remove path.resolve from permissions.js
RafaelGSS Jul 8, 2024
8135f36
src: fix typo in node.h
daeyeon Jul 8, 2024
0ad4b7c
meta: use HTML entities in commit-queue comment
RedYetiDev Jul 8, 2024
04798fb
build: fix build warning of c-ares under GN build
zcbenz Jul 9, 2024
b8d2bbc
meta: move one or more collaborators to emeritus
nodejs-github-bot Jul 10, 2024
9804731
doc: update `scroll-padding-top` to 4rem
cloydlau Jul 10, 2024
81cd84c
src: use Maybe<void> in node::crypto::error
tniessen Jul 10, 2024
51e736a
doc: add option to have support me link
mhdawson Jun 3, 2024
c01ce60
deps: update googletest to 305e5a2
nodejs-github-bot May 26, 2024
2a2620e
deps: update googletest to 34ad51b
nodejs-github-bot Jul 7, 2024
0c24b91
src: fix error handling in ExportJWKAsymmetricKey
tniessen Jul 10, 2024
ce877c6
util: fix crashing when emitting new Buffer() deprecation warning #53075
Uzlopak Jul 11, 2024
f64db24
doc: clarify authenticity of plaintexts in update
tniessen Jul 11, 2024
e71aa7e
doc: use mock.callCount() in examples
regseb Jul 11, 2024
7fc45f5
url: reduce unnecessary string copies
anonrig Jul 11, 2024
32ac80a
doc: add Rafael to the last security release
RafaelGSS Jul 12, 2024
2f66c7e
deps: upgrade npm to 10.8.2
npm-cli-bot Jul 12, 2024
56299f7
stream: improve inspector ergonomics
benjamingr Jul 12, 2024
a19b283
deps: update ada to 2.9.0
nodejs-github-bot Jul 12, 2024
c2bb460
meta: add `node_sqlite.c` to PR label config
RedYetiDev Jul 12, 2024
1a4da22
src: use Maybe<void> in ManagedEVPPKey
tniessen Jul 13, 2024
bff6995
meta: change email address of anonrig
anonrig Jul 14, 2024
325eae0
url: fix typo
Kay-Yuan Jul 14, 2024
3c5e593
doc, meta: add PTAL to glossary
RedYetiDev Jul 14, 2024
e60b089
meta: remove redudant logging from dep updaters
RedYetiDev Jul 14, 2024
f87eed8
doc: move MylesBorins to emeritus
MylesBorins Jul 15, 2024
8660d48
tls: add setKeyCert() to tls.Socket
mscdex Jul 15, 2024
206c668
test_runner: remove plan option from run()
cjihrig Jul 15, 2024
e352a4e
src: update outdated references to spec sections
tniessen Jul 15, 2024
2eea850
src,test: further cleanup references to osx
danielbayley Jul 15, 2024
642d5c5
tools: use v8_features.json to populate config.gypi
zcbenz Jul 15, 2024
fa8f99d
deps: update simdutf to 5.3.0
nodejs-github-bot Jul 16, 2024
398f7ac
deps: update corepack to 0.29.2
nodejs-github-bot Jul 16, 2024
4dedf2a
tools: update lint-md-dependencies
nodejs-github-bot Jul 16, 2024
78f6b34
deps: update minimatch to 10.0.1
nodejs-github-bot Jul 16, 2024
8c8e368
deps: update googletest to 4b21f1a
nodejs-github-bot Jul 16, 2024
977af25
build: disable test-asan workflow
targos Jul 16, 2024
31fdb88
src,lib: expose getCategoryEnabledBuffer to use on node.http
H4ad Jul 16, 2024
aff9a53
src: fix env-file flag to ignore spaces before quotes
MOHIT51196 Jul 17, 2024
9224e3e
doc: update release-post nodejs.org script
RafaelGSS Jul 17, 2024
f5280dd
doc: fix casing of GitHub handle for two collaborators
aduh95 Jul 17, 2024
c0b24e5
meta: move anonrig to tsc voting members
anonrig Jul 17, 2024
44a1cbe
doc: add MattiasBuelens to collaborators
MattiasBuelens Jul 18, 2024
137a2e5
cli: document `--inspect` port `0` behavior
RedYetiDev Jul 18, 2024
51ba566
lib: decorate async stack trace in source maps
legendecas Jul 18, 2024
b71250a
src: replace ToLocalChecked uses with ToLocal in node-file
jasnell Jul 16, 2024
233aba9
doc: update `api_assets` README for new files
RedYetiDev Jul 19, 2024
3cdf94d
doc,tty: add documentation for ReadStream and WriteStream
jakecastelli Jul 19, 2024
a2d74f4
build,tools: simplify upload of shasum signatures
targos Jul 19, 2024
c667fbd
lib: improve error message when index not found on cjs
H4ad Jul 20, 2024
be94e47
test: deflake test-blob-file-backed
lpinca Jul 20, 2024
139c62e
doc: move --test-coverage-{ex,in}clude to proper location
cjihrig Jul 20, 2024
5727b4d
build: update codecov coverage build count
anonrig Jul 17, 2024
342a663
build: trigger coverage ci when updating codecov
anonrig Jul 17, 2024
1864cdd
meta: store actions secrets in environment
RedYetiDev Jul 20, 2024
89599e0
doc: remove `scroll-behavior: smooth;`
cloydlau Jul 21, 2024
edb75ae
test: use `PYTHON` executable from env in `assertSnapshot`
aduh95 Jul 21, 2024
6d0b8de
test: reduce flakiness of `test-assert-esm-cjs-message-verify`
aduh95 Jul 21, 2024
a3183fb
doc: add info about prefix-only modules to `module.builtinModules`
SunsetTechuila Jul 21, 2024
9c5beab
tools: fix `SLACK_TITLE` in invalid commit workflow
aduh95 Jul 21, 2024
993bb3b
child_process: fix incomplete prototype pollution hardening
lirantal Jul 21, 2024
a4ff2ac
lib: improve cluster/primary code
ehsankhfr Jul 21, 2024
25e59ae
doc: update boxstarter README
RedYetiDev Jul 21, 2024
acaf5dd
src: avoid strcmp in ImportJWKAsymmetricKey
tniessen Jul 21, 2024
848c2d5
src: cache invariant code motion
RafaelGSS Jul 21, 2024
56c26fe
test: skip --title check on IBM i
abmusse Jul 22, 2024
e6ba121
meta: make more bug-report information required
RedYetiDev Jul 22, 2024
ffb0bd3
build, tools: drop leading `/` from `r2dir`
richardlau Jul 22, 2024
6ca0cfc
meta: remove license for hljs
RedYetiDev Jul 22, 2024
4c36d6c
src: fix slice of slice of file-backed Blob
jleedev Jul 22, 2024
2e69e5f
test: skip sea tests in large debug builds
legendecas Jul 22, 2024
367f9e7
test_runner: cleanup global event listeners after run
EddieAbbondanzio Jul 23, 2024
ead05aa
doc: fix typo in recognizing-contributors
marco-ippolito Jul 23, 2024
bf6aa53
process: unify experimental warning messages
RedYetiDev Jul 23, 2024
490f15a
fs: ensure consistency for mkdtemp in both fs and fs/promises
YieldRay Jul 23, 2024
f2b4fd3
test: compare paths on Windows without considering case
EarlyRiser42 Jul 23, 2024
0ad783c
test: mark test-pipe-file-to-http as flaky
jakecastelli Jul 23, 2024
ae30674
meta: add jake to collaborators
jakecastelli Jul 24, 2024
6bafe8a
src: fix -Wshadow warning
codebytere Jul 24, 2024
a9c04ea
build: ensure v8_pointer_compression_sandbox is enabled on 64bit
codebytere Jul 24, 2024
5eea419
deps: update c-ares to v1.32.2
nodejs-github-bot Jul 24, 2024
f336e61
doc, test: tracing channel hasSubscribers getter
tlhunter Jul 24, 2024
bfabfb4
meta: move tsc member to emeritus
mhdawson Jul 25, 2024
0d70c79
lib: optimize copyError with ObjectAssign in primordials
rayark1 Jul 25, 2024
43ede1a
test: mark 'test/parallel/test-sqlite.js' as flaky
cjihrig Jul 25, 2024
0109f9c
src: simplify AESCipherTraits::AdditionalConfig
tniessen Jul 25, 2024
fb73422
test_runner: do not throw on mocked clearTimeout()
Aksinya-Bykova Jul 25, 2024
5c5093d
test: add test for one arg timers to increase coverage
Ceres6 Jul 25, 2024
364d09c
test: add comments and rename test for timer robustness
Trott Jul 25, 2024
6a5120f
doc: move GeoffreyBooth to TSC regular member
GeoffreyBooth Jul 25, 2024
7c21bb9
stream: expose DuplexPair API
awwright Jul 26, 2024
9a98ad4
test: remove unnecessary console log
Kay-Yuan Jul 26, 2024
496975e
deps: update c-ares to v1.32.3
nodejs-github-bot Jul 26, 2024
e6a4104
node-api: rename nogc to basic
gabrielschulhof Jul 13, 2024
bec88ce
test: skip sea tests with more accurate available disk space estimation
legendecas Jul 27, 2024
e326342
meta: add `sqlite` to js subsystems
himself65 Jul 27, 2024
77761af
test: move shared module to `test/common`
Trott Jul 25, 2024
61b90e7
build: update gcovr to 7.2 and codecov config
bcoe Jul 27, 2024
c0262c1
test_runner: switched to internal readline interface
Emiltayeb Jul 28, 2024
8e64c02
http: add diagnostics channel `http.client.request.error`
cola119 Jul 28, 2024
b3a2726
assert: use isError instead of instanceof in innerOk
pmarchini Jul 28, 2024
1c0ccc0
doc: fix typo in diagnostic tooling support tiers document
kimtaejin3 Jul 29, 2024
55f5e76
doc: fix typo in technical-priorities.md
MCprotein Jul 29, 2024
ac58c82
node-api: add property keys benchmark
legendecas Jul 29, 2024
36170ed
doc: update security-release process to automated one
RafaelGSS Jul 29, 2024
2a3ae16
src: expose LookupAndCompile with parameters
codebytere Jul 29, 2024
bd996bf
test: do not swallow uncaughtException errors in exit code tests
nektro Jul 25, 2024
30310bf
doc: move numCPUs require to top of file in cluster CJS example
mfdebian Jul 30, 2024
44268c2
deps: update corepack to 0.29.3
nodejs-github-bot Jul 30, 2024
efbec04
2024-08-21, Version 20.17.0 'Iron' (LTS)
marco-ippolito Aug 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 8 additions & 1 deletion .github/ISSUE_TEMPLATE/1-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ body:
attributes:
label: Version
description: Output of `node -v`
- type: input
- type: textarea
attributes:
label: Platform
render: text
description: |
UNIX: output of `uname -a`
Windows: output of `"$([Environment]::OSVersion.VersionString) $(('x86', 'x64')[[Environment]::Is64BitOperatingSystem])"` in PowerShell console
Expand All @@ -32,13 +33,19 @@ body:
be run using `node` directly without installing third-party dependencies
or downloading code from the internet (i.e. no ZIP archive, no GitHub
repository, etc.).
validations:
required: true
- type: textarea
attributes:
label: How often does it reproduce? Is there a required condition?
validations:
required: true
- type: textarea
attributes:
label: What is the expected behavior? Why is that the expected behavior?
description: If possible please provide textual output instead of screenshots.
validations:
required: true
- type: textarea
attributes:
label: What do you see instead?
Expand Down
2 changes: 2 additions & 0 deletions .github/label-pr-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ subSystemLabels:
/^src\/quic\/*/: c++, quic
/^src\/node_bob*/: c++, quic
/^src\/node_sea/: single-executable
/^src\/node_sqlite.*/: c++, sqlite

# Properly label changes to V8 inspector integration-related files
/^src\/inspector_/: c++, inspector, needs-ci
Expand Down Expand Up @@ -186,6 +187,7 @@ allJsSubSystems:
- readline
- repl
- report
- sqlite
- stream
- string_decoder
- timers
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/auto-start-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
if: needs.get-prs-for-ci.outputs.numbers != ''
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false

Expand All @@ -59,11 +59,15 @@ jobs:

- name: Setup @node-core/utils
run: |
ncu-config set username ${{ secrets.JENKINS_USER }}
ncu-config set token "${{ secrets.GH_USER_TOKEN }}"
ncu-config set jenkins_token ${{ secrets.JENKINS_TOKEN }}
ncu-config set username "$USERNAME"
ncu-config set token "$GH_TOKEN"
ncu-config set jenkins_token "$JENKINS_TOKEN"
ncu-config set owner "${{ github.repository_owner }}"
ncu-config set repo "$(echo ${{ github.repository }} | cut -d/ -f2)"
env:
USERNAME: ${{ secrets.JENKINS_USER }}
GH_TOKEN: ${{ secrets.GH_USER_TOKEN }}
JENKINS_TOKEN: ${{ secrets.JENKINS_TOKEN }}

- name: Start the CI
run: ./tools/actions/start-ci.sh ${{ needs.get-prs-for-ci.outputs.numbers }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
uses: mozilla-actions/sccache-action@2e7f9ec7921547d4b46598398ca573513895d0bd # v0.0.4
uses: mozilla-actions/sccache-action@89e9040de88b577a072e3760aaf59f585da083af # v0.0.5
with:
version: v0.8.0
- name: Environment Information
Expand All @@ -72,15 +72,15 @@ jobs:
needs: build-tarball
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
uses: mozilla-actions/sccache-action@2e7f9ec7921547d4b46598398ca573513895d0bd # v0.0.4
uses: mozilla-actions/sccache-action@89e9040de88b577a072e3760aaf59f585da083af # v0.0.5
with:
version: v0.8.0
- name: Environment Information
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.windows }}
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: |
echo "plusOne=$((${{ github.event.pull_request.commits }} + 1))" >> $GITHUB_OUTPUT
echo "minusOne=$((${{ github.event.pull_request.commits }} - 1))" >> $GITHUB_OUTPUT
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: ${{ steps.nb-of-commits.outputs.plusOne }}
persist-credentials: false
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/commit-queue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
if: needs.get_mergeable_prs.outputs.numbers != ''
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
# Needs the whole git history for ncu to work
# See https://github.com/nodejs/node-core-utils/pull/486
Expand Down Expand Up @@ -86,11 +86,15 @@ jobs:
run: |
ncu-config set branch ${GITHUB_REF_NAME}
ncu-config set upstream origin
ncu-config set username "${{ secrets.GH_USER_NAME }}"
ncu-config set token "${{ secrets.GH_USER_TOKEN }}"
ncu-config set jenkins_token "${{ secrets.JENKINS_TOKEN }}"
ncu-config set username "$USERNAME"
ncu-config set token "$GH_TOKEN"
ncu-config set jenkins_token "$JENKINS_TOKEN"
ncu-config set repo "${REPOSITORY}"
ncu-config set owner "${OWNER}"
env:
USERNAME: ${{ secrets.JENKINS_USER }}
GH_TOKEN: ${{ secrets.GH_USER_TOKEN }}
JENKINS_TOKEN: ${{ secrets.JENKINS_TOKEN }}

- name: Start the Commit Queue
run: ./tools/actions/commit-queue.sh ${{ env.OWNER }} ${{ env.REPOSITORY }} ${{ needs.get_mergeable_prs.outputs.numbers }}
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/coverage-linux-without-intl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- tools/gyp/**
- tools/test.py
- .github/workflows/coverage-linux-without-intl.yml
- codecov.yml
push:
branches:
- main
Expand All @@ -24,6 +25,7 @@ on:
- tools/gyp/**
- tools/test.py
- .github/workflows/coverage-linux-without-intl.yml
- codecov.yml

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -44,21 +46,21 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
uses: mozilla-actions/sccache-action@2e7f9ec7921547d4b46598398ca573513895d0bd # v0.0.4
uses: mozilla-actions/sccache-action@89e9040de88b577a072e3760aaf59f585da083af # v0.0.5
with:
version: v0.8.0
- name: Environment Information
run: npx envinfo
- name: Install gcovr
run: pip install gcovr==4.2
run: pip install gcovr==7.2
- name: Build
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --coverage --without-intl"
# TODO(bcoe): fix the couple tests that fail with the inspector enabled.
Expand All @@ -70,12 +72,12 @@ jobs:
env:
NODE_OPTIONS: --max-old-space-size=8192
- name: Report C++
run: cd out && gcovr --gcov-exclude='.*\b(deps|usr|out|obj|cctest|embedding)\b' -v -r Release/obj.target --xml -o ../coverage/coverage-cxx.xml --root=$(cd ../ && pwd)
run: gcovr --object-directory=out -v --filter src --xml -o ./coverage/coverage-cxx.xml --root=./ --gcov-executable="llvm-cov-18 gcov"
# Clean temporary output from gcov and c8, so that it's not uploaded:
- name: Clean tmp
run: rm -rf coverage/tmp && rm -rf out
- name: Upload
uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
with:
directory: ./coverage
token: ${{ secrets.CODECOV_TOKEN }}
12 changes: 7 additions & 5 deletions .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- tools/gyp/**
- tools/test.py
- .github/workflows/coverage-linux.yml
- codecov.yml
push:
branches:
- main
Expand All @@ -24,6 +25,7 @@ on:
- tools/gyp/**
- tools/test.py
- .github/workflows/coverage-linux.yml
- codecov.yml

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -44,21 +46,21 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
uses: mozilla-actions/sccache-action@2e7f9ec7921547d4b46598398ca573513895d0bd # v0.0.4
uses: mozilla-actions/sccache-action@89e9040de88b577a072e3760aaf59f585da083af # v0.0.5
with:
version: v0.8.0
- name: Environment Information
run: npx envinfo
- name: Install gcovr
run: pip install gcovr==4.2
run: pip install gcovr==7.2
- name: Build
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --coverage"
# TODO(bcoe): fix the couple tests that fail with the inspector enabled.
Expand All @@ -70,12 +72,12 @@ jobs:
env:
NODE_OPTIONS: --max-old-space-size=8192
- name: Report C++
run: cd out && gcovr --gcov-exclude='.*\b(deps|usr|out|obj|cctest|embedding)\b' -v -r Release/obj.target --xml -o ../coverage/coverage-cxx.xml --root=$(cd ../ && pwd)
run: gcovr --object-directory=out -v --filter src --xml -o ./coverage/coverage-cxx.xml --root=./ --gcov-executable="llvm-cov-18 gcov"
# Clean temporary output from gcov and c8, so that it's not uploaded:
- name: Clean tmp
run: rm -rf coverage/tmp && rm -rf out
- name: Upload
uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
with:
directory: ./coverage
token: ${{ secrets.CODECOV_TOKEN }}
6 changes: 4 additions & 2 deletions .github/workflows/coverage-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- tools/gyp/**
- tools/test.py
- .github/workflows/coverage-windows.yml
- codecov.yml
push:
branches:
- main
Expand All @@ -24,6 +25,7 @@ on:
- tools/gyp/**
- tools/test.py
- .github/workflows/coverage-windows.yml
- codecov.yml

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -41,7 +43,7 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: windows-2022
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
Expand All @@ -67,7 +69,7 @@ jobs:
- name: Clean tmp
run: npx rimraf ./coverage/tmp
- name: Upload
uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
with:
directory: ./coverage
token: ${{ secrets.CODECOV_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/daily-wpt-fyi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
SHORT_SHA=$(node -p 'process.version.split(/-nightly\d{8}/)[1]')
echo "NIGHTLY_REF=$(gh api /repos/nodejs/node/commits/$SHORT_SHA --jq '.sha')" >> $GITHUB_ENV
- name: Checkout ${{ steps.setup-node.outputs.node-version }}
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
ref: ${{ env.NIGHTLY_REF || steps.setup-node.outputs.node-version }}
Expand All @@ -73,7 +73,7 @@ jobs:
run: rm -rf wpt
working-directory: test/fixtures
- name: Checkout epochs/daily WPT
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
repository: web-platform-tests/wpt
persist-credentials: false
Expand All @@ -98,7 +98,7 @@ jobs:
run: rm -rf deps/undici
- name: Checkout undici
if: ${{ env.WPT_REPORT != '' }}
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
repository: nodejs/undici
persist-credentials: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
build-lto:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- name: Use Node.js ${{ env.NODE_VERSION }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- name: Use Node.js ${{ env.NODE_VERSION }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/find-inactive-collaborators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
persist-credentials: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/find-inactive-tsc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:

steps:
- name: Checkout the repo
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
persist-credentials: false

- name: Clone nodejs/TSC repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
path: .tmp
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- run: ./tools/license-builder.sh # Run the license builder tool
Expand Down
Loading
Loading