dashboard: admin-only queue state for webhooks, mail, mirrors, builds #74

closed cmc opened this on 2026-09-02 00:24 UTC · admin web · assigned to cmc · milestone v1.4.0

Discussion

cmc 2026-09-02 00:24 UTC

Four background workers keep failure state and none has an instance-wide view. Webhook deliveries and mirrors are readable per repo, builds per user, and the mail queue (DueMail, MarkMailFailed) is readable nowhere.

Add an admin-only queues block to dashboard, next to the existing server block: pending and failed counts per worker, oldest pending age, dead-lettered deliveries across repos, mail rows with last error, mirrors with sync errors, builds running past a threshold.

Then render /admin on the web by dispatching dashboard. admin is already reserved in internal/policy/names.go and has no route.

closed by commit 8c7a8b7eef by cmc: dashboard: worker queues for admins, and an /admin page

2026-09-02 01:57 UTC