Skip to content

feat(bindings): enable remotestorage service - #9501

Merged
Xuanwo merged 3 commits into
apache:mainfrom
jonocodes:feat/bindings-remotestorage
Dec 2, 2026
Merged

Xuanwo merged 3 commits into
apache:mainfrom
jonocodes:feat/bindings-remotestorage

Conversation

@jonocodes

@jonocodes jonocodes commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

No issue. Follow-up to the remoteStorage service (#9359, #9443; proposal in Discussion #8443).

Rationale for this change

#9405 declared services-remotestorage for the Python and Node.js behavior builds, but no published package includes it. PyPI wheels build a services-platform-* set, each of which includes services-all. npm packages build services-all on Linux and macOS but default on Windows (release_nodejs.yml). Java and .NET build their default feature sets, which excluded it. Recent services such as Baidu Netdisk (#8516) and GooseFS (#7428) enabled these bindings in their service PRs. remoteStorage only uses the HTTP stack, so it adds no native dependencies.

What changes are included in this PR?

 bindings/python/Cargo.toml   services-all
+  'services-remotestorage'
 bindings/nodejs/Cargo.toml   default (also covers services-all)
+  "services-remotestorage"
 bindings/java/Cargo.toml     default opendal features
+  "services-remotestorage"
 bindings/dotnet/Cargo.toml   default opendal features
+  "services-remotestorage"
 dev/src/generate/{java,dotnet}.rs   enabled_service()
-  "remotestorage" => false

Regenerated: Python config.py/services.rs/services.pyi, Java ServiceConfig.java, .NET RemotestorageServiceConfig.cs, website/data/services.json.

The Java config and builder exclude token from toString(), as java.j2 already does for Baidu Netdisk, Swift and SFTP credentials; RemotestorageServiceConfigTest covers it.

Nightly behavior-test planning (.github/scripts/test_behavior/plan.py; pull requests run only the binding smoke setups):

  • Nightly Java and .NET binding jobs now schedule remoteStorage.
  • Java joins C/C++/Go on the RSilo setup. Its read-only suite issues ranged reads, and armadietto answers them with 200 OK, which the service rejects by design (feat(services/remotestorage): add read-only remoteStorage service #9359).
  • .NET stays on the default (armadietto) setup, like Python and Node.js; it passes there.

Are there any user-facing changes?

Yes. The next Python, Node.js, Java and .NET releases can open remotestorage operators, and Python and .NET get typed configs (RemotestorageConfig, RemotestorageServiceConfig).

Breaking changes

Evidence

Each binding's CI command was run against the local fixtures from .github/services/remotestorage/. Java and .NET used their default features; Python and Node.js used services-remotestorage, as their behavior builds do. A wrong-token run shows how many tests reach the server.

Binding RSilo 0.4.0 RSilo, wrong token armadietto
Java 41 tests, 0 failed (9 run, 32 skipped by capability) fails with PermissionDenied … Invalid token 53 tests, 20 failed: 12 ranged reads (200 OK for ranged read instead of 206), 7 rate-limited (429), 1 Content-Type stored as application/json; charset=utf-8
.NET 170 passed 54 failed 170 passed
Python 433 passed, 259 skipped 80 failed 357 passed, 335 skipped
Node.js 575 passed, 147 skipped 20 failed 559 passed, 163 skipped

Python and Node.js already run on armadietto in the nightly plan from #9405. The armadietto column is from a rerun after rebasing onto main, which moved armadietto to the image with remotestorage/armadietto#183 (#9496).

AI Usage Statement

  • Harness: Claude Code
  • Model: Claude Opus 5.5 (claude-opus-5-5)
  • Effort: high
  • Role: Checked binding precedents, made the feature and planner changes, ran the generators, and ran the four binding suites against RSilo and armadietto, and ran a two-axis code review (standards and spec) through sub-agents. I reviewed the evidence and the routing decisions, and I am accountable for the change. Unknown: the Python and Node.js services-all release builds were not run locally.

Add services-remotestorage to the published service sets of the Python,
Node.js, Java and .NET bindings, and regenerate their service configs.

Schedule the Java behavior tests on the RSilo setup: the Java read-only
suite issues ranged reads, which armadietto answers with 200 OK.
…n Java

Add the Remotestorage scheme to the Python type stubs, and exclude the
bearer token from the Java config and builder toString(), as for other
credential fields. Rename the planner test to match what it checks.
@jonocodes jonocodes mentioned this pull request Dec 2, 2026
3 of 5 tasks
@github-actions github-actions Bot added bindings/dotnet bindings/java bindings/nodejs bindings/python releases-note/feat The PR implements a new feature or has a title that begins with "feat" size:L This PR changes 100-499 lines, ignoring generated files. website labels Dec 2, 2026
Comment thread bindings/nodejs/Cargo.toml Resolved
The Windows npm packages build the default feature set, not
services-all, so enable remotestorage in default to ship it on every
release target.
@Xuanwo
Xuanwo merged commit 80e5ee9 into apache:main Dec 2, 2026
94 of 96 checks passed
@jonocodes
jonocodes deleted the feat/bindings-remotestorage branch December 3, 2026 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bindings/dotnet bindings/java bindings/nodejs bindings/python releases-note/feat The PR implements a new feature or has a title that begins with "feat" size:L This PR changes 100-499 lines, ignoring generated files. website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants