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

zalando / skipper / 32833078697
81%

Build:
DEFAULT BRANCH: master
Ran 25 Aug 2026 05:03PM UTC
Jobs 1
Files 313
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

25 Aug 2026 09:38AM UTC coverage: 80.584% (-0.2%) from 80.798%
32833078697

push

github

web-flow
fix: deduplicate fifoWithBody and lifoWithBody in the route preprocessor (#4217)

`Registry.Do` keys the queue by route id, so `fifo()` and
`fifoWithBody()` on the
same route share one queue, same for `lifo()` and `lifoWithBody()`. The
preprocessor drops all but the last instance to avoid that, but it only
counted
`filters.FifoName` and `filters.LifoName`, so the WithBody variants were
never
removed. Both then call `Wait()` on the same queue and one request takes
two
slots.

A single request to an idle proxy rejects itself:

```bash
./bin/skipper -inline-routes='r: * -> fifoWithBody(1, 0, "1s") -> fifoWithBody(1, 0, "1s") -> "http://127.0.0.1:9001"'

curl -s -o /dev/null -w '%{http_code}\n' localhost:9090
503
```

`lifoWithBody` twice blocks for the timeout and gives 502, and `fifo()`
followed
by `fifoWithBody()` gives 503 too. With `fifo()` twice it's 200, since
that pair
already gets deduplicated.

Counting per queue family instead of per filter name. `lifoGroup()`
stays out of
it, that one is keyed by group name.

## How to test

```
go test ./scheduler/... ./filters/scheduler/...
```

Four cases added to `TestRegistryPreProcessor`. On master:

```
--- FAIL: TestRegistryPreProcessor/two_fifoWithBody
--- FAIL: TestRegistryPreProcessor/two_lifoWithBody
--- FAIL: TestRegistryPreProcessor/fifo_and_fifoWithBody_share_a_queue
--- FAIL: TestRegistryPreProcessor/lifo_and_lifoWithBody_share_a_queue
```

ref #4188

Signed-off-by: Ashrafahmed9 <ashrafahmed1232@gmail.com>

7 of 7 new or added lines in 1 file covered. (100.0%)

571 existing lines in 43 files now uncovered.

25632 of 31808 relevant lines covered (80.58%)

74023.82 hits per line

Coverage Regressions

Lines Coverage ∆ File
167
68.4
-0.58% skipper.go
88
77.24
4.94% filters/auth/oidc.go
66
91.74
0.14% proxy/proxy.go
49
78.34
-1.01% dataclients/kubernetes/clusterclient.go
31
89.0
0.25% config/config.go
23
84.65
0.39% filters/cache/filter.go
21
28.0
0.57% filters/log/log.go
18
87.24
-1.47% dataclients/kubernetes/ingress.go
18
73.88
-1.91% routesrv/routesrv.go
13
91.77
0.93% otel/otel.go
9
93.75
-1.01% queuelistener/listener.go
8
91.06
-3.52% routesrv/eskipbytes.go
8
37.14
-1.32% swarm/kubernetes.go
6
86.79
-0.71% filters/accesslog/control.go
6
95.04
-4.96% filters/diag/logbody.go
4
79.67
-1.12% routing/routing.go
3
96.59
-0.47% io/read_stream.go
3
86.49
-8.39% proxy/teebody.go
2
58.33
-3.42% dataclients/kubernetes/kubernetestest/api.go
2
75.0
0.0% filters/apiusagemonitoring/noop.go
2
85.84
-0.58% net/httpclient.go
2
87.47
-1.67% net/valkey.go
2
46.26
0.34% swarm/swarm.go
1
92.98
-2.4% circuit/registry.go
1
92.41
-0.8% dataclients/kubernetes/clusterstate.go
1
92.43
-0.75% dataclients/kubernetes/ingressv1.go
1
99.65
0.32% filters/apiusagemonitoring/spec.go
1
85.71
-1.6% filters/auth/jwt_validation.go
1
77.73
-0.41% filters/awssigner/awssigv4/httpsigner.go
1
83.86
-0.88% filters/builtin/compress.go
1
80.72
-2.44% filters/builtin/redirect.go
1
79.25
-3.81% filters/diag/absorb.go
1
74.7
-3.8% filters/openpolicyagent/preprocessor.go
1
94.37
-0.7% filters/openpolicyagent/tracing.go
1
93.77
-0.71% filters/tls/mtls.go
1
78.79
1.7% metrics/codahale.go
1
82.86
-1.23% predicates/query/query.go
1
83.26
-0.34% proxy/context.go
1
95.24
-1.57% proxy/tracing.go
1
75.0
-2.13% ratelimit/redis.go
1
68.52
-1.81% ratelimit/valkey.go
1
82.82
-1.29% routing/datasource.go
1
87.68
1.07% script/script.go
Jobs
ID Job ID Ran Files Coverage
1 32833078697.1 25 Aug 2026 05:03PM UTC 313
80.58
GitHub Action Run
Source Files on build 32833078697
  • Tree
  • List 313
  • Changed 312
  • Source Changed 159
  • Coverage Changed 311
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32833078697
  • 4f93433f on github
  • Prev Build on master (#32185872198)
  • Next Build on master (#33399528207)
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