Commit e1a0c4b
feat(batch-processing-cli): add --max-image-failure-rate flag (#2360)
* feat(batch-processing-cli): add --max-image-failure-rate flag
Exposes the per-shard image-failure tolerance knob through the CLI.
Adds the flag to `process-images-with-workflow` and `restart-job`,
threads it through `WorkflowProcessingJobV1` to the wire as
`maxImageFailureRate`, and appends it to the restart override
payload parallel to `maxParallelTasks`.
Pure pass-through plumbing; the threshold is enforced inside the
workflows-data-processor worker (shipped separately in the
batch-processing-services repo). The server is the source of truth
for `[0.0, 1.0]` validation — no client-side range check is added,
matching the existing behavior of other numeric override flags in
this command.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* add openspec to gitignore
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Paweł Pęczek <146137186+PawelPeczek-Roboflow@users.noreply.github.com>1 parent f1ed39c commit e1a0c4b
4 files changed
Lines changed: 42 additions & 1 deletion
File tree
- inference_cli/lib/roboflow_cloud/batch_processing
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
| 404 | + | |
404 | 405 | | |
405 | 406 | | |
406 | 407 | | |
| |||
431 | 432 | | |
432 | 433 | | |
433 | 434 | | |
| 435 | + | |
434 | 436 | | |
435 | 437 | | |
436 | 438 | | |
| |||
755 | 757 | | |
756 | 758 | | |
757 | 759 | | |
| 760 | + | |
758 | 761 | | |
759 | 762 | | |
760 | 763 | | |
| |||
765 | 768 | | |
766 | 769 | | |
767 | 770 | | |
| 771 | + | |
768 | 772 | | |
769 | 773 | | |
770 | 774 | | |
| |||
784 | 788 | | |
785 | 789 | | |
786 | 790 | | |
| 791 | + | |
787 | 792 | | |
788 | 793 | | |
789 | 794 | | |
| |||
799 | 804 | | |
800 | 805 | | |
801 | 806 | | |
| 807 | + | |
| 808 | + | |
802 | 809 | | |
803 | 810 | | |
804 | 811 | | |
| |||
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
192 | 205 | | |
193 | 206 | | |
194 | 207 | | |
| |||
261 | 274 | | |
262 | 275 | | |
263 | 276 | | |
| 277 | + | |
264 | 278 | | |
265 | 279 | | |
266 | 280 | | |
| |||
591 | 605 | | |
592 | 606 | | |
593 | 607 | | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
594 | 621 | | |
595 | 622 | | |
596 | 623 | | |
| |||
610 | 637 | | |
611 | 638 | | |
612 | 639 | | |
| 640 | + | |
613 | 641 | | |
614 | 642 | | |
615 | 643 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
147 | 150 | | |
148 | 151 | | |
149 | 152 | | |
| |||
0 commit comments