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

dunglas / mercure / 25034708838
84%
master: 93%

Build:
Build:
LAST BUILD BRANCH: cluster/secure
DEFAULT BRANCH: master
Ran 28 Apr 2026 04:58AM 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

28 Apr 2026 04:56AM UTC coverage: 83.886%. Remained the same
25034708838

push

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.

1744 of 2079 relevant lines covered (83.89%)

50.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 0 - 25034708838.1 28 Apr 2026 04:58AM UTC 23
83.89
GitHub Action Run
Source Files on build 25034708838
  • Tree
  • List 23
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8b24ffd8 on github
  • Prev Build on main (#24995897913)
  • Next Build on main (#25034772940)
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