Commit 5846ab68d5

5846ab68d5f125f904047fd6a9c037255c1f8625

parent: 813b219e1a

Verified · cmc

cmc <hello@cleberg.net> · 2026-09-02 01:49 UTC

Admin: queues on the dashboard and /admin

Ref krz/gitbay#74

Layout: unified · split

Admin.org +19
@@ -202,6 +202,25 @@ per minute — successful auths never count and clear the slate.
202202=limits.max_pack_bytes= is enforced as =receive.maxInputSize= on every
203203push.
204204
205* Queues
206
207Every background worker keeps a backlog and a failure state. An instance
208admin reads them all in one place:
209
210#+begin_src sh
211gitbay dashboard --json | jq .queues # webhooks, mail, mirrors, builds, deps
212#+end_src
213
214Per worker: pending, retrying (pending with a failed attempt) and
215dead-lettered counts with the oldest pending age, and the retrying or
216failed rows themselves, capped at twenty each. Builds list what is
217running and since when; mirrors list the ones whose last sync failed;
218dependency checks list the ones whose last check errored. Non-admins get
219no =queues= key at all.
220
221In accounts mode the same read renders at =/admin=, linked from the rail
222for admins. Anyone else gets a 404 there.
223
205224* Maintenance
206225
207226#+begin_src sh