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

stacklok / toolhive / 30345441341
70%

Build:
DEFAULT BRANCH: main
Ran 28 Jul 2026 09:17AM UTC
Jobs 1
Files 848
Run time 2min
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

28 Jul 2026 09:10AM UTC coverage: 69.727% (-0.05%) from 69.773%
30345441341

push

github

web-flow
Recreate the shared external network on a lost teardown race (#6083)

deleteNetworks removes the shared "toolhive-external" Docker network
opportunistically whenever a workload teardown observes zero remaining
toolhive-labeled containers -- a point-in-time check with no
cross-process synchronization. Since concurrent Ginkgo processes (or
any concurrent `thv run` invocations) share one Docker daemon, one
process's teardown can delete the network while another's container
is mid-creation and still needs it, surfacing as "network
toolhive-external not found" from ContainerCreate/ContainerStart.

Observed in CI: a DNS sidecar container failed this way in the "core"
e2e job after it moved to 4 concurrent Ginkgo processes.

Recreate the network and retry once when this specific not-found
condition is hit, and clean up any container Docker leaves behind in
"created" state after a failed start so the retry doesn't collide on
the same name.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>

8 of 22 new or added lines in 1 file covered. (36.36%)

73 existing lines in 3 files now uncovered.

81251 of 116527 relevant lines covered (69.73%)

98.43 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
57.75
-0.43% pkg/container/docker/client.go

Coverage Regressions

Lines Coverage ∆ File
62
61.82
-4.73% pkg/workloads/manager.go
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
5
0.0
-100.0% pkg/workloads/sysproc_unix.go
Jobs
ID Job ID Ran Files Coverage
1 30345441341.1 28 Jul 2026 09:17AM UTC 848
69.73
GitHub Action Run
Source Files on build 30345441341
  • Tree
  • List 848
  • Changed 10
  • Source Changed 1
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30345441341
  • e8f84ef9 on github
  • Prev Build on main (#30343825881)
  • Next Build on main (#30347108009)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc