fix(child_process): pipe stdout
and stderr
to main thread
#304
Annotations
2 errors and 2 warnings
Test:
test/worker-stdio.test.ts#L28
AssertionError: expected '(node:2177) MaxListenersExceededWarni…' to be 'Worker error' // Object.is equality
- Expected
+ Received
+ (node:2177) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 62 unpipe listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
+ (Use `node --trace-warnings ...` to show where the warning was created)
+ (node:2177) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 62 error listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
+ (node:2177) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 62 close listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
+ (node:2177) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 62 finish listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
+ (node:2177) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 62 unpipe listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
+ (node:2177) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 62 error listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
+ (node:2177) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 62 close listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
+ (node:2177) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 62 finish listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
Worker error
❯ test/worker-stdio.test.ts:28:20
|
Test
Process completed with exit code 1.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1, pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading