Skip to content

Optimize batch state checker model lookup from O(N²) to O(N)

6505dc0
Select commit
Loading
Failed to load commit list.
Merged

Improve batch state checker performance and add RequireFeaturesSimpleBatchStateChecker #25276

Optimize batch state checker model lookup from O(N²) to O(N)
6505dc0
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 16, 2026 in 0s

50.70% (-0.02%) compared to 040a1e7, passed because coverage increased by 0% when compared to adjusted base (50.70%)

View this Pull Request on Codecov

50.70% (-0.02%) compared to 040a1e7, passed because coverage increased by 0% when compared to adjusted base (50.70%)

Details

Codecov Report

❌ Patch coverage is 41.31148% with 179 lines in your changes missing coverage. Please review.
✅ Project coverage is 50.70%. Comparing base (040a1e7) to head (6505dc0).
⚠️ Report is 50 commits behind head on rel-10.3.

Files with missing lines Patch % Lines
...hecking/SimpleStateChecker_ScopeIsolation_Tests.cs 0.00% 96 Missing ⚠️
...cking/SimpleStateChecker_BatchSingleScope_Tests.cs 0.00% 72 Missing ⚠️
...bp/Features/FeatureSimpleStateCheckerExtensions.cs 57.14% 5 Missing and 1 partial ⚠️
...sions/RequirePermissionsSimpleBatchStateChecker.cs 84.21% 2 Missing and 1 partial ⚠️
...Management/PermissionDefinitionSerializer_Tests.cs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           rel-10.3   #25276      +/-   ##
============================================
- Coverage     50.71%   50.70%   -0.02%     
============================================
  Files          3472     3477       +5     
  Lines        117140   117489     +349     
  Branches       8840     8866      +26     
============================================
+ Hits          59407    59568     +161     
- Misses        55925    56110     +185     
- Partials       1808     1811       +3     

☔ 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.