Paul Nothaft
c5c5a6b0c8
fix(webhooks): write delivery timestamps as ISO strings
...
Applies the repo's documented Jest+SQLite guidance (CLAUDE.md) to the webhook
delivery path, which was the last one still passing raw Date objects into
knex writes. Under jest those store as the literal string "[object Object]",
so next_retry_at came back NaN and the retry/backoff test could not assert on
it. Production (PG, and SQLite outside jest) was unaffected.
Convert the timestamp writes -- and the `next_retry_at <=` due comparison,
which has to stay type-consistent with them -- to .toISOString(), matching
the existing precedent in downloadJobService.js.
Refs testplan REPORT.md #22 (Part 1.2.01).
2026-09-01 16:29:03 +02:00
..
2026-08-18 22:15:49 +02:00
2026-08-18 22:14:41 +02:00
2026-08-21 12:54:14 +02:00
2026-08-16 15:14:48 +02:00
2026-08-02 21:17:17 +02:00
2026-07-22 20:59:59 +02:00
2026-06-01 00:31:08 +02:00
2026-05-27 14:04:15 +02:00
2026-05-27 15:18:29 +02:00
2026-06-01 21:52:38 +02:00
2026-08-16 14:59:52 +02:00
2026-06-18 15:10:44 +02:00
2026-05-31 21:35:48 +02:00
2026-07-06 21:57:23 +02:00
2026-08-21 19:26:21 +02:00
2026-06-17 23:04:30 +02:00
2026-08-18 22:14:41 +02:00
2026-08-18 22:14:41 +02:00
2026-08-02 21:17:05 +02:00
2026-08-01 17:36:21 +02:00
2026-07-19 22:36:52 +02:00
2026-07-29 21:32:33 +02:00
2026-08-03 22:03:31 +02:00
2026-05-26 18:18:51 +02:00
2026-07-03 08:10:25 +02:00
2026-06-23 12:37:50 +02:00
2026-09-01 08:18:00 +02:00
2026-08-03 22:03:31 +02:00
2026-08-22 21:39:15 +02:00
2026-05-26 18:18:51 +02:00
2026-08-11 09:46:46 +02:00
2026-08-11 09:46:46 +02:00
2026-08-11 09:46:46 +02:00
2026-08-11 09:46:46 +02:00
2026-08-02 21:17:11 +02:00
2026-08-29 11:10:32 +02:00
2026-08-29 13:06:19 +02:00
2026-07-17 20:55:49 +02:00
2026-06-29 19:39:40 +02:00
2026-07-15 21:30:23 +02:00
2026-08-21 19:26:21 +02:00
2026-06-23 14:58:48 +02:00
2026-07-15 23:02:35 +02:00
2026-06-11 00:04:16 +02:00
2026-08-03 22:03:31 +02:00
2026-06-23 23:35:56 +02:00
2026-08-26 08:36:45 +02:00
2026-08-26 08:28:48 +02:00
2026-08-29 12:15:31 +02:00
2026-06-11 00:04:16 +02:00
2026-08-18 22:37:28 +02:00
2026-08-19 16:49:47 +02:00
2026-08-23 22:10:28 +02:00
2026-08-21 19:26:52 +02:00
2026-08-23 22:10:28 +02:00
2026-08-22 21:39:15 +02:00
2026-08-18 22:37:28 +02:00
2026-08-23 11:15:01 +02:00
2026-09-01 16:23:22 +02:00
2026-08-29 11:09:59 +02:00
2026-08-29 12:22:50 +02:00
2026-08-21 12:54:14 +02:00
2026-06-30 16:30:13 +02:00
2026-08-29 11:10:32 +02:00
2026-08-28 15:45:56 +02:00
2026-06-28 14:30:26 +02:00
2026-07-03 08:10:25 +02:00
2026-06-16 18:21:02 +02:00
2026-08-26 08:53:39 +02:00
2026-08-26 21:01:51 +02:00
2026-08-28 15:45:56 +02:00
2026-07-03 11:33:38 +02:00
2026-08-10 09:14:56 +02:00
2026-06-28 15:53:44 +02:00
2026-08-18 22:14:41 +02:00
2026-05-26 18:18:51 +02:00
2026-08-23 22:07:50 +02:00
2026-08-29 11:10:05 +02:00
2026-08-26 20:55:54 +02:00
2026-08-28 15:45:56 +02:00
2026-08-26 08:36:45 +02:00
2026-08-18 22:37:28 +02:00
2026-08-26 08:45:41 +02:00
2026-08-26 08:36:45 +02:00
2026-08-04 16:36:12 +02:00
2026-08-02 21:17:17 +02:00
2026-08-18 22:14:41 +02:00
2026-06-16 18:33:47 +02:00
2026-07-03 07:49:45 +02:00
2026-08-26 08:36:45 +02:00
2026-07-22 20:59:59 +02:00
2026-08-26 20:55:54 +02:00
2026-08-01 17:36:15 +02:00
2026-08-28 08:08:54 +02:00
2026-08-02 08:37:48 +02:00
2026-06-18 18:40:22 +02:00
2026-08-09 13:40:03 +02:00
2026-08-21 12:54:14 +02:00
2026-08-04 16:36:50 +02:00
2026-08-29 11:10:32 +02:00
2026-07-18 20:52:08 +02:00
2026-08-21 12:54:14 +02:00
2026-08-01 12:29:12 +02:00
2026-08-26 20:55:54 +02:00
2026-09-01 16:29:03 +02:00
2026-09-01 16:29:03 +02:00
2026-06-21 20:51:20 +02:00
2026-06-18 22:57:22 +02:00
2026-08-28 15:45:56 +02:00