You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2026/05/02 13:17:57 UTC
(opendal) branch main updated: ci: fix main workflow failures (#7476)
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 be64f9caa ci: fix main workflow failures (#7476)
be64f9caa is described below
commit be64f9caafa70431c3eeefbf369184169641dea0
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Sat May 2 21:17:42 2026 +0800
ci: fix main workflow failures (#7476)
---
.../actions/test_behavior_binding_java/action.yaml | 2 +-
.../aliyun_drive/aliyun_drive/disable_action.yml | 2 +-
.github/services/azblob/azure_azblob/action.yml | 2 +-
.github/services/azdls/azdls/action.yml | 2 +-
.github/services/azfile/azfile/action.yml | 2 +-
.github/services/b2/b2/action.yml | 2 +-
.github/services/cos/cos/action.yml | 2 +-
.../services/dropbox/dropbox/disable_action.yml | 2 +-
.github/services/gcs/gcs/action.yml | 2 +-
.../gcs/gcs_with_default_storage_class/action.yml | 2 +-
.github/services/gdrive/gdrive/action.yml | 2 +-
.github/services/hdfs/hdfs_default_gcs/action.yml | 2 +-
.github/services/hf/hf_bucket/action.yml | 2 +-
.github/services/hf/hf_dataset/action.yml | 2 +-
.github/services/koofr/koofr/disable_action.yml | 2 +-
.github/services/oss/oss/action.yml | 2 +-
.../services/oss/oss_with_versioning/action.yml | 2 +-
.github/services/s3/aws_s3/action.yml | 2 +-
.../s3/aws_s3_with_list_objects_v1/action.yml | 2 +-
.github/services/s3/aws_s3_with_sse_c/action.yml | 2 +-
.../services/s3/aws_s3_with_versioning/action.yml | 2 +-
.../s3/aws_s3_with_virtual_host/action.yml | 2 +-
.github/services/s3/r2/disabled_action.yml | 2 +-
.github/workflows/ci_bindings_haskell.yml | 2 +-
.github/workflows/ci_bindings_ocaml.yml | 9 ---------
.github/workflows/discussion-thread-link.yml | 22 +++++++++++++++++-----
.github/workflows/docs.yml | 9 ---------
.github/workflows/test_behavior_binding_java.yml | 7 +++++++
bindings/python/tests/test_stat_conditional.py | 10 ++++++++--
29 files changed, 56 insertions(+), 49 deletions(-)
diff --git a/.github/actions/test_behavior_binding_java/action.yaml b/.github/actions/test_behavior_binding_java/action.yaml
index 8adbb3142..7bfd93497 100644
--- a/.github/actions/test_behavior_binding_java/action.yaml
+++ b/.github/actions/test_behavior_binding_java/action.yaml
@@ -41,7 +41,7 @@ runs:
- name: Run Test Binding Java
shell: bash
working-directory: bindings/java
- run: ./mvnw test -Dtest="behavior.*Test"
+ run: mvn -B -ntp test -Dtest="behavior.*Test"
env:
OPENDAL_TEST: ${{ inputs.service }}
EOF
diff --git a/.github/services/aliyun_drive/aliyun_drive/disable_action.yml b/.github/services/aliyun_drive/aliyun_drive/disable_action.yml
index a0dd6253a..dfc96b777 100644
--- a/.github/services/aliyun_drive/aliyun_drive/disable_action.yml
+++ b/.github/services/aliyun_drive/aliyun_drive/disable_action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/azblob/azure_azblob/action.yml b/.github/services/azblob/azure_azblob/action.yml
index 5343d7baa..fb1415367 100644
--- a/.github/services/azblob/azure_azblob/action.yml
+++ b/.github/services/azblob/azure_azblob/action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/azdls/azdls/action.yml b/.github/services/azdls/azdls/action.yml
index 9707f1d01..260f5c5e4 100644
--- a/.github/services/azdls/azdls/action.yml
+++ b/.github/services/azdls/azdls/action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/azfile/azfile/action.yml b/.github/services/azfile/azfile/action.yml
index 3d1db4311..aba3cdf69 100644
--- a/.github/services/azfile/azfile/action.yml
+++ b/.github/services/azfile/azfile/action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/b2/b2/action.yml b/.github/services/b2/b2/action.yml
index 340ca82ef..25bebf18a 100644
--- a/.github/services/b2/b2/action.yml
+++ b/.github/services/b2/b2/action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/cos/cos/action.yml b/.github/services/cos/cos/action.yml
index 2f470fcc5..a5a9ecd0b 100644
--- a/.github/services/cos/cos/action.yml
+++ b/.github/services/cos/cos/action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/dropbox/dropbox/disable_action.yml b/.github/services/dropbox/dropbox/disable_action.yml
index 7f9dc768b..a69c8aafe 100644
--- a/.github/services/dropbox/dropbox/disable_action.yml
+++ b/.github/services/dropbox/dropbox/disable_action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup credentials
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/gcs/gcs/action.yml b/.github/services/gcs/gcs/action.yml
index f157d3f63..715250ef2 100644
--- a/.github/services/gcs/gcs/action.yml
+++ b/.github/services/gcs/gcs/action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/gcs/gcs_with_default_storage_class/action.yml b/.github/services/gcs/gcs_with_default_storage_class/action.yml
index a5a648e77..da3f483cc 100644
--- a/.github/services/gcs/gcs_with_default_storage_class/action.yml
+++ b/.github/services/gcs/gcs_with_default_storage_class/action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/gdrive/gdrive/action.yml b/.github/services/gdrive/gdrive/action.yml
index d7d9f7312..78a30ddbc 100644
--- a/.github/services/gdrive/gdrive/action.yml
+++ b/.github/services/gdrive/gdrive/action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/hdfs/hdfs_default_gcs/action.yml b/.github/services/hdfs/hdfs_default_gcs/action.yml
index b264e8e70..7cb0e8615 100644
--- a/.github/services/hdfs/hdfs_default_gcs/action.yml
+++ b/.github/services/hdfs/hdfs_default_gcs/action.yml
@@ -27,7 +27,7 @@ runs:
distribution: zulu
java-version: 11
- name: Load secrets
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/hf/hf_bucket/action.yml b/.github/services/hf/hf_bucket/action.yml
index d0269ee22..18ffc7730 100644
--- a/.github/services/hf/hf_bucket/action.yml
+++ b/.github/services/hf/hf_bucket/action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/hf/hf_dataset/action.yml b/.github/services/hf/hf_dataset/action.yml
index caf2dc637..920736ddf 100644
--- a/.github/services/hf/hf_dataset/action.yml
+++ b/.github/services/hf/hf_dataset/action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/koofr/koofr/disable_action.yml b/.github/services/koofr/koofr/disable_action.yml
index e6545217f..03f7de0fc 100644
--- a/.github/services/koofr/koofr/disable_action.yml
+++ b/.github/services/koofr/koofr/disable_action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/oss/oss/action.yml b/.github/services/oss/oss/action.yml
index d89eb48c6..266697f79 100644
--- a/.github/services/oss/oss/action.yml
+++ b/.github/services/oss/oss/action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/oss/oss_with_versioning/action.yml b/.github/services/oss/oss_with_versioning/action.yml
index d7dea2022..ce6feecf7 100644
--- a/.github/services/oss/oss_with_versioning/action.yml
+++ b/.github/services/oss/oss_with_versioning/action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/s3/aws_s3/action.yml b/.github/services/s3/aws_s3/action.yml
index 8320fcc24..13622c405 100644
--- a/.github/services/s3/aws_s3/action.yml
+++ b/.github/services/s3/aws_s3/action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/s3/aws_s3_with_list_objects_v1/action.yml b/.github/services/s3/aws_s3_with_list_objects_v1/action.yml
index 13a10074d..90bbb961f 100644
--- a/.github/services/s3/aws_s3_with_list_objects_v1/action.yml
+++ b/.github/services/s3/aws_s3_with_list_objects_v1/action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/s3/aws_s3_with_sse_c/action.yml b/.github/services/s3/aws_s3_with_sse_c/action.yml
index eb009a6f0..050a17162 100644
--- a/.github/services/s3/aws_s3_with_sse_c/action.yml
+++ b/.github/services/s3/aws_s3_with_sse_c/action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/s3/aws_s3_with_versioning/action.yml b/.github/services/s3/aws_s3_with_versioning/action.yml
index dcbb70020..01120c5a1 100644
--- a/.github/services/s3/aws_s3_with_versioning/action.yml
+++ b/.github/services/s3/aws_s3_with_versioning/action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/s3/aws_s3_with_virtual_host/action.yml b/.github/services/s3/aws_s3_with_virtual_host/action.yml
index 1f9c03595..08056a146 100644
--- a/.github/services/s3/aws_s3_with_virtual_host/action.yml
+++ b/.github/services/s3/aws_s3_with_virtual_host/action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/services/s3/r2/disabled_action.yml b/.github/services/s3/r2/disabled_action.yml
index 10f437371..8a54f78b5 100644
--- a/.github/services/s3/r2/disabled_action.yml
+++ b/.github/services/s3/r2/disabled_action.yml
@@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
- uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+ uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
with:
export-env: true
env:
diff --git a/.github/workflows/ci_bindings_haskell.yml b/.github/workflows/ci_bindings_haskell.yml
index 1472cb337..acbb9c267 100644
--- a/.github/workflows/ci_bindings_haskell.yml
+++ b/.github/workflows/ci_bindings_haskell.yml
@@ -126,7 +126,7 @@ jobs:
# name: bindings-haskell-sdist
# - name: Load secret
# id: op-load-secret
-# uses: 1password/load-secrets-action@13f58eec611f8e5db52ec16247f58c508398f3e6 # v3
+# uses: 1Password/load-secrets-action@dafbe7cb03502b260e2b2893c753c352eee545bf # v3.2.1
# with:
# export-env: true
# env:
diff --git a/.github/workflows/ci_bindings_ocaml.yml b/.github/workflows/ci_bindings_ocaml.yml
index b1e0d709e..c0612031c 100644
--- a/.github/workflows/ci_bindings_ocaml.yml
+++ b/.github/workflows/ci_bindings_ocaml.yml
@@ -58,15 +58,6 @@ jobs:
- name: Checkout PR
uses: actions/checkout@v6
- - name: Cache OPAM dependencies
- uses: actions/cache@v5
- with:
- path: ~/.opam
- key: ${{ runner.os }}-opam-${{ hashFiles('bindings/ocaml/dune-project') }}
- restore-keys: |
- ${{ runner.os }}-opam-
- ${{ runner.os }}-opam-doc-
-
- name: Setup OCaml toolchain
uses: ./.github/actions/setup-ocaml
with:
diff --git a/.github/workflows/discussion-thread-link.yml b/.github/workflows/discussion-thread-link.yml
index 06ec75691..a08d7ca68 100644
--- a/.github/workflows/discussion-thread-link.yml
+++ b/.github/workflows/discussion-thread-link.yml
@@ -259,11 +259,23 @@ jobs:
}
}
`;
- await github.graphql(mutation, {
- discussionId: discussion.node_id,
- body: newBody,
- });
- core.info('Updated discussion via GraphQL');
+ try {
+ await github.graphql(mutation, {
+ discussionId: discussion.node_id,
+ body: newBody,
+ });
+ core.info('Updated discussion via GraphQL');
+ } catch (error) {
+ const message = error && error.message ? error.message : String(error);
+ if (message.includes('Resource not accessible by integration')) {
+ core.warning(
+ `Unable to update discussion with the default integration token. ` +
+ `Computed thread URL: ${threadUrl}`
+ );
+ return;
+ }
+ throw error;
+ }
}
core.info(`Appended ${threadUrl}`);
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 7ae0e6500..c63389fd7 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -317,15 +317,6 @@ jobs:
steps:
- uses: actions/checkout@v6
- - name: Cache OPAM dependencies
- uses: actions/cache@v5
- with:
- path: ~/.opam
- key: ${{ runner.os }}-opam-doc-${{ hashFiles('bindings/ocaml/dune-project') }}
- restore-keys: |
- ${{ runner.os }}-opam-doc-
- ${{ runner.os }}-opam-
-
- name: Cache Dune build artifacts
uses: actions/cache@v5
with:
diff --git a/.github/workflows/test_behavior_binding_java.yml b/.github/workflows/test_behavior_binding_java.yml
index 39cf15b06..e935aceb6 100644
--- a/.github/workflows/test_behavior_binding_java.yml
+++ b/.github/workflows/test_behavior_binding_java.yml
@@ -53,6 +53,13 @@ jobs:
echo "OP_CONNECT_HOST=${{ secrets.OP_CONNECT_HOST }}" >> "$GITHUB_ENV"
echo "OP_CONNECT_TOKEN=${{ secrets.OP_CONNECT_TOKEN }}" >> "$GITHUB_ENV"
+ - name: Set up JDK 25
+ uses: actions/setup-java@v5
+ with:
+ distribution: zulu
+ java-version: 25
+ cache: 'maven'
+
- name: Test Core
uses: ./.github/actions/test_behavior_binding_java
with:
diff --git a/bindings/python/tests/test_stat_conditional.py b/bindings/python/tests/test_stat_conditional.py
index 1b4b26ce4..1a79604b1 100644
--- a/bindings/python/tests/test_stat_conditional.py
+++ b/bindings/python/tests/test_stat_conditional.py
@@ -44,7 +44,10 @@ def test_stat_accepts_if_none_match_param(
def test_stat_accepts_version_param(service_name, operator, async_operator):
path = f"test_stat_version_{uuid4()}.txt"
operator.write(path, b"test content")
- operator.stat(path, version="v1")
+ meta = operator.stat(path)
+ if meta.version is None:
+ pytest.skip("backend does not return version")
+ operator.stat(path, version=meta.version)
@pytest.mark.need_capability("write", "stat")
@@ -86,4 +89,7 @@ async def test_async_stat_accepts_version_param(
):
path = f"test_async_stat_version_{uuid4()}.txt"
await async_operator.write(path, b"test content")
- await async_operator.stat(path, version="v1")
+ meta = await async_operator.stat(path)
+ if meta.version is None:
+ pytest.skip("backend does not return version")
+ await async_operator.stat(path, version=meta.version)