Axl Ibiza, MBA
d0ea5f1722
fix(desktop): surface Nous Cloud 503 at the OAuth ticket-mint boundary
...
The original implementation classified 502/503/504 only inside the readiness
loop, but for OAuth-backed Cloud connections the WebSocket-ticket mint runs
before waitForHermesReady. A server fault there was wrapped by
gatewayTicketFailure into a generic message and the Cloud-down classifier was
never reached. This closes that boundary and fixes a latent regex defect.
- isServerSideHttpError: structured-first (err.statusCode for 502/503/504),
legacy 'NNN:' prefix as fallback, non-Error inputs rejected. Also fixes the
committed '\d' (double-escaped, matched a literal backslash) that made the
function never detect a status prefix.
- makeNousCloudBackendDownError: single factory for the actionable Cloud-down
error (isCloudBackendDown/statusCode/detail/cause), shared by both the
ticket-mint boundary and readiness exhaustion.
- main.ts: run the Cloud classifier at mintGatewayWsTicket before the
gatewayTicketFailure wrap; 401/403 still route to reauth.
- connection-config.ts: gatewayTicketFailure preserves an integer statusCode
from the source error; auth semantics unchanged.
- boot-progress/IPC: carry isCloudBackendDown and statusCode through
DesktopBootProgress so the renderer overlay (a PR-body promise) can key on
the structured result rather than re-classifying the message string.
Tests: backend-health (structured detection, non-Error rejection, factory
shape/cause/guards, legacy fallback), connection-config (statusCode preserve,
401/403 reauth, integer-only copy), and an OAuth ticket-mint integration
regression (Cloud 503 -> actionable Cloud-down; 401 -> reauth). Connection-
config suite 80/80 green; backend-health sync tests green; the async readiness
loop tests cannot run on this host (pre-existing local-run limitation) and are
the CI gate. PR #85373 (#85335 ).
2026-08-21 19:09:40 -07:00
..
2026-08-15 02:20:23 -07:00
2026-07-26 16:12:14 -05:00
2026-07-26 16:12:14 -05:00
2026-08-10 17:02:56 -07:00
2026-07-13 17:22:17 -04:00
2026-07-13 17:22:17 -04:00
2026-08-16 10:59:19 -07:00
2026-08-16 10:59:19 -07:00
2026-08-02 03:33:09 +00:00
2026-08-01 20:09:35 -04:00
2026-08-21 19:09:40 -07:00
2026-08-21 19:09:40 -07:00
2026-08-20 12:56:20 +00:00
2026-08-20 03:59:54 -07:00
2026-07-29 13:59:11 +05:30
2026-07-29 16:52:53 +05:30
2026-07-13 17:22:17 -04:00
2026-07-13 17:22:17 -04:00
2026-08-20 09:20:15 +00:00
2026-08-20 02:07:10 -07:00
2026-08-13 03:33:45 +00:00
2026-07-14 10:24:15 -04:00
2026-07-31 22:33:53 -07:00
2026-08-01 20:45:40 +00:00
2026-07-19 23:42:14 +00:00
2026-07-19 23:42:14 +00:00
2026-08-17 21:15:38 +00:00
2026-08-17 14:05:09 -07:00
2026-07-20 23:01:49 +02:00
2026-07-24 12:55:06 -05:00
2026-08-21 19:09:40 -07:00
2026-08-21 19:09:40 -07:00
2026-08-20 02:07:10 -07:00
2026-08-20 02:07:10 -07:00
2026-07-27 13:41:59 -05:00
2026-07-27 13:41:59 -05:00
2026-07-13 17:22:17 -04:00
2026-07-08 16:24:16 -07:00
2026-07-16 19:57:39 +00:00
2026-07-20 23:01:49 +02:00
2026-07-20 23:01:49 +02:00
2026-08-15 01:04:19 -07:00
2026-08-15 01:04:19 -07:00
2026-08-18 21:51:44 +00:00
2026-08-18 21:51:44 +00:00
2026-08-17 23:52:54 -07:00
2026-08-17 23:52:54 -07:00
2026-07-13 17:22:17 -04:00
2026-07-13 17:22:17 -04:00
2026-07-27 23:52:33 -05:00
2026-07-27 23:52:33 -05:00
2026-07-08 16:24:16 -07:00
2026-07-28 13:40:44 -05:00
2026-07-28 13:40:44 -05:00
2026-07-20 18:33:14 -05:00
2026-07-20 18:36:05 -05:00
2026-08-14 21:44:50 +00:00
2026-08-14 16:27:01 -05:00
2026-08-20 14:07:53 -05:00
2026-08-20 14:07:53 -05:00
2026-07-23 17:59:58 -07:00
2026-07-23 17:59:58 -07:00
2026-08-15 02:20:23 -07:00
2026-08-15 09:33:47 +00:00
2026-08-15 09:33:47 +00:00
2026-07-24 12:55:06 -05:00
2026-07-24 12:55:06 -05:00
2026-07-24 12:55:06 -05:00
2026-08-21 15:24:03 -07:00
2026-07-13 17:22:17 -04:00
2026-07-12 05:32:54 -04:00
2026-08-15 00:37:00 -07:00
2026-08-15 00:37:00 -07:00
2026-08-15 00:37:00 -07:00
2026-08-17 04:19:24 +00:00
2026-08-16 19:58:49 -07:00
2026-08-14 16:51:00 -05:00
2026-08-19 10:50:52 -05:00
2026-07-21 14:28:28 +00:00
2026-07-21 14:28:28 +00:00
2026-08-03 00:08:30 +05:30
2026-08-12 22:48:00 -05:00
2026-07-13 17:22:17 -04:00
2026-07-08 16:24:16 -07:00
2026-08-15 00:33:11 -07:00
2026-08-15 00:33:11 -07:00
2026-08-15 11:39:10 +00:00
2026-08-15 11:39:10 +00:00
2026-08-12 01:41:34 +00:00
2026-08-11 17:03:00 -05:00
2026-08-18 07:11:16 +00:00
2026-08-19 10:50:52 -05:00
2026-08-08 22:15:24 -05:00
2026-08-08 22:15:24 -05:00
2026-08-19 19:12:09 -05:00
2026-08-10 05:21:05 -05:00
2026-08-10 10:44:00 +00:00
2026-08-10 05:21:05 -05:00
2026-08-10 10:44:00 +00:00
2026-08-09 09:10:59 +00:00
2026-08-09 09:10:59 +00:00
2026-08-09 09:51:41 +00:00
2026-08-09 04:43:10 -05:00
2026-07-13 17:22:17 -04:00
2026-07-31 00:38:11 -05:00
2026-07-16 19:57:39 +00:00
2026-07-16 15:33:38 -04:00
2026-08-21 19:09:40 -07:00
2026-08-15 09:33:47 +00:00
2026-08-15 01:53:34 -07:00
2026-08-20 00:39:56 -05:00
2026-08-20 00:39:56 -05:00
2026-07-22 16:30:14 +00:00
2026-07-22 16:30:14 +00:00
2026-07-31 16:22:58 +00:00
2026-07-31 10:16:21 -04:00
2026-07-31 10:16:21 -04:00
2026-07-31 10:16:21 -04:00
2026-07-13 17:22:17 -04:00
2026-07-08 16:24:16 -07:00
2026-08-20 04:47:38 -07:00
2026-08-20 04:47:38 -07:00
2026-08-19 10:50:52 -05:00
2026-08-16 23:33:14 +00:00
2026-08-16 23:33:14 +00:00
2026-08-16 03:17:39 -07:00
2026-08-16 03:17:39 -07:00
2026-08-17 16:26:02 -07:00
2026-08-17 16:26:02 -07:00
2026-08-16 16:26:50 -07:00
2026-08-16 16:26:50 -07:00
2026-07-20 11:50:22 -05:00
2026-07-20 11:50:22 -05:00
2026-08-21 15:24:03 -07:00
2026-08-18 08:52:36 -05:00
2026-08-18 08:52:36 -05:00
2026-08-18 08:52:36 -05:00
2026-08-17 23:52:54 -07:00
2026-08-17 23:52:54 -07:00
2026-07-24 12:55:06 -05:00
2026-08-17 15:51:02 -07:00
2026-08-17 16:15:22 -07:00
2026-08-17 16:15:22 -07:00
2026-08-17 16:15:22 -07:00
2026-08-18 21:38:17 +00:00
2026-08-18 14:27:15 -07:00
2026-07-26 17:48:19 -07:00
2026-07-31 18:54:27 +00:00
2026-07-27 15:47:57 -05:00
2026-07-27 15:47:57 -05:00
2026-08-18 19:28:51 +00:00
2026-08-19 10:50:52 -05:00
2026-07-27 13:41:59 -05:00
2026-07-27 13:41:59 -05:00
2026-08-14 22:16:25 +00:00
2026-08-14 02:21:20 -05:00
2026-08-11 00:20:02 +00:00
2026-08-11 00:20:02 +00:00
2026-08-20 01:04:42 -05:00
2026-08-20 01:04:42 -05:00
2026-08-16 22:05:51 -07:00
2026-08-16 22:05:51 -07:00
2026-07-25 15:19:29 -04:00
2026-07-25 15:19:29 -04:00
2026-08-16 16:26:50 -07:00
2026-08-16 16:26:50 -07:00
2026-07-20 23:01:49 +02:00
2026-07-20 23:01:49 +02:00
2026-08-17 10:09:48 +00:00
2026-08-19 10:50:52 -05:00
2026-07-31 00:38:11 -05:00
2026-07-31 00:38:11 -05:00
2026-08-19 10:50:52 -05:00
2026-07-13 17:22:17 -04:00
2026-07-08 16:24:16 -07:00
2026-08-21 05:57:14 +00:00
2026-08-21 05:57:14 +00:00
2026-08-14 21:44:50 +00:00
2026-08-14 13:09:44 -07:00
2026-07-28 23:53:25 -07:00
2026-07-28 23:53:25 -07:00
2026-08-20 18:15:16 +00:00
2026-08-20 12:52:21 -05:00
2026-08-20 18:15:16 +00:00
2026-07-13 17:22:17 -04:00
2026-07-13 17:22:17 -04:00
2026-08-14 21:59:29 -07:00
2026-08-15 06:22:02 +00:00
2026-08-16 09:32:26 +00:00
2026-08-16 09:32:26 +00:00
2026-07-13 17:22:17 -04:00
2026-07-08 16:24:16 -07:00
2026-08-10 19:00:19 -07:00
2026-08-10 19:00:19 -07:00
2026-08-01 14:30:11 -07:00
2026-08-09 04:43:10 -05:00
2026-08-14 16:51:00 -05:00
2026-08-11 02:09:04 +00:00
2026-08-11 02:09:04 +00:00
2026-08-08 16:51:44 -05:00
2026-08-08 16:51:44 -05:00
2026-08-08 22:13:08 -05:00
2026-08-08 22:17:38 -05:00
2026-08-10 17:02:56 -07:00
2026-07-13 17:22:17 -04:00
2026-08-19 16:56:58 +00:00
2026-08-17 21:43:52 -06:00
2026-08-01 14:30:16 -07:00
2026-08-19 10:50:52 -05:00
2026-07-20 23:01:49 +02:00
2026-07-18 02:26:19 -07:00
2026-07-18 02:26:19 -07:00
2026-07-17 18:55:34 -04:00
2026-07-18 04:56:56 +00:00
2026-07-13 17:22:17 -04:00
2026-07-13 17:22:17 -04:00
2026-07-13 17:22:17 -04:00
2026-07-08 16:24:16 -07:00
2026-07-13 17:22:17 -04:00
2026-07-08 16:24:16 -07:00
2026-08-21 00:49:41 -07:00
2026-08-21 00:49:41 -07:00
2026-08-21 00:49:41 -07:00
2026-08-21 00:49:41 -07:00
2026-08-14 14:50:45 -07:00
2026-08-14 22:16:25 +00:00