Skip to content

Fix TryServeFromCacheAsync_ReturnsFalse_IfVaryByKeyContainsDelimiters failure - #68554

Merged
Youssef1313 merged 1 commit into
mainfrom
dev/ygerges/test-failure
Aug 17, 2026
Merged

Youssef1313 merged 1 commit into
mainfrom
dev/ygerges/test-failure

Conversation

@Youssef1313

@Youssef1313 Youssef1313 commented Aug 15, 2026 •

Copy link
Copy Markdown
Member

I broke this test in #68517.

The test was already failing in CI in that PR, but the CI was green due to Helix Monitor bug (filed in dotnet/arcade#17346).

This PR fixes the failing test.

Copilot AI lite review requested due to automatic review settings August 15, 2026 05:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates a ResponseCaching middleware test to use a base cache key that matches the ResponseCachingKeyProvider.CreateBaseKey format, ensuring the test exercises the intended “vary-by key contains delimiters” validation path.

Changes:

  • Adjusted the pre-seeded baseKey in TryServeFromCacheAsync_ReturnsFalse_IfVaryByKeyContainsDelimiters to include the correct number of key delimiters.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@Youssef1313
Youssef1313 enabled auto-merge (squash) August 15, 2026 09:41
@Youssef1313
Youssef1313 merged commit 1b3defe into main Aug 17, 2026
28 checks passed
@Youssef1313
Youssef1313 deleted the dev/ygerges/test-failure branch August 17, 2026 07:31
@Youssef1313

Copy link
Copy Markdown
Member Author

/backport to release/11.0-rc1

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/11.0-rc1 (link to workflow run)

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