Closed secobarbital closed 1 week ago
It looks like waitIfNeeded
only looks for the depended on processes in the list of running processes, from which processes are removed once they exit. It should probably check a list of completed processes as well.
Thanks for the quick fix @secobarbital. Added in v1.40.0
Defect
When process A depends on B completing successfully, process A runs if B fails quickly. It should not run if B fails, regardless how quickly.
process-compose info
)Version of
process-compose
: v1.34.0OS environment: MacOS 14.7.1
Steps or code to reproduce the issue:
process-compose.json:
Expected result:
Actual result:
Full log:
This run had both the good case and the bad case happening: