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

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

Build:
DEFAULT BRANCH: main
Ran 03 Jan 2026 11:03PM UTC
Jobs 27
Files 130
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

03 Jan 2026 11:03PM UTC coverage: 76.333% (+0.02%) from 76.316%
20684158781

push

github

web-flow
Add Cosmos DB support with 'cosmos' alias and managed identity authentication (minimal implementation) (#707)

* Initial plan

* Add Cosmos DB support with 'cosmos' alias and COSMOS_DB_ENDPOINT env var

- Updated create_document_store() to support 'cosmos' as an alias for 'azurecosmos'
- Added support for COSMOS_DB_ENDPOINT environment variable (Azure infra uses this)
- Updated ingestion config schema to include Cosmos DB parameters
- Updated ingestion service to use helper function for building document store kwargs
- Added unit tests for cosmos alias and COSMOS_DB_ENDPOINT environment variable

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

* Add managed identity support for Cosmos DB

- Updated AzureCosmosDocumentStore to use DefaultAzureCredential when key is not provided
- Added azure-identity to dependencies in setup.py
- Added test for managed identity authentication
- All Azure Cosmos DB tests pass successfully

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

* Fix linting issues (remove trailing whitespace)

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

* Address PR review comments - fix env vars, logging, validation, and tests

- Fixed COSMOS_DB_KEY env var reading (was only checking COSMOS_KEY)
- Added validation for required Cosmos DB endpoint parameter
- Filtered sensitive credentials (key, password) from logs
- Updated tests to properly verify environment variable reading
- Added test for backward compatibility with legacy COSMOS_KEY env var
- Clarified docstring for managed identity usage

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

* Simplify to minimal changes - remove ingestion service complexity

Reduced to only essential changes to avoid CodeQL warnings:
- Kept: cosmos alias in factory, COSMOS_DB_ENDPOINT/KEY support, managed identity
- Removed: ingestion service helper function, validation logic, log filtering... (continued)

10 of 15 new or added lines in 2 files covered. (66.67%)

6012 of 7876 relevant lines covered (76.33%)

0.85 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
80.0
2.73% adapters/copilot_storage/copilot_storage/document_store.py
3
70.52
-0.26% adapters/copilot_storage/copilot_storage/azure_cosmos_document_store.py
Jobs
ID Job ID Ran Files Coverage
1 summarization - 20684158781.1 03 Jan 2026 11:05PM UTC 2
92.56
GitHub Action Run
2 copilot_vectorstore - 20684158781.2 03 Jan 2026 11:05PM UTC 8
71.73
GitHub Action Run
3 reporting - 20684158781.3 03 Jan 2026 11:06PM UTC 2
90.0
GitHub Action Run
4 copilot_events_integration - 20684158781.4 03 Jan 2026 11:04PM UTC 12
35.03
GitHub Action Run
5 parsing - 20684158781.5 03 Jan 2026 11:04PM UTC 7
84.27
GitHub Action Run
6 copilot_chunking - 20684158781.6 03 Jan 2026 11:06PM UTC 2
93.75
GitHub Action Run
7 copilot_logging - 20684158781.7 03 Jan 2026 11:03PM UTC 7
71.7
GitHub Action Run
8 chunking - 20684158781.8 03 Jan 2026 11:05PM UTC 2
83.25
GitHub Action Run
9 orchestrator - 20684158781.9 03 Jan 2026 11:04PM UTC 2
67.29
GitHub Action Run
10 ingestion - 20684158781.10 03 Jan 2026 11:05PM UTC 5
82.34
GitHub Action Run
11 copilot_summarization - 20684158781.11 03 Jan 2026 11:05PM UTC 8
96.65
GitHub Action Run
12 copilot_config - 20684158781.12 03 Jan 2026 11:03PM UTC 14
75.44
GitHub Action Run
13 copilot_events - 20684158781.13 03 Jan 2026 11:03PM UTC 12
61.15
GitHub Action Run
14 copilot_schema_validation - 20684158781.14 03 Jan 2026 11:06PM UTC 7
87.46
GitHub Action Run
15 copilot_consensus - 20684158781.15 03 Jan 2026 11:05PM UTC 3
98.67
GitHub Action Run
16 copilot_archive_fetcher_integration - 20684158781.16 03 Jan 2026 11:04PM UTC 9
45.68
GitHub Action Run
17 copilot_reporting - 20684158781.17 03 Jan 2026 11:06PM UTC 5
73.17
GitHub Action Run
18 copilot_draft_diff - 20684158781.18 03 Jan 2026 11:05PM UTC 6
98.77
GitHub Action Run
19 copilot_embedding - 20684158781.19 03 Jan 2026 11:04PM UTC 3
92.0
GitHub Action Run
20 embedding - 20684158781.20 03 Jan 2026 11:06PM UTC 2
90.17
GitHub Action Run
21 copilot_schema_validation_integration - 20684158781.21 03 Jan 2026 11:04PM UTC 7
40.75
GitHub Action Run
22 copilot_storage_integration - 20684158781.22 03 Jan 2026 11:04PM UTC 6
35.79
GitHub Action Run
23 copilot_archive_fetcher - 20684158781.23 03 Jan 2026 11:06PM UTC 9
67.49
GitHub Action Run
24 copilot_auth - 20684158781.24 03 Jan 2026 11:06PM UTC 12
43.59
GitHub Action Run
25 copilot_storage - 20684158781.25 03 Jan 2026 11:06PM UTC 6
67.83
GitHub Action Run
26 copilot_vectorstore_integration - 20684158781.26 03 Jan 2026 11:04PM UTC 8
20.29
GitHub Action Run
27 copilot_metrics - 20684158781.27 03 Jan 2026 11:06PM UTC 6
41.74
GitHub Action Run
Source Files on build 20684158781
  • Tree
  • List 130
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20684158781
  • a03dc287 on github
  • Prev Build on main (#20683961892)
  • Next Build on main (#20687104335)
  • 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