bug: dispatcher should use docker run, not docker compose run — compose context unavailable in edge container #529
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#529
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
PR #519 (#516) changed the dispatcher from
docker runtodocker compose run --rm runner <action-id>. This fails with exit 125 because the edge container doesn't have the compose project context — nodocker-compose.yml, no.env, no build context.The dispatcher runs inside the edge container which has the Docker socket mounted but not the host's compose project.
docker composeneeds the project files to resolve service definitions.docker runis self-contained — the dispatcher already knows the image, network, env vars, and command.Fix
Revert the dispatcher back to
docker runwith the runner entrypoint:The runner entrypoint (
docker/runner/entrypoint-runner.sh, created in #516) handles.shvs.tomlformula dispatch. The dispatcher just needs to pass the action-id and env vars.This is the correct architecture:
docker runfor the dispatcher (automated, inside edge container),docker compose runfordisinto run(manual, on the host where compose files exist).Depends on