Skip to content

Commit 969c56a

Browse files
authored
Merge branch 'main' into fix-55706
2 parents 6641eed + 8dc2bdd commit 969c56a

File tree

8,975 files changed

+713816
-273022
lines changed

Some content is hidden

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

8,975 files changed

+713816
-273022
lines changed

.devcontainer.json

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "Node.js Dev Container",
3+
"image": "nodejs/devcontainer:nightly",
4+
"workspaceMount": "source=${localWorkspaceFolder},target=/home/developer/nodejs/node,type=bind,consistency=cached",
5+
"workspaceFolder": "/home/developer/nodejs/node",
6+
"remoteUser": "developer",
7+
"mounts": [
8+
"source=node-devcontainer-cache,target=/home/developer/nodejs/node/out,type=volume"
9+
],
10+
"postCreateCommand": "git restore-mtime"
11+
}

.github/CODEOWNERS

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,7 @@
158158
/doc/contributing/maintaining/maintaining-single-executable-application-support.md @nodejs/single-executable
159159
/src/node_sea* @nodejs/single-executable
160160
/test/fixtures/postject-copy @nodejs/single-executable
161-
/test/parallel/test-single-executable-* @nodejs/single-executable
162-
/test/sequential/test-single-executable-* @nodejs/single-executable
161+
/test/sea @nodejs/single-executable
163162
/tools/dep_updaters/update-postject.sh @nodejs/single-executable
164163

165164
# Permission Model
@@ -229,3 +228,10 @@
229228
/lib/path.js @nodejs/path
230229
/lib/path/* @nodejs/path
231230
/test/parallel/test-path-* @nodejs/path
231+
232+
# userland-migrations
233+
/doc/api/deprecations.md @nodejs/userland-migrations
234+
235+
# dev container
236+
/.devcontainer/* @nodejs/devcontainer
237+
/doc/contributing/using-devcontainer.md @nodejs/devcontainer

.github/dependabot.yml

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,19 @@ updates:
88
interval: monthly
99
commit-message:
1010
prefix: meta
11-
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
11+
open-pull-requests-limit: 10
1212

1313
- package-ecosystem: npm
1414
directory: /tools/eslint
1515
schedule:
1616
interval: monthly
17+
cooldown:
18+
semver-major-days: 5
19+
semver-minor-days: 5
20+
semver-patch-days: 5
1721
commit-message:
1822
prefix: tools
19-
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
23+
open-pull-requests-limit: 10
2024
groups:
2125
eslint:
2226
applies-to: version-updates
@@ -27,11 +31,32 @@ updates:
2731
directory: /tools/lint-md
2832
schedule:
2933
interval: monthly
34+
cooldown:
35+
semver-major-days: 5
36+
semver-minor-days: 5
37+
semver-patch-days: 5
3038
commit-message:
3139
prefix: tools
32-
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
40+
open-pull-requests-limit: 10
3341
groups:
3442
lint-md:
3543
applies-to: version-updates
3644
patterns:
3745
- '*'
46+
47+
- package-ecosystem: npm
48+
directory: /tools/doc
49+
schedule:
50+
interval: weekly
51+
cooldown:
52+
semver-major-days: 5
53+
semver-minor-days: 5
54+
semver-patch-days: 5
55+
commit-message:
56+
prefix: tools
57+
open-pull-requests-limit: 10
58+
groups:
59+
doc:
60+
applies-to: version-updates
61+
patterns:
62+
- '*'

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ jobs:
4545
if: needs.get-prs-for-ci.outputs.numbers != ''
4646
runs-on: ubuntu-latest
4747
steps:
48-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
48+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
4949
with:
5050
persist-credentials: false
5151

5252
- name: Install Node.js
53-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
53+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
5454
with:
5555
node-version: ${{ env.NODE_VERSION }}
5656

.github/workflows/build-tarball.yml

Lines changed: 28 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ on:
66
paths-ignore:
77
- .mailmap
88
- '**.md'
9+
- '**.nix'
910
- AUTHORS
1011
- doc/**
12+
- test/internet/**
1113
- .github/**
1214
- '!.github/workflows/build-tarball.yml'
1315
push:
@@ -18,8 +20,10 @@ on:
1820
paths-ignore:
1921
- .mailmap
2022
- '**.md'
23+
- '**.nix'
2124
- AUTHORS
2225
- doc/**
26+
- test/internet/**
2327
- .github/**
2428
- '!.github/workflows/build-tarball.yml'
2529

@@ -28,12 +32,9 @@ concurrency:
2832
cancel-in-progress: true
2933

3034
env:
31-
PYTHON_VERSION: '3.12'
35+
PYTHON_VERSION: '3.14'
3236
FLAKY_TESTS: keep_retrying
3337
CLANG_VERSION: '19'
34-
CC: sccache clang-19
35-
CXX: sccache clang++-19
36-
SCCACHE_GHA_ENABLED: 'true'
3738

3839
permissions:
3940
contents: read
@@ -43,75 +44,66 @@ jobs:
4344
if: github.event.pull_request.draft == false
4445
runs-on: ubuntu-24.04
4546
steps:
46-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
47+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
4748
with:
4849
persist-credentials: false
49-
- name: Install Clang ${{ env.CLANG_VERSION }}
50-
uses: ./.github/actions/install-clang
51-
with:
52-
clang-version: ${{ env.CLANG_VERSION }}
5350
- name: Set up Python ${{ env.PYTHON_VERSION }}
54-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
51+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
5552
with:
5653
python-version: ${{ env.PYTHON_VERSION }}
57-
- name: Set up sccache
58-
uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
59-
with:
60-
version: v0.10.0
54+
allow-prereleases: true
6155
- name: Environment Information
6256
run: npx envinfo
6357
- name: Make tarball
6458
run: |
6559
export DISTTYPE=nightly
66-
export DATESTRING=`date "+%Y-%m-%d"`
60+
export DATESTRING=$(date "+%Y-%m-%d")
6761
export COMMIT=$(git rev-parse --short=10 "$GITHUB_SHA")
68-
./configure && make tar -j8 SKIP_XZ=1
69-
mkdir tarballs
70-
mv *.tar.gz tarballs
62+
./configure && make tar -j4 SKIP_XZ=1
7163
- name: Upload tarball artifact
72-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
64+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
7365
with:
7466
name: tarballs
75-
path: tarballs
67+
path: '*.tar.gz'
68+
compression-level: 0
7669
test-tarball-linux:
7770
needs: build-tarball
7871
runs-on: ubuntu-24.04
72+
env:
73+
CC: sccache clang-19
74+
CXX: sccache clang++-19
75+
SCCACHE_GHA_ENABLED: 'true'
7976
steps:
80-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
77+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
8178
with:
8279
persist-credentials: false
80+
sparse-checkout: .github/actions/install-clang
81+
sparse-checkout-cone-mode: false
8382
- name: Install Clang ${{ env.CLANG_VERSION }}
8483
uses: ./.github/actions/install-clang
8584
with:
8685
clang-version: ${{ env.CLANG_VERSION }}
8786
- name: Set up Python ${{ env.PYTHON_VERSION }}
88-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
87+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
8988
with:
9089
python-version: ${{ env.PYTHON_VERSION }}
90+
allow-prereleases: true
9191
- name: Set up sccache
9292
uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
9393
with:
94-
version: v0.10.0
94+
version: v0.12.0
9595
- name: Environment Information
9696
run: npx envinfo
9797
- name: Download tarball
98-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
98+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
9999
with:
100100
name: tarballs
101101
path: tarballs
102102
- name: Extract tarball
103103
run: |
104-
tar xzf tarballs/*.tar.gz -C $RUNNER_TEMP
105-
echo "TAR_DIR=$RUNNER_TEMP/`basename tarballs/*.tar.gz .tar.gz`" >> $GITHUB_ENV
106-
- name: Copy directories needed for testing
107-
run: |
108-
cp -r tools/eslint $TAR_DIR/tools
109-
cp -r tools/eslint-rules $TAR_DIR/tools
104+
tar xzf tarballs/*.tar.gz -C "$RUNNER_TEMP"
105+
echo "TAR_DIR=$RUNNER_TEMP/$(basename tarballs/*.tar.gz .tar.gz)" >> "$GITHUB_ENV"
110106
- name: Build
111-
run: |
112-
cd $TAR_DIR
113-
make build-ci -j4 V=1
107+
run: make -C "$TAR_DIR" build-ci -j4 V=1
114108
- name: Test
115-
run: |
116-
cd $TAR_DIR
117-
make run-ci -j4 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9"
109+
run: make -C "$TAR_DIR" run-ci -j4 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9"

.github/workflows/close-stale-feature-requests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
if: github.repository == 'nodejs/node'
4242
runs-on: ubuntu-latest
4343
steps:
44-
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
44+
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
4545
with:
4646
repo-token: ${{ secrets.GITHUB_TOKEN }}
4747
days-before-stale: 180

.github/workflows/close-stalled.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
if: github.repository == 'nodejs/node'
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
23+
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
2424
with:
2525
repo-token: ${{ secrets.GITHUB_TOKEN }}
2626
days-before-close: 30

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ jobs:
2323

2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
2727

2828
# Initializes the CodeQL tools for scanning.
2929
- name: Initialize CodeQL
30-
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
30+
uses: github/codeql-action/init@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
3131
with:
3232
languages: ${{ matrix.language }}
3333
config-file: ./.github/codeql-config.yml
3434

3535
- name: Autobuild
36-
uses: github/codeql-action/autobuild@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
36+
uses: github/codeql-action/autobuild@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
3737

3838
- name: Perform CodeQL Analysis
39-
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
39+
uses: github/codeql-action/analyze@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
4040
with:
4141
category: /language:${{matrix.language}}

.github/workflows/commit-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
2121
with:
2222
fetch-depth: ${{ steps.nb-of-commits.outputs.plusOne }}
2323
persist-credentials: false
2424
- run: git reset HEAD^2
2525
- name: Install Node.js
26-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
26+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2727
with:
2828
node-version: ${{ env.NODE_VERSION }}
2929
- name: Validate commit message

0 commit comments

Comments
 (0)