Skip to content

Commit 656bb9a

Browse files
Merge branch 'nodejs:main' into main
2 parents fd4d6b9 + f46152f commit 656bb9a

File tree

1,723 files changed

+106775
-41503
lines changed

Some content is hidden

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

1,723 files changed

+106775
-41503
lines changed

.github/CODEOWNERS

Lines changed: 4 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,6 @@
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

.github/workflows/build-tarball.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828
cancel-in-progress: true
2929

3030
env:
31-
PYTHON_VERSION: '3.12'
31+
PYTHON_VERSION: '3.14'
3232
FLAKY_TESTS: keep_retrying
3333
CLANG_VERSION: '19'
3434

@@ -47,6 +47,7 @@ jobs:
4747
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
4848
with:
4949
python-version: ${{ env.PYTHON_VERSION }}
50+
allow-prereleases: true
5051
- name: Environment Information
5152
run: npx envinfo
5253
- name: Make tarball
@@ -82,6 +83,7 @@ jobs:
8283
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
8384
with:
8485
python-version: ${{ env.PYTHON_VERSION }}
86+
allow-prereleases: true
8587
- name: Set up sccache
8688
uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
8789
with:

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ concurrency:
3434
cancel-in-progress: true
3535

3636
env:
37-
PYTHON_VERSION: '3.12'
37+
PYTHON_VERSION: '3.14'
3838
FLAKY_TESTS: keep_retrying
3939
CLANG_VERSION: '19'
4040
CC: sccache clang-19
@@ -60,6 +60,7 @@ jobs:
6060
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
6161
with:
6262
python-version: ${{ env.PYTHON_VERSION }}
63+
allow-prereleases: true
6364
- name: Set up sccache
6465
uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
6566
with:

.github/workflows/coverage-linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ concurrency:
3434
cancel-in-progress: true
3535

3636
env:
37-
PYTHON_VERSION: '3.12'
37+
PYTHON_VERSION: '3.14'
3838
FLAKY_TESTS: keep_retrying
3939
CLANG_VERSION: '19'
4040
CC: sccache clang-19
@@ -60,6 +60,7 @@ jobs:
6060
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
6161
with:
6262
python-version: ${{ env.PYTHON_VERSION }}
63+
allow-prereleases: true
6364
- name: Set up sccache
6465
uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
6566
with:

.github/workflows/coverage-windows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ concurrency:
3434
cancel-in-progress: true
3535

3636
env:
37-
PYTHON_VERSION: '3.12'
37+
PYTHON_VERSION: '3.14'
3838
FLAKY_TESTS: keep_retrying
3939

4040
permissions:
@@ -52,6 +52,7 @@ jobs:
5252
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
5353
with:
5454
python-version: ${{ env.PYTHON_VERSION }}
55+
allow-prereleases: true
5556
- name: Install deps
5657
run: choco install nasm
5758
- name: Environment Information

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

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
- cron: 30 0 * * *
1414

1515
env:
16-
PYTHON_VERSION: '3.12'
16+
PYTHON_VERSION: '3.14'
1717

1818
permissions:
1919
contents: read
@@ -42,6 +42,7 @@ jobs:
4242
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
4343
with:
4444
python-version: ${{ env.PYTHON_VERSION }}
45+
allow-prereleases: true
4546
- name: Environment Information
4647
run: npx envinfo
4748

@@ -95,31 +96,6 @@ jobs:
9596
echo "WPT_REPORT=$(pwd)/out/wpt/wptreport.json" >> $GITHUB_ENV
9697
fi
9798
98-
# undici WPT Runner
99-
- name: Set env.UNDICI_VERSION
100-
if: ${{ env.WPT_REPORT != '' }}
101-
run: echo "UNDICI_VERSION=v$(jq -r '.version' < deps/undici/src/package.json)" >> $GITHUB_ENV
102-
- name: Remove deps/undici
103-
if: ${{ env.WPT_REPORT != '' }}
104-
run: rm -rf deps/undici
105-
- name: Checkout undici
106-
if: ${{ env.WPT_REPORT != '' }}
107-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
108-
with:
109-
repository: nodejs/undici
110-
persist-credentials: false
111-
path: deps/undici
112-
clean: false
113-
ref: ${{ env.UNDICI_VERSION }}
114-
- name: Add undici WPTs to the report
115-
if: ${{ env.WPT_REPORT != '' }}
116-
run: |
117-
rm -rf test/wpt/tests
118-
mv ../../test/fixtures/wpt/ test/wpt/tests/
119-
npm install
120-
npm run test:wpt || true
121-
working-directory: deps/undici
122-
12399
# Upload artifacts
124100
- name: Clone report for upload
125101
if: ${{ env.WPT_REPORT != '' }}

.github/workflows/lint-release-proposal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
env:
13-
PYTHON_VERSION: '3.12'
13+
PYTHON_VERSION: '3.14'
1414
NODE_VERSION: lts/*
1515

1616
permissions:

.github/workflows/linters.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414
cancel-in-progress: true
1515

1616
env:
17-
PYTHON_VERSION: '3.12'
17+
PYTHON_VERSION: '3.14'
1818
NODE_VERSION: lts/*
1919

2020
permissions:
@@ -47,6 +47,7 @@ jobs:
4747
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
4848
with:
4949
python-version: ${{ env.PYTHON_VERSION }}
50+
allow-prereleases: true
5051
- name: Environment Information
5152
run: npx envinfo
5253
- name: Lint C/C++ files
@@ -67,6 +68,7 @@ jobs:
6768
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
6869
with:
6970
python-version: ${{ env.PYTHON_VERSION }}
71+
allow-prereleases: true
7072
- name: Environment Information
7173
run: npx envinfo
7274
- name: Format C/C++ files
@@ -138,6 +140,22 @@ jobs:
138140
NODE=$(command -v node) make lint-md
139141
env:
140142
NODE_RELEASED_VERSIONS: ${{ steps.get-released-versions.outputs.NODE_RELEASED_VERSIONS }}
143+
lint-nix:
144+
if: github.event.pull_request.draft == false
145+
runs-on: ubuntu-latest
146+
steps:
147+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
148+
with:
149+
persist-credentials: false
150+
sparse-checkout: '*.nix'
151+
sparse-checkout-cone-mode: false
152+
- uses: cachix/install-nix-action@7be5dee1421f63d07e71ce6e0a9f8a4b07c2a487 # v31.6.1
153+
- name: Lint Nix files
154+
run: |
155+
nix-shell -I nixpkgs=./tools/nix/pkgs.nix -p 'nixfmt-tree' --run '
156+
treefmt --quiet --fail-on-change
157+
' || git --no-pager diff --exit-code
158+
141159
lint-py:
142160
if: github.event.pull_request.draft == false
143161
runs-on: ubuntu-latest
@@ -149,6 +167,7 @@ jobs:
149167
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
150168
with:
151169
python-version: ${{ env.PYTHON_VERSION }}
170+
allow-prereleases: true
152171
- name: Environment Information
153172
run: npx envinfo
154173
- name: Lint Python
@@ -166,6 +185,7 @@ jobs:
166185
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
167186
with:
168187
python-version: ${{ env.PYTHON_VERSION }}
188+
allow-prereleases: true
169189
- name: Environment Information
170190
run: npx envinfo
171191
- name: Lint YAML

.github/workflows/post-release.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Post-Release actions
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: The version to generate a blog post for.
8+
type: string
9+
required: true
10+
release:
11+
types: [released]
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
post-release-actions:
18+
if: github.repository == 'nodejs/node'
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Trigger update-links workflow on nodejs/release-cloudflare-worker
22+
run: |
23+
gh workflow run update-links.yml --repo nodejs/release-cloudflare-worker
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
26+
27+
- name: Trigger create-release-post workflow on nodejs/nodejs.org
28+
run: |
29+
gh workflow run create-release-post.yml --repo nodejs/nodejs.org -f version=$VERSION
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
32+
VERSION: ${{ inputs.version || github.event.release.tag_name }}

.github/workflows/test-internet.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ concurrency:
3131
cancel-in-progress: true
3232

3333
env:
34-
PYTHON_VERSION: '3.12'
34+
PYTHON_VERSION: '3.14'
3535
FLAKY_TESTS: keep_retrying
3636
CLANG_VERSION: '19'
3737
CC: sccache clang-19
@@ -57,6 +57,7 @@ jobs:
5757
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
5858
with:
5959
python-version: ${{ env.PYTHON_VERSION }}
60+
allow-prereleases: true
6061
- name: Set up sccache
6162
uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
6263
with:

0 commit comments

Comments
 (0)