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

Alan-Jowett / CoPilot-For-Consensus / 20423422233
78%

Build:
DEFAULT BRANCH: main
Ran 22 Dec 2025 06:08AM UTC
Jobs 27
Files 124
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

22 Dec 2025 06:07AM UTC coverage: 76.913% (-1.1%) from 78.022%
20423422233

push

github

web-flow
Add Azure Monitor–Backed MetricsAdapter to copilot_metrics (#524)

* Initial plan

* Add Azure Monitor metrics adapter with OpenTelemetry integration

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

* Fix linting issues in Azure Monitor adapter (10/10 pylint score)

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

* Fix type annotations and test skip conditions per code review

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

* Changes before error encountered

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

* Address code review feedback: add test fixture, improve assertions, rename test

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

* Fix CI failure: remove undefined monkeypatch reference in test

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

* Fix test fixture usage and skip condition logic

- Use mock_azure_exporter fixture consistently across all Azure Monitor tests
- Fix inverted skip condition in test_requires_azure_monitor_packages
- Remove all inline mocking code duplication

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

* Fix Azure Monitor implementation issues per code review

- Store provider instance to avoid global state conflicts
- Fix gauge callback closure to capture key by value
- Initialize cache dictionaries before try block for consistent state
- Use instance-specific provider in shutdown instead of global
- Update test comment for accuracy
- Add mock_azure_exporter fixture to factory test

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

* Add get_gauge_value method and use f-string logging for consistency

- Add get_gauge_value() method to support test introspection like NoOp collector
- Convert all logging to f-strings for consistency with Prometheus adapter
- Maintains consistency across metrics ... (continued)

32 of 142 new or added lines in 3 files covered. (22.54%)

5467 of 7108 relevant lines covered (76.91%)

0.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
76.0
-1.78% adapters/copilot_metrics/copilot_metrics/__init__.py
108
18.18
adapters/copilot_metrics/copilot_metrics/azure_monitor_metrics.py
Jobs
ID Job ID Ran Files Coverage
1 summarization - 20423422233.1 22 Dec 2025 06:09AM UTC 2
90.8
GitHub Action Run
2 copilot_consensus - 20423422233.2 22 Dec 2025 06:09AM UTC 3
98.64
GitHub Action Run
3 chunking - 20423422233.3 22 Dec 2025 06:09AM UTC 2
82.91
GitHub Action Run
4 copilot_logging - 20423422233.4 22 Dec 2025 06:09AM UTC 7
71.8
GitHub Action Run
5 orchestrator - 20423422233.5 22 Dec 2025 06:08AM UTC 2
66.11
GitHub Action Run
6 copilot_archive_fetcher - 20423422233.6 22 Dec 2025 06:08AM UTC 9
68.27
GitHub Action Run
7 copilot_storage - 20423422233.7 22 Dec 2025 06:08AM UTC 5
65.38
GitHub Action Run
8 parsing - 20423422233.8 22 Dec 2025 06:08AM UTC 7
84.1
GitHub Action Run
9 copilot_schema_validation - 20423422233.9 22 Dec 2025 06:09AM UTC 7
87.34
GitHub Action Run
10 copilot_events - 20423422233.10 22 Dec 2025 06:08AM UTC 11
60.77
GitHub Action Run
11 copilot_events_integration - 20423422233.11 22 Dec 2025 06:08AM UTC 11
35.01
GitHub Action Run
12 embedding - 20423422233.12 22 Dec 2025 06:08AM UTC 2
90.17
GitHub Action Run
13 copilot_embedding - 20423422233.13 22 Dec 2025 06:09AM UTC 3
92.16
GitHub Action Run
14 copilot_chunking - 20423422233.14 22 Dec 2025 06:09AM UTC 2
93.75
GitHub Action Run
15 copilot_vectorstore_integration - 20423422233.15 22 Dec 2025 06:08AM UTC 7
23.15
GitHub Action Run
16 copilot_auth - 20423422233.16 22 Dec 2025 06:09AM UTC 12
45.58
GitHub Action Run
17 copilot_config - 20423422233.17 22 Dec 2025 06:08AM UTC 11
79.92
GitHub Action Run
18 copilot_metrics - 20423422233.18 22 Dec 2025 06:08AM UTC 6
41.74
GitHub Action Run
19 copilot_vectorstore - 20423422233.19 22 Dec 2025 06:09AM UTC 7
69.89
GitHub Action Run
20 copilot_schema_validation_integration - 20423422233.20 22 Dec 2025 06:08AM UTC 7
40.19
GitHub Action Run
21 copilot_reporting - 20423422233.21 22 Dec 2025 06:09AM UTC 5
73.17
GitHub Action Run
22 copilot_draft_diff - 20423422233.22 22 Dec 2025 06:09AM UTC 6
98.8
GitHub Action Run
23 copilot_summarization - 20423422233.23 22 Dec 2025 06:08AM UTC 8
94.05
GitHub Action Run
24 copilot_storage_integration - 20423422233.24 22 Dec 2025 06:08AM UTC 5
50.45
GitHub Action Run
25 ingestion - 20423422233.25 22 Dec 2025 06:08AM UTC 5
82.31
GitHub Action Run
26 reporting - 20423422233.26 22 Dec 2025 06:08AM UTC 2
90.0
GitHub Action Run
27 copilot_archive_fetcher_integration - 20423422233.27 22 Dec 2025 06:08AM UTC 9
46.99
GitHub Action Run
Source Files on build 20423422233
  • Tree
  • List 124
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20423422233
  • 56b2a614 on github
  • Prev Build on main (#20422963858)
  • Next Build on main (#20423557791)
  • 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