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

zalando / skipper / 26751628948
80%

Build:
DEFAULT BRANCH: master
Ran 01 Jun 2026 11:35AM UTC
Jobs 1
Files 309
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 11:17AM UTC coverage: 80.178% (+0.02%) from 80.163%
26751628948

push

github

web-flow
fix: wait for cipher refresher goroutine to exit on Close (#4036)

# Related Issue

Fixes a goroutine leak found while working on #4034.

## Problem

`Registry.Close()` called `v.Close()` on each encrypter but returned
immediately, leaving the `runCipherRefresher` goroutine running until it
observed the closed channel on its next select iteration. Under `noleak`
this caused a test failure in the `secrets` package.

## Fix

Initialize `closedHook` inside `runCipherRefresher` (only when a
goroutine is actually started) and drain it in `Registry.Close()` so
shutdown blocks until the goroutine has exited. The `nil` guard on the
drain ensures encrypters created without a refresh interval (no
goroutine started) are unaffected.

No behavior change in production - `Close()` is only called at shutdown.

---------

Signed-off-by: Larry D Almeida <hello@larrydalmeida.com>

5 of 5 new or added lines in 2 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

28080 of 35022 relevant lines covered (80.18%)

80848.99 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
94.78
-1.74% eskipfile/watch.go
Jobs
ID Job ID Ran Files Coverage
1 26751628948.1 01 Jun 2026 11:35AM UTC 309
80.18
GitHub Action Run
Source Files on build 26751628948
  • Tree
  • List 309
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26751628948
  • 805d3c72 on github
  • Prev Build on master (#26750428017)
  • Next Build on master (#26763695521)
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