bug: disinto init --with edge auto-adds chat dep but chat Dockerfile was deleted in PR #1085 #1115

Closed
opened 2026-04-21 12:48:59 +00:00 by dev-bot · 2 comments
Collaborator

Symptom

disinto init --backend=nomad --with edge fails during image build:

── Building disinto/chat:local ─────────────────────────────
unable to prepare context: unable to evaluate symlinks in Dockerfile path:
lstat /opt/disinto/docker/chat/Dockerfile: no such file or directory

Root cause

PR #1085 ("merge chat container into edge") deleted docker/chat/Dockerfile and docker/chat/entrypoint-chat.sh — chat is now served from inside the edge container.

But bin/disinto still expands --with edgeedge,forgejo,woodpecker-server,woodpecker-agent,agents,staging,chat and then tries to build the chat image. Relevant block in bin/disinto around line 1264:

if echo ",$with_services," | grep -q ",edge,"; then
  for dep in forgejo woodpecker-server woodpecker-agent agents staging chat; do

And build block around line 973:

if echo ",$with_services," | grep -q ",chat,"; then
  docker build -t "$tag" -f "${FACTORY_ROOT}/docker/chat/Dockerfile" "${FACTORY_ROOT}/docker/chat"
fi

Reproduction

Fresh box, latest main (HEAD at 0d61819):

disinto init --backend=nomad --with edge --yes
# fails at build step with the error above

Fix

Remove chat from the auto-include list in bin/disinto (line ~1264). Also remove the ,chat, build branch (line ~973) OR gate it on Dockerfile existence.

nomad/jobs/chat.hcl may also need retirement — separate decision, but the init CLI should not reference a deleted Dockerfile.

Acceptance

  • disinto init --backend=nomad --with edge --yes completes without trying to build disinto/chat:local
  • No references to docker/chat/Dockerfile in bin/disinto
## Symptom `disinto init --backend=nomad --with edge` fails during image build: ``` ── Building disinto/chat:local ───────────────────────────── unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /opt/disinto/docker/chat/Dockerfile: no such file or directory ``` ## Root cause PR #1085 ("merge chat container into edge") deleted `docker/chat/Dockerfile` and `docker/chat/entrypoint-chat.sh` — chat is now served from inside the edge container. But `bin/disinto` still expands `--with edge` → `edge,forgejo,woodpecker-server,woodpecker-agent,agents,staging,chat` and then tries to build the chat image. Relevant block in `bin/disinto` around line 1264: ```bash if echo ",$with_services," | grep -q ",edge,"; then for dep in forgejo woodpecker-server woodpecker-agent agents staging chat; do ``` And build block around line 973: ```bash if echo ",$with_services," | grep -q ",chat,"; then docker build -t "$tag" -f "${FACTORY_ROOT}/docker/chat/Dockerfile" "${FACTORY_ROOT}/docker/chat" fi ``` ## Reproduction Fresh box, latest main (HEAD at 0d61819): ```bash disinto init --backend=nomad --with edge --yes # fails at build step with the error above ``` ## Fix Remove `chat` from the auto-include list in `bin/disinto` (line ~1264). Also remove the `,chat,` build branch (line ~973) OR gate it on Dockerfile existence. `nomad/jobs/chat.hcl` may also need retirement — separate decision, but the init CLI should not reference a deleted Dockerfile. ## Acceptance - `disinto init --backend=nomad --with edge --yes` completes without trying to build `disinto/chat:local` - No references to `docker/chat/Dockerfile` in `bin/disinto`
dev-bot added the
backlog
label 2026-04-21 12:48:59 +00:00
dev-qwen self-assigned this 2026-04-21 13:29:16 +00:00
dev-qwen added
in-progress
and removed
backlog
labels 2026-04-21 13:29:16 +00:00
Collaborator

Blocked — issue #1115

Field Value
Exit reason ci_timeout
Timestamp 2026-04-21T14:00:59Z
### Blocked — issue #1115 | Field | Value | |---|---| | Exit reason | `ci_timeout` | | Timestamp | `2026-04-21T14:00:59Z` |
dev-qwen added
blocked
and removed
in-progress
labels 2026-04-21 14:01:00 +00:00
disinto-admin added
backlog
and removed
blocked
labels 2026-04-21 15:11:36 +00:00
dev-qwen was unassigned by disinto-admin 2026-04-21 15:11:37 +00:00
dev-qwen self-assigned this 2026-04-21 16:27:55 +00:00
dev-qwen added
in-progress
and removed
backlog
labels 2026-04-21 16:27:56 +00:00
Collaborator

Blocked — issue #1115

Field Value
Exit reason ci_exhausted
Timestamp 2026-04-21T16:48:57Z
### Blocked — issue #1115 | Field | Value | |---|---| | Exit reason | `ci_exhausted` | | Timestamp | `2026-04-21T16:48:57Z` |
dev-qwen added
blocked
and removed
in-progress
labels 2026-04-21 16:48:58 +00:00
dev-qwen was unassigned by dev-bot 2026-04-21 18:13:14 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: disinto-admin/disinto#1115
No description provided.