Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
3d41643
deps: update undici to 7.19.0
nodejs-github-bot Jan 24, 2026
05e9a9f
deps: update undici to 7.19.1
nodejs-github-bot Jan 25, 2026
625b90b
deps: update undici to 7.19.2
nodejs-github-bot Jan 30, 2026
a9e70ce
test: ensure assertions are reached on more tests
aduh95 Nov 15, 2025
a723f72
lib: add support for readable byte streams to .toWeb()
seriousme Nov 16, 2025
5a9e9f4
meta: bump actions/checkout from 5.0.0 to 5.0.1
dependabot[bot] Nov 20, 2025
9370330
repl: tab completion targets `<class>` instead of `new <class>`
hainenber Nov 20, 2025
f814307
lib: prefer `call()` over `apply()` if argument list is not array
LiviaMedeiros Nov 23, 2025
1948861
events: repurpose `events.listenerCount()` to accept EventTargets
Renegade334 Nov 26, 2025
8c75e4e
meta: bump actions/checkout from 5.0.1 to 6.0.0
dependabot[bot] Dec 3, 2025
35b1759
module: allow subpath imports that start with `#/`
hybrist Dec 4, 2025
407807b
test: skip tests not passing without `NODE_OPTIONS` support
aduh95 Dec 7, 2025
cb54b3c
http: add http.setGlobalProxyFromEnv()
joyeecheung Dec 10, 2025
8e900af
util: add convertProcessSignalToExitCode utility
ErickWendel Dec 11, 2025
9cc1c46
repl: fix getters triggering side effects during completion
dario-piotrowicz Dec 20, 2025
2d72ea6
process: preserve AsyncLocalStorage in queueMicrotask only when needed
gurgunday Dec 21, 2025
f5233df
stream: do not pass `readable.compose()` output via `Readable.from()`
Renegade334 Dec 23, 2025
cd80d36
meta: bump actions/upload-artifact from 5.0.0 to 6.0.0
dependabot[bot] Jan 3, 2026
629f0ea
meta: bump actions/checkout from 6.0.0 to 6.0.1
dependabot[bot] Jan 3, 2026
ce2acf0
meta: bump actions/download-artifact from 6.0.0 to 7.0.0
dependabot[bot] Jan 3, 2026
e54975e
deps: V8: cherry-pick highway@dcc0ca1cd42
richardlau Jan 16, 2026
74bcd0a
test: ensure assertions are reached on more tests
aduh95 Nov 17, 2025
aeed0cc
test: use `RegExp.escape` to improve test reliability
aduh95 Nov 23, 2025
e06adcb
test: ensure assertions are reached on more tests
aduh95 Nov 24, 2025
2738328
test: ensure assertions are reached on more tests
aduh95 Nov 17, 2025
8e9aded
test: ensure assertions are reached on all tests
aduh95 Nov 27, 2025
4afbbcf
tools: enforce trailing commas in `test/sequential`
aduh95 Dec 3, 2025
8a0f619
tools: enforce trailing commas in `test/es-module`
aduh95 Nov 29, 2025
4f871ee
test: enforce better never-settling-promise detection
aduh95 Dec 10, 2025
d4034df
test: forbid use of named imports for fixtures
aduh95 Jan 1, 2026
8e48e72
doc: clean up writing-and-running-benchmarks.md
Hardanish-Singh Jan 13, 2026
d77f98c
test_runner: support expecting a test-case to fail
JakobJingleheimer Jan 15, 2026
24cf6b8
test: reveal wpt evaluation errors in status files
legendecas Jan 19, 2026
33d8e83
sqlite: add sqlite prepare options args
araujogui Jan 19, 2026
c0ceb9b
sqlite: enable defensive mode by default
louwers Jan 20, 2026
345a40f
test: use fixture directories for sea tests
joyeecheung Jan 1, 2026
c370c3d
deps: add tools and scripts to pull LIEF as a dependency
joyeecheung Dec 22, 2025
f3a24c7
deps: add LIEF as a dependency
joyeecheung Dec 22, 2025
6f4a4f6
sea: split sea binary manipulation code
joyeecheung Dec 22, 2025
d6f7c8d
fs: add ignore option to fs.watch
mcollina Jan 22, 2026
43b8a2b
test: add some validation for JSON doc output
aduh95 Jan 23, 2026
da13186
src: throw RangeError on failed ArrayBuffer BackingStore allocation
legendecas Jan 25, 2026
16bab79
process: do not truncate long strings in `--print`
mohd-akram Jan 25, 2026
8d7190b
module: do not wrap module._load when tracing is not enabled
joyeecheung Jan 26, 2026
ab63ddf
tools: add LIEF to license builder
legendecas Jan 26, 2026
7824c75
lib: unify ICU and no-ICU TextDecoder
ChALkeR Jan 27, 2026
8b6d31d
async_hooks: add trackPromises option to createHook()
joyeecheung Jan 28, 2026
8e8f705
sqlite: reserve vectors space
araujogui Jan 29, 2026
972f824
test_runner: add env option to run function
Ethan-Arrowood Jan 29, 2026
4c80031
stream: add bytes() method to stream/consumers
wantaekchoi Jan 29, 2026
069874b
lib: use StringPrototypeStartsWith from primordials in locks
kimtaejin3 Jan 29, 2026
6640de2
test_runner: differentiate todo and failure styles
MoLow Jan 30, 2026
5998987
build: aix: deoptimize implementation-visitor.cc with --shared
sxa Jan 30, 2026
6a4de69
test_runner: fix passing `expectFailure`
MoLow Jan 30, 2026
830fff0
lib: recycle queues
ronag Jan 30, 2026
8c25489
test: split test-fs-watch-ignore-*
lpinca Jan 30, 2026
0e7571a
sqlite: change approach to fix segfault SQLTagStore
louwers Jan 31, 2026
180778f
assert: fix loose deepEqual arrays with undefined and null failing
BridgeAR Feb 1, 2026
6df8be4
lib: use utf8 fast path for streaming TextDecoder
ChALkeR Jan 27, 2026
83bcd38
benchmark: add streaming TextDecoder benchmark
ChALkeR Jan 27, 2026
563ab69
src: add initial support for ESM in embedder API
joyeecheung Jan 26, 2026
21b23cd
test_runner: fix test enqueue when test file has syntax error
geeksilva97 Feb 2, 2026
1519251
module: do not invoke resolve hooks twice for imported cjs
joyeecheung Feb 2, 2026
4b2187a
test: unify assertSnapshot common patterns
legendecas Feb 2, 2026
b5113e2
deps: update amaro to 1.1.6
nodejs-github-bot Feb 3, 2026
74e4710
deps: update googletest to 56efe3983185e3f37e43415d1afa97e3860f187f
nodejs-github-bot Feb 3, 2026
4889dc4
doc: update `server.dropMaxConnection` link
samuel871211 Feb 3, 2026
356ff5f
test: use the skipIfNoWatch() utility function
lpinca Feb 3, 2026
ecf5947
test: update WPT for url to e3c46fdf55
nodejs-github-bot Feb 3, 2026
eac9f4f
test: fix race condition in watch mode tests
mcollina Feb 3, 2026
9d79c66
test: remove duplicate wpt tests
panva Feb 3, 2026
c085c8a
meta: bump actions/checkout from 6.0.1 to 6.0.2
dependabot[bot] Feb 3, 2026
5da7b51
meta: bump actions/stale from 10.1.0 to 10.1.1
dependabot[bot] Feb 3, 2026
0e5922e
meta: bump peter-evans/create-pull-request from 8.0.0 to 8.1.0
dependabot[bot] Feb 3, 2026
9a64f2f
meta: bump actions/cache from 5.0.1 to 5.0.3
dependabot[bot] Feb 3, 2026
c517df2
meta: bump actions/setup-node from 6.1.0 to 6.2.0
dependabot[bot] Feb 3, 2026
e8d9bd9
meta: bump actions/setup-python from 6.1.0 to 6.2.0
dependabot[bot] Feb 3, 2026
0637bdb
meta: bump step-security/harden-runner from 2.14.0 to 2.14.1
dependabot[bot] Feb 4, 2026
40a872a
meta: bump github/codeql-action from 4.31.9 to 4.32.0
dependabot[bot] Feb 4, 2026
2d7e5f9
http: implement slab allocation for HTTP header parsing
mertcanaltin Feb 4, 2026
d52b535
doc: correct tools README Boxstarter link
MikeMcC399 Feb 4, 2026
b78d814
meta: persist sccache daemon until end of build workflows
Renegade334 Feb 4, 2026
17b363a
dns: fix Windows SRV ECONNREFUSED by adjusting c-ares fallback detection
NotVivek12 Feb 3, 2026
06513f5
test: fix flaky test-performance-eventloopdelay
mcollina Feb 5, 2026
8f5a3e5
doc: fix grammatical error in README.md
junnyontop-pixel Feb 5, 2026
f91a377
sqlite: use DictionaryTemplate for run() result
mertcanaltin Feb 5, 2026
4c1abf7
tools,win: upgrade install additional tools to Visual Studio 2026
MikeMcC399 Feb 5, 2026
5e71924
doc: deprecation add more codemod
AugustinMauroy Feb 5, 2026
a0e09c9
doc: document `url.format(urlString)` as deprecated under DEP0169
Renegade334 Feb 5, 2026
f0f98d4
tools: use ubuntu-slim runner in meta GitHub Actions
bnb Feb 6, 2026
6059055
tools: enforce removal of `lts-watch-*` labels on release proposals
aduh95 Feb 6, 2026
7a83b38
net: defer synchronous destroy calls in internalConnect
RajeshKumar11 Feb 6, 2026
38f43a6
test: fix case-insensitive path matching on Windows
mcollina Feb 6, 2026
97e5a65
deps: update undici to 7.21.0
nodejs-github-bot Feb 6, 2026
f44e67f
doc: fix --inspect security warning section
pimterry Feb 6, 2026
46a2dad
sqlite: avoid extra copy for large text binds
thisalihassan Feb 7, 2026
db478c4
src: use simdutf for one-byte string UTF-8 write in stringBytes
mertcanaltin Feb 6, 2026
5b8e72c
doc: mention default option for test runner env
styfle Feb 7, 2026
2d3b4a8
test: print stack immediately avoiding GC interleaving
legendecas Feb 7, 2026
33d0a8c
doc: clarify EventEmitter error handling in threat model
mcollina Feb 7, 2026
f0d8f37
src: elide heap allocation in structured clone implementation
addaleax Feb 8, 2026
7be7631
deps: update minimatch to 10.1.2
nodejs-github-bot Feb 8, 2026
699e2f8
deps: update amaro to 1.1.7
nodejs-github-bot Feb 8, 2026
2d6735d
deps: upgrade npm to 11.9.0
npm-cli-bot Feb 9, 2026
ad04a46
test: restraint version replacement pattern in snapshots
legendecas Feb 9, 2026
584c189
build: add `--shared-gtest` configure flag
aduh95 Jan 7, 2026
c6253ed
build: add `--shared-hdr-histogram` configure flag
aduh95 Jan 4, 2026
30601b6
build: add `--shared-nbytes` configure flag
aduh95 Jan 13, 2026
68da144
build,deps: replace cjs-module-lexer with merve
anonrig Jan 28, 2026
1f84fd9
build: skip sscache action on non-main branches
joyeecheung Feb 19, 2026
65c77d7
tools: use ubuntu-latest runner in `notify-on-push` workflow
aduh95 Feb 8, 2026
f658f48
tools: use ubuntu-slim runner in GHA
aduh95 Feb 10, 2026
e50e2f0
tools: use ubuntu-slim runner in GHA
aduh95 Feb 12, 2026
034589d
tools: avoid building twice in coverage jobs
aduh95 Feb 22, 2026
f98986c
tools: switch to ARM runners on GHA jobs
aduh95 Feb 22, 2026
9ec7093
2026-02-24, Version 24.14.0 'Krypton' (LTS)
aduh95 Feb 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .github/workflows/auto-start-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
permissions:
pull-requests: read
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
runs-on: ubuntu-slim
outputs:
numbers: ${{ steps.get_prs_for_ci.outputs.numbers }}
steps:
Expand All @@ -43,14 +43,14 @@ jobs:
pull-requests: write
needs: get-prs-for-ci
if: needs.get-prs-for-ci.outputs.numbers != ''
runs-on: ubuntu-latest
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- name: Install Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ env.NODE_VERSION }}

Expand Down
24 changes: 13 additions & 11 deletions .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ permissions:
jobs:
build-tarball:
if: github.event.pull_request.draft == false
runs-on: ubuntu-24.04
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -57,36 +57,38 @@ jobs:
export COMMIT=$(git rev-parse --short=10 "$GITHUB_SHA")
./configure && make tar -j4 SKIP_XZ=1
- name: Upload tarball artifact
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: tarballs
path: '*.tar.gz'
compression-level: 0
test-tarball-linux:
needs: build-tarball
runs-on: ubuntu-24.04
runs-on: ubuntu-24.04-arm
env:
CC: sccache clang
CXX: sccache clang++
SCCACHE_GHA_ENABLED: 'true'
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++
SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
SCCACHE_IDLE_TIMEOUT: '0'
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
sparse-checkout: .github/actions/install-clang
sparse-checkout-cone-mode: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
if: github.base_ref == 'main' || github.ref_name == 'main'
uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
with:
version: v0.12.0
- name: Environment Information
run: npx envinfo
- name: Download tarball
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
with:
name: tarballs
path: tarballs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/close-stale-feature-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
runs-on: ubuntu-slim
steps:
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 180
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-stale-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
permissions:
pull-requests: write # for actions/stale to close stale PRs
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
runs-on: ubuntu-slim
steps:
- name: Set default end date which is 1 year ago
run: echo "END_DATE=$(date --date='525600 minutes ago' --rfc-2822)" >> "$GITHUB_ENV"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/close-stalled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
runs-on: ubuntu-slim
steps:
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-close: 30
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-slim
permissions:
actions: read
contents: read
Expand All @@ -23,19 +23,19 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
uses: github/codeql-action/init@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql-config.yml

- name: Autobuild
uses: github/codeql-action/autobuild@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
uses: github/codeql-action/autobuild@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
uses: github/codeql-action/analyze@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0
with:
category: /language:${{matrix.language}}
6 changes: 3 additions & 3 deletions .github/workflows/comment-labeled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
issues: write
pull-requests: write
if: github.repository == 'nodejs/node' && github.event.label.name == 'stalled'
runs-on: ubuntu-latest
runs-on: ubuntu-slim
steps:
- name: Post stalled comment
env:
Expand All @@ -36,7 +36,7 @@ jobs:
permissions:
pull-requests: write
if: github.repository == 'nodejs/node' && github.event_name == 'pull_request_target' && github.event.label.name == 'fast-track'
runs-on: ubuntu-latest
runs-on: ubuntu-slim
steps:
- name: Request Fast-Track
env:
Expand All @@ -47,7 +47,7 @@ jobs:
permissions:
pull-requests: write
if: github.repository == 'nodejs/node' && github.event_name == 'pull_request_target' && github.event.label.name == 'notable-change'
runs-on: ubuntu-latest
runs-on: ubuntu-slim
steps:
- name: Add notable change description
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ permissions:

jobs:
lint-commit-message:
runs-on: ubuntu-latest
runs-on: ubuntu-slim
steps:
- name: Compute number of commits in the PR
id: nb-of-commits
run: |
echo "plusOne=$((${{ github.event.pull_request.commits }} + 1))" >> $GITHUB_OUTPUT
echo "minusOne=$((${{ github.event.pull_request.commits }} - 1))" >> $GITHUB_OUTPUT
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: ${{ steps.nb-of-commits.outputs.plusOne }}
persist-credentials: false
- run: git reset HEAD^2
- name: Install Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Validate commit message
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/commit-queue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
permissions:
pull-requests: read
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
runs-on: ubuntu-slim
outputs:
numbers: ${{ steps.get_mergeable_prs.outputs.numbers }}
steps:
Expand Down Expand Up @@ -57,9 +57,9 @@ jobs:
commitQueue:
needs: get_mergeable_prs
if: needs.get_mergeable_prs.outputs.numbers != ''
runs-on: ubuntu-latest
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
# A personal token is required because pushing with GITHUB_TOKEN will
# prevent commits from running CI after they land. It needs
Expand All @@ -69,7 +69,7 @@ jobs:

# Install dependencies
- name: Install Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install @node-core/utils
Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/coverage-linux-without-intl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ concurrency:
env:
PYTHON_VERSION: '3.14'
FLAKY_TESTS: keep_retrying
CC: sccache clang
CXX: sccache clang++
SCCACHE_GHA_ENABLED: 'true'
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++
SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
SCCACHE_IDLE_TIMEOUT: '0'

permissions:
contents: read
Expand All @@ -48,26 +49,27 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
if: github.base_ref == 'main' || github.ref_name == 'main'
uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
with:
version: v0.12.0
- name: Environment Information
run: npx envinfo
- name: Install gcovr
run: pip install gcovr==7.2
- name: Build
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --coverage --without-intl"
- name: Configure
run: ./configure --verbose --error-on-warn --coverage --without-intl
# TODO(bcoe): fix the couple tests that fail with the inspector enabled.
# The cause is most likely coverage's use of the inspector.
- name: Test
- name: Build and test
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j4 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9" || exit 0
- name: Report JS
run: npx c8 report --check-coverage
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,38 +36,40 @@ concurrency:
env:
PYTHON_VERSION: '3.14'
FLAKY_TESTS: keep_retrying
CC: sccache clang
CXX: sccache clang++
SCCACHE_GHA_ENABLED: 'true'
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++
SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
SCCACHE_IDLE_TIMEOUT: '0'

permissions:
contents: read

jobs:
coverage-linux:
if: github.event.pull_request.draft == false
runs-on: ubuntu-24.04
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
if: github.base_ref == 'main' || github.ref_name == 'main'
uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
with:
version: v0.12.0
- name: Environment Information
run: npx envinfo
- name: Install gcovr
run: pip install gcovr==7.2
- name: Build
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --coverage"
- name: Configure
run: ./configure --verbose --error-on-warn --coverage
# TODO(bcoe): fix the couple tests that fail with the inspector enabled.
# The cause is most likely coverage's use of the inspector.
- name: Test
- name: Build and test
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j4 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9" || exit 0
- name: Report JS
run: npx c8 report --check-coverage
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: windows-2025
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install deps
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/create-release-proposal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ jobs:
RELEASE_BRANCH: v${{ inputs.release-line }}.x
RELEASE_DATE: ${{ inputs.release-date }}
RELEASE_LINE: ${{ inputs.release-line }}
runs-on: ubuntu-latest
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ env.STAGING_BRANCH }}
persist-credentials: false

# Install dependencies
- name: Install Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ env.NODE_VERSION }}

Expand Down
Loading