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

mozilla-releng / balrog / #4868
90%
main: 89%

Build:
Build:
LAST BUILD BRANCH: dependabot/uv/client/urllib3-2.6.3
DEFAULT BRANCH: main
Ran 31 Jul 2025 07:41PM UTC
Jobs 1
Files 61
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

31 Jul 2025 07:29PM UTC coverage: 89.571% (+0.2%) from 89.391%
#4868

push

circleci

web-flow
feat: warm caches during app startup (#3500)

* feat: implement getReferencedReleases for SuperBlob

This will be useful when warming caches.

* refactor: add helper to find release regardless of which table it is in

* feat: warm caches during app startup

This code runs before the public app begins accepting requests, which should mean that we don't need to hit the database very much after beginning to serve requests. Doing this at start-up also means we fetch the releases sequentially, which should (slightly) spread the load out more.

I verified locally that the app is incapable of responding to requests until `public.py` finishes executing by adding a `time.sleep` to the end of it. While the sleep was running requests to the app hung. This means that `/__heartbeat__` requests won't complete successfully until caches have been warmed up.

Hopefully this will help with database load during scaling events. See: https://mozilla-hub.atlassian.net/browse/SVCSE-3425

3098 of 3609 branches covered (85.84%)

Branch coverage included in aggregate %.

28 of 30 new or added lines in 4 files covered. (93.33%)

5697 of 6210 relevant lines covered (91.74%)

0.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
88.89
-6.35% src/auslib/blobs/superblob.py
1
95.31
-4.69% src/auslib/web/public/helpers.py
Jobs
ID Job ID Ran Files Coverage
1 #4868.1 31 Jul 2025 07:41PM UTC 61
89.57
Source Files on build #4868
  • Tree
  • List 61
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #4868
  • 1021363f on github
  • Prev Build on heads/refs/heads/main
  • Next Build on heads/refs/heads/main
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