Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jun 4, 2025

Backport of #61529 to release/9.0

/cc @sebastienros @profet23

Associate tagged keys with entries so replacements are not evicted

Prevent output caching tags from being lost when updating an existing entry.

Description

If an output cache entry is created with tags and is then replaced, the callback will remove tags which is wrong and would lead to related entries to not be evicted automatically.

Fixes #61524

Customer Impact

Could lead to stale data in cache.

Regression?

  • Yes
  • No

Risk

  • High
  • Medium
  • Low

Change is limited to how the entries are tracked, such that less tags are removed. This means more things can be evicted from cache eventually, which is safer (more evicted cache entries is not worse).

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

When servicing release/2.1

  • Make necessary changes in eng/PatchConfig.props

@github-actions github-actions bot requested a review from BrennanConroy as a code owner June 4, 2025 18:57
@dotnet-policy-service dotnet-policy-service bot added this to the 9.0.x milestone Jun 4, 2025
@sebastienros sebastienros added the Servicing-consider Shiproom approval is required for the issue label Jun 4, 2025
This was referenced Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Servicing-approved Shiproom has approved the issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants