Juan Denis and Claude Opus 4.8
85265df138
feat(jobs): run template installs as a deploy.install unified job (Phase 5)
...
Migrate deployment installs off their ad-hoc daemon thread onto the unified
job system. DeploymentJobService.install_template now enqueues a
'deploy.install' Job instead of spawning a thread via _start_background_job
(retired); the JobConsumer runs it by calling the existing run_job.
- max_attempts=1: installs create containers/files/an app row and are not
idempotent, so no auto-retry (preserves prior single-shot behavior).
- The unified Job shares the DeploymentJob's correlation_id and links back via
owner_type='deployment_job'/owner_id; the DeploymentJob row stays the rich
record (plan/steps/logs/progress). A failed run raises so both rows show failed.
- Bonus: CLI `deploy-template` (no --wait) now persists to the queue and runs
when a consumer is available, instead of dying with the CLI process.
- tests: handler success/failure mapping + install_template enqueues-not-threads.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-21 21:01:38 -04:00
..
2026-01-17 04:22:12 -05:00
2026-06-15 00:52:30 -04:00
2026-03-23 01:46:41 -04:00
2026-06-12 18:35:35 -04:00
2026-06-12 18:35:52 -04:00
2026-06-01 02:39:05 -04:00
2026-06-01 02:39:05 -04:00
2026-06-01 02:39:05 -04:00
2026-01-22 18:11:22 -05:00
2026-03-04 01:53:46 -05:00
2026-03-04 01:53:46 -05:00
2026-06-21 20:19:57 -04:00
2026-06-21 20:19:57 -04:00
2026-03-23 01:58:28 -04:00
2026-03-23 02:27:52 -04:00
2026-06-15 10:47:59 -04:00
2026-06-21 19:57:02 -04:00
2026-05-05 14:03:31 -04:00
2026-06-19 10:13:50 -04:00
2026-06-19 09:54:40 -04:00
2026-06-01 02:39:05 -04:00
2026-03-23 01:58:28 -04:00
2026-06-15 00:01:41 -04:00
2026-05-31 22:39:57 -04:00
2026-06-19 03:12:07 -04:00
2026-06-21 21:01:38 -04:00
2026-06-21 20:19:57 -04:00
2026-03-04 00:02:52 -05:00
2026-03-23 01:58:28 -04:00
2026-03-04 02:34:49 -05:00
2026-06-19 16:34:14 -04:00
2026-06-19 16:34:14 -04:00
2026-06-18 22:16:00 -04:00
2026-03-04 02:34:49 -05:00
2026-06-15 09:19:56 -04:00
2026-03-04 02:34:49 -05:00
2026-01-18 00:40:41 -05:00
2026-01-28 21:12:55 -05:00
2026-06-20 22:43:38 -04:00
2026-06-21 02:11:47 -04:00
2026-06-20 22:43:38 -04:00
2026-06-21 20:19:57 -04:00
2026-06-21 02:11:47 -04:00
2026-02-10 08:09:38 -05:00
2026-03-23 01:58:28 -04:00
2026-06-21 02:11:47 -04:00
2026-03-23 01:58:28 -04:00
2026-05-03 06:28:21 -04:00
2026-06-01 02:27:52 -04:00
2026-01-21 21:31:57 -05:00
2026-06-19 10:08:58 -04:00
2026-06-19 01:33:45 -04:00
2026-06-19 09:22:18 -04:00
2026-03-04 02:34:49 -05:00
2026-06-21 02:11:47 -04:00
2026-06-20 22:43:38 -04:00
2026-01-22 08:51:31 -05:00
2026-06-06 23:29:22 -04:00
2026-06-21 20:19:57 -04:00
2026-03-23 02:19:33 -04:00
2026-06-19 16:13:06 -04:00
2026-01-22 18:11:22 -05:00
2026-06-21 19:57:02 -04:00
2026-03-04 01:53:46 -05:00
2026-05-31 16:08:32 -04:00
2026-06-19 01:33:45 -04:00
2026-03-04 02:34:49 -05:00
2026-03-04 00:02:52 -05:00
2026-06-01 02:39:05 -04:00
2026-06-15 09:19:56 -04:00
2026-01-19 02:35:18 -05:00
2026-06-18 22:16:00 -04:00
2026-03-23 01:58:28 -04:00
2026-06-15 19:43:00 -04:00
2026-05-01 05:52:11 -04:00
2026-05-01 01:54:17 -04:00
2026-06-21 02:11:47 -04:00
2026-05-01 03:37:33 -04:00
2026-05-01 04:33:08 -04:00
2026-05-01 04:42:30 -04:00
2026-05-01 04:33:08 -04:00
2026-05-03 07:07:57 -04:00
2026-06-05 23:04:06 -04:00
2026-01-25 20:01:07 -05:00
2026-03-04 02:34:49 -05:00
2026-06-20 22:43:38 -04:00
2026-06-21 01:54:51 -04:00
2026-01-22 08:51:31 -05:00
2026-06-12 18:35:35 -04:00
2026-06-19 01:34:02 -04:00
2026-06-20 22:43:38 -04:00
2026-06-15 19:55:57 -04:00
2026-06-21 00:20:10 -04:00
2026-03-04 02:34:49 -05:00
2026-06-19 16:34:14 -04:00
2026-03-04 01:37:22 -05:00
2026-06-20 22:43:38 -04:00
2026-06-21 02:11:47 -04:00
2026-06-21 02:11:47 -04:00
2026-06-21 20:19:57 -04:00
2026-06-06 23:29:22 -04:00
2026-01-22 16:44:06 -05:00
2026-01-18 01:03:56 -05:00
2026-06-15 23:28:12 -04:00
2026-06-15 23:28:12 -04:00
2026-06-15 23:20:00 -04:00
2026-06-20 22:43:38 -04:00
2026-01-17 13:37:40 -05:00
2026-06-19 14:02:24 -04:00
2026-06-20 22:43:38 -04:00
2026-05-31 22:39:57 -04:00
2026-01-27 19:35:21 -05:00
2026-06-15 21:59:59 -04:00
2026-05-01 03:37:33 -04:00
2026-01-28 21:12:55 -05:00
2026-06-21 18:32:25 -04:00
2026-06-21 02:11:47 -04:00
2026-06-01 03:04:03 -04:00
2026-06-01 01:57:43 -04:00
2026-06-01 02:27:52 -04:00
2026-06-01 01:45:20 -04:00