Hub 2.6.1: the Failed jobs filter and alert search no longer answer 500
The status list had timed_out, which isn't a JobStatus (the enum has expired), and alert search used contains on the EventLevel enum: Postgres refused both queries. JOB_STATUSES now matches the enum (tested against schema.prisma); Failed = failed,expired; unknown products refused; level matched by name. All list queries checked on Postgres. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,7 +11,7 @@ const FILTERS = [
|
||||
{ key: "", label: "All" },
|
||||
{ key: "upcoming", label: "Planned and running" },
|
||||
{ key: "succeeded", label: "Succeeded" },
|
||||
{ key: "failed,timed_out", label: "Failed" },
|
||||
{ key: "failed,expired", label: "Failed" },
|
||||
{ key: "rolled_back", label: "Rolled back" },
|
||||
{ key: "missed", label: "Missed" },
|
||||
{ key: "refused", label: "Refused" },
|
||||
|
||||
Reference in New Issue
Block a user