feat(rc-admin)!: add bounded client devnull diagnostics - #286
Conversation
|
Validation is complete for exact head Local gates on the final stacked commit:
Focused combined validation:
Remote gates:
The draft PR is open and its true stacked base is restored to A local live beta.10 container run was not performed because the Docker daemon is unavailable in this workspace; the validation claim is limited to the source-backed protocol audit, bounded mock/request-capture tests, local suites, and GitHub checks above. |
1fb67e1 to
a1dcc7e
Compare
e162082 to
dfdb835
Compare
|
CI follow-up for head The previous macOS test failure was a test synchronization timeout in The fix changes only the two test channel waits from 5 to 15 seconds. Production timeout, cancellation, upload, and traffic-limit behavior is unchanged. Validation after the fix:
The new GitHub checks are now authoritative. |
Related issue
Closes rustfs/backlog#1404
Depends on the bounded diagnostic snapshots merged in #285.
Background and user impact
RustFS beta.10 implements one real active diagnostic performance route: client-to-server upload-to-devnull. Other object, network, and site speedtest families are incomplete or placeholder implementations.
rcneeds to expose only the measured route with strict load limits, fail-closed capability checks, cancellation, and no automatic retries.Solution
rc admin diagnostics client-devnull ALIAS --size 8MiB --timeout 30s --concurrency 1 --yes.kind=client-devnull,measured=true, exactrx_bytes, and finite positive duration and throughput.admin_operationsfamily.BREAKING contract note
BREAKING: This PR updates the protected
docs/reference/rc/admin.mdbehavior contract for a new additive active diagnostics command. It does not change output v1/v2/v3 schemas, config schema, exit-code definitions, or existing command behavior. No schema migration is required.Validation
Exact head:
73cc41fca3d34edd7bb743e7c871d531a153c673cargo fmt --all --checkCARGO_BUILD_JOBS=2 cargo clippy --workspace -- -D warningsCARGO_BUILD_JOBS=2 cargo test --workspaceLimitations