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

zalando / skipper / 26750428017
80%

Build:
DEFAULT BRANCH: master
Ran 01 Jun 2026 11:11AM 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 10:51AM UTC coverage: 80.163% (-0.06%) from 80.218%
26750428017

push

github

web-flow
introduce timeout for decicion log task (#4035)

## Problem

When asyncDecisionLogging is enabled and a new policy bundle is
deployed, eopa_dl.Reconfigure() calls Stop() on the running Benthos
stream followed by Start() on a new one. If `runDecisionLogger` is
inside stream.Consume() on the old stream at that moment, the Benthos
producer closure tries to write the decision event to an internal
channel whose reader (inproc input) has been destroyed by Stop().
  
Because `doLogDecision` was called with context.Background() (without
deadline) the blocked send never returns. `runDecisionLogger` is
permanently stuck on that one call and stops draining `decisionLogChan`.

With the goroutine stuck, once the channel fills to capacity
(buffer_size_limit_events), every subsequent `logDecision` call hits the
non-blocking default branch and drops the event, logging "Decision log
dropped: async buffer full." The warning continues indefinitely with no
self-recovery. The only fix prior to this change was a pod restart.
 
## Fix
Set timeout for the context passed for decision logging. The value for
the timeout is decided using the configured timeout for the eopa_dl
output type

---------

Signed-off-by: nuwandi-wickramasinghe_zse <nuwandi.wickramasinghe@zalando.de>
Co-authored-by: nuwandi-wickramasinghe_zse <nuwandi.wickramasinghe@zalando.de>

24 of 44 new or added lines in 2 files covered. (54.55%)

13 existing lines in 4 files now uncovered.

28074 of 35021 relevant lines covered (80.16%)

83387.67 hits per line

Uncovered Changes

Lines Coverage ∆ File
20
78.36
-0.93% filters/openpolicyagent/openpolicyagent.go

Coverage Regressions

Lines Coverage ∆ File
6
68.3
-0.48% skipper.go
3
90.42
-0.22% proxy/proxy.go
3
87.18
-7.69% proxy/teebody.go
1
78.36
-0.93% filters/openpolicyagent/openpolicyagent.go
Jobs
ID Job ID Ran Files Coverage
1 26750428017.1 01 Jun 2026 11:11AM UTC 309
80.16
GitHub Action Run
Source Files on build 26750428017
  • Tree
  • List 309
  • Changed 6
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26750428017
  • c8aba710 on github
  • Prev Build on master (#26750383719)
  • Next Build on master (#26751628948)
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