imSp4rky
5086dafff3
feat(api)!: add a server drain and never answer with a 5xx
...
POST/DELETE /api/dashboard/drain refuses new sessions and jobs (SERVER_DRAINING, 409) and warns open sessions. A CDN can replace a 5xx body, so server errors are now 422, retryable ones and the tunnel check 424, and a new middleware turns any 5xx into 422.
BREAKING CHANGE: INTERNAL_ERROR, DOWNLOAD_ERROR, WORKER_ERROR and the fallback return 422 instead of 500; NETWORK_ERROR and SERVICE_UNAVAILABLE return 424 instead of 503; /api/tunnel/check failures return 424 instead of 502.
2026-10-21 17:15:33 -06:00
..
2026-05-21 10:45:25 -06:00
2026-08-16 23:32:02 -06:00
2026-10-20 19:59:38 -06:00
2026-10-20 19:57:03 -06:00
2026-08-16 23:32:02 -06:00
2026-10-20 20:31:20 -06:00
2026-10-06 14:58:08 -06:00
2026-09-06 20:03:08 -06:00
2026-10-07 09:03:18 -06:00
2026-10-21 14:39:37 -06:00
2026-10-21 17:15:33 -06:00
2026-09-24 16:50:26 -06:00
2026-10-13 15:07:01 -06:00
2026-10-13 12:14:34 -06:00
2026-10-21 17:15:33 -06:00
2026-09-25 12:32:49 -06:00
2026-09-06 20:01:38 -06:00
2026-09-16 15:06:43 -06:00
2026-10-20 19:59:38 -06:00
2026-10-07 09:03:18 -06:00
2026-09-10 17:14:20 -06:00
2026-09-16 22:39:03 -06:00
2026-08-16 23:32:02 -06:00
2026-09-06 20:01:38 -06:00
2026-10-17 18:13:25 -06:00
2026-10-19 14:19:07 -06:00
2026-10-18 12:17:08 -06:00
2026-09-05 22:16:22 -06:00
2026-10-21 17:09:37 -06:00
2026-07-03 21:26:47 -06:00
2026-10-21 17:15:33 -06:00
2026-09-24 16:50:26 -06:00
2026-10-10 13:21:14 -06:00
2026-10-21 14:39:37 -06:00
2026-09-24 10:18:03 -06:00
2026-10-06 18:24:21 -06:00
2026-10-06 17:56:47 -06:00
2026-09-22 10:40:49 -06:00
2026-10-13 15:07:01 -06:00
2026-09-24 10:18:03 -06:00
2026-09-07 10:59:33 -06:00
2026-08-27 10:10:46 -06:00
2026-10-16 14:49:37 -06:00
2026-09-24 10:18:03 -06:00
2026-10-01 13:21:53 -06:00
2026-09-25 12:32:49 -06:00
2026-09-07 12:30:50 -06:00
2026-10-18 12:17:08 -06:00
2026-10-16 14:49:37 -06:00
2026-10-16 19:03:56 -06:00
2026-09-07 17:03:36 -06:00
2026-09-06 20:03:08 -06:00
2026-09-24 10:18:03 -06:00
2026-09-02 15:13:06 -06:00
2026-10-21 17:09:37 -06:00
2026-10-20 20:03:03 -06:00