hugocasa and Claude Opus 5.5
9cd04d0a88
fix: keep the real error when a Bun script throws a cyclic error ( #12232 )
...
* fix: keep the real error when a Bun script throws a cyclic error
The Bun wrapper copies a thrown error's own properties into `extra` and
JSON-encodes the result. When one of them is cyclic (AWS SDK v3 errors'
`$response`), the encoding threw and the job error became
"cannot serialize cyclic structures". Fall back to an encoding that
replaces back-references with "[Circular]", keeping the plain encoding
first so non-cyclic errors are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* fix: replace only the unencodable fields of a Bun error's extra
Encode each field of `extra` on its own when the whole error fails, and
replace the ones that throw with "[unserializable]". Simpler than walking
cycles, and drops noise like AWS's `$response` while keeping `Code` and
`$metadata`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-05 23:29:19 +01:00
..
2026-10-28 01:28:43 +01:00
2026-03-05 06:19:51 +00:00
2026-11-03 17:41:09 +01:00
2026-09-08 15:21:10 +02:00
2026-10-26 19:22:45 +01:00
2026-10-23 15:05:20 +02:00
2026-10-06 17:51:07 +02:00
2026-10-09 19:15:08 +02:00
2026-10-13 23:12:48 +02:00
2026-11-04 18:10:07 +01:00
2026-10-15 18:51:11 +02:00
2026-09-29 22:30:50 +02:00
2026-10-23 14:49:05 +02:00
2026-08-01 20:37:21 +02:00
2026-10-27 23:51:35 +01:00
2026-10-12 16:47:59 +00:00
2026-05-16 08:29:53 +00:00
2026-10-28 13:35:44 +01:00
2026-10-28 13:35:44 +01:00
2026-10-28 13:35:44 +01:00
2026-10-28 13:35:44 +01:00
2026-10-28 13:35:44 +01:00
2026-10-21 15:51:54 +02:00
2026-10-13 13:22:58 +00:00
2026-10-23 16:41:05 -07:00
2026-08-01 20:37:21 +02:00
2026-09-18 20:54:23 +02:00
2026-10-03 09:33:44 +02:00
2026-10-22 17:15:05 +02:00
2026-10-15 18:19:23 +02:00
2026-11-05 23:29:19 +01:00
2026-10-23 16:41:05 -07:00
2026-08-22 10:01:25 +00:00
2026-06-15 10:23:16 +02:00
2026-11-05 20:13:14 +00:00
2026-10-14 10:51:10 +00:00
2026-09-29 20:26:23 +02:00
2026-10-14 11:47:21 +00:00
2026-07-28 14:29:06 +02:00
2026-10-09 19:15:08 +02:00
2026-10-21 13:29:55 +02:00
2026-04-08 04:15:28 +00:00
2026-10-01 13:37:00 +02:00
2026-10-03 09:33:44 +02:00
2026-10-23 14:49:05 +02:00
2026-10-16 20:32:59 +02:00
2026-10-09 16:31:07 +02:00
2026-09-18 20:54:23 +02:00
2026-09-18 20:54:23 +02:00
2026-09-18 20:54:23 +02:00
2026-09-18 20:54:23 +02:00
2026-10-30 20:09:09 +01:00
2026-10-15 19:31:21 +02:00
2026-10-09 19:15:08 +02:00
2026-09-26 14:40:01 +02:00
2026-10-17 08:29:57 +00:00
2026-04-13 17:10:37 +00:00
2026-07-04 06:23:44 +02:00
2026-10-23 15:37:40 +02:00
2026-11-04 20:18:57 +01:00
2026-09-12 08:55:35 +02:00
2026-09-16 10:45:34 +02:00
2026-10-30 20:09:09 +01:00
2026-10-16 18:47:41 +02:00
2026-10-09 19:15:08 +02:00
2026-10-28 01:28:43 +01:00
2026-10-14 00:05:52 +02:00
2026-09-18 15:15:02 +02:00
2026-10-16 09:24:51 +02:00
2026-11-02 22:09:16 +01:00
2026-10-09 19:13:48 +02:00
2026-10-03 09:33:44 +02:00
2026-08-18 18:22:03 +02:00
2026-10-16 17:28:29 +02:00
2026-10-13 13:52:55 +00:00
2026-08-14 18:51:19 +02:00
2026-09-08 16:46:12 +02:00
2026-07-23 10:39:38 +02:00
2026-10-03 09:33:44 +02:00
2026-09-02 22:29:01 +02:00
2026-08-01 20:37:21 +02:00
2026-04-03 18:17:27 +00:00
2026-10-08 22:17:44 +02:00
2026-09-28 17:55:16 +02:00
2026-10-28 22:35:01 +01:00
2026-09-22 11:03:30 +00:00
2026-09-29 18:03:43 +02:00
2026-10-20 19:11:46 +02:00
2026-10-30 20:09:09 +01:00
2026-09-12 09:10:15 +02:00
2026-10-03 09:33:44 +02:00
2026-09-29 14:46:51 +02:00
2026-10-16 23:34:40 +02:00
2026-10-20 18:31:38 +02:00
2026-10-05 08:20:52 +02:00
2026-07-27 22:32:57 +02:00
2026-09-22 08:13:58 +00:00
2026-11-03 06:43:21 +01:00
2026-10-15 16:27:41 +02:00
2026-09-04 01:01:36 +02:00
2026-11-04 22:30:53 +01:00
2026-08-10 21:32:18 +02:00
2026-10-09 19:15:08 +02:00
2026-10-03 09:33:44 +02:00
2026-10-09 19:15:08 +02:00
2026-09-27 14:09:59 +00:00
2026-08-12 21:10:56 +02:00
2026-07-27 14:57:54 +02:00
2026-10-13 15:52:25 +00:00
2026-09-16 10:45:34 +02:00
2026-11-03 17:09:22 +01:00
2026-06-15 10:23:16 +02:00
2026-09-08 17:44:22 +02:00
2026-09-11 08:48:02 +00:00
2026-07-07 14:23:31 +02:00
2026-09-25 10:00:49 +00:00
2026-09-16 09:57:43 +02:00
2026-08-26 00:47:24 +02:00
2026-10-09 19:15:08 +02:00
2026-08-27 00:39:03 +02:00
2026-11-04 22:30:53 +01:00
2026-10-30 20:09:09 +01:00
2026-11-04 18:35:58 +01:00
2026-10-17 09:32:01 +02:00
2026-11-04 18:35:58 +01:00
2026-09-08 15:21:10 +02:00
2026-07-25 11:41:48 +02:00
2026-09-28 18:31:44 +02:00
2026-09-14 18:51:21 +00:00
2026-10-08 18:05:37 +02:00
2026-10-30 20:09:09 +01:00
2026-10-07 17:28:29 +00:00
2026-10-08 12:56:33 +02:00
2026-11-05 15:15:03 +00:00
2026-10-17 22:11:29 +02:00
2026-08-22 09:55:44 +00:00
2026-10-23 18:12:55 +02:00
2026-10-22 17:15:05 +02:00
2026-10-17 22:04:45 +02:00
2026-08-22 09:50:30 +00:00
2026-09-12 10:02:52 +02:00
2026-10-09 19:15:08 +02:00