Module: Polyrun::CLI::RunShardsParallelWait
- Included in:
- RunShardsParallelChildren
- Defined in:
- lib/polyrun/cli/run_shards_parallel_wait.rb
Overview
Wait, wall/idle timeout, and after_shard hooks for parallel workers (+run-shards+ / ci-shard-*).
Per-worker wait states: running → normal_exit | wall_timeout (124) | idle_timeout (125). When wall or idle caps are set, the multiplex loop polls every live PID each tick so timeouts apply fairly across shards (not only the worker currently in Process.wait).
Constant Summary collapse
- WORKER_TIMEOUT_EXIT_STATUS =
124- WORKER_IDLE_TIMEOUT_EXIT_STATUS =
125