This is an automated email from the ASF dual-hosted git repository.

Xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new b495cf57f6 fix(ci): align remoteStorage nightly tests with binding 
builds (#9405)
b495cf57f6 is described below

commit b495cf57f66bb402f8fe959408f1c40773c0c6c5
Author: Xuanwo <[email protected]>
AuthorDate: Mon Nov 30 05:15:11 2026 +0800

    fix(ci): align remoteStorage nightly tests with binding builds (#9405)
    
    fix(ci): align remoteStorage cases with binding builds
    
    Forward the service feature selected by the Node.js and Python behavior 
builds. Keep remoteStorage scheduled for bindings that can enable it. The Java 
and .NET behavior jobs use the service set compiled into their release 
libraries.
---
 .github/scripts/test_behavior/plan.py      |  4 ++--
 .github/scripts/test_behavior/test_plan.py | 21 +++++++++++++++++++++
 bindings/nodejs/Cargo.toml                 |  1 +
 bindings/python/Cargo.toml                 |  1 +
 4 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/.github/scripts/test_behavior/plan.py 
b/.github/scripts/test_behavior/plan.py
index 5f92e21c94..9cc58e4895 100755
--- a/.github/scripts/test_behavior/plan.py
+++ b/.github/scripts/test_behavior/plan.py
@@ -279,9 +279,9 @@ def _filter_binding_cases(
     # These fixtures target core services without enabling bindings.
     cases = [v for v in cases if v["service"] not in ["github", "hf3fs"]]
 
-    # The default Java and .NET native libraries omit the services-ftp feature.
+    # The default Java and .NET native libraries omit FTP and remoteStorage.
     if language in ("java", "dotnet"):
-        cases = [v for v in cases if v["service"] != "ftp"]
+        cases = [v for v in cases if v["service"] not in {"ftp", 
"remotestorage"}]
 
     if language == "java":
         cases = [
diff --git a/.github/scripts/test_behavior/test_plan.py 
b/.github/scripts/test_behavior/test_plan.py
index b8e757aa2d..1c59a6bcb1 100644
--- a/.github/scripts/test_behavior/test_plan.py
+++ b/.github/scripts/test_behavior/test_plan.py
@@ -328,6 +328,27 @@ class BehaviorTestPlan(unittest.TestCase):
                 }
                 self.assertNotIn("ftp", binding_services)
 
+    def 
test_nightly_local_keeps_remotestorage_for_bindings_that_enable_it(self):
+        result = plan([], mode="nightly-local")
+        core_setups = {
+            setup
+            for target in result["core"]
+            for case in target["cases"]
+            if case["service"] == "remotestorage"
+            for setup in case["setups"]
+        }
+        self.assertIn("armadietto", core_setups)
+        self.assertIn("rsilo", core_setups)
+
+        bindings = {
+            language
+            for language in LANGUAGE_BINDING
+            for target in result[f"binding_{language}"]
+            for case in target["cases"]
+            if case["service"] == "remotestorage"
+        }
+        self.assertEqual(bindings, {"c", "cpp", "go", "nodejs", "python"})
+
     def test_nightly_live_ignores_empty_diff_and_excludes_local_setups(self):
         result = plan([], mode="nightly-live")
         self.assertTrue(result["components"]["core"])
diff --git a/bindings/nodejs/Cargo.toml b/bindings/nodejs/Cargo.toml
index 3771ab1987..6a1c9c1623 100644
--- a/bindings/nodejs/Cargo.toml
+++ b/bindings/nodejs/Cargo.toml
@@ -197,6 +197,7 @@ services-persy = ["opendal/services-persy"]
 services-postgresql = ["opendal/services-postgresql"]
 services-redb = ["opendal/services-redb"]
 services-redis = ["opendal/services-redis"]
+services-remotestorage = ["opendal/services-remotestorage"]
 services-rocksdb = ["opendal/services-rocksdb"]
 services-seafile = ["opendal/services-seafile"]
 services-sftp = ["opendal/services-sftp"]
diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml
index 98b46df46f..7d6fc1446e 100644
--- a/bindings/python/Cargo.toml
+++ b/bindings/python/Cargo.toml
@@ -218,6 +218,7 @@ services-qingstor = ["opendal/services-qingstor"]
 services-r2 = ["opendal/services-r2"]
 services-redb = ["opendal/services-redb"]
 services-redis = ["opendal/services-redis"]
+services-remotestorage = ["opendal/services-remotestorage"]
 services-rocksdb = [
   "opendal/services-rocksdb",
 ] # FIXME EXCLUDED: how to support rocksdb services in bindings?

Reply via email to