Skip to content

Commit a5b64dd

Browse files
authored
Merge branch 'main' into add-dynamic-uv-threadpool-size
2 parents 3935642 + fbf8276 commit a5b64dd

File tree

7,125 files changed

+675949
-562623
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,125 files changed

+675949
-562623
lines changed
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

.github/CODEOWNERS

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
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

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

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ 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:
@@ -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@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.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@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
131131
with:
132132
name: tarballs
133133
path: tarballs

.github/workflows/close-stale-feature-requests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
issues: write # for actions/stale to close stale issues
4040
pull-requests: write # for actions/stale to close stale PRs
4141
if: github.repository == 'nodejs/node'
42-
runs-on: ubuntu-latest
42+
runs-on: ubuntu-slim
4343
steps:
44-
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
44+
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
4545
with:
4646
repo-token: ${{ secrets.GITHUB_TOKEN }}
4747
days-before-stale: 180

.github/workflows/close-stale-pull-requests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
permissions:
3434
pull-requests: write # for actions/stale to close stale PRs
3535
if: github.repository == 'nodejs/node'
36-
runs-on: ubuntu-latest
36+
runs-on: ubuntu-slim
3737
steps:
3838
- name: Set default end date which is 1 year ago
3939
run: echo "END_DATE=$(date --date='525600 minutes ago' --rfc-2822)" >> "$GITHUB_ENV"

.github/workflows/close-stalled.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
issues: write # for actions/stale to close stale issues
1919
pull-requests: write # for actions/stale to close stale PRs
2020
if: github.repository == 'nodejs/node'
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-slim
2222
steps:
23-
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
23+
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
2424
with:
2525
repo-token: ${{ secrets.GITHUB_TOKEN }}
2626
days-before-close: 30

.github/workflows/codeql.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010
jobs:
1111
analyze:
1212
name: Analyze
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-slim
1414
permissions:
1515
actions: read
1616
contents: read
@@ -23,19 +23,19 @@ jobs:
2323

2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
26+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2727

2828
# Initializes the CodeQL tools for scanning.
2929
- name: Initialize CodeQL
30-
uses: github/codeql-action/init@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
30+
uses: github/codeql-action/init@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
3131
with:
3232
languages: ${{ matrix.language }}
3333
config-file: ./.github/codeql-config.yml
3434

3535
- name: Autobuild
36-
uses: github/codeql-action/autobuild@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
36+
uses: github/codeql-action/autobuild@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
3737

3838
- name: Perform CodeQL Analysis
39-
uses: github/codeql-action/analyze@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
39+
uses: github/codeql-action/analyze@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
4040
with:
4141
category: /language:${{matrix.language}}

.github/workflows/comment-labeled.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
issues: write
2525
pull-requests: write
2626
if: github.repository == 'nodejs/node' && github.event.label.name == 'stalled'
27-
runs-on: ubuntu-latest
27+
runs-on: ubuntu-slim
2828
steps:
2929
- name: Post stalled comment
3030
env:
@@ -36,7 +36,7 @@ jobs:
3636
permissions:
3737
pull-requests: write
3838
if: github.repository == 'nodejs/node' && github.event_name == 'pull_request_target' && github.event.label.name == 'fast-track'
39-
runs-on: ubuntu-latest
39+
runs-on: ubuntu-slim
4040
steps:
4141
- name: Request Fast-Track
4242
env:
@@ -47,7 +47,7 @@ jobs:
4747
permissions:
4848
pull-requests: write
4949
if: github.repository == 'nodejs/node' && github.event_name == 'pull_request_target' && github.event.label.name == 'notable-change'
50-
runs-on: ubuntu-latest
50+
runs-on: ubuntu-slim
5151
steps:
5252
- name: Add notable change description
5353
env:

.github/workflows/commit-lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ permissions:
1010

1111
jobs:
1212
lint-commit-message:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-slim
1414
steps:
1515
- name: Compute number of commits in the PR
1616
id: nb-of-commits
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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
20+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
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@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
26+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
2727
with:
2828
node-version: ${{ env.NODE_VERSION }}
2929
- name: Validate commit message

0 commit comments

Comments
 (0)