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

Alan-Jowett / CoPilot-For-Consensus / 21489082244 / 27
78%
main: 78%

Build:
DEFAULT BRANCH: main
Ran 29 Jan 2026 06:06PM UTC
Files 9
Run time 0s
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: 68.814%. Remained the same
21489082244.27

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>

203 of 295 relevant lines covered (68.81%)

0.69 hits per line

Source Files on job copilot_archive_fetcher - 21489082244.27
  • Tree
  • List 9
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21489082244
  • 3c495682 on github
  • Prev Job for on main (#21486029935.4)
  • Next Job for on main (#21494422000.20)
  • 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