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

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

Build:
DEFAULT BRANCH: main
Ran 14 Dec 2025 08:49PM UTC
Jobs 2
Files 15
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 08:49PM UTC coverage: 70.918% (-12.6%) from 83.469%
20213945075

push

github

web-flow
Refactor DocumentStore to use exceptions instead of bool return values (#168)

* Initial plan

* Refactor DocumentStore to raise exceptions instead of returning bool/None for errors (Phase 1: Adapter Storage)

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

* Update embedding service test mock to match new DocumentStore API

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

* Fix redundant exception handlers in MongoDocumentStore

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

* Re-raise original exception in parsing main instead of wrapping in ConnectionError

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

* Address code review feedback: add exc_info=True to logger.error calls, handle specific exceptions, remove unused import

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

* Fix CI failure: add skip markers for tests requiring optional copilot_schema_validation dependency

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

* Fix integration tests: import DocumentNotFoundError at module level instead of inline

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

* fix(storage): handle InvalidId exception in mongo_document_store

Catch bson.errors.InvalidId when converting document IDs to ObjectId in
get_document, update_document, and delete_document methods. This ensures
proper behavior when invalid ObjectId strings are passed:
- get_document returns None
- update_document raises DocumentNotFoundError
- delete_document raises DocumentNotFoundError

Fixes 3 failing MongoDB integration tests:
- test_update_nonexistent_document
- test_delete_nonexistent_document
- test_invalid_document_id

* fix(services): connect document store in reporting and chunking services

Both reporting and chunking services were creating document stores but
never calling connect() on ... (continued)

26 of 57 new or added lines in 5 files covered. (45.61%)

556 of 784 relevant lines covered (70.92%)

0.71 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
68.24
adapters/copilot_config/copilot_config/schema_loader.py
28
28.47
adapters/copilot_storage/copilot_storage/mongo_document_store.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.10 - 20213945075.1 14 Dec 2025 08:49PM UTC 5
64.5
GitHub Action Run
2 python-3.10 - 20213945075.2 14 Dec 2025 08:50PM UTC 10
75.78
GitHub Action Run
Source Files on build 20213945075
  • Tree
  • List 15
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20213945075
  • 0efa40ff on github
  • Prev Build on main (#20213945061)
  • Next Build on main (#20214131370)
  • 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