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

Alan-Jowett / CoPilot-For-Consensus / 20361587338
78%

Build:
DEFAULT BRANCH: main
Ran 19 Dec 2025 06:11AM UTC
Jobs 27
Files 119
Run time 43min
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

19 Dec 2025 06:11AM UTC coverage: 80.073% (-3.0%) from 83.067%
20361587338

push

github

web-flow
Add Auth microservice for OIDC authentication with local JWT minting (#406)

* Initial plan

* Implement OIDC providers and JWT manager in copilot_auth adapter

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Create auth microservice with FastAPI endpoints and JWT support

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Add auth service to docker-compose and create JWT middleware

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Add authentication documentation and update main README

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Address security review feedback: remove keys from git, fix callback tampering, fix subject claim

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Add comprehensive implementation summary for Auth microservice

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Security hardening and architectural improvements for auth service

This commit addresses multiple architectural and security concerns:

Architectural improvements:
- Move JWT middleware from auth service to copilot_auth adapter for reusability
- Simplify auth config to use TypedConfig directly (remove Pydantic wrapper)
- Delegate secret provider selection to factory pattern (copilot_secrets)
- Add backward-compatible re-export in auth/app/middleware.py

Security fixes:
- Fix JWKS cache to support key rotation (TTL: 3600s, periodic refresh)
- Fix userinfo endpoint circular trust (validate against configured audiences)
- Add session TTL (600s) and periodic cleanup (60s) to prevent memory leaks
- Enhance error handling with specific exception categories
- Rewrite web UI documentation to use secure patterns (httpOnly cookies)
- Remove insecure examples (localStorage, tokens in URLs)

Monitoring and observability:
- Add comprehensive metrics instrumentation (6 counters with labels)
- Track: l... (continued)

210 of 478 new or added lines in 12 files covered. (43.93%)

1 existing line in 1 file now uncovered.

5079 of 6343 relevant lines covered (80.07%)

0.9 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
97.5
adapters/copilot_config/copilot_config/secret_provider.py
2
86.36
1.18% adapters/copilot_config/copilot_config/typed_config.py
13
31.58
adapters/copilot_auth/copilot_auth/google_provider.py
17
26.09
adapters/copilot_auth/copilot_auth/microsoft_provider.py
21
60.0
-40.0% adapters/copilot_auth/copilot_auth/factory.py
22
47.62
-52.38% adapters/copilot_auth/copilot_auth/github_provider.py
49
27.94
adapters/copilot_auth/copilot_auth/jwt_manager.py
68
40.35
adapters/copilot_auth/copilot_auth/middleware.py
75
35.34
adapters/copilot_auth/copilot_auth/oidc_provider.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
60.0
-40.0% adapters/copilot_auth/copilot_auth/factory.py
Jobs
ID Job ID Ran Files Coverage
1 copilot_schema_validation - 20361587338.1 19 Dec 2025 06:14AM UTC 6
90.13
GitHub Action Run
2 copilot_auth - 20361587338.2 19 Dec 2025 06:11AM UTC 12
46.71
GitHub Action Run
3 summarization - 20361587338.3 19 Dec 2025 06:13AM UTC 2
90.8
GitHub Action Run
4 copilot_draft_diff - 20361587338.4 19 Dec 2025 06:14AM UTC 6
98.8
GitHub Action Run
5 copilot_config - 20361587338.5 19 Dec 2025 06:14AM UTC 11
79.92
GitHub Action Run
6 copilot_vectorstore_integration - 20361587338.6 19 Dec 2025 06:12AM UTC 7
23.15
GitHub Action Run
7 copilot_metrics - 20361587338.7 19 Dec 2025 06:14AM UTC 5
56.02
GitHub Action Run
8 embedding - 20361587338.8 19 Dec 2025 06:12AM UTC 2
90.17
GitHub Action Run
9 copilot_reporting - 20361587338.9 19 Dec 2025 06:14AM UTC 5
73.17
GitHub Action Run
10 copilot_storage - 20361587338.10 19 Dec 2025 06:15AM UTC 5
65.38
GitHub Action Run
11 orchestrator - 20361587338.11 19 Dec 2025 06:11AM UTC 2
66.11
GitHub Action Run
12 copilot_archive_fetcher_integration - 20361587338.12 19 Dec 2025 06:12AM UTC 9
46.99
GitHub Action Run
13 reporting - 20361587338.13 19 Dec 2025 06:12AM UTC 2
89.68
GitHub Action Run
14 copilot_events_integration - 20361587338.14 19 Dec 2025 06:13AM UTC 9
44.25
GitHub Action Run
15 copilot_logging - 20361587338.15 19 Dec 2025 06:11AM UTC 6
93.6
GitHub Action Run
16 copilot_archive_fetcher - 20361587338.16 19 Dec 2025 06:11AM UTC 9
68.27
GitHub Action Run
17 ingestion - 20361587338.17 19 Dec 2025 06:12AM UTC 5
80.63
GitHub Action Run
18 copilot_chunking - 20361587338.18 19 Dec 2025 06:12AM UTC 2
93.75
GitHub Action Run
19 parsing - 20361587338.19 19 Dec 2025 06:13AM UTC 7
84.08
GitHub Action Run
20 copilot_schema_validation_integration - 20361587338.20 19 Dec 2025 06:12AM UTC 6
49.78
GitHub Action Run
21 copilot_vectorstore - 20361587338.21 19 Dec 2025 06:13AM UTC 7
69.89
GitHub Action Run
22 copilot_consensus - 20361587338.22 19 Dec 2025 06:14AM UTC 3
98.64
GitHub Action Run
23 copilot_summarization - 20361587338.23 19 Dec 2025 06:15AM UTC 8
93.42
GitHub Action Run
24 copilot_embedding - 20361587338.24 19 Dec 2025 06:15AM UTC 3
92.16
GitHub Action Run
25 copilot_storage_integration - 20361587338.25 19 Dec 2025 06:12AM UTC 5
50.45
GitHub Action Run
26 chunking - 20361587338.26 19 Dec 2025 06:13AM UTC 2
82.91
GitHub Action Run
27 copilot_events - 20361587338.27 19 Dec 2025 06:15AM UTC 9
73.37
GitHub Action Run
Source Files on build 20361587338
  • Tree
  • List 119
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20361587338
  • c3ab5c10 on github
  • Prev Build on main (#20360300742)
  • Next Build on main (#20361927474)
  • 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