compose/internal
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
..
build refactor(compose): move the image build to internal/build 2026-11-16 15:11:08 +01:00
concurrency refactor(compose): share the bounded per-container fan-out 2026-10-29 11:59:43 +01:00
confighash refactor: move the config-hash helpers to internal/confighash 2026-10-29 08:20:15 +01:00
containerops refactor(compose): share the bounded per-container fan-out 2026-10-29 11:59:43 +01:00
depgraph refactor(compose): move the dependency graph to internal/depgraph 2026-11-05 11:42:19 +01:00
desktop refactor(desktop): fetch the Desktop API answers with one generic helper 2026-10-29 11:59:43 +01:00
devwatch refactor(devwatch): merge Rebuild and its pass-through rebuild 2026-11-16 15:15:03 +01:00
e2e jobs: register scheduled jobs on create and up, remove them on down 2026-11-17 13:48:57 +01:00
engine refactor(compose): state the engine of the extracted packages once 2026-10-29 11:59:43 +01:00
envresolver refactor(compose): move the image build to internal/build 2026-11-16 15:11:08 +01:00
experimental next release will be major version v5.x 2025-11-13 09:32:43 +01:00
images fix(down): select images before teardown 2026-11-05 11:10:26 +01:00
inspect test(events): use t.Context() in stream error tests 2026-11-03 14:25:45 +01:00
jobsapi jobs: add the engine's jobs API contract and its gRPC client 2026-11-17 13:48:57 +01:00
locker build(deps): adopt compose-go jobs and the container-spec layering 2026-09-21 16:35:20 +02:00
logstream refactor(compose): move logs and attach to internal/logstream 2026-11-04 09:40:04 +01:00
memnet golangci-lint: enable perfsprint linter 2026-09-10 10:25:34 +02:00
naming refactor(compose): filter the containers of a service in one place 2026-10-29 11:59:43 +01:00
oci fix(oci): verify the manifests fetched against their digest 2026-11-11 08:52:55 +01:00
paths use go-compose instead Signed-off-by: tensorworker <tensorworker@proton.me> 2026-01-15 08:24:20 +01:00
pidfile use new moby/moby modules instead of docker/docker dependency 2026-04-08 08:50:50 +02:00
planning refactor(compose): move the plan types to internal/planning 2026-11-16 14:58:08 +01:00
progress refactor(compose): move the image build to internal/build 2026-11-16 15:11:08 +01:00
projectloader fix(config): warn about ignored uid/gid/mode at creation, not at load 2026-11-05 09:47:51 +01:00
provider refactor(compose): use a single event processor that discards events 2026-10-29 11:59:43 +01:00
publish fix(publish): let compose-go resolve the images of jobs 2026-11-16 19:21:12 +01:00
registry refactor(registry): pin the resolver credentials, build it once 2026-11-16 16:59:39 +01:00
relay refactor(compose): collect map keys with the standard library 2026-10-29 11:59:43 +01:00
sync refactor: add internal/concurrency for the bounded errgroup helpers 2026-10-29 10:18:58 +01:00
tracing refactor(compose): collect map keys with the standard library 2026-10-29 11:59:43 +01:00
variables.go format code with gofumpt 2024-12-17 16:50:14 +01:00