Skip to content

Conversation

@sundy-li
Copy link
Member

@sundy-li sundy-li commented Dec 23, 2025

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

chore(query): allow_anonymous when key token is empty

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

This change is Reviewable

@github-actions github-actions bot added the pr-chore this PR only has small changes that no need to record, like coding styles. label Dec 23, 2025
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@bohutang bohutang added the ci-cloud Build docker image for cloud test label Dec 23, 2025
@bohutang
Copy link
Member

@codex review

@bohutang bohutang removed the ci-cloud Build docker image for cloud test label Dec 23, 2025
@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. 🚀

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@bohutang bohutang added the ci-cloud Build docker image for cloud test label Dec 23, 2025
@github-actions
Copy link
Contributor

Docker Image for PR

  • tag: pr-19143-236d673-1766486753

note: this image tag is only available for internal use.

… provided

Remove the restrictive disable_credential_loader condition that prevented
anonymous access to public S3 buckets in Databend Cloud environment.

When users create an external stage pointing to a public bucket without
providing credentials, OpenDAL should use unsigned requests. The previous
condition required disable_credential_loader=true which is never set in
cloud environments that rely on EC2/K8s metadata for credentials.

OpenDAL will still prefer credentials from environment/EC2 metadata when
available, and only fall back to unsigned requests when no credentials
can be obtained from any source.
@bohutang bohutang added ci-cloud Build docker image for cloud test and removed ci-cloud Build docker image for cloud test labels Dec 23, 2025
@github-actions
Copy link
Contributor

Docker Image for PR

  • tag: pr-19143-cba9a7b-1766488178

note: this image tag is only available for internal use.

…sionDenied

Restore unconditional allow_anonymous() in S3 operator initialization.
This enables accessing public S3 buckets without explicit credentials.
OpenDAL will prefer credentials when available and fall back to
anonymous access only when needed.

Also update check_operator() to accept PermissionDenied as a valid
response. When allow_anonymous() is enabled and anonymous stat is
attempted on a private bucket, it returns 403 instead of 404 for
non-existent files. This is expected behavior - it just means the
bucket exists but anonymous access is denied.

Remove the unreliable external S3 test that depends on the wizardbend
bucket being accessible from CI environments.
@github-actions
Copy link
Contributor

Docker Image for PR

  • tag: pr-19143-4971002-1766492042

note: this image tag is only available for internal use.

@bohutang bohutang added ci-cloud Build docker image for cloud test and removed ci-cloud Build docker image for cloud test labels Dec 23, 2025
@github-actions
Copy link
Contributor

Docker Image for PR

  • tag: pr-19143-67134d6-1766498809

note: this image tag is only available for internal use.

@bohutang bohutang merged commit 303ebd3 into databendlabs:main Dec 23, 2025
175 of 177 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-cloud Build docker image for cloud test pr-chore this PR only has small changes that no need to record, like coding styles.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants