Skip to content

Conversation

@maliming
Copy link
Member

No description provided.

@maliming maliming added this to the 10.0-patch milestone Dec 29, 2025
@maliming maliming marked this pull request as ready for review December 29, 2025 13:40
Copilot AI review requested due to automatic review settings December 29, 2025 13:40
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR optimizes cache key retrieval in the MvcCachedApplicationConfigurationClient by caching the cache key itself in the HttpContext.Items collection. This prevents redundant calls to CreateCacheKeyAsync() within the same HTTP request context.

Key Changes:

  • Added cache key caching in HttpContext.Items to avoid repeated computation of the same cache key
  • Applied the optimization to both GetAsync() and Get() methods

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@maliming maliming requested a review from EngincanV December 29, 2025 13:56
@codecov
Copy link

codecov bot commented Dec 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.98%. Comparing base (db98067) to head (c1d5856).
⚠️ Report is 13 commits behind head on rel-10.0.

Additional details and impacted files
@@             Coverage Diff              @@
##           rel-10.0   #24495      +/-   ##
============================================
- Coverage     51.02%   50.98%   -0.05%     
============================================
  Files          3294     3296       +2     
  Lines        107441   107518      +77     
  Branches       8255     8255              
============================================
- Hits          54823    54817       -6     
- Misses        50923    51007      +84     
+ Partials       1695     1694       -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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@EngincanV EngincanV merged commit 5d177d2 into rel-10.0 Dec 29, 2025
4 of 5 checks passed
@EngincanV EngincanV deleted the MvcCachedApplicationConfigurationClient branch December 29, 2025 15:06
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