feat(CLI): --maxRelatedTestsDepth flag to control the depth of related test in --findRelatedTests #14434
Triggered via pull request
February 8, 2025 06:22
Status
Cancelled
Total duration
4m 41s
Artifacts
–
nodejs.yml
on: pull_request
prepare-yarn-cache-ubuntu
/
Prepare yarn cache for ubuntu-latest
15s
prepare-yarn-cache-macos
/
Prepare yarn cache for macos-latest
21s
prepare-yarn-cache-windows
/
Prepare yarn cache for windows-latest
56s
TypeScript Compatibility
4m 5s
Typecheck Examples and Tests
3m 55s
Lint
1m 42s
Validate Yarn dependencies and constraints
17s
Node LTS on Ubuntu with leak detection
49s
Matrix: test-coverage
Matrix: test-ubuntu
Matrix: test-macos
Matrix: test-windows
Annotations
85 errors and 4 warnings
Lint
Process completed with exit code 1.
|
macOS with shard 1/3 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
macOS with shard 1/3 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
macOS with shard 1/3 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
macOS with shard 1/3 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
macOS with shard 3/3 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
macOS with shard 3/3 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
macOS with shard 3/3 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
macOS with shard 2/3 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
macOS with shard 3/3 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
macOS with shard 3/3 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
macOS with shard 2/3 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
macOS with shard 2/3 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
macOS with shard 2/3 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
macOS with shard 3/3 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 2/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
macOS with shard 2/3 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 2/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 2/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 2/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 2/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 2/4 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 1/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 1/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Ubuntu with shard 4/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Ubuntu with shard 4/4 / Node v18.x
The operation was canceled.
|
Windows with shard 1/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 1/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 1/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 3/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 3/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 3/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 3/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 1/4 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 4/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 3/4 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 3/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 4/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 4/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 4/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Ubuntu with shard 4/4 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Ubuntu with shard 4/4 / Node v23.x
The operation was canceled.
|
Windows with shard 4/4 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Windows with shard 4/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Ubuntu with shard 4/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Ubuntu with shard 4/4 / Node v16.x
The operation was canceled.
|
Ubuntu with shard 3/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Ubuntu with shard 3/4 / Node v16.x
The operation was canceled.
|
Ubuntu with shard 4/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Ubuntu with shard 4/4 / Node LTS using jest-jasmine2
The operation was canceled.
|
Ubuntu with shard 4/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Ubuntu with shard 4/4 / Node v22.x
The operation was canceled.
|
Ubuntu with shard 3/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Ubuntu with shard 3/4 / Node LTS using jest-jasmine2
The operation was canceled.
|
Ubuntu with shard 1/4 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
on node >=23.6 › invalid JS in jest.config.ts (node with native TS support):
e2e/__tests__/jest.config.ts.test.ts#L158
expect(received).toMatchSnapshot()
Snapshot name: `on node >=23.6 invalid JS in jest.config.ts (node with native TS support) 1`
- Snapshot - 11
+ Received + 0
- Error: Jest: Failed to parse the TypeScript config file <<REPLACED>>
- SyntaxError [ERR_INVALID_TYPESCRIPT_SYNTAX]: x Expected ';', got 'string literal (ll break this file yo, 'll break this file yo)'
- ,----
- 1 | export default i'll break this file yo
- : ^^^^^^^^^^^^^^^^^^^^^^
- `----
- x Unterminated string constant
- ,----
- 1 | export default i'll break this file yo
- : ^^^^^^^^^^^^^^^^^^^^^^
- `----
at Object.toMatchSnapshot (e2e/__tests__/jest.config.ts.test.ts:158:7)
|
on node >=23.6 › invalid JS in jest.config.ts (node with native TS support):
e2e/__tests__/jest.config.ts.test.ts#L158
expect(received).toMatchSnapshot()
Snapshot name: `on node >=23.6 invalid JS in jest.config.ts (node with native TS support) 1`
- Snapshot - 11
+ Received + 0
- Error: Jest: Failed to parse the TypeScript config file <<REPLACED>>
- SyntaxError [ERR_INVALID_TYPESCRIPT_SYNTAX]: x Expected ';', got 'string literal (ll break this file yo, 'll break this file yo)'
- ,----
- 1 | export default i'll break this file yo
- : ^^^^^^^^^^^^^^^^^^^^^^
- `----
- x Unterminated string constant
- ,----
- 1 | export default i'll break this file yo
- : ^^^^^^^^^^^^^^^^^^^^^^
- `----
at Object.toMatchSnapshot (e2e/__tests__/jest.config.ts.test.ts:158:7)
|
on node >=23.6 › invalid JS in jest.config.ts (node with native TS support):
e2e/__tests__/jest.config.ts.test.ts#L158
expect(received).toMatchSnapshot()
Snapshot name: `on node >=23.6 invalid JS in jest.config.ts (node with native TS support) 1`
- Snapshot - 11
+ Received + 0
- Error: Jest: Failed to parse the TypeScript config file <<REPLACED>>
- SyntaxError [ERR_INVALID_TYPESCRIPT_SYNTAX]: x Expected ';', got 'string literal (ll break this file yo, 'll break this file yo)'
- ,----
- 1 | export default i'll break this file yo
- : ^^^^^^^^^^^^^^^^^^^^^^
- `----
- x Unterminated string constant
- ,----
- 1 | export default i'll break this file yo
- : ^^^^^^^^^^^^^^^^^^^^^^
- `----
at Object.toMatchSnapshot (e2e/__tests__/jest.config.ts.test.ts:158:7)
|
Ubuntu with shard 1/4 / Node v23.x
The operation was canceled.
|
Ubuntu with shard 3/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Ubuntu with shard 3/4 / Node v22.x
The operation was canceled.
|
Ubuntu with shard 4/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Ubuntu with shard 4/4 / Node v20.x
The operation was canceled.
|
Ubuntu with shard 3/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Ubuntu with shard 3/4 / Node v18.x
The operation was canceled.
|
Ubuntu with shard 3/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Ubuntu with shard 3/4 / Node v20.x
The operation was canceled.
|
Ubuntu with shard 3/4 / Node v23.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Ubuntu with shard 3/4 / Node v23.x
The operation was canceled.
|
Typecheck Examples and Tests
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Node LTS on Ubuntu with coverage (4/4)
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
Typecheck Examples and Tests
The operation was canceled.
|
prints the config object:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `prints the config object 1`
- Snapshot - 0
+ Received + 1
@@ -97,10 +97,11 @@
"json": false,
"lastCommit": false,
"listTests": false,
"logHeapUsage": false,
"maxConcurrency": 5,
+ "maxRelatedTestsDepth": null,
"maxWorkers": 2,
"noStackTrace": false,
"nonFlagArgs": [],
"notify": false,
"notifyMode": "failure-change",
at Object.toMatchSnapshot (packages/jest-core/src/lib/__tests__/logDebugMessages.test.ts:64:19)
|
prints the config object:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `prints the config object 1`
- Snapshot - 0
+ Received + 1
@@ -97,10 +97,11 @@
"json": false,
"lastCommit": false,
"listTests": false,
"logHeapUsage": false,
"maxConcurrency": 5,
+ "maxRelatedTestsDepth": null,
"maxWorkers": 2,
"noStackTrace": false,
"nonFlagArgs": [],
"notify": false,
"notifyMode": "failure-change",
at Object.toMatchSnapshot (packages/jest-core/src/lib/__tests__/logDebugMessages.test.ts:64:19)
|
Node LTS on Ubuntu with coverage (4/4)
The operation was canceled.
|
macOS with shard 2/3 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
notify › does not report --notify flag:
e2e/__tests__/detectOpenHandles.ts#L111
expect(received).toBe(expected) // Object.is equality
Expected: ""
Received: "Jest did not exit one second after the test run has completed.·
'This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue."
at Object.toBe (e2e/__tests__/detectOpenHandles.ts:111:27)
|
macOS with shard 2/3 / Node LTS using jest-jasmine2
The operation was canceled.
|
Node LTS on Ubuntu with coverage (3/4)
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
all passing › runs the tests in the correct order:
e2e/__tests__/circusConcurrent.test.ts#L28
expect(received).toMatchSnapshot()
Snapshot name: `all passing runs the tests in the correct order 1`
- Snapshot - 2
+ Received + 2
@@ -27,21 +27,21 @@
START "five"
at log (__tests__/concurrent.test.js:15:11)
console.log
- END: "three"
+ END: "one"
at log (__tests__/concurrent.test.js:15:11)
console.log
START "six"
at log (__tests__/concurrent.test.js:15:11)
console.log
- END: "one"
+ END: "three"
at log (__tests__/concurrent.test.js:15:11)
console.log
START "seven"
at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:28:20)
|
Node LTS on Ubuntu with coverage (3/4)
The operation was canceled.
|
macOS with shard 1/3 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
macOS with shard 1/3 / Node v16.x
The operation was canceled.
|
TypeScript Compatibility
Canceling since a higher priority waiting request for 'Node CI-maxRelatedTestsDepth' exists
|
TypeScript Compatibility
The operation was canceled.
|
Ubuntu with shard 1/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Node LTS on Ubuntu with coverage (4/4)
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Node LTS on Ubuntu with coverage (3/4)
Attempt 1 failed. Reason: Child_process exited with error code 1
|