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

Alan-Jowett / CoPilot-For-Consensus / 20934787988 / 2
78%
main: 78%

Build:
DEFAULT BRANCH: main
Ran 12 Jan 2026 09:04PM UTC
Files 2
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

12 Jan 2026 08:59PM UTC coverage: 86.7%. Remained the same
20934787988.2

push

github

web-flow
Fix: Use generic adapter discriminants (LOG_TYPE, METRICS_TYPE) instead of service-specific variants (#844)

* Fix: Use generic adapter discriminants (LOG_TYPE, METRICS_TYPE) instead of service-specific variants

Root Cause:
Services were failing at runtime because they expected generic adapter
discriminant environment variables (LOG_TYPE, METRICS_TYPE) but Bicep
was providing service-specific variants (REPORTING_LOG_TYPE, etc.).

The adapter configuration system loads adapters using generic discriminant
names defined in adapter schemas (logger.json, metrics.json), not
service-specific variants.

Changes:
1. Service Schemas: Removed duplicate log_type/metrics_type fields from
   service schemas (reporting, ingestion, parsing, orchestrator,
   summarization) as they conflicted with adapter discriminants.

2. Bicep Configuration: Fixed containerapps.bicep to use generic
   discriminant names:
   - REPORTING_LOG_TYPE -> LOG_TYPE
   - REPORTING_METRICS_TYPE -> METRICS_TYPE
   - INGESTION_METRICS_TYPE -> METRICS_TYPE
   - PARSING_LOG_TYPE -> LOG_TYPE
   - PARSING_METRICS_TYPE -> METRICS_TYPE
   - CHUNK_METRICS_TYPE -> METRICS_TYPE
   - EMBEDDING_METRICS_TYPE -> METRICS_TYPE
   - ORCHESTRATOR_LOG_TYPE -> LOG_TYPE
   - ORCHESTRATOR_METRICS_TYPE -> METRICS_TYPE
   - SUMMARIZATION_LOG_TYPE -> LOG_TYPE
   - SUMMARIZATION_METRICS_TYPE -> METRICS_TYPE

   Added missing discriminants:
   - ERROR_REPORTER_TYPE=console (all services)
   - LOG_TYPE=stdout (ingestion)
   - CONSENSUS_DETECTOR_TYPE=heuristic (orchestrator)
   - EMBEDDING_BACKEND_TYPE=ollama (orchestrator)
   - VECTOR_STORE_TYPE=qdrant (orchestrator)

3. Validation Enhancement: Updated validate_bicep_config.py to resolve
   \ pointers and validate actual adapter discriminants from
   referenced adapter schemas, not just service settings.

Testing:
All 8 microservices now pass validation:
  python scripts/validate_bicep_all_services.py infra/azure/modules/containerapps.bicep

Resolves runtime errors:
- Va... (continued)

176 of 203 relevant lines covered (86.7%)

0.87 hits per line

Source Files on job chunking - 20934787988.2
  • Tree
  • List 2
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20934787988
  • a2c25a80 on github
  • Prev Job for on main (#20927455143.20)
  • Next Job for on main (#20937037234.14)
  • 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