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

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

Build:
DEFAULT BRANCH: main
Ran 16 Dec 2025 09:15PM UTC
Jobs 29
Files 110
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

16 Dec 2025 09:14PM UTC coverage: 83.357% (-0.1%) from 83.462%
20282926157

push

github

web-flow
Implement idempotent processing across all pipeline stages (#286)

* Initial plan

* Implement idempotency for all processing stages

- Updated vectorstore interface and Qdrant implementation to use upsert semantics
- Modified embedding service to handle duplicate embeddings gracefully
- Added idempotency checks to summarization service (skip if summary exists)
- Added idempotency checks to orchestrator service (skip if summary exists)
- Added comprehensive idempotency tests for embedding, summarization, and orchestrator
- Documented idempotency patterns and requirements in CONTRIBUTING.md

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

* Fix summarization idempotency test - provide messages for context

The test needs to return messages when querying the messages collection
so the summarization process can retrieve context before calling the
summarizer. Fixed side effect to handle both collections properly.

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

* Address code review feedback - improve exception handling

- Use specific exception types (ConnectionError, OSError, TimeoutError) for database connectivity issues
- Log unexpected exceptions with full traceback for debugging
- Clarify that status updates are idempotent (safe to repeat)
- Make error handling more precise to avoid masking programming errors

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

* Fix summarization tests to be collection-aware for idempotency

The idempotency changes added a check for existing summaries before processing.
Updated mock_document_store fixture to return collection-specific data:
- Returns empty list for "summaries" collection (no duplicates by default)
- Returns messages for "messages" collection
- Updated tests that override query_documents to use side_effect instead of return_value

This fixes all 9 failing tests in the summarization service.

Co-authored-by: Alan-Jowet... (continued)

17 of 26 new or added lines in 4 files covered. (65.38%)

4092 of 4909 relevant lines covered (83.36%)

0.95 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
85.99
0.18% orchestrator/app/service.py
4
92.16
-2.44% embedding/app/service.py
4
91.56
-2.19% summarization/app/service.py
Jobs
ID Job ID Ran Files Coverage
1 copilot_archive_fetcher - 20282926157.1 16 Dec 2025 09:19PM UTC 9
68.27
GitHub Action Run
2 copilot_storage_integration - 20282926157.2 16 Dec 2025 09:18PM UTC 5
57.18
GitHub Action Run
3 copilot_draft_diff - 20282926157.3 16 Dec 2025 09:24PM UTC 6
98.8
GitHub Action Run
4 chunking - 20282926157.4 16 Dec 2025 09:22PM UTC 2
84.93
GitHub Action Run
5 copilot_schema_validation_integration - 20282926157.5 16 Dec 2025 09:18PM UTC 6
49.55
GitHub Action Run
6 copilot_events - 20282926157.6 16 Dec 2025 09:26PM UTC 9
63.77
GitHub Action Run
7 copilot_metrics - 20282926157.7 16 Dec 2025 09:24PM UTC 5
56.83
GitHub Action Run
8 copilot_logging - 20282926157.8 16 Dec 2025 09:24PM UTC 5
93.94
GitHub Action Run
9 copilot_auth - 20282926157.9 16 Dec 2025 09:23PM UTC 7
98.98
GitHub Action Run
10 copilot_vectorstore - 20282926157.10 16 Dec 2025 09:18PM UTC 7
69.89
GitHub Action Run
11 copilot_embedding - 20282926157.11 16 Dec 2025 09:25PM UTC 3
92.16
GitHub Action Run
12 copilot_archive_fetcher_integration - 20282926157.12 16 Dec 2025 09:19PM UTC 9
46.99
GitHub Action Run
13 reporting-ui - 20282926157.13 16 Dec 2025 09:22PM UTC 1
0.0
GitHub Action Run
14 parsing - 20282926157.14 16 Dec 2025 09:17PM UTC 6
84.58
GitHub Action Run
15 copilot_config - 20282926157.15 16 Dec 2025 09:23PM UTC 10
77.57
GitHub Action Run
16 summarization - 20282926157.16 16 Dec 2025 09:19PM UTC 2
91.61
GitHub Action Run
17 copilot_vectorstore_integration - 20282926157.17 16 Dec 2025 09:17PM UTC 7
23.15
GitHub Action Run
18 copilot_events_integration - 20282926157.18 16 Dec 2025 09:19PM UTC 9
46.2
GitHub Action Run
19 ingestion - 20282926157.19 16 Dec 2025 09:23PM UTC 2
80.08
GitHub Action Run
20 copilot_reporting - 20282926157.20 16 Dec 2025 09:21PM UTC 5
73.17
GitHub Action Run
21 error-reporting - 20282926157.21 16 Dec 2025 09:22PM UTC 2
43.4
GitHub Action Run
22 reporting - 20282926157.22 16 Dec 2025 09:20PM UTC 2
98.43
GitHub Action Run
23 embedding - 20282926157.23 16 Dec 2025 09:18PM UTC 2
92.21
GitHub Action Run
24 orchestrator - 20282926157.24 16 Dec 2025 09:15PM UTC 2
86.08
GitHub Action Run
25 copilot_storage - 20282926157.25 16 Dec 2025 09:25PM UTC 5
64.81
GitHub Action Run
26 copilot_consensus - 20282926157.26 16 Dec 2025 09:22PM UTC 3
98.64
GitHub Action Run
27 copilot_schema_validation - 20282926157.27 16 Dec 2025 09:25PM UTC 6
90.0
GitHub Action Run
28 copilot_summarization - 20282926157.28 16 Dec 2025 09:25PM UTC 7
95.12
GitHub Action Run
29 copilot_chunking - 20282926157.29 16 Dec 2025 09:21PM UTC 2
93.67
GitHub Action Run
Source Files on build 20282926157
  • Tree
  • List 110
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20282926157
  • b984d0b4 on github
  • Prev Build on main (#20282512408)
  • Next Build on main (#20284532465)
  • 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