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

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

Build:
DEFAULT BRANCH: main
Ran 29 Jan 2026 08:56PM 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 08:56PM UTC coverage: 77.85% (+0.04%) from 77.811%
21494422000

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)

54 of 67 new or added lines in 1 file covered. (80.6%)

8755 of 11246 relevant lines covered (77.85%)

0.87 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
13
75.0
2.83% adapters/copilot_message_bus/copilot_message_bus/azureservicebussubscriber.py
Jobs
ID Job ID Ran Files Coverage
1 copilot_schema_validation - 21494422000.1 29 Jan 2026 08:57PM UTC 7
85.23
GitHub Action Run
2 copilot_message_bus - 21494422000.2 29 Jan 2026 08:56PM UTC 13
74.62
GitHub Action Run
3 chunking - 21494422000.3 29 Jan 2026 08:57PM UTC 2
82.75
GitHub Action Run
4 reporting - 21494422000.4 29 Jan 2026 08:57PM UTC 2
84.48
GitHub Action Run
5 copilot_error_reporting - 21494422000.5 29 Jan 2026 08:58PM UTC 5
75.34
GitHub Action Run
6 copilot_metrics - 21494422000.6 29 Jan 2026 08:57PM UTC 7
72.95
GitHub Action Run
7 copilot_archive_fetcher - 21494422000.7 29 Jan 2026 08:58PM UTC 9
68.81
GitHub Action Run
8 embedding - 21494422000.8 29 Jan 2026 08:57PM UTC 2
81.42
GitHub Action Run
9 copilot_consensus - 21494422000.9 29 Jan 2026 08:58PM UTC 3
95.48
GitHub Action Run
10 copilot_storage - 21494422000.10 29 Jan 2026 08:58PM UTC 8
75.38
GitHub Action Run
11 ingestion - 21494422000.11 29 Jan 2026 08:57PM UTC 5
79.85
GitHub Action Run
12 copilot_embedding - 21494422000.12 29 Jan 2026 09:00PM UTC 7
91.81
GitHub Action Run
13 copilot_storage_integration - 21494422000.13 29 Jan 2026 08:57PM UTC 8
33.3
GitHub Action Run
14 copilot_archive_fetcher_integration - 21494422000.14 29 Jan 2026 08:58PM UTC 9
47.46
GitHub Action Run
15 copilot_summarization - 21494422000.15 29 Jan 2026 08:58PM UTC 8
90.61
GitHub Action Run
16 orchestrator - 21494422000.16 29 Jan 2026 08:57PM UTC 6
86.25
GitHub Action Run
17 copilot_chunking - 21494422000.17 29 Jan 2026 08:58PM UTC 2
91.91
GitHub Action Run
18 copilot_message_bus_integration - 21494422000.18 29 Jan 2026 08:58PM UTC 13
30.05
GitHub Action Run
19 parsing - 21494422000.19 29 Jan 2026 08:58PM UTC 7
81.9
GitHub Action Run
20 copilot_vectorstore - 21494422000.20 29 Jan 2026 08:58PM UTC 8
74.09
GitHub Action Run
21 copilot_vectorstore_integration - 21494422000.21 29 Jan 2026 08:56PM UTC 8
33.08
GitHub Action Run
22 copilot_logging - 21494422000.22 29 Jan 2026 08:57PM UTC 6
92.64
GitHub Action Run
23 copilot_config - 21494422000.23 29 Jan 2026 08:56PM UTC 33
63.43
GitHub Action Run
24 summarization - 21494422000.24 29 Jan 2026 08:57PM UTC 2
91.22
GitHub Action Run
25 copilot_draft_diff - 21494422000.25 29 Jan 2026 08:58PM UTC 6
90.98
GitHub Action Run
26 copilot_schema_validation_integration - 21494422000.26 29 Jan 2026 08:58PM UTC 7
42.05
GitHub Action Run
27 copilot_auth - 21494422000.27 29 Jan 2026 08:59PM UTC 12
64.82
GitHub Action Run
Source Files on build 21494422000
  • Tree
  • List 160
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21494422000
  • dadd8f0b on github
  • Prev Build on main (#21489082244)
  • 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