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

dunglas / mercure / 25012343577
84%
master: 93%

Build:
Build:
LAST BUILD BRANCH: spec/oauth-authz
DEFAULT BRANCH: master
Ran 27 Apr 2026 06:28PM UTC
Jobs 1
Files 23
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

27 Apr 2026 06:26PM UTC coverage: 83.886%. Remained the same
25012343577

Pull #1224

github

dunglas
fix: cap default topic selector cache to 100k entries

`TopicSelectorStore` keeps a `(topic_selector, topic) -> bool`
otter LRU. The previous default of 2_560_000 entries was sized for
very large bare-metal deployments. At ~100 B/entry (otter
overhead + the two strings) the cache can grow to roughly 256 MB
before evicting. On common K8s pod sizes (128-256 MiB) it pins
the heap to the cgroup ceiling and the runtime burns >90% of CPU
in `gcBgMarkWorker` trying to stay under GOMEMLIMIT (90% of
cgroup, set by Caddy's automemlimit). We hit this on a busy
production hub: 7 of 30 pods stuck at 600m CPU, no actual
applicative work, just GC trashing on the cache.

Drop the default to 100_000 (~10 MB max). Fits any reasonable
pod, still absorbs the typical hub working set, doesn't change
behavior for hubs that already configure
`topic_selector_cache <N>` explicitly.
Pull Request #1224: fix: cap default topic selector cache to 100k entries

1744 of 2079 relevant lines covered (83.89%)

49.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 0 - 25012343577.1 27 Apr 2026 06:28PM UTC 23
83.89
GitHub Action Run
Source Files on build 25012343577
  • Tree
  • List 23
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1224
  • PR Base - main (#24995897913)
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