Skip to content

Add support for anonymous Azure blob access#2610

Open
agocke wants to merge 3 commits intomozilla:mainfrom
agocke:anon
Open

Add support for anonymous Azure blob access#2610
agocke wants to merge 3 commits intomozilla:mainfrom
agocke:anon

Conversation

@agocke
Copy link

@agocke agocke commented Feb 12, 2026

The current support for Azure blob storage can't deal with the situation where the blob store needs to be accessed anonymously. This PR adds the opendal http backend and an environment variable that can be used to enable Azure anonymous access. If the environment variable is set, sccache falls back to direct http access instead of the opendal authentication flow.

@codecov-commenter
Copy link

codecov-commenter commented Feb 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.46%. Comparing base (0efe890) to head (4914aea).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2610      +/-   ##
==========================================
+ Coverage   73.40%   73.46%   +0.06%     
==========================================
  Files          68       68              
  Lines       37219    37316      +97     
==========================================
+ Hits        27320    27416      +96     
- Misses       9899     9900       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sylvestre
Copy link
Collaborator

some jobs are failing

@agocke
Copy link
Author

agocke commented Feb 12, 2026

Thanks, investigating.

@agocke
Copy link
Author

agocke commented Feb 13, 2026

I believe this is ready for re review/testing

agocke added 3 commits March 5, 2026 23:05
The current support for Azure blob storage can't deal with the situation
where the blob store needs to be accessed anonymously. This PR adds the
opendal http backend and an environment variable that can be used to
enable Azure anonymous access. If the environment variable is set,
sccache falls back to direct http access instead of the opendal
authentication flow.
@sylvestre
Copy link
Collaborator

The toml_format job is failing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants