Skip to content

Commit 2346c3f

Browse files
committed
Merge remote-tracking branch 'upstream/main' into vcbuild-compile-commands
2 parents 1179f97 + 88beb76 commit 2346c3f

File tree

5,350 files changed

+360025
-82303
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,350 files changed

+360025
-82303
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ indent_size = unset
2323
indent_style = unset
2424
trim_trailing_whitespace = unset
2525

26-
[{test/fixtures,deps,tools/node_modules,tools/gyp,tools/icu,tools/msvs}/**]
26+
[{test/fixtures,deps,tools/eslint/node_modules,tools/gyp,tools/icu,tools/msvs}/**]
2727
insert_final_newline = false

.github/ISSUE_TEMPLATE/1-bug-report.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ body:
1414
attributes:
1515
label: Version
1616
description: Output of `node -v`
17-
- type: input
17+
- type: textarea
1818
attributes:
1919
label: Platform
20+
render: text
2021
description: |
2122
UNIX: output of `uname -a`
2223
Windows: output of `"$([Environment]::OSVersion.VersionString) $(('x86', 'x64')[[Environment]::Is64BitOperatingSystem])"` in PowerShell console

.github/label-pr-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ subSystemLabels:
9191
/^lib\/internal\/bootstrap/: lib / src
9292
/^lib\/internal\/v8_prof_/: tools
9393
/^lib\/internal\/socket(?:_list|address)\.js$/: net
94-
/^lib\/\w+\/streams$/: stream
94+
/^lib\/(_stream.*|internal\/streams\/.*|stream\.js|stream\/.*)$/: stream
9595
/^lib\/.*http2/: http2
9696
/^lib\/worker_threads.js$/: worker
9797
/^lib\/test.js$/: test_runner

.github/workflows/auto-start-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
if: needs.get-prs-for-ci.outputs.numbers != ''
4646
runs-on: ubuntu-latest
4747
steps:
48-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
48+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
4949
with:
5050
persist-credentials: false
5151

.github/workflows/build-tarball.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,29 @@ concurrency:
3030
env:
3131
PYTHON_VERSION: '3.12'
3232
FLAKY_TESTS: keep_retrying
33+
CC: sccache clang
34+
CXX: sccache clang++
35+
SCCACHE_GHA_ENABLED: 'true'
3336

3437
permissions:
3538
contents: read
3639

3740
jobs:
3841
build-tarball:
3942
if: github.event.pull_request.draft == false
40-
runs-on: ubuntu-latest
43+
runs-on: ubuntu-24.04
4144
steps:
42-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
45+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
4346
with:
4447
persist-credentials: false
4548
- name: Set up Python ${{ env.PYTHON_VERSION }}
4649
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
4750
with:
4851
python-version: ${{ env.PYTHON_VERSION }}
52+
- name: Set up sccache
53+
uses: mozilla-actions/sccache-action@89e9040de88b577a072e3760aaf59f585da083af # v0.0.5
54+
with:
55+
version: v0.8.0
4956
- name: Environment Information
5057
run: npx envinfo
5158
- name: Make tarball
@@ -63,15 +70,19 @@ jobs:
6370
path: tarballs
6471
test-tarball-linux:
6572
needs: build-tarball
66-
runs-on: ubuntu-latest
73+
runs-on: ubuntu-24.04
6774
steps:
68-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
75+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
6976
with:
7077
persist-credentials: false
7178
- name: Set up Python ${{ env.PYTHON_VERSION }}
7279
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
7380
with:
7481
python-version: ${{ env.PYTHON_VERSION }}
82+
- name: Set up sccache
83+
uses: mozilla-actions/sccache-action@89e9040de88b577a072e3760aaf59f585da083af # v0.0.5
84+
with:
85+
version: v0.8.0
7586
- name: Environment Information
7687
run: npx envinfo
7788
- name: Download tarball
@@ -85,7 +96,7 @@ jobs:
8596
echo "TAR_DIR=$RUNNER_TEMP/`basename tarballs/*.tar.gz .tar.gz`" >> $GITHUB_ENV
8697
- name: Copy directories needed for testing
8798
run: |
88-
cp -r tools/node_modules $TAR_DIR/tools
99+
cp -r tools/eslint $TAR_DIR/tools
89100
cp -r tools/eslint-rules $TAR_DIR/tools
90101
- name: Build
91102
run: |

.github/workflows/build-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
fail-fast: false
3939
runs-on: ${{ matrix.windows }}
4040
steps:
41-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
41+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
4242
with:
4343
persist-credentials: false
4444
- name: Set up Python ${{ env.PYTHON_VERSION }}

.github/workflows/commit-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
run: |
1818
echo "plusOne=$((${{ github.event.pull_request.commits }} + 1))" >> $GITHUB_OUTPUT
1919
echo "minusOne=$((${{ github.event.pull_request.commits }} - 1))" >> $GITHUB_OUTPUT
20-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
20+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2121
with:
2222
fetch-depth: ${{ steps.nb-of-commits.outputs.plusOne }}
2323
persist-credentials: false

.github/workflows/commit-queue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
if: needs.get_mergeable_prs.outputs.numbers != ''
5959
runs-on: ubuntu-latest
6060
steps:
61-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
61+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
6262
with:
6363
# Needs the whole git history for ncu to work
6464
# See https://github.com/nodejs/node-core-utils/pull/486

.github/workflows/coverage-linux-without-intl.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,29 @@ concurrency:
3232
env:
3333
PYTHON_VERSION: '3.12'
3434
FLAKY_TESTS: keep_retrying
35+
CC: sccache clang
36+
CXX: sccache clang++
37+
SCCACHE_GHA_ENABLED: 'true'
3538

3639
permissions:
3740
contents: read
3841

3942
jobs:
4043
coverage-linux-without-intl:
4144
if: github.event.pull_request.draft == false
42-
runs-on: ubuntu-latest
45+
runs-on: ubuntu-24.04
4346
steps:
44-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
47+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
4548
with:
4649
persist-credentials: false
4750
- name: Set up Python ${{ env.PYTHON_VERSION }}
4851
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
4952
with:
5053
python-version: ${{ env.PYTHON_VERSION }}
54+
- name: Set up sccache
55+
uses: mozilla-actions/sccache-action@89e9040de88b577a072e3760aaf59f585da083af # v0.0.5
56+
with:
57+
version: v0.8.0
5158
- name: Environment Information
5259
run: npx envinfo
5360
- name: Install gcovr
@@ -68,7 +75,7 @@ jobs:
6875
- name: Clean tmp
6976
run: rm -rf coverage/tmp && rm -rf out
7077
- name: Upload
71-
uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be # v4.3.1
78+
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
7279
with:
7380
directory: ./coverage
7481
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/coverage-linux.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,29 @@ concurrency:
3232
env:
3333
PYTHON_VERSION: '3.12'
3434
FLAKY_TESTS: keep_retrying
35+
CC: sccache clang
36+
CXX: sccache clang++
37+
SCCACHE_GHA_ENABLED: 'true'
3538

3639
permissions:
3740
contents: read
3841

3942
jobs:
4043
coverage-linux:
4144
if: github.event.pull_request.draft == false
42-
runs-on: ubuntu-latest
45+
runs-on: ubuntu-24.04
4346
steps:
44-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
47+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
4548
with:
4649
persist-credentials: false
4750
- name: Set up Python ${{ env.PYTHON_VERSION }}
4851
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
4952
with:
5053
python-version: ${{ env.PYTHON_VERSION }}
54+
- name: Set up sccache
55+
uses: mozilla-actions/sccache-action@89e9040de88b577a072e3760aaf59f585da083af # v0.0.5
56+
with:
57+
version: v0.8.0
5158
- name: Environment Information
5259
run: npx envinfo
5360
- name: Install gcovr
@@ -68,7 +75,7 @@ jobs:
6875
- name: Clean tmp
6976
run: rm -rf coverage/tmp && rm -rf out
7077
- name: Upload
71-
uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be # v4.3.1
78+
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
7279
with:
7380
directory: ./coverage
7481
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/coverage-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
if: github.event.pull_request.draft == false
4242
runs-on: windows-2022
4343
steps:
44-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
44+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
4545
with:
4646
persist-credentials: false
4747
- name: Set up Python ${{ env.PYTHON_VERSION }}
@@ -67,7 +67,7 @@ jobs:
6767
- name: Clean tmp
6868
run: npx rimraf ./coverage/tmp
6969
- name: Upload
70-
uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be # v4.3.1
70+
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
7171
with:
7272
directory: ./coverage
7373
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/daily-wpt-fyi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
SHORT_SHA=$(node -p 'process.version.split(/-nightly\d{8}/)[1]')
5858
echo "NIGHTLY_REF=$(gh api /repos/nodejs/node/commits/$SHORT_SHA --jq '.sha')" >> $GITHUB_ENV
5959
- name: Checkout ${{ steps.setup-node.outputs.node-version }}
60-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
60+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
6161
with:
6262
persist-credentials: false
6363
ref: ${{ env.NIGHTLY_REF || steps.setup-node.outputs.node-version }}
@@ -73,7 +73,7 @@ jobs:
7373
run: rm -rf wpt
7474
working-directory: test/fixtures
7575
- name: Checkout epochs/daily WPT
76-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
76+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
7777
with:
7878
repository: web-platform-tests/wpt
7979
persist-credentials: false
@@ -98,7 +98,7 @@ jobs:
9898
run: rm -rf deps/undici
9999
- name: Checkout undici
100100
if: ${{ env.WPT_REPORT != '' }}
101-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
101+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
102102
with:
103103
repository: nodejs/undici
104104
persist-credentials: false

.github/workflows/daily.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ permissions:
1313

1414
jobs:
1515
build-lto:
16-
runs-on: ubuntu-latest
17-
# not working on gcc-8 and gcc-9 see https://github.com/nodejs/node/issues/38570
18-
container: gcc:11
16+
runs-on: ubuntu-24.04
1917
steps:
20-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
18+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2119
with:
2220
persist-credentials: false
2321
- name: Use Node.js ${{ env.NODE_VERSION }}
@@ -28,6 +26,6 @@ jobs:
2826
run: npx envinfo
2927
- name: Build lto
3028
run: |
31-
apt-get update && apt-get install ninja-build python-is-python3 -y
29+
sudo apt-get update && sudo apt-get install ninja-build -y
3230
./configure --enable-lto --ninja
3331
ninja -C out/Release

.github/workflows/doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
if: github.event.pull_request.draft == false
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
27+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2828
with:
2929
persist-credentials: false
3030
- name: Use Node.js ${{ env.NODE_VERSION }}

.github/workflows/find-inactive-collaborators.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020

2121
steps:
22-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
22+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2323
with:
2424
fetch-depth: 0
2525
persist-credentials: false
@@ -42,7 +42,7 @@ jobs:
4242
author: Node.js GitHub Bot <github-bot@iojs.org>
4343
branch: actions/inactive-collaborators
4444
body: |
45-
This PR was generated by tools/find-inactive-collaborators.yml.
45+
This PR was generated by the [`find-inactive-collaborators.yml` workflow](https://github.com/nodejs/node/blob/main/.github/workflows/find-inactive-collaborators.yml).
4646
4747
@nodejs/tsc Please follow up with the [offboarding tasks](https://github.com/nodejs/node/blob/main/doc/contributing/offboarding.md).
4848
commit-message: 'meta: move one or more collaborators to emeritus'

.github/workflows/find-inactive-tsc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020

2121
steps:
2222
- name: Checkout the repo
23-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
23+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2424
with:
2525
fetch-depth: 0
2626
persist-credentials: false
2727

2828
- name: Clone nodejs/TSC repository
29-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
29+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
3030
with:
3131
fetch-depth: 0
3232
path: .tmp

.github/workflows/license-builder.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
if: github.repository == 'nodejs/node'
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
20+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2121
with:
2222
persist-credentials: false
2323
- run: ./tools/license-builder.sh # Run the license builder tool

0 commit comments

Comments
 (0)