services/pcloud: add digest auth, recursive listing, and read-path caching#7617
Open
mro68 wants to merge 7 commits into
Open
services/pcloud: add digest auth, recursive listing, and read-path caching#7617mro68 wants to merge 7 commits into
mro68 wants to merge 7 commits into
Conversation
dc44569 to
bc35c51
Compare
pull Bot
pushed a commit
to ChecksumDev/rustic_core
that referenced
this pull request
May 25, 2026
## Summary Enable OpenDAL pCloud support in `rustic_core` so pCloud repositories can be used natively through the OpenDAL backend. ## Motivation `rustic_core` already supports multiple OpenDAL-backed services. This change enables pCloud in the backend feature set to make pCloud repositories usable without external workarounds. ## Changes - Enable the pCloud service feature in backend OpenDAL dependency configuration. ## Dependency / Release Note (Important) - This PR depends on the corresponding OpenDAL pCloud fixes and performance improvements: - apache/opendal#7617 - For production usage in rustic/rustic_core, this should be merged together with (or after) an OpenDAL release that includes those changes. ## Validation - Compiles and links with the updated OpenDAL pCloud implementation. - Rebased onto current `main` and conflict-resolved in `crates/backend/Cargo.toml` (keeping upstream `opendal = 0.56.0` updates while adding `services-pcloud`). - `cargo check -p rustic_backend --features opendal` passes. ## Notes - This PR is intentionally minimal and scoped to feature enablement in `rustic_core`. - Runtime behavior improvements are implemented in the corresponding OpenDAL PR.
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.
Summary
This PR improves OpenDAL's pCloud service for real-world rustic backup workloads.
It addresses authentication compatibility issues and significantly reduces repository scan/read latency by using pCloud-native capabilities and lightweight caches.
Problem
Root Cause
Changes
1) Digest authentication
getdigest+passworddigest) in service auth requests.2) Native recursive listing
pathin recursive responses.3) Read-path performance caching
path -> fileidfrom list/stat metadata.getfilelinkresults with expiration handling.getfilelink(fileid=...)when available.Validation
cargo test -p opendal-service-pcloud --libcargo build --bin rusticrepoinfosucceeds with digest-authenticated backend access.--dry-run prunesucceeds and no longer shows prior path/ID parsing failures.Downstream Impact
rustic_corefeature-enablement PR depends on these pCloud service improvements and should consume them via an OpenDAL release that includes this change set.Notes