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 0563fe8786 ci: remove Cloudflare R2 behavior test fixture and matrix 
entries (#9054)
0563fe8786 is described below

commit 0563fe87860de990a7eab70801080c8fb9a9d1a2
Author: Xuanwo <[email protected]>
AuthorDate: Wed Nov 25 18:22:19 2026 +0800

    ci: remove Cloudflare R2 behavior test fixture and matrix entries (#9054)
    
    ci: remove the R2 behavior-test fixture
---
 .github/scripts/test_behavior/plan.py      |  4 +--
 .github/scripts/test_behavior/test_plan.py |  9 +++----
 .github/services/r2/r2/action.yml          | 40 ------------------------------
 3 files changed, 4 insertions(+), 49 deletions(-)

diff --git a/.github/scripts/test_behavior/plan.py 
b/.github/scripts/test_behavior/plan.py
index 9de24e2d49..956a4bd3e3 100755
--- a/.github/scripts/test_behavior/plan.py
+++ b/.github/scripts/test_behavior/plan.py
@@ -36,7 +36,7 @@ LANGUAGE_BINDING = ["java", "python", "ruby", "nodejs", "go", 
"c", "cpp", "dotne
 INTEGRATIONS = ["object_store"]
 
 SHARED_SERVICE_SCHEMES = {
-    "s3": {"s3", "minio", "r2"},
+    "s3": {"s3", "minio"},
 }
 
 VALID_MODES = ("pr", "nightly-local", "nightly-live")
@@ -316,7 +316,6 @@ def _filter_binding_cases(
                 # opendal-go-services does not provide these services yet.
                 "tos",
                 "minio",
-                "r2",
             ]
         ]
 
@@ -339,7 +338,6 @@ def _filter_binding_cases(
                 "obs",
                 "oss",
                 "minio",
-                "r2",
                 "s3",
                 "webdav",
                 "webhdfs",
diff --git a/.github/scripts/test_behavior/test_plan.py 
b/.github/scripts/test_behavior/test_plan.py
index 901a9854f0..84ac75084b 100644
--- a/.github/scripts/test_behavior/test_plan.py
+++ b/.github/scripts/test_behavior/test_plan.py
@@ -107,7 +107,7 @@ class BehaviorTestPlan(unittest.TestCase):
         cases = [v["service"] for v in result["core"][0]["cases"]]
         self.assertEqual(cases, ["hdfs_native"])
 
-    def test_s3_crate_schedules_local_presets_and_reports_live_coverage(self):
+    def test_s3_crate_schedules_local_presets(self):
         result = plan(["core/services/s3/src/lib.rs"])
         core_cases = {
             (case["service"], case["feature"])
@@ -118,9 +118,6 @@ class BehaviorTestPlan(unittest.TestCase):
             core_cases,
             {("s3", "services-s3"), ("minio", "services-minio")},
         )
-        self.assertTrue(
-            any("'r2'" in note and "Nightly Tier B" in note for note in 
result["notes"])
-        )
         for language in LANGUAGE_BINDING:
             self.assertFalse(result["components"][f"binding_{language}"], 
language)
 
@@ -147,11 +144,11 @@ class BehaviorTestPlan(unittest.TestCase):
             {
                 ("s3", "services-s3"),
                 ("minio", "services-minio"),
-                ("r2", "services-r2"),
             },
         )
         self.assertTrue({"minio", "r2"}.isdisjoint(go_services))
-        self.assertTrue({"minio", "r2"} <= ruby_services)
+        self.assertIn("minio", ruby_services)
+        self.assertNotIn("r2", ruby_services)
 
     def test_hf3fs_uses_ubuntu_22(self):
         result = plan(["core/services/hf3fs/src/lib.rs"])
diff --git a/.github/services/r2/r2/action.yml 
b/.github/services/r2/r2/action.yml
deleted file mode 100644
index 8f54a4fedc..0000000000
--- a/.github/services/r2/r2/action.yml
+++ /dev/null
@@ -1,40 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-name: r2
-description: "Behavior test for the Cloudflare R2 provider preset. This 
service is sponsored by @Xuanwo."
-
-runs:
-  using: "composite"
-  steps:
-    - name: Setup
-      uses: 
1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
-      with:
-        export-env: true
-      env:
-        OPENDAL_R2_BUCKET: op://services/r2/bucket
-        OPENDAL_R2_ENDPOINT: op://services/r2/endpoint
-        OPENDAL_R2_ACCESS_KEY_ID: op://services/r2/access_key_id
-        OPENDAL_R2_SECRET_ACCESS_KEY: op://services/r2/secret_access_key
-
-    - name: Add test overrides
-      shell: bash
-      run: |
-        # R2 does not enforce destination copy conditions or delete If-Match.
-        cat << EOF >> $GITHUB_ENV
-        
OPENDAL_TEST_CAPABILITY_OVERRIDES=stat_with_version=false,read_with_version=false,delete_with_version=false,list_with_versions=false,list_with_deleted=false,copy_with_source_version=false,copy_with_if_not_exists=false,copy_with_if_match=false,delete_with_if_match=false,restore=false,restore_with_version=false,restore_with_if_not_exists=false,write_can_append=false,delete_max_size=700,stat_with_override_cache_control=false,stat_with_override_content_disposition=false,stat_with_ove
 [...]
-        EOF

Reply via email to