Skip to content

Commit e5344a7

Browse files
Merge pull request #1043 from nodejs/main
Create a new pull request by comparing changes across two branches
2 parents 5885ee3 + 8716146 commit e5344a7

File tree

13,854 files changed

+2691635
-364820
lines changed

Some content is hidden

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

13,854 files changed

+2691635
-364820
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: 21 additions & 2 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

@@ -157,8 +158,7 @@
157158
/doc/contributing/maintaining/maintaining-single-executable-application-support.md @nodejs/single-executable
158159
/src/node_sea* @nodejs/single-executable
159160
/test/fixtures/postject-copy @nodejs/single-executable
160-
/test/parallel/test-single-executable-* @nodejs/single-executable
161-
/test/sequential/test-single-executable-* @nodejs/single-executable
161+
/test/sea @nodejs/single-executable
162162
/tools/dep_updaters/update-postject.sh @nodejs/single-executable
163163

164164
# Permission Model
@@ -216,3 +216,22 @@
216216
/src/node_options.* @nodejs/config
217217
/test/parallel/test-config-* @nodejs/config
218218
/test/parallel/test-dotenv-* @nodejs/config
219+
220+
# Inspector
221+
/src/inspector/* @nodejs/inspector
222+
/src/inspector_* @nodejs/inspector
223+
/lib/internal/inspector/* @nodejs/inspector
224+
/lib/internal/inspector_* @nodejs/inspector
225+
/lib/inspector.js @nodejs/inspector
226+
227+
# path
228+
/lib/path.js @nodejs/path
229+
/lib/path/* @nodejs/path
230+
/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
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: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,25 @@ 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
913
commit-message:
1014
prefix: meta
11-
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
15+
open-pull-requests-limit: 10
1216

1317
- package-ecosystem: npm
1418
directory: /tools/eslint
1519
schedule:
1620
interval: monthly
21+
cooldown:
22+
semver-major-days: 5
23+
semver-minor-days: 5
24+
semver-patch-days: 5
1725
commit-message:
1826
prefix: tools
19-
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
27+
open-pull-requests-limit: 10
2028
groups:
2129
eslint:
2230
applies-to: version-updates
@@ -27,11 +35,32 @@ updates:
2735
directory: /tools/lint-md
2836
schedule:
2937
interval: monthly
38+
cooldown:
39+
semver-major-days: 5
40+
semver-minor-days: 5
41+
semver-patch-days: 5
3042
commit-message:
3143
prefix: tools
32-
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
44+
open-pull-requests-limit: 10
3345
groups:
3446
lint-md:
3547
applies-to: version-updates
3648
patterns:
3749
- '*'
50+
51+
- package-ecosystem: npm
52+
directory: /tools/doc
53+
schedule:
54+
interval: weekly
55+
cooldown:
56+
semver-major-days: 5
57+
semver-minor-days: 5
58+
semver-patch-days: 5
59+
commit-message:
60+
prefix: tools
61+
open-pull-requests-limit: 10
62+
groups:
63+
doc:
64+
applies-to: version-updates
65+
patterns:
66+
- '*'

.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: 31 additions & 32 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,11 +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
33-
CC: sccache clang
34-
CXX: sccache clang++
35-
SCCACHE_GHA_ENABLED: 'true'
35+
CLANG_VERSION: '19'
3636

3737
permissions:
3838
contents: read
@@ -42,67 +42,66 @@ jobs:
4242
if: github.event.pull_request.draft == false
4343
runs-on: ubuntu-24.04
4444
steps:
45-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
45+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4646
with:
4747
persist-credentials: false
4848
- name: Set up Python ${{ env.PYTHON_VERSION }}
49-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
49+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
5050
with:
5151
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
52+
allow-prereleases: true
5653
- name: Environment Information
5754
run: npx envinfo
5855
- name: Make tarball
5956
run: |
6057
export DISTTYPE=nightly
61-
export DATESTRING=`date "+%Y-%m-%d"`
58+
export DATESTRING=$(date "+%Y-%m-%d")
6259
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
60+
./configure && make tar -j4 SKIP_XZ=1
6661
- name: Upload tarball artifact
67-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
62+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
6863
with:
6964
name: tarballs
70-
path: tarballs
65+
path: '*.tar.gz'
66+
compression-level: 0
7167
test-tarball-linux:
7268
needs: build-tarball
7369
runs-on: ubuntu-24.04
70+
env:
71+
CC: sccache clang-19
72+
CXX: sccache clang++-19
73+
SCCACHE_GHA_ENABLED: 'true'
7474
steps:
75-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
75+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
7676
with:
7777
persist-credentials: false
78+
sparse-checkout: .github/actions/install-clang
79+
sparse-checkout-cone-mode: false
80+
- name: Install Clang ${{ env.CLANG_VERSION }}
81+
uses: ./.github/actions/install-clang
82+
with:
83+
clang-version: ${{ env.CLANG_VERSION }}
7884
- name: Set up Python ${{ env.PYTHON_VERSION }}
79-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
85+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
8086
with:
8187
python-version: ${{ env.PYTHON_VERSION }}
88+
allow-prereleases: true
8289
- name: Set up sccache
8390
uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
8491
with:
85-
version: v0.10.0
92+
version: v0.12.0
8693
- name: Environment Information
8794
run: npx envinfo
8895
- name: Download tarball
89-
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
96+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
9097
with:
9198
name: tarballs
9299
path: tarballs
93100
- name: Extract tarball
94101
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
102+
tar xzf tarballs/*.tar.gz -C "$RUNNER_TEMP"
103+
echo "TAR_DIR=$RUNNER_TEMP/$(basename tarballs/*.tar.gz .tar.gz)" >> "$GITHUB_ENV"
101104
- name: Build
102-
run: |
103-
cd $TAR_DIR
104-
make build-ci -j4 V=1
105+
run: make -C "$TAR_DIR" build-ci -j4 V=1
105106
- name: Test
106-
run: |
107-
cd $TAR_DIR
108-
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

0 commit comments

Comments
 (0)