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

zalando / skipper / 39277283251
81%

Build:
DEFAULT BRANCH: master
Ran 19 Oct 2026 03:37PM UTC
Jobs 1
Files 333
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

19 Oct 2026 03:22PM UTC coverage: 81.051% (+0.03%) from 81.024%
39277283251

push

github

web-flow
fix(predicates/auth): clear predicateMap on cache clean to prevent memory leak (#4330)

### Description

Clears `registry.predicateMap` during the hourly ticker execution in
`registry.clean()`.

Previously, `registry.clean()` only iterated through existing entries to
call `p.cache.Clear()`, leaving `predicateMap` populated indefinitely.
This caused references to stale or removed route predicates to persist
in memory.

### Changes

- `predicates/auth/jwt.go`: Call `clear(r.predicateMap)` under `r.mu`
when the cleanup ticker fires. Active predicates are automatically
repopulated on the subsequent route update cycle.
- `predicates/auth/jwt_test.go`: Updated `TestPredicateCacheClean` to
assert that `reg.predicateMap` is emptied when the virtual timer
elapses.

### Related Issues and PRs
- Fixes #3609 
- #3600 introduced `predicateMap` to reuse compiled predicate instances
across route updates.

---------

Signed-off-by: Shardool Patil <shardoolpatil999@gmail.com>

22 of 25 new or added lines in 2 files covered. (88.0%)

1 existing line in 1 file now uncovered.

27717 of 34197 relevant lines covered (81.05%)

73146.33 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
96.99
-1.64% predicates/auth/jwt.go

Coverage Regressions

Lines Coverage ∆ File
1
82.14
1.37% filters/tls/pass_client.go
Jobs
ID Job ID Ran Files Coverage
1 39277283251.1 19 Oct 2026 03:37PM UTC 333
81.05
GitHub Action Run
Source Files on build 39277283251
  • Tree
  • List 333
  • Changed 6
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39277283251
  • b4552bd5 on github
  • Prev Build on master (#39268068193)
  • Next Build on master (#39278377840)
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