Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a new pull request by comparing changes across two branches #1041

Merged
merged 208 commits into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
208 commits
Select commit Hold shift + click to select a range
c0ad193
src: move more crypto impl detail to ncrypto dep
jasnell Dec 31, 2024
7b472fd
src: minor cleanups on OneByteString usage
jasnell Jan 5, 2025
4f45ace
inspector: add undici http tracking support
legendecas Jan 8, 2025
5747828
doc: allow request for TSC reviews via the GitHub UI
aduh95 Jan 8, 2025
dc5d0f9
fs: allow `exclude` option in globs to accept glob patterns
daeyeon Jan 8, 2025
8975748
test_runner: run single test file benchmark
pmarchini Jan 9, 2025
6b3937a
src: refactor --trace-env to reuse option selection and handling
joyeecheung Jan 9, 2025
483e3d5
src: fix undefined script name in error source
legendecas Jan 9, 2025
b8f6d84
test: mark test-http-server-request-timeouts-mixed as flaky
joyeecheung Jan 9, 2025
24ed8da
assert: make partialDeepStrictEqual work with urls and File prototypes
puskin94 Jan 9, 2025
19c8cc1
test_runner: add t.assert.fileSnapshot()
cjihrig Jan 9, 2025
e1df1e0
tools: validate commit list as part of `lint-release-commit`
aduh95 Jan 9, 2025
2f35b1f
doc: add message for Ambassadors to promote
mhdawson Dec 11, 2024
9be9348
doc: reserve NMV 133 for Electron 35
VerteDinde Jan 10, 2025
a627a99
doc: add esm examples to node:trace_events
mfdebian Jan 10, 2025
529b56e
fs: deprecate passing invalid types in `fs.existsSync`
Ceres6 Jan 10, 2025
ba6800d
esm: fix jsdoc type refs to `ModuleJobBase` in esm/loader
JakobJingleheimer Jan 10, 2025
3946f16
process: fix symbol key and mark experimental new `node:process` methods
aduh95 Jan 10, 2025
25b22e4
deps: upgrade npm to 11.0.0
npm-cli-bot Jan 10, 2025
649da3b
doc: include CVE to EOL lines as sec release process
RafaelGSS Jan 10, 2025
ad68d08
doc: fix location of NO_COLOR in CLI docs
cjihrig Jan 11, 2025
0576deb
test: add error only reporter for node:test
Ceres6 Jan 11, 2025
8ca2956
crypto: fix warning of ignoring return value
zcbenz Jan 11, 2025
7154b32
assert: make myers_diff function more performant
puskin94 Jan 11, 2025
808e6b3
test: clarify fork inherit permission flags
RafaelGSS Jan 11, 2025
7409a1d
tools: edit `create-release-proposal` workflow
aduh95 Jan 11, 2025
c61504b
sqlite: disable memstatus APIs at build time
cjihrig Jan 12, 2025
9230f22
process: remove support for undocumented symbol
aduh95 Jan 12, 2025
046be6d
doc: fix parentheses in options
tniessen Jan 12, 2025
4c27393
doc: update gcc-version for ubuntu-lts
KunalKumar-1 Jan 12, 2025
99099d6
benchmark: add validateStream to styleText bench
RafaelGSS Jan 12, 2025
f4fcf0e
tls: fix error stack conversion in cryptoErrorListToException()
joyeecheung Jan 12, 2025
b22c3d3
doc: add section about using npx with permission model
RafaelGSS Jan 13, 2025
af89b53
util: expose CallSite.scriptId
legendecas Jan 13, 2025
db7a31e
diagnostics_channel: capture console messages
Qard Jan 13, 2025
464f335
stream: fix typo in ReadableStreamBYOBReader.readIntoRequests
MattiasBuelens Jan 13, 2025
d5bea71
tools: update doc to new version
nodejs-github-bot Dec 15, 2024
496e17e
src: add --disable-sigusr1 to prevent signal i/o thread
RafaelGSS Jan 13, 2025
e799722
test: make test-crypto-hash compatible with OpenSSL > 3.4.0
jelly Dec 6, 2024
e6a988d
test: disable openssl 3.4.0 incompatible tests
jelly Dec 6, 2024
93c15bf
test: update test-child-process-bad-stdio to use node:test
cjihrig Jan 13, 2025
187007a
doc: document CLI way to open the nodejs/bluesky PR
aduh95 Jan 13, 2025
7a9d783
crypto: fix checkPrime crash with large buffers
santigimeno Jan 11, 2025
4ef7749
crypto: update root certificates to NSS 3.107
nodejs-github-bot Jan 14, 2025
f537efd
deps: update simdutf to 6.0.3
nodejs-github-bot Jan 14, 2025
5770972
deps: update undici to 7.2.1
nodejs-github-bot Jan 14, 2025
fc11189
doc: correct customization hook types & clarify descriptions
JakobJingleheimer Jan 14, 2025
732744c
src,worker: add isInternalWorker
Ceres6 Jan 14, 2025
7b60bcb
quic: fixup errant LocalVector usage
jasnell Jan 11, 2025
afaa14b
tools: remove github reporter
Ceres6 Jan 14, 2025
6879ab9
src: cleaning up more crypto internals for ncrypto
jasnell Jan 8, 2025
6e23885
src: update ECDASSigPointer implementation in ncrypto
jasnell Jan 8, 2025
d3cb7c0
src: update ECGroupPointer in ncrypto
jasnell Jan 8, 2025
08fa9ed
src: update ECPointPointer in ncrypto
jasnell Jan 8, 2025
294abc2
src: update ECKeyPointer in ncrypto
jasnell Jan 9, 2025
2570f95
util: do not crash on inspecting function with `Symbol` name
ljharb Jan 15, 2025
f16cd10
meta: add codeowners of security release document
RafaelGSS Jan 15, 2025
dd26064
deps: update amaro to 0.2.2
nodejs-github-bot Jan 12, 2025
e52440b
test: update ts eval snapshots
marco-ippolito Jan 13, 2025
d1a3f30
deps: update amaro to 0.3.0
nodejs-github-bot Jan 14, 2025
e799ebd
module: rethrow amaro error message
marco-ippolito Jan 14, 2025
c8df98d
module: fix jsdoc for `format` parameter in cjs/loader
pacexy Jan 15, 2025
97caa4c
test: mark test-worker-prof as flaky on smartos
joyeecheung Jan 15, 2025
1238f0a
util: rename CallSite.column to columnNumber
legendecas Jan 15, 2025
58ac655
doc: improve internal documentation on built-in snapshot
joyeecheung Jan 15, 2025
e96072a
util: inspect: do not crash on an Error with a regex `name`
ljharb Jan 15, 2025
0e7ec5e
test_runner: add TestContext.prototype.waitFor()
cjihrig Jan 16, 2025
c6960ee
src: handle duplicate paths granted
RafaelGSS Jan 16, 2025
3fe8027
test: add line break at end of file
RafaelGSS Jan 16, 2025
b3641fe
doc: add type stripping to ambassadors program
marco-ippolito Jan 16, 2025
00d4964
doc: tweak info on reposts in ambassador program
mhdawson Jan 16, 2025
22f1518
test_runner: remove unused errors
pmarchini Jan 17, 2025
cee63dc
module: add ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX
marco-ippolito Jan 17, 2025
5d93002
test: add maxCount and gcOptions to gcUntil()
joyeecheung Jan 14, 2025
74717cb
src: use cppgc to manage ContextifyContext
joyeecheung Jan 9, 2025
90840cc
tools: fix permissions in `lint-release-proposal` workflow
aduh95 Jan 17, 2025
2e45656
crypto: add missing return value check
mhdawson Jan 17, 2025
a500382
deps: update libuv to 1.50.0
nodejs-github-bot Jan 17, 2025
6f946c9
doc: mention prepare --security
RafaelGSS Jan 17, 2025
840f952
punycode: limit deprecation warning
cjihrig Jan 18, 2025
009d53e
child_process: fix parsing messages with splitted length field
MGorkov Jan 18, 2025
322056d
src: initialize FSReqWrapSync in path that uses it
targos Jan 19, 2025
a5ed762
deps: fixup some minor coverity warnings
jasnell Jan 19, 2025
da5f7ac
test: test-stream-compose.js doesn't need internals
nektro Jan 19, 2025
fdad2fa
http2: omit server name when HTTP2 host is IP address
islandryu Dec 29, 2024
7bc2946
doc: `WeakSet` and `WeakMap` comparison details
ishon19 Jan 20, 2025
b845dc6
2025-01-21, Version 23.6.1 (Current)
RafaelGSS Jan 15, 2025
e81c809
2025-01-21, Version 22.13.1 'Jod' (LTS)
RafaelGSS Jan 15, 2025
3efbb0d
2025-01-21, Version 20.18.2 'Iron' (LTS)
RafaelGSS Jan 16, 2025
d07c60b
2025-01-21, Version 18.20.6 'Hydrogen' (LTS)
RafaelGSS Jan 16, 2025
23c2d33
doc: clarify cjs/esm diff in `queueMicrotask()` vs `process.nextTick()`
dario-piotrowicz Jan 21, 2025
1b693fa
src: fix HTTP2 mem leak on premature close and ERR_PROTO
RafaelGSS Dec 17, 2024
8306457
path: fix path traversal in normalize() on Windows
RafaelGSS Jan 20, 2025
bf59539
src,loader,permission: throw on InternalWorker use
RafaelGSS Aug 27, 2024
1c5b7e1
tools: do not throw on missing `create-release-proposal.sh`
aduh95 Jan 22, 2025
01dd7c4
test: use --permission instead of --experimental-permission
RafaelGSS Jan 22, 2025
9ec7bed
module: fixing url change in load sync hook chain
awto Dec 29, 2024
309924f
doc: add history info for Permission Model
aduh95 Jan 22, 2025
a4895e2
doc: add note for features using `InternalWorker` with permission model
aduh95 Jan 23, 2025
d978610
worker: refactor stdio to improve performance
mcollina Jan 23, 2025
905e4b4
module: use more defensive code when handling SWC errors
aduh95 Jan 23, 2025
a1c9c1a
doc: add RafaelGSS as latest sec release stewards
RafaelGSS Jan 23, 2025
3d861c4
doc: fix inconsistencies in `WeakSet` and `WeakMap` comparison details
ishon19 Jan 23, 2025
a954602
tools: fix tools-deps-update
lemire Jan 23, 2025
869d0cb
test: fix localization data for ICU 74.2
aduh95 Jan 23, 2025
b11ee4c
lib: allow skipping source maps in node_modules
legendecas Jan 23, 2025
869ea33
src: replace NoArrayBufferZeroFillScope with v8 option
jasnell Jan 19, 2025
08eeddf
test: enforce strict mode in test-zlib-const
Trott Jan 24, 2025
e55b02b
build: drop support for python 3.8
avivkeller Jan 24, 2025
1921371
tools: do not throw on missing `create-release-proposal.sh`
aduh95 Jan 24, 2025
19fabc0
util: inspect: do not crash on an Error stack that contains a Symbol
ljharb Jan 12, 2025
01a5aa2
test: add missing test for env file
JonasBa Jan 24, 2025
c752615
test_runner: print failing assertion only once with spec reporter
pmarchini Jan 19, 2025
761de81
test: move crypto related common utilities in common/crypto
jasnell Jan 25, 2025
f07300c
test: move hasMultiLocalhost to common/net
jasnell Jan 25, 2025
4a5d2c7
module: integrate TypeScript into compile cache
joyeecheung Jan 25, 2025
0713ee3
test: simplify common/index.js
jasnell Jan 22, 2025
8caa1dc
test: rely less on duplicative common test harness utilities
jasnell Jan 22, 2025
552362a
test: make common/index slightly less node.js specific
jasnell Jan 22, 2025
97a3a82
test: replace more uses of `global` with `globalThis`
jasnell Jan 22, 2025
687be59
test: add test that uses multibyte for path and resolves modules
yamachu Jan 22, 2025
1760024
src: fix to generate path from wchar_t via wstring
yamachu Jan 22, 2025
bade7a1
src: fix build with GCC 15
tjuhaszrh Jan 25, 2025
da1ca7d
doc: fix typo in example code for util.styleText
rmehner Jan 25, 2025
db5a2b5
src: add default value for RSACipherConfig mode field
wooffie Jan 22, 2025
23d0a7f
test: make some requires lazy in common/index
jasnell Jan 23, 2025
59b3a8b
watch: reload env file for --env-file-if-exists
JonasBa Jan 25, 2025
7119303
module: fix bad `require.resolve` with option paths for `.` and `..`
dario-piotrowicz Jan 25, 2025
ce6a628
doc: add note regarding commit message trailers
dario-piotrowicz Jan 26, 2025
e0a7151
src: move more crypto to ncrypto
jasnell Jan 15, 2025
1c7c32f
src: add nullptr handling from X509_STORE_new()
wooffie Jan 22, 2025
80c70ee
test: do not use common.isMainThread
lpinca Jan 26, 2025
ea7ab16
test: cleanup and simplify test-crypto-aes-wrap
jasnell Jan 26, 2025
a6c5ce2
doc: improve accessibility of expandable lists
aduh95 Jan 26, 2025
f1196ee
doc: add "Skip to content" button
aduh95 Jan 26, 2025
e1e1ada
deps: macro ENODATA is deprecated in libc++
zcbenz Jan 26, 2025
43daa9b
doc: fix styles of the expandable TOC
aduh95 Jan 26, 2025
6d22fce
tools: update inspector_protocol roller
legendecas Jan 15, 2025
744c2f5
inspector: roll inspector_protocol
legendecas Jan 15, 2025
0aa5874
deps: move inspector_protocol to deps
legendecas Jan 17, 2025
1263efd
test: use strict mode in global setters test
Trott Jan 27, 2025
04f147b
test: fix invalid common.mustSucceed() usage
lpinca Jan 27, 2025
50d405a
test: reduce number of written chunks
lpinca Jan 27, 2025
33dc9bc
doc: move anatoli to emeritus
mhdawson Jan 27, 2025
532fff6
meta: move one or more collaborators to emeritus
nodejs-github-bot Jan 27, 2025
64ee8a0
deps: update corepack to 0.31.0
nodejs-github-bot Jan 28, 2025
efe698e
crypto: added support for reading certificates from macOS system store
timja Jan 28, 2025
0741d69
test: remove duplicate error reporter from ci
Ceres6 Jan 28, 2025
f2d2747
crypto: add api to get openssl security level
mhdawson Jan 14, 2025
e6f1ddf
build: add build option suppress_all_error_on_warn
mhdawson Jan 17, 2025
e346323
test: update WPT for url to a23788b77a
nodejs-github-bot Jan 29, 2025
adf8e97
test: mark `test-esm-loader-hooks-inspect-wait` flaky
richardlau Jan 29, 2025
f4fba08
util: enforce shouldColorize in styleText array arg
marco-ippolito Jan 29, 2025
a7f8b23
meta: add @nodejs/url as codeowner
legendecas Jan 29, 2025
e46f2c1
tools: fix license-builder for inspector_protocol
targos Jan 29, 2025
b185d12
test: remove unnecessary code
lpinca Jan 29, 2025
f2001e3
deps: update amaro to 0.3.1
nodejs-github-bot Jan 29, 2025
671d058
doc: clarify sqlite user-defined function behaviour
Renegade334 Jan 29, 2025
0edeafd
inspector: fix StringUtil::CharacterCount for unicodes
legendecas Jan 29, 2025
7a4e9e6
test: mark test-without-async-context-frame flaky on windows
jasnell Jan 24, 2025
f19ae14
src: add check for Bignum in GroupOrderSize
wooffie Jan 29, 2025
55cc372
test: temporary remove resource check from fs read-write
RafaelGSS Jan 29, 2025
1b2a966
test: test-crypto-prime.js doesn't need internals
nektro Jan 29, 2025
3c105b6
test: convert test_encoding_binding.cc to a JS test
legendecas Jan 27, 2025
82ac335
test: search cctest files
legendecas Jan 27, 2025
5557ce4
readline: fix unresolved promise on abortion
DanielVenable Jul 25, 2024
7f18407
doc: fix typo in cjs example of `util.styleText`
deokjinkim Jan 30, 2025
51c8fbb
inspector: fix GN build
zcbenz Jan 30, 2025
304bb9c
test: set `test-fs-cp` as flaky
StefanStojanovic Jan 30, 2025
c2c7f08
2025-01-30, Version 23.7.0 (Current)
aduh95 Jan 30, 2025
752c0b8
events: getMaxListeners detects 0 listeners
KhafraDev Jan 30, 2025
be9b614
test: test-crypto-scrypt.js doesn't need internals
nektro Jan 31, 2025
1faf8c6
tools: update sccache and sccache-action
targos Jan 31, 2025
5edec0e
deps: update V8 to 13.0.245.25
targos Jan 30, 2025
1f654e6
build: reset embedder string to "-node.0"
targos Jan 30, 2025
7917b67
src: update NODE_MODULE_VERSION to 134
targos Jan 30, 2025
1142f78
deps: always define V8_EXPORT_PRIVATE as no-op
targos Sep 21, 2022
4f8fd56
deps: disable V8 concurrent sparkplug compilation
targos Apr 6, 2023
a4e0fce
deps: patch V8 to avoid duplicated zlib symbol
targos Sep 16, 2023
d0361f0
deps: patch V8 to support compilation with MSVC
StefanStojanovic Apr 21, 2024
b3c1b63
deps: fix FP16 bitcasts.h
StefanStojanovic May 28, 2024
e8f55f7
deps: always define V8_NODISCARD as no-op
targos Aug 8, 2024
d85d2f8
deps: define V8_PRESERVE_MOST as no-op on Windows
StefanStojanovic Dec 16, 2024
5d8011d
deps: V8: cherry-pick 0c11feeeca4a
targos Sep 25, 2024
99ffe35
deps: V8: cherry-pick 0d5d6e71bbb0
anonrig Sep 20, 2024
52d3944
deps: V8: cherry-pick f915fa4c9f41
o- Oct 21, 2024
6f96526
tools: update V8 gypfiles for 13.0
targos Aug 24, 2024
44b0e42
build: remove support for ppc 32-bit
targos Aug 24, 2024
7e87520
src: update GetForegroundTaskRunner override
Aug 28, 2024
89f661d
build: link V8 with atomic library
targos Sep 19, 2024
6857dbc
test: disable fast API call count checks
targos Sep 20, 2024
f05d287
tools: run macOS test workflow with Xcode 16.1
targos Jan 31, 2025
581b444
src: modernize cleanup queue to use c++20
anonrig Jan 31, 2025
261624b
deps: update simdjson to 3.11.6
nodejs-github-bot Jan 31, 2025
ba4587c
http: be more generational GC friendly
ywave620 Jan 31, 2025
aa3523e
test_runner: automatically wait for subtests to finish
cjihrig Jan 19, 2025
9671826
test_runner: remove promises returned by test()
cjihrig Jan 20, 2025
1a2eb15
test_runner: remove promises returned by t.test()
cjihrig Jan 20, 2025
46132bd
test: adjust check to use OpenSSL sec level
mhdawson Jan 31, 2025
44d2648
build: add double quotes around <(python)
lpinca Jan 31, 2025
063e67c
deps: update ada to v3.0.1
anonrig Dec 20, 2024
43c593c
url: add URLPattern implementation
anonrig Jan 30, 2025
b78df6c
test: add WPT for URLPattern
anonrig Jan 30, 2025
0a4672e
tools: remove test-asan/ubsan workflows
targos Feb 1, 2025
ad84558
Revert "src: modernize cleanup queue to use c++20"
richardlau Feb 1, 2025
ed52ab9
build: increase minimum Xcode version to 16.1
targos Feb 1, 2025
2bd5694
sqlite: allow returning `ArrayBufferView`s from user-defined functions
Renegade334 Feb 1, 2025
cadc4ed
deps: upgrade npm to 11.1.0
npm-cli-bot Feb 2, 2025
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
  •  
  •  
  •  
14 changes: 10 additions & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@

# net

/deps/ada @nodejs/url
/deps/cares @nodejs/net
/doc/api/dgram.md @nodejs/net
/doc/api/dns.md @nodejs/net
Expand All @@ -47,14 +46,11 @@
/lib/internal/js_stream_socket.js @nodejs/net
/lib/internal/net.js @nodejs/net
/lib/internal/socket_list.js @nodejs/net
/lib/internal/url.js @nodejs/url
/lib/net.js @nodejs/net
/lib/url.js @nodejs/url
/src/cares_wrap.cc @nodejs/net
/src/connect_wrap.* @nodejs/net
/src/connection_wrap.* @nodejs/net
/src/node_sockaddr* @nodejs/net
/src/node_url.* @nodejs/url
/src/tcp_wrap.* @nodejs/net
/src/udp_wrap.* @nodejs/net

Expand Down Expand Up @@ -171,6 +167,9 @@
/src/permission/* @nodejs/security-wg
/test/parallel/test-permission-* @nodejs/security-wg

# Security Release
/doc/contributing/security-release-process.md @nodejs/security-stewards

# Dependency Update Tools

/.github/workflows/tools.yml @nodejs/security-wg
Expand All @@ -194,3 +193,10 @@

# Performance
/benchmark/* @nodejs/performance

# URL
/deps/ada @nodejs/url
/lib/internal/url.js @nodejs/url
/lib/url.js @nodejs/url
/src/node_url.* @nodejs/url
/test/fixtures/wpt/url @nodejs/url
6 changes: 3 additions & 3 deletions .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ jobs:
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
uses: mozilla-actions/sccache-action@9e326ebed976843c9932b3aa0e021c6f50310eb4 # v0.0.6
uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7
with:
version: v0.8.1
version: v0.9.1
- name: Environment Information
run: npx envinfo
- name: Make tarball
Expand Down Expand Up @@ -105,4 +105,4 @@ jobs:
- name: Test
run: |
cd $TAR_DIR
make run-ci -j4 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9"
make run-ci -j4 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9"
6 changes: 3 additions & 3 deletions .github/workflows/coverage-linux-without-intl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ jobs:
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
uses: mozilla-actions/sccache-action@9e326ebed976843c9932b3aa0e021c6f50310eb4 # v0.0.6
uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7
with:
version: v0.8.1
version: v0.9.1
- name: Environment Information
run: npx envinfo
- name: Install gcovr
Expand All @@ -68,7 +68,7 @@ jobs:
# 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
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j4 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9" || exit 0
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
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ jobs:
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
uses: mozilla-actions/sccache-action@9e326ebed976843c9932b3aa0e021c6f50310eb4 # v0.0.6
uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7
with:
version: v0.8.1
version: v0.9.1
- name: Environment Information
run: npx envinfo
- name: Install gcovr
Expand All @@ -68,7 +68,7 @@ jobs:
# 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
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j4 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9" || exit 0
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
env:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/create-release-proposal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Set up ghauth config (Ubuntu)
run: |
mkdir -p "${XDG_CONFIG_HOME:-~/.config}/changelog-maker"
echo '{}' | jq '{user: env.GITHUB_ACTOR, token: env.TOKEN}' > "${XDG_CONFIG_HOME:-~/.config}/changelog-maker/config.json"
jq --null-input '{user: env.GITHUB_ACTOR, token: env.TOKEN}' > "${XDG_CONFIG_HOME:-~/.config}/changelog-maker/config.json"
env:
TOKEN: ${{ github.token }}

Expand All @@ -73,9 +73,8 @@ jobs:
- name: Start git node release prepare
# The curl command is to make sure we run the version of the script corresponding to the current workflow.
run: |
git update-index --assume-unchanged tools/actions/create-release.sh
curl -fsSLo tools/actions/create-release.sh https://github.com/${GITHUB_REPOSITORY}/raw/${GITHUB_SHA}/tools/actions/create-release.sh
./tools/actions/create-release.sh "${RELEASE_DATE}" "${RELEASE_LINE}" "${GITHUB_ACTOR}"
curl -fsSL https://github.com/${GITHUB_REPOSITORY}/raw/${GITHUB_SHA}/tools/actions/create-release-proposal.sh |\
sh -s -- "${RELEASE_DATE}" "${RELEASE_LINE}" "${GITHUB_ACTOR}"
env:
GH_TOKEN: ${{ github.token }}
# We want the bot to push the push the release commit so CI runs on it.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
name: docs
path: out/doc
- name: Test
run: NODE=$(command -v node) make test-doc-ci TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
run: NODE=$(command -v node) make test-doc-ci TEST_CI_ARGS="-p actions --measure-flakiness 9"
37 changes: 26 additions & 11 deletions .github/workflows/lint-release-proposal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ permissions:
jobs:
lint-release-commit:
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
Expand All @@ -33,30 +35,43 @@ jobs:
echo "COMMIT_SUBJECT=$COMMIT_SUBJECT" >> "$GITHUB_ENV"
- name: Lint release commit message trailers
run: |
EXPECTED_TRAILER="^PR-URL: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/pull/[[:digit:]]+\$"
EXPECTED_TRAILER="^$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/pull/[[:digit:]]+\$"
echo "Expected trailer format: $EXPECTED_TRAILER"
ACTUAL="$(git --no-pager log -1 --format=%b | git interpret-trailers --parse --no-divider)"
PR_URL="$(git --no-pager log -1 --format='%(trailers:key=PR-URL,valueonly)')"
echo "Actual: $ACTUAL"
echo "$ACTUAL" | grep -E -q "$EXPECTED_TRAILER"
echo "$PR_URL" | grep -E -q "$EXPECTED_TRAILER"

PR_URL="${ACTUAL:8}"
PR_HEAD="$(gh pr view "$PR_URL" --json headRefOid -q .headRefOid)"
echo "Head of $PR_URL: $PR_HEAD"
echo "Current commit: $GITHUB_SHA"
[ "$PR_HEAD" = "$GITHUB_SHA" ]
env:
GH_TOKEN: ${{ github.token }}
- name: Verify it's release-ready
run: |
SKIP_XZ=1 make release-only
- name: Validate CHANGELOG
id: releaser-info
run: |
EXPECTED_CHANGELOG_TITLE_INTRO="## $COMMIT_SUBJECT, @"
echo "Expected CHANGELOG section title: $EXPECTED_CHANGELOG_TITLE_INTRO"
CHANGELOG_TITLE="$(grep "$EXPECTED_CHANGELOG_TITLE_INTRO" "doc/changelogs/CHANGELOG_V${COMMIT_SUBJECT:20:2}.md")"
MAJOR="$(awk '/^#define NODE_MAJOR_VERSION / { print $3 }' src/node_version.h)"
CHANGELOG_PATH="doc/changelogs/CHANGELOG_V${MAJOR}.md"
CHANGELOG_TITLE="$(grep "$EXPECTED_CHANGELOG_TITLE_INTRO" "$CHANGELOG_PATH")"
echo "Actual: $CHANGELOG_TITLE"
[ "${CHANGELOG_TITLE%%@*}@" = "$EXPECTED_CHANGELOG_TITLE_INTRO" ]
- name: Verify NODE_VERSION_IS_RELEASE bit is correctly set
run: |
grep -q '^#define NODE_VERSION_IS_RELEASE 1$' src/node_version.h
- name: Check for placeholders in documentation
run: |
! grep "REPLACEME" doc/api/*.md
gh api \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
--jq '.commits.[] | { smallSha: .sha[0:10] } + (.commit.message|capture("^(?<title>.+)\n\n(.*\n)*PR-URL: (?<prURL>.+)\n"))' \
"/repos/${GITHUB_REPOSITORY}/compare/v${MAJOR}.x...$GITHUB_SHA" --paginate \
| node tools/actions/lint-release-proposal-commit-list.mjs "$CHANGELOG_PATH" "$GITHUB_SHA" \
| while IFS= read -r PR_URL; do
LABEL="dont-land-on-v${MAJOR}.x" gh pr view \
--json labels,url \
--jq 'if (.labels|map(.name==env.LABEL)|any) then error("\(.url) has the \(env.LABEL) label, forbidding it to be in this release proposal") end' \
"$PR_URL" > /dev/null
done
shell: bash # See https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference, we want the pipefail option.
env:
GH_TOKEN: ${{ github.token }}
66 changes: 0 additions & 66 deletions .github/workflows/test-asan.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ jobs:
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
uses: mozilla-actions/sccache-action@9e326ebed976843c9932b3aa0e021c6f50310eb4 # v0.0.6
uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7
with:
version: v0.8.1
version: v0.9.1
- name: Environment Information
run: npx envinfo
- name: Build
run: make -C node build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn"
- name: Test
run: make -C node run-ci -j4 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
run: make -C node run-ci -j4 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"
- name: Re-run test in a folder whose name contains unusual chars
run: |
mv node "$DIR"
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ concurrency:

env:
PYTHON_VERSION: '3.12'
XCODE_VERSION: '16.1'
FLAKY_TESTS: keep_retrying

permissions:
Expand All @@ -40,9 +41,7 @@ jobs:
if: github.event.pull_request.draft == false
strategy:
fail-fast: false
matrix:
macos-version: [macos-13, macos-14]
runs-on: ${{ matrix.macos-version }}
runs-on: macos-14
env:
CC: sccache gcc
CXX: sccache g++
Expand All @@ -56,10 +55,12 @@ jobs:
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up Xcode ${{ env.XCODE_VERSION }}
run: sudo xcode-select -s /Applications/Xcode_${{ env.XCODE_VERSION }}.app
- name: Set up sccache
uses: mozilla-actions/sccache-action@9e326ebed976843c9932b3aa0e021c6f50310eb4 # v0.0.6
uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7
with:
version: v0.8.1
version: v0.9.1
- name: Environment Information
run: npx envinfo
# The `npm ci` for this step fails a lot as part of the Test step. Run it
Expand Down Expand Up @@ -89,7 +90,7 @@ jobs:
- name: Free Space After Build
run: df -h
- name: Test
run: make -C node run-ci -j$(getconf _NPROCESSORS_ONLN) V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
run: make -C node run-ci -j$(getconf _NPROCESSORS_ONLN) V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"
- name: Re-run test in a folder whose name contains unusual chars
run: |
mv node "$DIR"
Expand Down
67 changes: 0 additions & 67 deletions .github/workflows/test-ubsan.yml

This file was deleted.

Loading
Loading