Skip to content

Commit 129f7bd

Browse files
authored
Merge branch 'main' into 58888
2 parents d065a1a + 5de368f commit 129f7bd

File tree

7,557 files changed

+560654
-253146
lines changed

Some content is hidden

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

7,557 files changed

+560654
-253146
lines changed
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+
}

.devcontainer/devcontainer.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

.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: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ updates:
66
directory: /
77
schedule:
88
interval: monthly
9+
cooldown:
10+
semver-major-days: 5
11+
semver-minor-days: 5
12+
semver-patch-days: 5
13+
914
commit-message:
1015
prefix: meta
1116
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
@@ -14,6 +19,10 @@ updates:
1419
directory: /tools/eslint
1520
schedule:
1621
interval: monthly
22+
cooldown:
23+
semver-major-days: 5
24+
semver-minor-days: 5
25+
semver-patch-days: 5
1726
commit-message:
1827
prefix: tools
1928
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
@@ -27,6 +36,10 @@ updates:
2736
directory: /tools/lint-md
2837
schedule:
2938
interval: monthly
39+
cooldown:
40+
semver-major-days: 5
41+
semver-minor-days: 5
42+
semver-patch-days: 5
3043
commit-message:
3144
prefix: tools
3245
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
@@ -35,3 +48,20 @@ updates:
3548
applies-to: version-updates
3649
patterns:
3750
- '*'
51+
52+
- package-ecosystem: npm
53+
directory: /tools/doc
54+
schedule:
55+
interval: weekly
56+
cooldown:
57+
semver-major-days: 5
58+
semver-minor-days: 5
59+
semver-patch-days: 5
60+
commit-message:
61+
prefix: tools
62+
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
63+
groups:
64+
doc:
65+
applies-to: version-updates
66+
patterns:
67+
- '*'

.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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
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: 25 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
- '**.md'
99
- AUTHORS
1010
- doc/**
11+
- test/internet/**
1112
- .github/**
1213
- '!.github/workflows/build-tarball.yml'
1314
push:
@@ -20,6 +21,7 @@ on:
2021
- '**.md'
2122
- AUTHORS
2223
- doc/**
24+
- test/internet/**
2325
- .github/**
2426
- '!.github/workflows/build-tarball.yml'
2527

@@ -28,12 +30,9 @@ concurrency:
2830
cancel-in-progress: true
2931

3032
env:
31-
PYTHON_VERSION: '3.12'
33+
PYTHON_VERSION: '3.14'
3234
FLAKY_TESTS: keep_retrying
3335
CLANG_VERSION: '19'
34-
CC: sccache clang-19
35-
CXX: sccache clang++-19
36-
SCCACHE_GHA_ENABLED: 'true'
3736

3837
permissions:
3938
contents: read
@@ -43,75 +42,66 @@ jobs:
4342
if: github.event.pull_request.draft == false
4443
runs-on: ubuntu-24.04
4544
steps:
46-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
45+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4746
with:
4847
persist-credentials: false
49-
- name: Install Clang ${{ env.CLANG_VERSION }}
50-
uses: ./.github/actions/install-clang
51-
with:
52-
clang-version: ${{ env.CLANG_VERSION }}
5348
- name: Set up Python ${{ env.PYTHON_VERSION }}
54-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
49+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
5550
with:
5651
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
52+
allow-prereleases: true
6153
- name: Environment Information
6254
run: npx envinfo
6355
- name: Make tarball
6456
run: |
6557
export DISTTYPE=nightly
66-
export DATESTRING=`date "+%Y-%m-%d"`
58+
export DATESTRING=$(date "+%Y-%m-%d")
6759
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
60+
./configure && make tar -j4 SKIP_XZ=1
7161
- name: Upload tarball artifact
72-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
62+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
7363
with:
7464
name: tarballs
75-
path: tarballs
65+
path: '*.tar.gz'
66+
compression-level: 0
7667
test-tarball-linux:
7768
needs: build-tarball
7869
runs-on: ubuntu-24.04
70+
env:
71+
CC: sccache clang-19
72+
CXX: sccache clang++-19
73+
SCCACHE_GHA_ENABLED: 'true'
7974
steps:
80-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
75+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8176
with:
8277
persist-credentials: false
78+
sparse-checkout: .github/actions/install-clang
79+
sparse-checkout-cone-mode: false
8380
- name: Install Clang ${{ env.CLANG_VERSION }}
8481
uses: ./.github/actions/install-clang
8582
with:
8683
clang-version: ${{ env.CLANG_VERSION }}
8784
- name: Set up Python ${{ env.PYTHON_VERSION }}
88-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
85+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
8986
with:
9087
python-version: ${{ env.PYTHON_VERSION }}
88+
allow-prereleases: true
9189
- name: Set up sccache
9290
uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
9391
with:
9492
version: v0.10.0
9593
- name: Environment Information
9694
run: npx envinfo
9795
- name: Download tarball
98-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
96+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
9997
with:
10098
name: tarballs
10199
path: tarballs
102100
- name: Extract tarball
103101
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
102+
tar xzf tarballs/*.tar.gz -C "$RUNNER_TEMP"
103+
echo "TAR_DIR=$RUNNER_TEMP/$(basename tarballs/*.tar.gz .tar.gz)" >> "$GITHUB_ENV"
110104
- name: Build
111-
run: |
112-
cd $TAR_DIR
113-
make build-ci -j4 V=1
105+
run: make -C "$TAR_DIR" build-ci -j4 V=1
114106
- name: Test
115-
run: |
116-
cd $TAR_DIR
117-
make run-ci -j4 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9"
107+
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
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@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
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@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
3737

3838
- name: Perform CodeQL Analysis
39-
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
39+
uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
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)