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

raffis / renovate-metrics / 24661496062 / 1
0%
main: 0%

Build:
DEFAULT BRANCH: main
Ran 20 Apr 2026 10:27AM UTC
Files 5
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

20 Apr 2026 10:27AM UTC coverage: 0.0%. Remained the same
24661496062.1

push

github

web-flow
fix: prevent panic because of duplicate metrics (#148)

When the same dependency is referenced twice in the same file, and renovate is configured to create separate PRs for the two references,
renovate-metrics will have two packageUpdate structs which are different, but emit the same metric.

This will lead to a panic:
> panic: [from Gatherer #1] collected metric "renovate_dependency_update" { … } was collected before with the same name and label values

With this change the branch name is copied to a local variable for later usage and set to an empty string for the comparison happening on
map access. Thus the existing metric will be found and increased.

Signed-off-by: Pascal Hofmann <mail@pascalhofmann.de>

0 of 246 relevant lines covered (0.0%)

0.0 hits per line

Source Files on job 24661496062.1
  • Tree
  • List 5
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24661496062
  • 57d1fca9 on github
  • Prev Job for on main (#24307006172.1)
  • Next Job for on main (#24667777943.1)
  • 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