Spike Curtis
dfe8efc186
fix: use background context for inmem provisionerd ( #11545 )
...
This test case fails with an error log, showing "context canceled" when trying to send an acquired job to an in-mem provisionerd.
https://github.com/coder/coder/runs/20331469006
In this case, we don't want to supress this error, since it could mean that we acquired a job, locked it in the database, then failed to send it to a provisioner.
(We also don't want to mark the job as failed because we don't know whether the job made it to the provisionerd or not --- in the failed test you can see that the job is actually processed just fine).
The reason we got context canceled is because the API was shutting down --- we don't want provisionerdserver to abruptly stop processing job stuff as the API shuts down as this will leave jobs in a bad state. This PR fixes up the use of contexts with provisionerdserver and the associated drpc service calls.
2024-01-10 15:29:57 +04:00
..
2024-01-02 20:46:18 +02:00
2024-01-09 12:52:45 +01:00
2023-10-03 09:23:45 +01:00
2023-12-12 10:02:32 +00:00
2023-12-14 13:58:57 +00:00
2023-10-30 19:44:29 +00:00
2024-01-02 09:30:36 +04:00
2023-12-18 22:53:28 +10:00
2024-01-10 15:29:57 +04:00
2024-01-10 09:19:41 +03:00
2023-09-19 18:54:56 +00:00
2023-11-08 11:05:51 -06:00
2023-08-18 18:55:43 +00:00
2024-01-09 16:36:26 +00:00
2023-12-21 21:38:42 +00:00
2024-01-08 22:33:57 +00:00
2023-12-13 16:50:29 -06:00
2023-12-12 10:02:32 +00:00
2023-08-18 18:55:43 +00:00
2024-01-09 15:21:30 +04:00
2024-01-09 14:38:56 +04:00
2023-12-21 21:38:42 +00:00
2023-12-15 19:33:51 +10:00
2023-12-07 18:09:35 -06:00
2023-12-14 15:52:52 -06:00
2023-10-03 15:44:50 +02:00
2023-10-03 14:04:39 +00:00
2023-10-04 20:57:46 -05:00
2023-10-30 17:42:20 +00:00
2023-08-18 18:55:43 +00:00
2024-01-08 09:29:04 +00:00
2023-11-13 17:14:12 -06:00
2024-01-04 18:35:56 -06:00
2023-12-15 11:38:12 +04:00
2023-11-15 09:42:27 -06:00
2023-09-01 16:50:12 +00:00
2023-09-13 13:28:46 +01:00
2023-08-18 18:55:43 +00:00
2023-10-03 11:02:56 -06:00
2023-11-02 16:12:38 +00:00
2023-10-03 11:02:56 -06:00
2023-08-18 18:55:43 +00:00
2023-08-18 18:55:43 +00:00
2024-01-08 22:33:57 +00:00
2024-01-10 15:29:57 +04:00
2023-08-18 18:55:43 +00:00
2023-12-06 08:38:03 +00:00
2023-12-06 08:38:03 +00:00
2023-09-07 15:49:49 +01:00
2023-12-08 12:50:25 +04:00
2023-10-13 16:37:55 +03:00
2023-10-17 14:49:19 -04:00
2023-10-17 14:49:19 -04:00
2023-12-05 14:03:44 -06:00
2023-12-06 08:41:45 -06:00
2023-08-18 18:55:43 +00:00
2023-09-01 16:50:12 +00:00
2023-10-03 11:02:56 -06:00
2023-09-01 16:50:12 +00:00
2023-12-04 12:20:22 -05:00
2023-12-18 22:53:28 +10:00
2023-12-11 10:09:51 -07:00
2023-06-06 10:26:13 -05:00
2023-10-11 09:41:14 +04:00
2023-08-18 18:55:43 +00:00
2023-10-03 09:23:45 +01:00
2023-08-18 18:55:43 +00:00
2023-08-18 18:55:43 +00:00
2024-01-04 18:35:56 -06:00
2023-10-03 11:02:56 -06:00
2023-12-18 22:53:28 +10:00
2023-10-10 11:14:20 +01:00
2023-10-12 10:52:32 -05:00
2023-08-24 17:22:31 +00:00
2023-11-13 17:14:12 -06:00
2023-12-15 18:27:56 +10:00
2024-01-05 21:04:14 +00:00
2023-12-08 12:10:25 +00:00
2023-12-11 10:09:51 -07:00
2023-08-18 18:55:43 +00:00
2023-08-18 18:55:43 +00:00
2023-12-04 10:01:45 -06:00
2023-09-05 09:08:04 -05:00
2023-12-11 10:09:51 -07:00
2023-12-04 11:05:17 -05:00
2023-12-14 10:38:44 -07:00
2023-12-15 14:10:24 +04:00
2024-01-05 10:22:07 +00:00
2024-01-10 08:45:46 +00:00
2024-01-02 16:04:37 +04:00
2023-08-18 18:55:43 +00:00
2023-09-01 16:50:12 +00:00
2023-12-22 09:50:49 +00:00
2023-12-18 22:53:28 +10:00
2023-08-18 18:55:43 +00:00
2023-08-18 18:55:43 +00:00
2023-10-03 11:02:56 -06:00
2023-08-18 18:55:43 +00:00
2024-01-10 08:45:32 +00:00
2023-12-19 20:42:07 -03:00