Skip to content

Commit 550dcea

Browse files
authored
Merge branch 'main' into fix-static-analysis-warnings
2 parents c787428 + e6ef477 commit 550dcea

9,429 files changed

Lines changed: 1203309 additions & 582325 deletions

File tree

Some content is hidden

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

.configurations/configuration.dsc.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ properties:
55
- resource: Microsoft.WinGet.DSC/WinGetPackage
66
id: pythonPackage
77
directives:
8-
description: Install Python 3.12
8+
description: Install Python 3.14
99
module: Microsoft.WinGet.DSC
1010
allowPrerelease: true
1111
settings:
12-
id: Python.Python.3.12
12+
id: Python.Python.3.14
1313
source: winget
1414
- resource: Microsoft.WinGet.DSC/WinGetPackage
1515
id: vsPackage
@@ -51,4 +51,4 @@ properties:
5151
settings:
5252
id: Nasm.Nasm
5353
source: winget
54-
configurationVersion: 0.1.0
54+
configurationVersion: 0.1.1
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
2+
# Reference: https://github.com/nodejs/node/blob/main/BUILDING.md#windows
3+
properties:
4+
resources:
5+
- resource: Microsoft.WinGet.DSC/WinGetPackage
6+
id: pythonPackage
7+
directives:
8+
description: Install Python 3.14
9+
module: Microsoft.WinGet.DSC
10+
allowPrerelease: true
11+
settings:
12+
id: Python.Python.3.14
13+
source: winget
14+
- resource: Microsoft.WinGet.DSC/WinGetPackage
15+
id: vsPackage
16+
directives:
17+
description: Install Visual Studio 2022 Build Tools
18+
allowPrerelease: true
19+
settings:
20+
id: Microsoft.VisualStudio.2022.BuildTools
21+
source: winget
22+
useLatest: true
23+
- resource: Microsoft.VisualStudio.DSC/VSComponents
24+
id: vsComponents
25+
dependsOn:
26+
- vsPackage
27+
directives:
28+
description: Install required VS workloads and components
29+
allowPrerelease: true
30+
settings:
31+
productId: Microsoft.VisualStudio.Product.BuildTools
32+
channelId: VisualStudio.17.Release
33+
includeRecommended: true
34+
components:
35+
- Microsoft.VisualStudio.Workload.VCTools
36+
- Microsoft.VisualStudio.Component.VC.Llvm.Clang
37+
- Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset
38+
- resource: Microsoft.WinGet.DSC/WinGetPackage
39+
id: gitPackage
40+
directives:
41+
description: Install Git
42+
allowPrerelease: true
43+
settings:
44+
id: Git.Git
45+
source: winget
46+
- resource: Microsoft.WinGet.DSC/WinGetPackage
47+
id: nasmPackage
48+
directives:
49+
description: Install NetWide Assembler (NASM)
50+
allowPrerelease: true
51+
settings:
52+
id: Nasm.Nasm
53+
source: winget
54+
configurationVersion: 0.1.1

.configurations/configuration.vsEnterprise.dsc.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ properties:
55
- resource: Microsoft.WinGet.DSC/WinGetPackage
66
id: pythonPackage
77
directives:
8-
description: Install Python 3.12
8+
description: Install Python 3.14
99
module: Microsoft.WinGet.DSC
1010
allowPrerelease: true
1111
settings:
12-
id: Python.Python.3.12
12+
id: Python.Python.3.14
1313
source: winget
1414
- resource: Microsoft.WinGet.DSC/WinGetPackage
1515
id: vsPackage
@@ -51,4 +51,4 @@ properties:
5151
settings:
5252
id: Nasm.Nasm
5353
source: winget
54-
configurationVersion: 0.1.0
54+
configurationVersion: 0.1.1

.configurations/configuration.vsProfessional.dsc.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ properties:
55
- resource: Microsoft.WinGet.DSC/WinGetPackage
66
id: pythonPackage
77
directives:
8-
description: Install Python 3.12
8+
description: Install Python 3.14
99
module: Microsoft.WinGet.DSC
1010
allowPrerelease: true
1111
settings:
12-
id: Python.Python.3.12
12+
id: Python.Python.3.14
1313
source: winget
1414
- resource: Microsoft.WinGet.DSC/WinGetPackage
1515
id: vsPackage
@@ -51,4 +51,4 @@ properties:
5151
settings:
5252
id: Nasm.Nasm
5353
source: winget
54-
configurationVersion: 0.1.0
54+
configurationVersion: 0.1.1

.devcontainer/base/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
"mounts": [
88
"source=node-devcontainer-cache,target=/home/developer/nodejs/node/out,type=volume"
99
],
10-
"postCreateCommand": "git restore-mtime"
10+
"postCreateCommand": "git restore-mtime",
11+
"postStartCommand": "cp /home/developer/envrc/static-libs.envrc /home/developer/nodejs/node/.envrc && direnv allow /home/developer/nodejs/node"
1112
}

.github/CODEOWNERS

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,10 @@
2323
/onboarding.md @nodejs/tsc
2424

2525
# nodejs.org website
26-
/doc/api_assets @nodejs/nodejs-website
27-
/doc/template.html @nodejs/nodejs-website
2826
/tools/doc @nodejs/web-infra
2927

3028
# streams
3129

32-
/lib/_stream* @nodejs/streams
3330
/lib/internal/streams/* @nodejs/streams
3431
/lib/stream.js @nodejs/streams
3532
/lib/stream/* @nodejs/streams
@@ -153,13 +150,15 @@
153150
/test/parallel/test-runner-* @nodejs/test_runner
154151

155152
# Single Executable Applications
153+
/deps/LIEF @nodejs/single-executable
156154
/deps/postject @nodejs/single-executable
157155
/doc/api/single-executable-applications.md @nodejs/single-executable
158156
/doc/contributing/maintaining/maintaining-single-executable-application-support.md @nodejs/single-executable
159157
/src/node_sea* @nodejs/single-executable
160158
/test/fixtures/postject-copy @nodejs/single-executable
161159
/test/sea @nodejs/single-executable
162160
/tools/dep_updaters/update-postject.sh @nodejs/single-executable
161+
/tools/dep_updaters/update-lief.sh @nodejs/single-executable
163162

164163
# Permission Model
165164
/doc/api/permissions.md @nodejs/security-wg

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ contact_links:
55
about: Please file an issue in our help repo.
66
- name: 📦 Have an issue with npm?
77
url: https://github.com/npm/cli/issues
8-
about: npm has a seperate issue tracker.
8+
about: npm has a separate issue tracker.
99
- name: 📡 Have an issue with undici? (`WebSocket`, `fetch`, etc.)
1010
url: https://github.com/nodejs/undici/issues
11-
about: Undici has a seperate issue tracker.
11+
about: Undici has a separate issue tracker.
1212
- name: 🌐 Found a problem with nodejs.org beyond the API reference docs?
1313
url: https://github.com/nodejs/nodejs.org/issues/new/choose
1414
about: Please file an issue in the Node.js website repo.

.github/label-pr-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ subSystemLabels:
8080
/^deps\/v8\/tools\/gen-postmortem-metadata\.py/: v8 engine, python, post-mortem
8181
/^deps\/v8\//: v8 engine
8282
/^deps\/uvwasi\//: wasi
83-
/^deps\/npm\//: npm, fast-track
83+
/^deps\/npm\//: npm
8484
/^deps\/nghttp2\/nghttp2\.gyp/: build, http2
8585
/^deps\/nghttp2\//: http2
8686
/^deps\/ngtcp2\//: quic

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

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ jobs:
2121
permissions:
2222
pull-requests: read
2323
if: github.repository == 'nodejs/node'
24-
runs-on: ubuntu-latest
24+
runs-on: ubuntu-slim
2525
outputs:
2626
numbers: ${{ steps.get_prs_for_ci.outputs.numbers }}
2727
steps:
2828
- name: Get Pull Requests
2929
id: get_prs_for_ci
3030
run: >
31-
numbers=$(gh pr list \
32-
--repo ${{ github.repository }} \
31+
echo "numbers=$(gh pr list \
32+
--repo "$GITHUB_REPOSITORY" \
3333
--label 'request-ci' \
3434
--json 'number' \
35+
--search 'review:approved' \
3536
-t '{{ range . }}{{ .number }} {{ end }}' \
36-
--limit 5)
37-
echo "numbers=$numbers" >> $GITHUB_OUTPUT
37+
--limit 5)" >> "$GITHUB_OUTPUT"
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040
start-ci:
@@ -43,14 +43,10 @@ jobs:
4343
pull-requests: write
4444
needs: get-prs-for-ci
4545
if: needs.get-prs-for-ci.outputs.numbers != ''
46-
runs-on: ubuntu-latest
46+
runs-on: ubuntu-slim
4747
steps:
48-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
49-
with:
50-
persist-credentials: false
51-
5248
- name: Install Node.js
53-
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
49+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
5450
with:
5551
node-version: ${{ env.NODE_VERSION }}
5652

@@ -62,14 +58,17 @@ jobs:
6258
ncu-config set username "$USERNAME"
6359
ncu-config set token "$GH_TOKEN"
6460
ncu-config set jenkins_token "$JENKINS_TOKEN"
65-
ncu-config set owner "${{ github.repository_owner }}"
66-
ncu-config set repo "$(echo ${{ github.repository }} | cut -d/ -f2)"
61+
ncu-config set owner "$GITHUB_REPOSITORY_OWNER"
62+
ncu-config set repo "$(echo "$GITHUB_REPOSITORY" | cut -d/ -f2)"
6763
env:
6864
USERNAME: ${{ secrets.JENKINS_USER }}
6965
GH_TOKEN: ${{ secrets.GH_USER_TOKEN }}
7066
JENKINS_TOKEN: ${{ secrets.JENKINS_TOKEN }}
7167

7268
- name: Start the CI
73-
run: ./tools/actions/start-ci.sh ${{ needs.get-prs-for-ci.outputs.numbers }}
69+
run: |
70+
curl -fsSL "https://github.com/${GITHUB_REPOSITORY}/raw/${GITHUB_SHA}/tools/actions/start-ci.sh" \
71+
| sh -s -- ${{ needs.get-prs-for-ci.outputs.numbers }}
7472
env:
7573
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
74+
GH_REPO: ${{ github.repository }}

.github/workflows/build-tarball.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ on:
1818
- tsconfig.json
1919
- test/internet/**
2020
- tools/actions/**
21-
- tools/bootstrap/**
2221
- tools/dep_updaters/**
2322
- tools/doc/**
2423
- tools/eslint-rules/**
@@ -48,7 +47,6 @@ on:
4847
- tsconfig.json
4948
- test/internet/**
5049
- tools/actions/**
51-
- tools/bootstrap/**
5250
- tools/dep_updaters/**
5351
- tools/doc/**
5452
- tools/eslint-rules/**
@@ -74,13 +72,13 @@ permissions:
7472
jobs:
7573
build-tarball:
7674
if: github.event.pull_request.draft == false
77-
runs-on: ubuntu-24.04
75+
runs-on: ubuntu-slim
7876
steps:
79-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
77+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8078
with:
8179
persist-credentials: false
8280
- name: Set up Python ${{ env.PYTHON_VERSION }}
83-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
81+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
8482
with:
8583
python-version: ${{ env.PYTHON_VERSION }}
8684
allow-prereleases: true
@@ -93,20 +91,21 @@ jobs:
9391
export COMMIT=$(git rev-parse --short=10 "$GITHUB_SHA")
9492
./configure && make tar -j4 SKIP_XZ=1
9593
- name: Upload tarball artifact
96-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
94+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
9795
with:
9896
name: tarballs
9997
path: '*.tar.gz'
10098
compression-level: 0
10199
test-tarball-linux:
102100
needs: build-tarball
103-
runs-on: ubuntu-24.04
101+
runs-on: ubuntu-24.04-arm
104102
env:
105-
CC: sccache clang-19
106-
CXX: sccache clang++-19
107-
SCCACHE_GHA_ENABLED: 'true'
103+
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-19
104+
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-19
105+
SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
106+
SCCACHE_IDLE_TIMEOUT: '0'
108107
steps:
109-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
108+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
110109
with:
111110
persist-credentials: false
112111
sparse-checkout: .github/actions/install-clang
@@ -116,18 +115,19 @@ jobs:
116115
with:
117116
clang-version: ${{ env.CLANG_VERSION }}
118117
- name: Set up Python ${{ env.PYTHON_VERSION }}
119-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
118+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
120119
with:
121120
python-version: ${{ env.PYTHON_VERSION }}
122121
allow-prereleases: true
123122
- name: Set up sccache
123+
if: github.base_ref == 'main' || github.ref_name == 'main'
124124
uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
125125
with:
126126
version: v0.12.0
127127
- name: Environment Information
128128
run: npx envinfo
129129
- name: Download tarball
130-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
130+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
131131
with:
132132
name: tarballs
133133
path: tarballs

0 commit comments

Comments
 (0)