Skip to content

Commit a3d9423

Browse files
authored
Merge branch 'main' into fix-windows-subst-drive-issue
2 parents c97462b + e105e82 commit a3d9423

File tree

11,922 files changed

+2483750
-283733
lines changed

Some content is hidden

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

11,922 files changed

+2483750
-283733
lines changed

.devcontainer.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "Node.js Core Developer Environment",
3+
"runArgs": [
4+
"--platform=linux/amd64"
5+
],
6+
"customizations": {
7+
"vscode": {
8+
"extensions": [
9+
"github.vscode-pull-request-github",
10+
"ms-vsliveshare.vsliveshare",
11+
"vscode-icons-team.vscode-icons",
12+
"visualstudioexptteam.vscodeintellicode"
13+
],
14+
"settings": {
15+
"terminal.integrated.profiles.linux": {
16+
"zsh (login)": {
17+
"path": "zsh",
18+
"args": ["-l"]
19+
}
20+
}
21+
}
22+
}
23+
},
24+
"image": "nodejs/devcontainer:nightly"
25+
}

.devcontainer/devcontainer.json

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

.github/CODEOWNERS

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
/doc/contributing/**/* @nodejs/tsc
1919
/GOVERNANCE.md @nodejs/tsc
2020
/SECURITY.md @nodejs/tsc
21+
/BUILDING.md @nodejs/build @nodejs/tsc
2122
/LICENSE @nodejs/tsc
2223
/onboarding.md @nodejs/tsc
2324

@@ -216,3 +217,15 @@
216217
/src/node_options.* @nodejs/config
217218
/test/parallel/test-config-* @nodejs/config
218219
/test/parallel/test-dotenv-* @nodejs/config
220+
221+
# Inspector
222+
/src/inspector/* @nodejs/inspector
223+
/src/inspector_* @nodejs/inspector
224+
/lib/internal/inspector/* @nodejs/inspector
225+
/lib/internal/inspector_* @nodejs/inspector
226+
/lib/inspector.js @nodejs/inspector
227+
228+
# path
229+
/lib/path.js @nodejs/path
230+
/lib/path/* @nodejs/path
231+
/test/parallel/test-path-* @nodejs/path
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Install Clang
2+
description: Installs a specific Clang version. Useful if the GitHub runner does not have it by default.
3+
inputs:
4+
clang-version:
5+
description: The Clang major version to install
6+
required: true
7+
8+
runs:
9+
using: composite
10+
steps:
11+
- name: Install Clang
12+
shell: bash
13+
run: |
14+
sudo apt-get update
15+
sudo apt-get install -y clang-${{ inputs.clang-version }}

.github/codeql-config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ name: CodeQL config
22

33
paths-ignore:
44
- test
5-
- deps/v8/test
6-
- deps/v8/tools
5+
- deps
6+
- benchmark

.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@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
5454
with:
5555
node-version: ${{ env.NODE_VERSION }}
5656

.github/workflows/build-tarball.yml

Lines changed: 24 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ 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'
33+
CLANG_VERSION: '19'
3634

3735
permissions:
3836
contents: read
@@ -42,41 +40,46 @@ jobs:
4240
if: github.event.pull_request.draft == false
4341
runs-on: ubuntu-24.04
4442
steps:
45-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
43+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4644
with:
4745
persist-credentials: false
4846
- name: Set up Python ${{ env.PYTHON_VERSION }}
49-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
47+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
5048
with:
5149
python-version: ${{ env.PYTHON_VERSION }}
52-
- name: Set up sccache
53-
uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
54-
with:
55-
version: v0.10.0
5650
- name: Environment Information
5751
run: npx envinfo
5852
- name: Make tarball
5953
run: |
6054
export DISTTYPE=nightly
61-
export DATESTRING=`date "+%Y-%m-%d"`
55+
export DATESTRING=$(date "+%Y-%m-%d")
6256
export COMMIT=$(git rev-parse --short=10 "$GITHUB_SHA")
63-
./configure && make tar -j8 SKIP_XZ=1
64-
mkdir tarballs
65-
mv *.tar.gz tarballs
57+
./configure && make tar -j4 SKIP_XZ=1
6658
- name: Upload tarball artifact
6759
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6860
with:
6961
name: tarballs
70-
path: tarballs
62+
path: '*.tar.gz'
63+
compression-level: 0
7164
test-tarball-linux:
7265
needs: build-tarball
7366
runs-on: ubuntu-24.04
67+
env:
68+
CC: sccache clang-19
69+
CXX: sccache clang++-19
70+
SCCACHE_GHA_ENABLED: 'true'
7471
steps:
75-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
72+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
7673
with:
7774
persist-credentials: false
75+
sparse-checkout: .github/actions/install-clang
76+
sparse-checkout-cone-mode: false
77+
- name: Install Clang ${{ env.CLANG_VERSION }}
78+
uses: ./.github/actions/install-clang
79+
with:
80+
clang-version: ${{ env.CLANG_VERSION }}
7881
- name: Set up Python ${{ env.PYTHON_VERSION }}
79-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
82+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
8083
with:
8184
python-version: ${{ env.PYTHON_VERSION }}
8285
- name: Set up sccache
@@ -86,23 +89,15 @@ jobs:
8689
- name: Environment Information
8790
run: npx envinfo
8891
- name: Download tarball
89-
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
92+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
9093
with:
9194
name: tarballs
9295
path: tarballs
9396
- name: Extract tarball
9497
run: |
95-
tar xzf tarballs/*.tar.gz -C $RUNNER_TEMP
96-
echo "TAR_DIR=$RUNNER_TEMP/`basename tarballs/*.tar.gz .tar.gz`" >> $GITHUB_ENV
97-
- name: Copy directories needed for testing
98-
run: |
99-
cp -r tools/eslint $TAR_DIR/tools
100-
cp -r tools/eslint-rules $TAR_DIR/tools
98+
tar xzf tarballs/*.tar.gz -C "$RUNNER_TEMP"
99+
echo "TAR_DIR=$RUNNER_TEMP/$(basename tarballs/*.tar.gz .tar.gz)" >> "$GITHUB_ENV"
101100
- name: Build
102-
run: |
103-
cd $TAR_DIR
104-
make build-ci -j4 V=1
101+
run: make -C "$TAR_DIR" build-ci -j4 V=1
105102
- name: Test
106-
run: |
107-
cd $TAR_DIR
108-
make run-ci -j4 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9"
103+
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@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.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@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0
2424
with:
2525
repo-token: ${{ secrets.GITHUB_TOKEN }}
2626
days-before-close: 30

0 commit comments

Comments
 (0)