mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
SubmitJob previously rejected arrayProperties/nodeProperties/nodeOverrides outright. Array jobs now fan out real child jobs (<parentId>:<index>) that run through the existing single-job pipeline; the parent's status and arrayProperties.statusSummary are computed live from its children on every DescribeJobs/ListJobs call instead of being stored and incrementally updated, which avoids a race between concurrently finishing children. Multi-node parallel jobs are supported via a new "multinode" job definition type (numNodes/mainNode/nodeRangeProperties, validated for full node coverage). SubmitJob runs one Docker container per node concurrently; per AWS's documented MNP semantics, the job's status, retry decision, and started/stoppedAt/statusReason are all determined solely by the main node, not by any node that happens to fail. nodeOverrides.numNodes is supported with AWS's real validation (requires an open-ended node range). ListJobs gains arrayJobId and multiNodeJobId support. dependsOn (job dependencies), CancelJob/TerminateJob (not implemented at all, pre-existing), EventBridge forwarding of these new fields, and CloudFormation-provisioned multinode job definitions remain out of scope and are noted in docs/services/batch.md.