• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jo-hoe / todoapi / 21646414372
31%

Build:
DEFAULT BRANCH: main
Ran 03 Feb 2026 08:23PM UTC
Jobs 1
Files 17
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Feb 2026 08:22PM UTC coverage: 31.012% (+3.8%) from 27.216%
21646414372

push

github

johannes
feat(ms-todo): use Azure v2 token source, add scopes and tenant default

- Add openid to OAuth scopes in credential_generation to align with AAD v2 and ensure proper tokens
- Default TENANT_ID to "common" if not provided; update env vars check to require only CLIENT_ID and CLIENT_SECRET
- Introduce Scopes in MSClientConfig and pass through to oauth2.Config
- Replace oauth2.TokenSource with custom AzureV2TokenSource to persist tokens and include scopes on refresh
- Force immediate token refresh on startup to persist a fresh token with correct scopes

This improves reliability of token handling, maintains required scopes across refreshes, and simplifies setup by supporting multi-tenant defaults and configurable scopes.

116 of 248 new or added lines in 4 files covered. (46.77%)

2 existing lines in 2 files now uncovered.

423 of 1364 relevant lines covered (31.01%)

1.26 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
0.0
0.0% cmd/credential_generation/main.go
10
0.0
0.0% todoclient/microsoft/mstodo_config.go
28
80.56
todoclient/microsoft/azurev2_tokensource.go
88
0.0
todoclient/microsoft/token_saver.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% cmd/credential_generation/main.go
1
0.0
0.0% todoclient/microsoft/mstodo_config.go
Jobs
ID Job ID Ran Files Coverage
1 21646414372.1 03 Feb 2026 08:23PM UTC 17
31.01
GitHub Action Run
Source Files on build 21646414372
  • Tree
  • List 17
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 20ec27ca on github
  • Prev Build on main (#21645552976)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc