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

prisma-risk / tsoracle / 26733145915
95%

Build:
DEFAULT BRANCH: main
Ran 01 Jun 2026 03:20AM UTC
Jobs 1
Files 93
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

01 Jun 2026 03:13AM UTC coverage: 95.045% (-0.006%) from 95.051%
26733145915

push

github

web-flow
fix(stress): disable metrics exporter in spawned process-topology nodes (#610)

The tsoracle binary, when built with the `metrics` feature, installs a
Prometheus exporter on a hardcoded 127.0.0.1:9551 by default. The stress
process-topology harness gives each spawned node a unique --listen port
but not a unique metrics port, so whenever two instances are alive at
once on one host the second fails to bind 9551 (EADDRINUSE) and aborts
startup.

This surfaced on the `test` CI lane (cargo test --workspace
--all-features), which compiles the binary with `metrics` enabled:
cargo's default test parallelism runs the process smoke tests
concurrently, and the killer-loop scenario also respawns nodes before
the killed socket is reaped. Either path collides on 9551.

The harness scrapes no metrics, so spawned children should not run an
exporter. Pass --no-metrics when spawning. Because other lanes build the
binary without the `metrics` feature and run the same spawn code, the
flag is ungated so it parses in every build (documented no-op without
the feature); --metrics-listen stays gated. A unit test guards that
--no-metrics parses without the feature.

Signed-off-by: Sebastian Thiebaud <sebastian@prismarisk.com>

17284 of 18185 relevant lines covered (95.05%)

294723.89 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
93.56
-0.06% crates/tsoracle-client/src/retry.rs
Jobs
ID Job ID Ran Files Coverage
1 26733145915.1 01 Jun 2026 03:20AM UTC 93
95.05
GitHub Action Run
Source Files on build 26733145915
  • Tree
  • List 93
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26733145915
  • a7c1557b on github
  • Prev Build on main (#26730680299)
  • Next Build on main (#26782735450)
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