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

Alan-Jowett / CoPilot-For-Consensus / 20203152277
79%

Build:
DEFAULT BRANCH: main
Ran 14 Dec 2025 05:14AM UTC
Jobs 5
Files 35
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

14 Dec 2025 05:13AM UTC coverage: 69.598% (-5.0%) from 74.595%
20203152277

push

github

web-flow
Add assertions to 19 test functions that validated behavior without verification (#175)

* Initial plan

* Add assertions to all test functions without them

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

* Address code review feedback: improve assertion quality

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

* Revert test_integration.py functions to return booleans for main() usage

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

* Refactor exception tests to use pytest.raises pattern

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

* Fix malformed event handling to ensure guaranteed forward progress

- Raise exceptions for missing/invalid required fields in event data
- Chunking: Validate parsed_message_ids exists and is a list
- Parsing: Raise KeyError when archive_id or file_path missing
- Summarization: Validate thread_ids exists and is a list
- Allow empty message/thread lists as valid cases
- Update tests to expect ValueError/KeyError/TypeError appropriately

This ensures at-least-once delivery: malformed events trigger nack/requeue
instead of being silently acked and lost.

* Fix embedding service forward progress guarantees: add strict validation and exception re-raising

- Add explicit validation that chunk_ids field exists (raises ValueError if missing)
- Add type validation that chunk_ids is a list (raises TypeError if not)
- Distinguish between missing field (error) vs empty field (valid)
- Re-raise exceptions after max retries to trigger message requeue
- Add exception handling with re-raise to event publishing methods
- Add 6 new unit tests to verify malformed event handling
- Update test_process_chunks_max_retries_exceeded to expect exception

This ensures the embedding service implements guaranteed forward progress semantics:
- Malformed events (missing/invalid fields) trigger message requeue
- Transient errors after m... (continued)

8 of 11 new or added lines in 1 file covered. (72.73%)

934 of 1342 relevant lines covered (69.6%)

0.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
69.84
48.69% adapters/copilot_archive_fetcher/copilot_archive_fetcher/imap_fetcher.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.10 - 20203152277.1 14 Dec 2025 05:14AM UTC 9
68.27
GitHub Action Run
2 python-3.10 - 20203152277.2 14 Dec 2025 05:14AM UTC 7
98.98
GitHub Action Run
3 python-3.10 - 20203152277.3 14 Dec 2025 05:14AM UTC 5
59.05
GitHub Action Run
4 python-3.10 - 20203152277.4 14 Dec 2025 05:14AM UTC 9
63.86
GitHub Action Run
5 python-3.10 - 20203152277.5 14 Dec 2025 05:14AM UTC 5
86.96
GitHub Action Run
Source Files on build 20203152277
  • Tree
  • List 35
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20203152277
  • 4c9dc165 on github
  • Prev Build on main (#20201937392)
  • Next Build on main (#20203152273)
  • 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