bug(services): fix hf3fs list capabilities, remotestorage 429 ErrorKind, dropbox OAuth form encoding, git URI/LFS errors, and gcs-grpc TLS coupling

Open
#9,553 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
rust
Domain
backend, databases

Research direction

Read the service implementations and manifests named in the issue: core/services/hf3fs, remotestorage/core.rs, dropbox/core.rs, git/lib.rs, git/config.rs, git/core.rs, git/reader.rs, and gcs-grpc/Cargo.toml. Start by checking each acceptance criterion against its referenced code and existing tests, especially the Git 404/410 cache refresh flow. Done means all five service changes are verified, via_iter("git", ...) still works, and the TLS feature impact is documented.

Written by the indexing model from the issue text.

Description

bug services/dropbox services/gcs_grpc services/git services/hf3fs services/remotestorage
Background

Pre-release service audits identified several concrete, verifiable issues across five services:

  1. hf3fs (core/services/hf3fs):
    • Hf3fsBackend delegates list to opendal_service_fs::Fs (backend.rs:220-222), yet omits list_with_recursive, list_with_start_after, and list_with_glob from capability() (verify against a real HF3FS mount).
    • Hf3fsWriter (writer.rs:51-69) retains unreachable if_not_exists code after #9302 removed the capability flag; clean up dead branches while keeping the capability disabled.
  2. remotestorage (core/services/remotestorage):
    • core.rs:227-231 maps HTTP 429 to temporary ErrorKind::Unexpected instead of temporary ErrorKind::RateLimited.
  3. dropbox (core/services/dropbox):
    • DropboxCore::sign (core.rs:74-88, #9444) builds an application/x-www-form-urlencoded body via string formatting without percent-encoding refresh_token, client_id, and client_secret, and parses DropboxTokenResponse JSON without first checking resp.status().is_success().
  4. git (core/services/git):
    • lib.rs:28-30 states from_uri is unsupported while Operator::via_iter (builder.rs:172) relies on GitConfig::from_uri (config.rs:98-100); align docs and from_uri behavior without breaking Operator::via_iter("git", ...).
    • Review LFS non-2xx error classification (core.rs:552-557, reader.rs:176-193) while preserving the 404/410 cached-action refresh flow (reader.rs:101).
  5. gcs-grpc (core/services/gcs-grpc):
    • Cargo.toml:50-55 unconditionally enables tonic/tls-aws-lc, pulling aws-lc-rs CMake builds into --all-features and services-go-common. Evaluate gating or aligning tonic TLS features while documenting target/profile build impact.
Acceptance Criteria
  • Forward verified Fs list capabilities and remove dead if_not_exists branches in hf3fs.
  • Map HTTP 429 to temporary ErrorKind::RateLimited in remotestorage.
  • Percent-encode OAuth form parameters and check HTTP status before JSON deserialization in DropboxCore::sign.
  • Align git's from_uri docs/behavior (keeping via_iter working) and review LFS error classification while preserving 404/410 cache refresh.
  • Evaluate decoupling gcs-grpc's unconditional tonic/tls-aws-lc dependency.

This issue was drafted and independently verified with AI assistance as part of the Apache OpenDAL v0.60.0 pre-release audit.

Dominant language
Rust
Stars
5.5k
Forks
869
Avg merge
8h 2m
Merged PRs (30d)
862

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/opendal

All issues in apache/opendal

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.