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

Alan-Jowett / CoPilot-For-Consensus / 21003568144 / 11
78%
main: 78%

Build:
DEFAULT BRANCH: main
Ran 14 Jan 2026 05:34PM UTC
Files 3
Run time 0s
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: 95.906%. Remained the same
21003568144.11

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)

164 of 171 relevant lines covered (95.91%)

0.96 hits per line

Source Files on job copilot_consensus - 21003568144.11
  • Tree
  • List 3
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21003568144
  • 2c742d27 on github
  • Prev Job for on main (#21000866440.27)
  • 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