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

Alan-Jowett / CoPilot-For-Consensus / 21003568144
79%

Build:
DEFAULT BRANCH: main
Ran 14 Jan 2026 05:27PM UTC
Jobs 27
Files 152
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

14 Jan 2026 05:27PM UTC coverage: 78.611% (-3.5%) from 82.133%
21003568144

push

github

web-flow
feat: Generate typed ServiceConfig dataclasses from JSON schemas with 1:1 schema-to-module mapping and CI drift gate (#860)

* Initial plan

* feat: implement typed config generator for all services

- Add scripts/generate_typed_configs.py that generates Python dataclasses from JSON schemas
- Generate complete type hierarchy: ServiceConfig -> AdapterConfig -> DriverConfig
- Handle discriminants and driver selection with Literal types
- Support all 8 services (auth, chunking, embedding, ingestion, orchestrator, parsing, reporting, summarization)
- Generated code passes ruff linting with proper line length handling
- Store generated configs in adapters/copilot_config/copilot_config/generated/

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

* feat: implement runtime loader for typed configs

- Add runtime_loader.py with get_config() function
- Populate generated dataclasses from environment and secrets
- Support discriminants and driver selection
- Handle type coercion (int, bool, string)
- Add comprehensive tests for runtime loading
- Update __init__.py to export new functions
- Fix generator field ordering (required fields first)
- All runtime loader tests passing

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

* feat: add CI drift gate for typed configs

- Update schema-validation.yml to check generated files
- Fail CI if generated configs don't match schemas
- Add README.md to generated/ explaining usage
- Provide clear instructions for fixing drift

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

* chore: fix linting issues in runtime loader and generator

- Remove unused function arguments
- Remove unused variable
- Auto-format with ruff
- All tests still passing

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

* fix: escape quotes consistently in generated comments

- Use desc_safe (escaped) in both docstring and comment branches
-... (continued)

332 of 799 new or added lines in 25 files covered. (41.55%)

1 existing line in 1 file now uncovered.

7200 of 9159 relevant lines covered (78.61%)

0.87 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
82.17
0.0% adapters/copilot_config/copilot_config/typed_config.py
14
0.0
adapters/copilot_config/copilot_config/generated/adapters/draft_diff_provider.py
18
0.0
adapters/copilot_config/copilot_config/generated/adapters/consensus_detector.py
19
0.0
adapters/copilot_config/copilot_config/generated/adapters/chunker.py
27
0.0
adapters/copilot_config/copilot_config/generated/adapters/oidc_providers.py
28
0.0
adapters/copilot_config/copilot_config/generated/services/chunking.py
28
0.0
adapters/copilot_config/copilot_config/generated/services/parsing.py
30
0.0
adapters/copilot_config/copilot_config/generated/adapters/vector_store.py
31
0.0
adapters/copilot_config/copilot_config/generated/adapters/llm_backend.py
31
0.0
adapters/copilot_config/copilot_config/generated/services/reporting.py
32
0.0
adapters/copilot_config/copilot_config/generated/adapters/embedding_backend.py
32
0.0
adapters/copilot_config/copilot_config/generated/services/embedding.py
33
0.0
adapters/copilot_config/copilot_config/generated/services/summarization.py
37
0.0
adapters/copilot_config/copilot_config/generated/services/auth.py
40
0.0
adapters/copilot_config/copilot_config/generated/services/orchestrator.py
65
69.48
adapters/copilot_config/copilot_config/runtime_loader.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
82.17
0.0% adapters/copilot_config/copilot_config/typed_config.py
Jobs
ID Job ID Ran Files Coverage
1 reporting - 21003568144.1 14 Jan 2026 05:29PM UTC 2
90.09
GitHub Action Run
2 chunking - 21003568144.2 14 Jan 2026 05:30PM UTC 2
86.7
GitHub Action Run
3 copilot_archive_fetcher_integration - 21003568144.3 14 Jan 2026 05:28PM UTC 9
46.48
GitHub Action Run
4 copilot_message_bus - 21003568144.4 14 Jan 2026 05:27PM UTC 13
65.32
GitHub Action Run
5 parsing - 21003568144.5 14 Jan 2026 05:30PM UTC 7
85.62
GitHub Action Run
6 orchestrator - 21003568144.6 14 Jan 2026 05:29PM UTC 2
84.38
GitHub Action Run
7 copilot_logging - 21003568144.7 14 Jan 2026 05:31PM UTC 7
96.36
GitHub Action Run
8 copilot_schema_validation - 21003568144.8 14 Jan 2026 05:31PM UTC 7
84.73
GitHub Action Run
9 copilot_summarization - 21003568144.9 14 Jan 2026 05:29PM UTC 8
95.69
GitHub Action Run
10 copilot_draft_diff - 21003568144.10 14 Jan 2026 05:31PM UTC 6
97.89
GitHub Action Run
11 copilot_consensus - 21003568144.11 14 Jan 2026 05:31PM UTC 3
95.91
GitHub Action Run
12 copilot_vectorstore - 21003568144.12 14 Jan 2026 05:30PM UTC 8
75.87
GitHub Action Run
13 copilot_auth - 21003568144.13 14 Jan 2026 05:32PM UTC 12
69.0
GitHub Action Run
14 embedding - 21003568144.14 14 Jan 2026 05:29PM UTC 2
90.17
GitHub Action Run
15 summarization - 21003568144.15 14 Jan 2026 05:29PM UTC 2
95.43
GitHub Action Run
16 copilot_message_bus_integration - 21003568144.16 14 Jan 2026 05:28PM UTC 13
34.8
GitHub Action Run
17 ingestion - 21003568144.17 14 Jan 2026 05:30PM UTC 5
78.6
GitHub Action Run
18 copilot_error_reporting - 21003568144.18 14 Jan 2026 05:30PM UTC 5
75.91
GitHub Action Run
19 copilot_schema_validation_integration - 21003568144.19 14 Jan 2026 05:28PM UTC 7
39.52
GitHub Action Run
20 copilot_storage - 21003568144.20 14 Jan 2026 05:31PM UTC 7
73.42
GitHub Action Run
21 copilot_chunking - 21003568144.21 14 Jan 2026 05:31PM UTC 2
93.33
GitHub Action Run
22 copilot_config - 21003568144.22 14 Jan 2026 05:28PM UTC 29
58.3
GitHub Action Run
23 copilot_vectorstore_integration - 21003568144.23 14 Jan 2026 05:28PM UTC 8
18.89
GitHub Action Run
24 copilot_archive_fetcher - 21003568144.24 14 Jan 2026 05:30PM UTC 9
69.14
GitHub Action Run
25 copilot_storage_integration - 21003568144.25 14 Jan 2026 05:29PM UTC 7
30.79
GitHub Action Run
26 copilot_metrics - 21003568144.26 14 Jan 2026 05:31PM UTC 7
78.77
GitHub Action Run
27 copilot_embedding - 21003568144.27 14 Jan 2026 05:33PM UTC 7
96.45
GitHub Action Run
Source Files on build 21003568144
  • Tree
  • List 152
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21003568144
  • 2c742d27 on github
  • Prev Build on main (#21000866440)
  • 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