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

supabase / auth / 19428985132
69%

Build:
DEFAULT BRANCH: master
Ran 17 Nov 2025 12:13PM UTC
Jobs 1
Files 168
Run time 413min
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

17 Nov 2025 12:05PM UTC coverage: 68.402% (+0.09%) from 68.312%
19428985132

push

github

web-flow
feat: async, concurrent index creation for users table (#2239)

Introduces an asynchronous index worker for creating database indexes in
the background.

- Creates indexes only when
`GOTRUE_INDEX_WORKER_ENSURE_USER_SEARCH_INDEXES_EXIST` is enabled
- Config watcher notifies the worker when the config has changed to
decide whether to create the indexes or not
- Non-blocking index creation via `CONCURRENTLY` and async worker
- Prevents multiple processes from creating indexes simultaneously via
advisory locks
- Handles interruptions (server restarts, connection loss) or
out-of-band index manipulation by checking which indexes failed (invalid
or is not ready) or don't exist and drops/recreates them
- Idempotent: existing indexes are skipped

In the future, these index related migrations might be tracked using a
different tool (e.g.: `goose`/`golang-migrate`) as `pop` does not
support migrations without transactions which makes it unsuitable for
index creation with `CONCURRENTLY`.

ref: AUTH-892

188 of 249 new or added lines in 2 files covered. (75.5%)

1 existing line in 1 file now uncovered.

14192 of 20748 relevant lines covered (68.4%)

78.06 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
26
0.0
0.0% internal/api/apiworker/apiworker.go
35
84.3
internal/indexworker/indexworker.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% internal/api/apiworker/apiworker.go
Jobs
ID Job ID Ran Files Coverage
1 19428985132.1 17 Nov 2025 12:13PM UTC 168
68.4
GitHub Action Run
Source Files on build 19428985132
  • Tree
  • List 168
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a1146bf7 on github
  • Prev Build on master (#19297110881)
  • Next Build on master (#19453720722)
  • Delete
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