fix(rustfs-mirror): the rate cap must parse; mc refuses the /s its help shows #522

Merged
binjovi-bot merged 1 commit from sean/rustfs-mirror-upload-cap-syntax into trunk 2026-09-10 02:07:37 +00:00 AGit
Owner

mc mirror --help documents --limit-upload in KiB/s, MiB/s, GiB/s and then refuses the suffix (unhandled size name: mib/s, measured 2026-09-10 01:57 UTC); every capped pass failed in under a second. 100MiB parses. Guard pins the value with a negative control for the refused form. https://claude.ai/code/session_01KZoQin34jeyt6nDGqvJA76

mc mirror --help documents --limit-upload in KiB/s, MiB/s, GiB/s and then refuses the suffix (unhandled size name: mib/s, measured 2026-09-10 01:57 UTC); every capped pass failed in under a second. 100MiB parses. Guard pins the value with a negative control for the refused form. https://claude.ai/code/session_01KZoQin34jeyt6nDGqvJA76
fix(rustfs-mirror): the rate cap must parse; mc refuses the "/s" its help shows
All checks were successful
binjovi/ci Binjovi completed the frozen plan
6b6c52c56c
`mc mirror --help` documents --limit-upload "in KiB/s, MiB/s, GiB/s", and
the parser then refuses that suffix: "unhandled size name: mib/s", measured
2026-09-10 01:57 UTC on RELEASE.2025-04-08 the moment the capped zot mirror
started. Every pass failed in under a second and copied nothing, which is
the one outcome worse than no cap. `100MiB` parses; the value is the same.

The guard now pins the exact value, and a second negative control writes
the refused suffix back and is confirmed detected, so the form mc accepts
is a reviewed decision rather than a reading of its help text.

Claude-Session: https://claude.ai/code/session_01KZoQin34jeyt6nDGqvJA76
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/seanfarm!522
No description provided.