compose/pkg
Guillaume Lours 723ce2bf4e jobs: register scheduled jobs on create and up, remove them on down
A job with a schedule is registered through the engine's jobs extension,
which fires it on its own clock; create and up register it, up stays
re-runnable since Create is idempotent on the spec hash, and a full down
removes the jobs. The extension ships disabled by default and cannot be
listed, so Compose probes it with a List scoped to the project; when the
engine cannot run jobs, up, create and start refuse the project before
creating anything, and down ignores the jobs. A job the file no longer
declares is reported by up and removed by --remove-orphans, unless its
run is in progress. The spec is stable: sorted entries, no volatile labels,
services referenced by container name.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Guillaume Lours <glours@users.noreply.github.com>
2026-11-17 13:48:57 +01:00
..
api jobs: register scheduled jobs on create and up, remove them on down 2026-11-17 13:48:57 +01:00
bridge refactor(compose): share the label filter builders 2026-10-29 11:59:43 +01:00
compose jobs: register scheduled jobs on create and up, remove them on down 2026-11-17 13:48:57 +01:00
dryrun feat(registry): use the Docker Desktop Hub session for Docker Hub credentials 2026-10-07 14:24:28 +02:00
mocks refactor(api): regenerate mocks for the split Compose interfaces 2026-10-12 12:03:29 +02:00
remote fix(oci): tell a null "manifests" from a list, and report a host failure as such 2026-11-12 10:43:27 +01:00
utils fix: make e2e tests pass reliably locally with Docker Desktop 2026-05-18 10:55:41 +02:00
watch golangci-lint: enable perfsprint linter 2026-09-10 10:25:34 +02:00