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

Alan-Jowett / CoPilot-For-Consensus / 20249555943 / 27
77%
main: 77%

Build:
DEFAULT BRANCH: main
Ran 15 Dec 2025 10:29PM UTC
Files 7
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

15 Dec 2025 10:27PM UTC coverage: 98.98%. Remained the same
20249555943.27

push

github

web-flow
Fix chunking service AttributeError: replace histogram() with observe() (#268)

* Initial plan

* Fix chunking service: replace histogram() with observe() method

Replace metrics_collector.histogram() calls with observe() method to fix AttributeError.
The PrometheusPushGatewayMetricsCollector only implements increment(), observe(), and gauge()
methods. Added test to verify metrics are recorded correctly with observe().

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

* Fix test assertion: simplify histogram check using method_calls

Replaced complex hasattr/called check with simpler method_calls inspection.
The previous assertion was flawed because accessing mock_metrics.histogram
would create the attribute. Now checking method_calls list directly.

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

97 of 98 relevant lines covered (98.98%)

0.99 hits per line

Source Files on job copilot_auth - 20249555943.27
  • Tree
  • List 7
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20249555943
  • 964f238a on github
  • Prev Job for on main (#20249278377.1)
  • Next Job for on main (#20250264947.22)
  • 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