Skip to content

Skip auditing Blazor ComponentHub invocations - #26310

Merged
enisn merged 1 commit into
rel-10.7from
maliming/blazor-audit-hub-filter
Oct 21, 2026
Merged

enisn merged 1 commit into
rel-10.7from
maliming/blazor-audit-hub-filter

Conversation

@maliming

Copy link
Copy Markdown
Member

Resolve #11682

AbpAuditHubFilter and AbpAuditingMiddleware skip the hubs in the new AbpAspNetCoreAuditingOptions.IgnoredHubTypes. Blazor's ComponentHub is ignored by default, so the audited services called by components save their own audit logs.

@codecov

codecov Bot commented Oct 20, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 23.59551% with 68 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.18%. Comparing base (06af580) to head (a06ac39).
⚠️ Report is 4 commits behind head on rel-10.7.

Files with missing lines Patch % Lines
...Auditing/AbpAuditingMiddleware_HubRequest_Tests.cs 0.00% 66 Missing ⚠️
...p/AspNetCore/SignalR/Auditing/AbpAuditHubFilter.cs 83.33% 0 Missing and 1 partial ⚠️
...o/Abp/AspNetCore/Auditing/AbpAuditingMiddleware.cs 85.71% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           rel-10.7   #26310      +/-   ##
============================================
+ Coverage     49.13%   49.18%   +0.05%     
============================================
  Files          3942     3996      +54     
  Lines        137817   139848    +2031     
  Branches      10594    10849     +255     
============================================
+ Hits          67713    68781    +1068     
- Misses        68084    69004     +920     
- Partials       2020     2063      +43     

☔ View full report in Codecov by Harness.
📢 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.

@enisn
enisn merged commit 2eead77 into rel-10.7 Oct 21, 2026
4 of 5 checks passed
@enisn
enisn deleted the maliming/blazor-audit-hub-filter branch October 21, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants