Skip to content

Add domain support to pipeline caching #5260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

b-barthel
Copy link
Contributor

@b-barthel b-barthel commented Jul 2, 2025

Context

Adds support for multiple storage domains to the pipeline cache experience, allowing users to specify different domains for their pipeline cache storage.

Description

On upload, checks to see if the user has set the cache domain via an agent knob, and if not, checks if the domain has been overridden via client settings, and if not uses the default domain.

On download, checks the returned cache artifact if it has an associated domain, if it does, it uses that domain. If it doesn't, it uses the default domain for backward compatibility.

Risk Assessment (Low / Medium / High)

Low - behavior is opt-in via the pipeline variable. Eventually the default may be changed via client settings, but that is easily reversible and can be overridden on a pipeline basis. Finally caching is a best-effort experience, so cache failures are expected an should not fail the build.

Unit Tests Added or Updated (Yes / No)

No - requires multiple domains and service support.


Additional Testing Performed

Manually tested override in testing org using a locally deployed version of the agent.

@b-barthel b-barthel requested review from a team as code owners July 2, 2025 20:15
@b-barthel
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@fadnavistanmay
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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

Successfully merging this pull request may close these issues.

3 participants