Skip to content

feat: improve logging of authorization errors and allow use customization#2431

Merged
alepane21 merged 12 commits into
mainfrom
ale/eng-8704-jwt-authentication-401-on-router-with-valid-token
Jan 12, 2026
Merged

feat: improve logging of authorization errors and allow use customization#2431
alepane21 merged 12 commits into
mainfrom
ale/eng-8704-jwt-authentication-401-on-router-with-valid-token

Merge branch 'main' into ale/eng-8704-jwt-authentication-401-on-route…

993f646
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jan 12, 2026 in 0s

60.84% (target 30.00%)

View this Pull Request on Codecov

60.84% (target 30.00%)

Details

Codecov Report

❌ Patch coverage is 79.41176% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.84%. Comparing base (45d65c4) to head (993f646).

Files with missing lines Patch % Lines
router/pkg/authentication/jwks_token_decoder.go 76.00% 3 Missing and 3 partials ⚠️
router/core/supervisor_instance.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2431       +/-   ##
===========================================
+ Coverage   36.95%   60.84%   +23.88%     
===========================================
  Files         834      229      -605     
  Lines      113800    23839    -89961     
  Branches     4693        0     -4693     
===========================================
- Hits        42052    14504    -27548     
+ Misses      70150     8089    -62061     
+ Partials     1598     1246      -352     
Files with missing lines Coverage Δ
router/core/access_controller.go 79.31% <100.00%> (ø)
router/core/graphql_prehandler.go 80.38% <100.00%> (-0.22%) ⬇️
router/core/websocket.go 75.46% <100.00%> (+0.06%) ⬆️
router/pkg/config/config.go 80.51% <ø> (ø)
router/core/supervisor_instance.go 0.00% <0.00%> (ø)
router/pkg/authentication/jwks_token_decoder.go 81.93% <76.00%> (-1.89%) ⬇️

... and 627 files with indirect coverage changes

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