Module: Polyrun::CLI::CiShardRunCommand

Included in:
Polyrun::CLI
Defined in:
lib/polyrun/cli/ci_shard_run_command.rb

Overview

One CI matrix job = one global shard (POLYRUN_SHARD_INDEX / POLYRUN_SHARD_TOTAL), not run-shards workers on a single host. Runs build-paths, plan for that shard, then exec of a user command with that shard’s paths appended (same argv pattern as run-shards after --).

After --, prefer **multiple argv tokens** (bundle, exec, rspec, …). A single token that contains spaces is split with Shellwords (not a full shell); exotic quoting differs from sh -c.