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

Alan-Jowett / CoPilot-For-Consensus / 21494422000 / 17
78%
main: 78%

Build:
DEFAULT BRANCH: main
Ran 29 Jan 2026 09:01PM UTC
Files 2
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 08:56PM UTC coverage: 91.908%. Remained the same
21494422000.17

push

github

web-flow
Fix AzureServiceBusSubscriber handler shutdown recovery loop (#1076)

* Initial plan

* Add handler shutdown recovery with exponential backoff and rate-limited logging

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

* Fix linting issues (whitespace and line length)

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

* Address code review feedback: improve error detection, fix log message, reset retry count on success

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

* Fix critical bug: handle failed reconnection and clear client state properly

- Add check at loop start to handle None client after failed reconnection
- Set self.client = None after closing to ensure clean state
- Add explanatory comments to empty except clauses in tests
- Fix line length linting issue

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

* Refactor: extract reconnection logic, add thread safety, improve test reliability

- Extract duplicate reconnection logic into _attempt_reconnection_with_backoff() helper
- Add threading.Lock to protect rate limiting state (fixes concurrency issue)
- Cap retry_count at max_retries to maintain consistent max backoff
- Simplify None client handling (remove unnecessary try-except wrapper)
- Document single-threaded expectation in start_consuming() docstring
- Replace fixed sleep with polling in tests for better reliability
- All 39 tests pass

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

* Fix CI failures: linting issues and pyright type errors

- Fix whitespace and line-too-long errors in azureservicebuspublisher.py
- Fix whitespace in test files
- Remove unused mock_credentials variable
- Remove unused patch import
- Add assertion in _consume_with_receiver for ServiceBusReceiveMode to satisfy pyright
- All tests pass (39 Azure Service Bus tests)

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@u... (continued)

159 of 173 relevant lines covered (91.91%)

0.92 hits per line

Source Files on job copilot_chunking - 21494422000.17
  • Tree
  • List 2
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21494422000
  • dadd8f0b on github
  • Prev Job for on main (#21489082244.2)
  • 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