deps: add ata JSON Schema validator for node.config.json #83438
Annotations
5 errors, 2 warnings, and 2 notices
|
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-config-file.js#L43
--- stdout ---
Test failure: 'should handle empty json'
Location: test/parallel/test-config-file.js:37:1
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Can't parse/. Input:
'Invalid configuration in /home/runner/work/node/node/node/test/fixtures/rc/empty.json:\n' +
' /: invalid JSON document\n' +
'/home/runner/work/node/node/node/out/Release/node: /home/runner/work/node/node/node/test/fixtures/rc/empty.json: invalid content\n'
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-config-file.js:43:10)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1279:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:887:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'Invalid configuration in /home/runner/work/node/node/node/test/fixtures/rc/empty.json:\n' +
' /: invalid JSON document\n' +
'/home/runner/work/node/node/node/out/Release/node: /home/runner/work/node/node/node/test/fixtures/rc/empty.json: invalid content\n',
expected: /Can't parse/,
operator: 'match',
diff: 'simple'
}
Test failure: 'non object root'
Location: test/parallel/test-config-file.js:311:1
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Root value unexpected not an object for/. Input:
'Invalid configuration in /home/runner/work/node/node/node/test/fixtures/rc/non-object-root.json:\n' +
' /: expected type object, got array\n' +
'/home/runner/work/node/node/node/out/Release/node: /home/runner/work/node/node/node/test/fixtures/rc/non-object-root.json: invalid content\n'
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-config-file.js:318:10)
at async Test.run (node:internal/test_runner/test:1279:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:887:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'Invalid configuration in /home/runner/work/node/node/node/test/fixtures/rc/non-object-root.json:\n' +
' /: expected type object, got array\n' +
'/home/runner/work/node/node/node/out/Release/node: /home/runner/work/node/node/node/test/fixtures/rc/non-object-root.json: invalid content\n',
expected: /Root value unexpected not an object for/,
operator: 'match',
diff: 'simple'
}
Test failure: 'non object node options'
Location: test/parallel/test-config-file.js:323:1
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /"nodeOptions" value unexpected for/. Input:
'Invalid configuration in /home/runner/work/node/node/node/test/fixtures/rc/non-object-node-options.json:\n' +
' /nodeOptions: expected type object, got string\n' +
'/home/runner/work/node/node/node/out/Release/node: /home/runner/work/node/node/node/test/fixtures/rc/non-object-node-options.json: invalid content\n'
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-config-file.js:330:10)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1279:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:887:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'Invalid configuration in /home/runner/work/node/node/node/test/fixtures/rc/non-object-node-options.json:\n' +
' /nodeOptions: expected type object, got string\n' +
'/home/runner/work/node/node/node/out/Release/node: /home/runner/work/node/node/node/test/fixtures/rc/non-object-node-options.json: invalid content\n',
expected: /"nodeOptions" value unexpected for/,
operator: 'match',
diff: 'simple'
}
Test failure: 'should throw correct error when a json is broken'
Location: test/parallel/test-config-file.js:335:1
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Can't parse/. Input:
'Invalid configuration in /home/runner/work/node/node/node/test/fixtures/rc/broken.json:\n' +
' /: invalid JSON do
|
|
test-linux (ubuntu-24.04)
Canceling since a higher priority waiting request for Test Linux-feat/json-schema-validation exists
|
|
test-linux (ubuntu-24.04)
The operation was canceled.
|
|
Test Linux
Canceling since a higher priority waiting request for Test Linux-feat/json-schema-validation exists
|
|
test-linux (ubuntu-24.04-arm)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test-linux (ubuntu-24.04)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
sccache stats
68% - 3305 hits, 1560 misses, 0 errors
|
|
sccache stats
65% - 3156 hits, 1696 misses, 0 errors
|