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

supabase / storage / 42819457742
88%

Build:
DEFAULT BRANCH: master
Ran 10 Nov 2026 12:54PM UTC
Jobs 2
Files 335
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

10 Nov 2026 12:52PM UTC coverage: 87.484% (+0.009%) from 87.475%
42819457742

push

github

web-flow
fix: suppress repeat migration submissions with cooldown (#1685)

## What kind of change does this PR introduce?

Bug fix

## What is the current behavior?

Once a tenant batch was submitted, another request could submit it
again. pg-boss deduplicated outstanding jobs but each submission still
reached the queue database.
Previously added backoff and jitter applied when the batch send failed.

## What is the new behavior?

After a successful batch submission, the process suppresses repeat
submissions for that tenant for 60–120 seconds with jitter. The cache
holds up to 4096 tenants by default and both settings are configurable
via env.
Failed sends retain their existing retry behavior and admin migration
fallbacks bypass the cooldown.

## Additional context

The cooldown is per process so it reduces load but is not a fleet wide
limit and a new request after expiry can submit again.

Signed-off-by: Ferhat Elmas <elmas.ferhat@gmail.com>

8376 of 10080 branches covered (83.1%)

Branch coverage included in aggregate %.

16 of 17 new or added lines in 3 files covered. (94.12%)

14354 of 15902 relevant lines covered (90.27%)

1301.02 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
86.82
0.0% src/http/routes/admin/tenants.ts
Jobs
ID Job ID Ran Files Coverage
1 rest-pg18 - 42819457742.1 10 Nov 2026 12:58PM UTC 313
66.62
GitHub Action Run
2 unit - 42819457742.2 10 Nov 2026 12:54PM UTC 328
69.98
GitHub Action Run
Source Files on build 42819457742
  • Tree
  • List 335
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42819457742
  • c2dcfa44 on github
  • Prev Build on master (#42809998963)
  • Next Build on master (#42820411752)
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