Repository navigation
Fix mcli pre-release data safety and failure reporting defects - #74
Merged
Merged
Conversation
Refs #61. Verified distinct part contents, skip behavior, failure cleanup, and a 10 MiB SILO multipart SHA-256 round trip. Signed-off-by: Feng Ruohang <rh@vonng.com>
Refs #59. CLI tests and two SILO endpoints verify copied bytes and the exact sources removed by mv. Signed-off-by: Feng Ruohang <rh@vonng.com>
Refs #60. Preserve streaming copy scheduling. Reject expanded directory destinations and local path, symlink, and hardlink aliases of the source before any copy or source deletion. Signed-off-by: Feng Ruohang <rh@vonng.com>
Refs #63. Use the SDK request path with a decodable failure DTO, retain the detailed report, and return nonzero for any failed entity. Fall back only on NotImplemented. CLI HTTP, race, and real SILO import checks pass. Signed-off-by: Feng Ruohang <rh@vonng.com>
…peline Refs #64, #66. Keep bounded streaming queues, propagate partial preparation failures, and transfer immutable cumulative totals. Use atomic progress totals and drain workers on cancellation. CLI multi-source, 200-file accounting, and in-flight cancellation regressions pass with the race detector. Signed-off-by: Feng Ruohang <rh@vonng.com>
Refs #65 Signed-off-by: Feng Ruohang <rh@vonng.com>
Refs #67 Signed-off-by: Feng Ruohang <rh@vonng.com>
Refs #68 Signed-off-by: Feng Ruohang <rh@vonng.com>
Refs #69 Signed-off-by: Feng Ruohang <rh@vonng.com>
Refs #70 Signed-off-by: Feng Ruohang <rh@vonng.com>
Signed-off-by: Feng Ruohang <rh@vonng.com>
Refs #69 Signed-off-by: Feng Ruohang <rh@vonng.com>
Signed-off-by: Feng Ruohang <rh@vonng.com>
Execute generated curl commands through sh and cover a content type containing a semicolon. Refs #69 Signed-off-by: Feng Ruohang <rh@vonng.com>
Use a truncated HTTP error response instead of a closed port so the CLI regression does not depend on platform-specific connection-refused retries. Assert that the failed V2 request never falls back to the legacy import endpoint. Refs #63 Signed-off-by: Feng Ruohang <rh@vonng.com>
This was referenced Nov 8, 2026
Recognize XMinioAdminVersionMismatch alongside NotImplemented. Cover JSON and XML errors while keeping unrelated HTTP 426 responses from replaying the import. Refs #63 Signed-off-by: Feng Ruohang <rh@vonng.com>
For identical remote object paths, conservatively reject endpoints whose effective scheme, port and resolved addresses overlap. Honor custom resolver overrides and cache both results and errors per move session. Keep independent transfers streaming and preserve literal S3 keys. Refs #60 Signed-off-by: Feng Ruohang <rh@vonng.com>
Report aggregate failure while continuing independent deletions. Cover mixed results across the SDK batch boundary in text and JSON modes. Refs #75 Signed-off-by: Feng Ruohang <rh@vonng.com>
Explain partial copy and move continuation, cumulative JSON counters, POSIX share commands, strict attribute syntax, explicit IAM fallback and conservative endpoint checks. Remove stale candidate summaries from the READMEs. Refs #60, #63, #64, #66, #68, #69, #75 Signed-off-by: Feng Ruohang <rh@vonng.com>
Member
Author
|
Merged as
The fourteen linked issues are resolved. Bilingual documentation is prepared separately in pgsty/silo.pgsty.com#52, with its build and link checks passing. Release versioning, artifact publication, the server's client-version pin, and the site release announcement remain separate release steps; no tag or release was published by this work. |
This was referenced Nov 8, 2026
This was referenced Nov 8, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix the confirmed pre-release defects in copying, moving, removal, multipart downloads, sharing, and administrative imports.
Legacy IAM fallback accepts only explicit
NotImplementedorXMinioAdminVersionMismatcherrors; unrelated HTTP, transport, and decoding failures do not replay the import.Move-safety tradeoff
For the same literal bucket/key,
mvalso rejects endpoint names that share a scheme, effective port, and resolved IP. The check honors--resolveand caches both successful and failed lookups per session. This is a conservative rejection rule: shared-IP virtual hosts can be rejected even when their storage is independent. It does not establish backend identity across different addresses, ports, proxies, virtual-host addressing, or DNS changes. The changelog explains the boundary and requires independently established destination storage before any manual copy-and-delete workaround.No dependencies or release workflows change. Bilingual command-reference updates are a separate deliverable in pgsty/silo.pgsty.com#52; the source remains under
Unreleaseduntil an actual release is selected.Motivation and Context
Fixes #58, fixes #59, fixes #60, fixes #61, fixes #62, fixes #63, fixes #64, fixes #65, fixes #66, fixes #67, fixes #68, fixes #69, fixes #70, fixes #75.
Validation
go test -race -tags kqueue ./... -count=1) passes after the final follow-up changes (cmd: 320.549s), along with focused race tests, lint, dependency floors, branding, credits, and release-state checks.333060c4passed all five workflows. Merged main commitbfb58768passes all four push/main release gates, including Linux/macOS/Windows, Linux 386, cross-compilation, vulnerability checks, package/provenance checks, and container startup.check-release-commit.shalso confirms this exact commit is the main tip with green required workflows.make installwere also exercised.Checklist
Contribution Licensing
Contributed under the repository's AGPL-3.0-or-later license, with DCO sign-off as required by CONTRIBUTING.md. No CLA or separate license grant.