Changes for version 0.1962 - 2026-11-30

  • Fixed
    • **An interrupt that reached `parallel()` just after it forked a task reached no task, and the step ran on to its end.** `parallel()` passes HUP, INT, QUIT and TERM on to the processes it has recorded as running, and recorded a process only once `fork()` had returned; one that arrived in between found nothing to send to. The forked worker had a window of its own: from the fork until `task()` held these signals back, one passed on to it went to the caller's handler, which the worker restores, and not to the command. The interrupts are now held back from before each fork until the process is recorded, and in the worker until `task()`'s own handlers are in place. A CPAN tester on perl 5.30.3, x86_64-linux-quadmath, failed 1 subtest of `t/07.coverage.t` this way: the step ran its full 30 s and `parallel()` returned with no failure. `t/14.fixes.t` sends the signal inside the window, and fails against 0.1961, and against 0.1961 with only the first window closed. A module defect.
  • Tests
    • **The test of `quiet => 1` allowed the quiet log to be at most 8 bytes shorter than the other.** The record's `duration`, `start.time` and CPU times are printed in as many digits as the NV needs, up to 34 for a `__float128`, so on a quadmath perl the two logs differ in length from run to run: from 8 bytes shorter to 10 longer in 300 runs here. A CPAN tester on perl 5.32.1, i686-linux-64int-quadmath, found it 9 shorter and failed 1 subtest of `t/02.fixes.t`. The test now compares the two logs with every number masked, which also catches a lost line. The module was right.

Modules

easy, simple workflow manager (and logger); for keeping track of and debugging large and complex shell command workflows