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

Unleash / unleash / 39224624618
88%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 19 Oct 2026 08:46AM UTC
Jobs 1
Files 1244
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 08:41AM UTC coverage: 88.141%. Remained the same
39224624618

push

github

web-flow
feat: per-instance bucket offset for user sync job

I want to increase the randomness of requests and only one job/endpoint
remains a problem regardless of what I did.
It seems that `singleInstance` is the problem here. 




I'm not 100% sure what `singleInstance` is doing or why. It seems like
something to pick the instance to run the job for each `clientId`, but
the way it picks it makes it so that most instances for all clients make
requests at the same time.

So this is about adding some randomness to that process and trying to
offset that a bit.

We could also increase the time of user syncs 🤔 

> ## About the changes
> All instances' buckets for `sync-users-addon` start at the same time,
so they tend to sync with auth-app right after each boundary.
> 
> - `JobService.singleInstance` / `JobStore.acquireBucket` take an
optional `bucketOffsetMs` (default 0)
> - `user-sync` derives the offset from a hash of `clientId`: pods of
one instance share buckets, while different instances' buckets are
spread out
> - Test covers the offset end-to-end through `JobService`
> 
> 🤖 Generated with [Claude Code](https://claude.com/claude-code)
>

4056 of 5165 branches covered (78.53%)

16485 of 18703 relevant lines covered (88.14%)

767.46 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
93.1
-1.72% src/lib/features/feature-toggle/configuration-revision-service.ts
Jobs
ID Job ID Ran Files Coverage
1 39224624618.1 19 Oct 2026 08:46AM UTC 1244
88.14
GitHub Action Run
Source Files on build 39224624618
  • Tree
  • List 1244
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #39224624618
  • 826bf3d5 on github
  • Prev Build on main (#39217150347)
  • Next Build on main (#39226595418)
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