Ethan
f3c25de7aa
fix(coderd/x/chatd): stabilize dial timeout recovery test ( #26153 )
...
Fixes a scheduler-dependent flake in chatd's dial-timeout recovery path.
The dial timeout now uses the server's quartz clock, and
`dialWithLazyValidation` also uses that clock for its validation-delay
timer. If a dial result races with a canceled parent context, the
cancellation now wins instead of treating the cancellation-produced dial
error as a fast failure that triggers eager validation.
The recovery-threshold test now traps and advances the mock clock, which
keeps strict DB expectations without depending on wall time or goroutine
scheduling.
Closes https://github.com/coder/internal/issues/1569
Closes ENG-2838
2026-06-11 16:08:32 +10:00
..
2026-05-19 17:57:14 +02:00
2026-03-23 17:34:43 +00:00
2026-05-22 20:24:38 +10:00
2026-06-10 11:01:33 +01:00
2026-06-04 18:36:02 +10:00
2026-05-04 20:30:50 +02:00
2026-06-10 11:37:33 +10:00
2026-06-10 11:37:33 +10:00
2026-06-04 12:52:37 +10:00
2026-05-20 01:28:02 +10:00
2026-05-04 11:17:19 +02:00
2026-06-05 19:02:52 +03:00
2026-05-04 11:17:19 +02:00
2026-03-30 11:43:59 +00:00
2026-06-01 16:17:29 +03:00
2026-05-26 19:31:52 +00:00
2026-05-22 20:24:38 +10:00
2026-05-18 12:30:30 -04:00
2026-05-26 19:31:52 +00:00
2026-06-11 16:08:32 +10:00
2026-06-02 12:44:45 +02:00
2026-06-11 16:08:32 +10:00
2026-05-08 02:07:33 +10:00
2026-05-26 19:31:52 +00:00
2026-05-22 20:24:38 +10:00
2026-05-22 09:50:01 +02:00
2026-04-09 16:33:00 +02:00
2026-06-11 16:08:32 +10:00
2026-06-11 16:08:32 +10:00
2026-05-20 01:37:38 +02:00
2026-04-08 11:54:44 -04:00
2026-04-08 11:54:44 -04:00
2026-05-12 22:13:55 +10:00
2026-05-22 14:08:07 +00:00
2026-04-09 16:33:00 +02:00
2026-05-12 14:50:30 +02:00
2026-05-22 07:53:23 +02:00
2026-06-04 15:33:00 +02:00
2026-05-26 19:31:52 +00:00
2026-06-04 15:33:00 +02:00
2026-05-26 19:31:52 +00:00
2026-05-05 00:57:51 +02:00
2026-05-05 00:57:51 +02:00
2026-05-22 14:08:07 +00:00
2026-05-28 10:27:32 +02:00
2026-05-26 19:31:52 +00:00
2026-05-01 13:29:33 +01:00
2026-04-22 20:11:53 +10:00
2026-03-25 14:09:24 +00:00
2026-03-25 14:09:24 +00:00
2026-05-22 20:24:38 +10:00
2026-04-22 20:11:53 +10:00
2026-05-11 17:27:03 -04:00
2026-05-22 02:17:09 +02:00
2026-05-27 17:00:23 +01:00
2026-05-26 19:31:52 +00:00
2026-05-01 13:29:33 +01:00
2026-05-27 17:00:23 +01:00
2026-05-21 10:35:41 +03:00
2026-05-12 22:13:55 +10:00
2026-05-27 13:20:36 +01:00
2026-05-26 19:31:52 +00:00
2026-05-22 09:50:01 +02:00
2026-05-22 20:24:38 +10:00
2026-04-14 16:56:17 +01:00