Skip to content

feat!: Change admin_path to admin_validator

cd0d671
Select commit
Loading
Failed to load commit list.
Open

[FC-384] Add sysadmin to oauth flow and change the admin_path #82

feat!: Change admin_path to admin_validator
cd0d671
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 1, 2026 in 1s

83.69% (+0.60%) compared to 8ad0e2a

View this Pull Request on Codecov

83.69% (+0.60%) compared to 8ad0e2a

Details

Codecov Report

❌ Patch coverage is 93.18182% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.69%. Comparing base (8ad0e2a) to head (cd0d671).

Files with missing lines Patch % Lines
tests/server.py 70.00% 2 Missing and 1 partial ⚠️
tests/synapse_clock.py 60.00% 2 Missing ⚠️
tests/unittest.py 83.33% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #82      +/-   ##
==========================================
+ Coverage   83.08%   83.69%   +0.60%     
==========================================
  Files          18       19       +1     
  Lines        1874     1950      +76     
  Branches      193      198       +5     
==========================================
+ Hits         1557     1632      +75     
- Misses        234      235       +1     
  Partials       83       83              
Files with missing lines Coverage Δ
synapse_token_authenticator/config.py 70.40% <100.00%> (+1.59%) ⬆️
synapse_token_authenticator/token_authenticator.py 72.72% <100.00%> (+1.26%) ⬆️
tests/__init__.py 89.56% <100.00%> (ø)
tests/test_oauth.py 100.00% <100.00%> (ø)
tests/unittest.py 86.14% <83.33%> (-0.28%) ⬇️
tests/synapse_clock.py 60.00% <60.00%> (ø)
tests/server.py 77.77% <70.00%> (-0.89%) ⬇️

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8ad0e2a...cd0d671. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.