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

Alan-Jowett / CoPilot-For-Consensus / 20150984098
82%

Build:
DEFAULT BRANCH: main
Ran 11 Dec 2025 11:38PM UTC
Jobs 2
Files 13
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

11 Dec 2025 11:38PM UTC coverage: 58.504% (-14.4%) from 72.941%
20150984098

push

github

web-flow
Add schema validation wrappers for Pub/Sub and Document Storage (#91)

* Initial plan

* Add ValidatingEventPublisher and ValidatingDocumentStore with tests and examples

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

* Update README documentation for ValidatingEventPublisher and ValidatingDocumentStore

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

* Fix linting issues in validating adapters

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

* Fix circular dependency between adapters

- Made copilot-schema-validation optional for copilot_storage (install with [validation] extra)
- Kept copilot-schema-validation required for copilot_events (needed for event models)
- Updated install_adapters.py to correct dependency order
- Updated README to document optional dependency

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

* Switch ingestion service to use ValidatingEventPublisher

- Wrapped base publisher with ValidatingEventPublisher for automatic schema validation
- All published events (ArchiveIngested, ArchiveIngestionFailed) now validated before publishing
- Updated README to document schema validation feature
- All tests pass (10/10)

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

* Update adapters/copilot_storage/README.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix schema validation error in ingestion service

- Remove 'status' field from ArchiveMetadata when creating ArchiveIngested event
- The 'status' field is used internally for logging but not part of the event schema
- This resolves validation failure when using ValidatingEventPublisher

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

* Fix missing import: add create_logger from copilot_logging

* Fix publisher variable reference: use base_publisher before wrapping with ValidatingEventP... (continued)

111 of 123 new or added lines in 4 files covered. (90.24%)

399 of 682 relevant lines covered (58.5%)

0.59 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
88.24
adapters/copilot_events/copilot_events/validating_publisher.py
6
91.43
adapters/copilot_storage/copilot_storage/validating_document_store.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.11 - 20150984098.1 11 Dec 2025 11:38PM UTC 5
58.52
GitHub Action Run
2 python-3.11 - 20150984098.2 11 Dec 2025 11:39PM UTC 8
58.49
GitHub Action Run
Source Files on build 20150984098
  • Tree
  • List 13
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20150984098
  • 10b71b6e on github
  • Prev Build on main (#20150697558)
  • Next Build on main (#20151760223)
  • 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