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

Alan-Jowett / CoPilot-For-Consensus / 20247278636
77%

Build:
DEFAULT BRANCH: main
Ran 15 Dec 2025 09:00PM UTC
Jobs 28
Files 109
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

15 Dec 2025 09:00PM UTC coverage: 83.114% (+0.2%) from 82.927%
20247278636

push

github

web-flow
Refactor/enforce typed config api (#261)

* refactor: enforce typed config API for compile-time safety

- Remove load_config from public API (only internal _load_config available)
- Rename load_config to _load_config in schema_loader.py
- Update __init__.py to only export load_typed_config
- All services now must use load_typed_config (validated config)
- Trying to import load_config fails at import time
- Update all test calls to use _load_config
- Update documentation and examples to show load_typed_config
- Update ingestion/upload_ingestion_sources.py to use load_typed_config

This enforces that all configuration is validated against schemas at compile time.
No service can accidentally load unvalidated configuration.

* Replace DOC -> DOCUMENT in environment variable names

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* refactor: make TypedConfig truly attribute-only with immutability

- Remove __getitem__, get(), __contains__ methods (dict-style access)
- Add explicit __getitem__ that raises helpful TypeError
- Add __setattr__ to prevent runtime modifications (immutable config)
- Add __dir__ for IDE autocomplete of available keys
- Update README to document attribute-only design
- Update examples to use only attribute access
- Configuration now enforces both: validated at load time + safe access

This enables better static analysis, IDE support, and prevents accidental
misuse of configuration objects at runtime.

* test: update TypedConfig tests for attribute-only immutable API

- Update test_dict_style_access to expect TypeError when using dict-style access
- Update test_get_with_default to expect AttributeError for removed .get() method
- Update test_missing_key_raises_error to expect TypeError from dict-style access
- Update test_to_dict to expect AttributeError for removed .to_dict() method
- Update test_contains to expect TypeError for 'in' operator
- Add test_immutability to verify config is immutable after loading

All 77 tests n... (continued)

35 of 45 new or added lines in 4 files covered. (77.78%)

4046 of 4868 relevant lines covered (83.11%)

0.94 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
85.19
-10.65% adapters/copilot_config/copilot_config/typed_config.py
3
80.0
0.08% ingestion/app/service.py
4
78.79
0.0% adapters/copilot_storage/copilot_storage/document_store.py
Jobs
ID Job ID Ran Files Coverage
1 copilot_summarization - 20247278636.1 15 Dec 2025 09:01PM UTC 7
95.12
GitHub Action Run
2 error-reporting - 20247278636.2 15 Dec 2025 09:00PM UTC 2
43.4
GitHub Action Run
3 copilot_embedding - 20247278636.3 15 Dec 2025 09:02PM UTC 3
92.16
GitHub Action Run
4 embedding - 20247278636.4 15 Dec 2025 09:01PM UTC 2
94.48
GitHub Action Run
5 reporting - 20247278636.5 15 Dec 2025 09:01PM UTC 2
98.43
GitHub Action Run
6 copilot_metrics - 20247278636.6 15 Dec 2025 09:02PM UTC 5
56.83
GitHub Action Run
7 copilot_schema_validation - 20247278636.7 15 Dec 2025 09:02PM UTC 6
82.89
GitHub Action Run
8 copilot_reporting - 20247278636.8 15 Dec 2025 09:02PM UTC 5
73.17
GitHub Action Run
9 copilot_draft_diff - 20247278636.9 15 Dec 2025 09:01PM UTC 6
98.8
GitHub Action Run
10 copilot_storage - 20247278636.10 15 Dec 2025 09:01PM UTC 5
64.6
GitHub Action Run
11 chunking - 20247278636.11 15 Dec 2025 09:01PM UTC 2
86.36
GitHub Action Run
12 copilot_auth - 20247278636.12 15 Dec 2025 09:01PM UTC 7
98.98
GitHub Action Run
13 copilot_vectorstore_integration - 20247278636.13 15 Dec 2025 09:01PM UTC 7
22.2
GitHub Action Run
14 copilot_events - 20247278636.14 15 Dec 2025 09:01PM UTC 9
63.77
GitHub Action Run
15 orchestrator - 20247278636.15 15 Dec 2025 09:01PM UTC 2
83.89
GitHub Action Run
16 copilot_consensus - 20247278636.16 15 Dec 2025 09:02PM UTC 3
98.64
GitHub Action Run
17 copilot_vectorstore - 20247278636.17 15 Dec 2025 09:02PM UTC 7
70.26
GitHub Action Run
18 summarization - 20247278636.18 15 Dec 2025 09:02PM UTC 2
93.79
GitHub Action Run
19 copilot_events_integration - 20247278636.19 15 Dec 2025 09:01PM UTC 9
46.2
GitHub Action Run
20 copilot_archive_fetcher_integration - 20247278636.20 15 Dec 2025 09:01PM UTC 9
46.99
GitHub Action Run
21 copilot_chunking - 20247278636.21 15 Dec 2025 09:02PM UTC 2
96.69
GitHub Action Run
22 copilot_schema_validation_integration - 20247278636.22 15 Dec 2025 09:01PM UTC 6
47.81
GitHub Action Run
23 copilot_config - 20247278636.23 15 Dec 2025 09:02PM UTC 10
77.57
GitHub Action Run
24 parsing - 20247278636.24 15 Dec 2025 09:01PM UTC 6
84.08
GitHub Action Run
25 copilot_storage_integration - 20247278636.25 15 Dec 2025 09:02PM UTC 5
57.52
GitHub Action Run
26 ingestion - 20247278636.26 15 Dec 2025 09:01PM UTC 2
80.08
GitHub Action Run
27 copilot_logging - 20247278636.27 15 Dec 2025 09:02PM UTC 5
93.94
GitHub Action Run
28 copilot_archive_fetcher - 20247278636.28 15 Dec 2025 09:02PM UTC 9
68.27
GitHub Action Run
Source Files on build 20247278636
  • Tree
  • List 109
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20247278636
  • 9cd5c4c4 on github
  • Prev Build on main (#20243750613)
  • Next Build on main (#20249278377)
  • 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