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

openSUSE / qem-dashboard / 37934682937
100%

Build:
DEFAULT BRANCH: main
Ran 09 Oct 2026 01:12PM UTC
Jobs 1
Files 33
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

08 Oct 2026 08:03PM UTC coverage: 100.0%. Remained the same
37934682937

push

github

okurz
perf: cache blocked endpoint results with in-memory TTL

Motivation:
Client single-page applications poll /app/api/blocked every 30s, generating
frequent redundant queries that cause worker starvation during peak usage.

Design Choices:
1. Add in-memory memoization cache to Incidents::blocked with configurable
   blocked_cache_ttl defaulting to 10s.
2. Invalidate cache on incident sync, update, and rejection reason change.
3. Support blocked_cache_ttl in application configuration.

Benefits:
Benchmarked on production dump (4M+ jobs, 94 active incidents), reducing hot
cached requests to 0 queries at ~0.004ms (>160,000x faster than the 816 queries
in the legacy implementation) with exact data parity.

Related issue: https://github.com/openSUSE/qem-dashboard/issues/3439

63 of 63 new or added lines in 4 files covered. (100.0%)

1924 of 1924 relevant lines covered (100.0%)

8.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37934682937.1 09 Oct 2026 01:12PM UTC 33
100.0
GitHub Action Run
Source Files on build 37934682937
  • Tree
  • List 33
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a1d3f13a on github
  • Prev Build on main (#37354305599)
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