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

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

Build:
DEFAULT BRANCH: main
Ran 29 Jan 2026 05:57PM UTC
Jobs 27
Files 160
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

29 Jan 2026 05:56PM UTC coverage: 77.811% (-0.009%) from 77.82%
21489082244

push

github

web-flow
Add diagnostic context to JWKS fetch error logs (#1077)

* Initial plan

* Add diagnostic context to JWKS fetch error logs

- Include target URL and timeout in all JWKS fetch error messages
- Helps diagnose network/DNS/firewall issues in production
- Add test to verify diagnostic context is present in logs
- All existing tests pass

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

* Fix linting issues in middleware.py

- Fix line length violations
- Split long docstring lines
- All tests still pass

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

* Address code review feedback for consistency

- Move jwks_url definition outside loop for consistency
- Use jwks_url variable in all error messages
- Add diagnostic context to non-5xx HTTP error message
- All tests pass, linting passes

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

* Complete diagnostic context coverage in all error paths

- Add diagnostic context to fallback error message in _fetch_jwks_with_retry
- Use jwks_url variable consistently in _fetch_jwks error message
- All error paths now include target URL and timeout for diagnosis
- All tests pass, linting passes

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

* Fix UnboundLocalError in _fetch_jwks error handling

Move jwks_url definition before try block to prevent UnboundLocalError
if exception occurs before assignment completes. This matches the pattern
used in _fetch_jwks_with_retry() at line 133.

Fixes code review comment 2742396303

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

5 of 9 new or added lines in 1 file covered. (55.56%)

2 existing lines in 1 file now uncovered.

8707 of 11190 relevant lines covered (77.81%)

0.87 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
56.1
-0.1% adapters/copilot_auth/copilot_auth/middleware.py

Uncovered Existing Lines

Lines Coverage ∆ File
2
56.1
-0.1% adapters/copilot_auth/copilot_auth/middleware.py
Jobs
ID Job ID Ran Files Coverage
1 copilot_storage_integration - 21489082244.1 29 Jan 2026 06:00PM UTC 8
33.3
GitHub Action Run
2 copilot_chunking - 21489082244.2 29 Jan 2026 06:01PM UTC 2
91.91
GitHub Action Run
3 ingestion - 21489082244.3 29 Jan 2026 06:02PM UTC 5
79.85
GitHub Action Run
4 copilot_archive_fetcher_integration - 21489082244.4 29 Jan 2026 06:01PM UTC 9
47.46
GitHub Action Run
5 copilot_message_bus_integration - 21489082244.5 29 Jan 2026 05:59PM UTC 13
31.19
GitHub Action Run
6 copilot_vectorstore - 21489082244.6 29 Jan 2026 05:59PM UTC 8
74.09
GitHub Action Run
7 copilot_error_reporting - 21489082244.7 29 Jan 2026 06:01PM UTC 5
75.34
GitHub Action Run
8 copilot_summarization - 21489082244.8 29 Jan 2026 05:59PM UTC 8
90.61
GitHub Action Run
9 summarization - 21489082244.9 29 Jan 2026 06:01PM UTC 2
91.22
GitHub Action Run
10 copilot_vectorstore_integration - 21489082244.10 29 Jan 2026 05:57PM UTC 8
33.08
GitHub Action Run
11 copilot_metrics - 21489082244.11 29 Jan 2026 05:57PM UTC 7
72.95
GitHub Action Run
12 reporting - 21489082244.12 29 Jan 2026 06:01PM UTC 2
84.48
GitHub Action Run
13 copilot_embedding - 21489082244.13 29 Jan 2026 06:04PM UTC 7
91.81
GitHub Action Run
14 copilot_logging - 21489082244.14 29 Jan 2026 05:59PM UTC 6
92.64
GitHub Action Run
15 orchestrator - 21489082244.15 29 Jan 2026 05:59PM UTC 6
86.25
GitHub Action Run
16 copilot_auth - 21489082244.16 29 Jan 2026 05:59PM UTC 12
64.82
GitHub Action Run
17 copilot_consensus - 21489082244.17 29 Jan 2026 05:59PM UTC 3
95.48
GitHub Action Run
18 copilot_message_bus - 21489082244.18 29 Jan 2026 06:00PM UTC 13
74.06
GitHub Action Run
19 copilot_schema_validation - 21489082244.19 29 Jan 2026 05:57PM UTC 7
85.23
GitHub Action Run
20 embedding - 21489082244.20 29 Jan 2026 06:00PM UTC 2
81.42
GitHub Action Run
21 copilot_config - 21489082244.21 29 Jan 2026 06:02PM UTC 33
63.43
GitHub Action Run
22 copilot_schema_validation_integration - 21489082244.22 29 Jan 2026 05:58PM UTC 7
42.05
GitHub Action Run
23 copilot_storage - 21489082244.23 29 Jan 2026 05:58PM UTC 8
75.38
GitHub Action Run
24 copilot_draft_diff - 21489082244.24 29 Jan 2026 06:02PM UTC 6
90.98
GitHub Action Run
25 chunking - 21489082244.25 29 Jan 2026 06:00PM UTC 2
82.75
GitHub Action Run
26 parsing - 21489082244.26 29 Jan 2026 05:59PM UTC 7
81.9
GitHub Action Run
27 copilot_archive_fetcher - 21489082244.27 29 Jan 2026 05:59PM UTC 9
68.81
GitHub Action Run
Source Files on build 21489082244
  • Tree
  • List 160
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21489082244
  • 3c495682 on github
  • Prev Build on main (#21486029935)
  • Next Build on main (#21494422000)
  • 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