feat(recoverable-job): add admin page

This commit is contained in:
Edouard Vanbelle
2026-07-29 07:57:34 +02:00
parent e1556e3d36
commit 4336eca4d1
8 changed files with 1232 additions and 8 deletions
+4 -1
View File
@@ -160,7 +160,10 @@ pub fn admin_routes() -> Router<Arc<AppState>> {
.route("/jobs/{name}/cancel", post(cancel_job))
.route("/jobs/{name}/runs", get(list_job_runs))
.route("/jobs/{name}/runs/{id}", get(get_job_run))
.route("/jobs/{name}/runs/{id}/findings", get(list_job_run_findings))
.route(
"/jobs/{name}/runs/{id}/findings",
get(list_job_run_findings),
)
// Drives — admin-wide view (distinct from `/api/drives` which
// is filtered to the caller's role grants).
.route("/drives", get(list_all_drives))