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

Alan-Jowett / CoPilot-For-Consensus / 20763756154
76%

Build:
DEFAULT BRANCH: main
Ran 06 Jan 2026 10:14PM 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

06 Jan 2026 10:13PM UTC coverage: 77.03% (-0.007%) from 77.037%
20763756154

push

github

web-flow
Fix source deletion: Cosmos DB document ID resolution and logger signature (#776)

* Initial plan

* Fix logger calls and document store operations for source management

- Fixed all logger.error calls in api.py to use keyword arguments instead of printf-style formatting
- Fixed delete_source() to query for document ID before deleting (Cosmos SDK compatibility)
- Fixed update_source() to query for document ID before updating (Cosmos SDK compatibility)

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

* Remove xfail markers from source update/delete tests

Tests should now pass with the fixed delete_source() and update_source() implementations

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

* Remove redundant queries in delete_source and update_source

Removed duplicate get_source() calls that were querying the database unnecessarily before the actual query to get the document ID

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

* Use explicit None checks for document ID fallback

Changed from 'or' operator to explicit None check to avoid issues with falsy values like empty strings or 0

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

* Extract document ID lookup into helper method

Created _get_source_doc_id() helper to eliminate code duplication and avoid duplicate dictionary lookups in update_source() and delete_source()

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

* Simplify ID extraction and fix error handling

- Simplified doc_id extraction to avoid duplicate get() calls
- Added explicit ValueError re-raise to prevent double-wrapping error messages

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

* Fix ID extraction and remove redundant str() conversions

- Use explicit None checks in ID extraction to preserve falsy but valid IDs (e.g., 0, "")
- Remove redundant str() conv... (continued)

17 of 29 new or added lines in 2 files covered. (58.62%)

9 existing lines in 2 files now uncovered.

6261 of 8128 relevant lines covered (77.03%)

0.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
79.56
0.25% ingestion/app/service.py
7
82.91
-1.01% ingestion/app/api.py

Uncovered Existing Lines

Lines Coverage ∆ File
3
82.91
-1.01% ingestion/app/api.py
6
79.56
0.25% ingestion/app/service.py
Jobs
ID Job ID Ran Files Coverage
1 parsing - 20763756154.1 06 Jan 2026 10:15PM UTC 7
84.27
GitHub Action Run
2 chunking - 20763756154.2 06 Jan 2026 10:15PM UTC 2
83.25
GitHub Action Run
3 copilot_reporting - 20763756154.3 06 Jan 2026 10:15PM UTC 5
73.17
GitHub Action Run
4 copilot_events_integration - 20763756154.4 06 Jan 2026 10:15PM UTC 12
34.81
GitHub Action Run
5 copilot_metrics - 20763756154.5 06 Jan 2026 10:16PM UTC 6
41.74
GitHub Action Run
6 copilot_summarization - 20763756154.6 06 Jan 2026 10:16PM UTC 8
96.65
GitHub Action Run
7 copilot_storage - 20763756154.7 06 Jan 2026 10:16PM UTC 6
72.57
GitHub Action Run
8 copilot_consensus - 20763756154.8 06 Jan 2026 10:15PM UTC 3
98.67
GitHub Action Run
9 copilot_config - 20763756154.9 06 Jan 2026 10:15PM UTC 14
75.44
GitHub Action Run
10 orchestrator - 20763756154.10 06 Jan 2026 10:14PM UTC 2
67.29
GitHub Action Run
11 copilot_auth - 20763756154.11 06 Jan 2026 10:14PM UTC 12
48.62
GitHub Action Run
12 copilot_logging - 20763756154.12 06 Jan 2026 10:15PM UTC 7
71.7
GitHub Action Run
13 reporting - 20763756154.13 06 Jan 2026 10:14PM UTC 2
90.0
GitHub Action Run
14 copilot_chunking - 20763756154.14 06 Jan 2026 10:15PM UTC 2
93.75
GitHub Action Run
15 embedding - 20763756154.15 06 Jan 2026 10:14PM UTC 2
90.17
GitHub Action Run
16 copilot_vectorstore_integration - 20763756154.16 06 Jan 2026 10:14PM UTC 8
20.32
GitHub Action Run
17 copilot_archive_fetcher - 20763756154.17 06 Jan 2026 10:15PM UTC 9
67.49
GitHub Action Run
18 copilot_draft_diff - 20763756154.18 06 Jan 2026 10:14PM UTC 6
98.77
GitHub Action Run
19 copilot_schema_validation_integration - 20763756154.19 06 Jan 2026 10:15PM UTC 7
40.75
GitHub Action Run
20 copilot_archive_fetcher_integration - 20763756154.20 06 Jan 2026 10:14PM UTC 9
45.68
GitHub Action Run
21 copilot_storage_integration - 20763756154.21 06 Jan 2026 10:14PM UTC 6
29.94
GitHub Action Run
22 ingestion - 20763756154.22 06 Jan 2026 10:14PM UTC 5
82.15
GitHub Action Run
23 summarization - 20763756154.23 06 Jan 2026 10:15PM UTC 2
92.56
GitHub Action Run
24 copilot_schema_validation - 20763756154.24 06 Jan 2026 10:15PM UTC 7
87.46
GitHub Action Run
25 copilot_events - 20763756154.25 06 Jan 2026 10:16PM UTC 12
63.42
GitHub Action Run
26 copilot_vectorstore - 20763756154.26 06 Jan 2026 10:15PM UTC 8
72.38
GitHub Action Run
27 copilot_embedding - 20763756154.27 06 Jan 2026 10:14PM UTC 3
92.0
GitHub Action Run
Source Files on build 20763756154
  • 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 #20763756154
  • 4cadb4f7 on github
  • Prev Build on main (#20761274918)
  • Next Build on main (#20765318680)
  • 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