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

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

Build:
DEFAULT BRANCH: main
Ran 14 Dec 2025 05:55PM UTC
Jobs 3
Files 26
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:54PM UTC coverage: 70.052% (-17.3%) from 87.324%
20211881776

push

github

web-flow
Replace broad exception catching with specific exception types (#166)

* Replace broad exception catching with specific exceptions

- Replace Exception with specific connection/network exceptions in RabbitMQ test fixture
- Replace Exception with specific connection/attribute exceptions in Qdrant vector store
- Replace Exception with specific connection/type exceptions in config providers
- Add descriptive comments explaining error handling rationale

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

* Add tests for specific exception handling

- Add tests for DocStoreConfigProvider exception handling (Connection, OS, Timeout, Attribute, Type, Key errors)
- Add tests for QdrantVectorStore exception handling during ID existence checks
- Add tests for SchemaConfigLoader exception handling during storage loads
- Verify that specific exceptions are caught and handled gracefully with fallback behavior

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

* Fix test method names for schema_loader tests

- Rename _load_from_storage to _load_storage_collection to match actual implementation
- Corrects test references to use the correct method name

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

* Add missing test cases for AttributeError, TypeError, and KeyError

- Add test for AttributeError in add_embedding() method
- Add test for AttributeError in add_embeddings() batch method
- Add tests for TypeError and KeyError in schema_loader
- Addresses review comments requesting complete test coverage for all exception types

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

* Fix config adapter exception handling to properly propagate errors

- Modified _ensure_cache() to propagate exceptions instead of setting cache to empty dict
- Added KeyError to is_connected() exception handling
- Added exception handling in get() method to return defaults when cache fai... (continued)

14 of 16 new or added lines in 3 files covered. (87.5%)

952 of 1359 relevant lines covered (70.05%)

0.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
85.07
adapters/copilot_config/copilot_config/providers.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.10 - 20211881776.1 14 Dec 2025 05:55PM UTC 10
76.13
GitHub Action Run
2 python-3.10 - 20211881776.2 14 Dec 2025 05:55PM UTC 9
63.86
GitHub Action Run
3 python-3.10 - 20211881776.3 14 Dec 2025 05:56PM UTC 7
70.26
GitHub Action Run
Source Files on build 20211881776
  • Tree
  • List 26
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20211881776
  • 8ab43b6b on github
  • Prev Build on main (#20211388655)
  • Next Build on main (#20211881770)
  • 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