feat: refactor router and add tests, use periodic ID token refresh in release CI #38
63.23% of diff hit (target 55.00%)
View this Pull Request on Codecov
63.23% of diff hit (target 55.00%)
Annotations
Check warning on line 101 in cmd/proxy/main.go
codecov / codecov/patch
cmd/proxy/main.go#L101
Added line #L101 was not covered by tests
Check warning on line 74 in internal/routing/router.go
codecov / codecov/patch
internal/routing/router.go#L74
Added line #L74 was not covered by tests
Check warning on line 77 in internal/routing/router.go
codecov / codecov/patch
internal/routing/router.go#L77
Added line #L77 was not covered by tests
Check warning on line 83 in internal/routing/router.go
codecov / codecov/patch
internal/routing/router.go#L83
Added line #L83 was not covered by tests
Check warning on line 85 in internal/routing/router.go
codecov / codecov/patch
internal/routing/router.go#L85
Added line #L85 was not covered by tests
Check warning on line 93 in internal/routing/router.go
codecov / codecov/patch
internal/routing/router.go#L93
Added line #L93 was not covered by tests
Check warning on line 104 in internal/routing/router.go
codecov / codecov/patch
internal/routing/router.go#L104
Added line #L104 was not covered by tests
Check warning on line 113 in internal/routing/router.go
codecov / codecov/patch
internal/routing/router.go#L113
Added line #L113 was not covered by tests
Check warning on line 117 in internal/routing/router.go
codecov / codecov/patch
internal/routing/router.go#L117
Added line #L117 was not covered by tests
Check warning on line 148 in internal/routing/router.go
codecov / codecov/patch
internal/routing/router.go#L142-L148
Added lines #L142 - L148 were not covered by tests
Check warning on line 166 in internal/routing/router.go
codecov / codecov/patch
internal/routing/router.go#L166
Added line #L166 was not covered by tests
Check warning on line 193 in internal/routing/router.go
codecov / codecov/patch
internal/routing/router.go#L193
Added line #L193 was not covered by tests
Check warning on line 199 in internal/routing/router.go
codecov / codecov/patch
internal/routing/router.go#L199
Added line #L199 was not covered by tests
Check warning on line 263 in internal/routing/router.go
codecov / codecov/patch
internal/routing/router.go#L263
Added line #L263 was not covered by tests
Check warning on line 270 in internal/routing/router.go
codecov / codecov/patch
internal/routing/router.go#L270
Added line #L270 was not covered by tests
Check warning on line 273 in internal/routing/router.go
codecov / codecov/patch
internal/routing/router.go#L273
Added line #L273 was not covered by tests
Check warning on line 276 in internal/routing/router.go
codecov / codecov/patch
internal/routing/router.go#L276
Added line #L276 was not covered by tests
Check warning on line 280 in internal/routing/router.go
codecov / codecov/patch
internal/routing/router.go#L280
Added line #L280 was not covered by tests
Check warning on line 70 in internal/state/state.go
codecov / codecov/patch
internal/state/state.go#L70
Added line #L70 was not covered by tests