flow-coverage-report starts a Flow server in:
|
const res = await exec(`${flowCommandPath} status --json`, |
|
{cwd: projectDir, maxBuffer: Infinity}, |
|
{dontReject: true}); |
but never stops it. The server process thus continues running unnoticed in the background.
When using services like CircleCI, running flow-coverage-report without running flow stop manually afterwards will fail the build. Indeed, CircleCI will consider that the Flow process has been running for too long, will terminate it, and mark the build as failed.
Would you please consider making flow-coverage-report stop the Flow server when it started it itself?
Thanks.
flow-coverage-reportstarts a Flow server in:flow-coverage-report/src/lib/flow.js
Lines 87 to 89 in 43d855d
but never stops it. The server process thus continues running unnoticed in the background.
When using services like CircleCI, running
flow-coverage-reportwithout runningflow stopmanually afterwards will fail the build. Indeed, CircleCI will consider that the Flow process has been running for too long, will terminate it, and mark the build as failed.Would you please consider making
flow-coverage-reportstop the Flow server when it started it itself?Thanks.