Skip to content

[BUG]: Managed DevOps Pools + Cache Task #21398

@XVII

Description

@XVII

New issue checklist

Task name

Cache

Task version

2

Issue Description

I can't seem to get the Cache task to work when running on DevOps Managed pools.
Builds within the same project, pipeline, branch, don't seem to pick up the cache from previous builds.

Image: windows-latest (2025)

There was no clear documentation to say it's supported (or not supported). It's supported on Self-hosted.

(Also Environment in the Github template doesn't have Managed DevOps Pools as an option).

Are these "caches" valid between agents in the same pool?

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Windows 11

Relevant log output

Starting: CacheExample
==============================================================================
Task         : Cache
Description  : Cache files between runs
Version      : 2.198.0
Author       : Microsoft Corporation
Help         : https://aka.ms/pipeline-caching-docs
==============================================================================

Resolving key:
 - ps-Windows_NT-CacheExample [string]
Resolved to: ps-Windows_NT-CacheExample
ApplicationInsightsTelemetrySender will correlate events
Getting a pipeline cache artifact with one of the following fingerprints:
Fingerprint: `ps-Windows_NT-CacheExample`
There is a cache miss.
ApplicationInsightsTelemetrySender correlated 1 events
Finishing: CacheExample

Full task logs with system.debug enabled

No response

Repro steps

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions