fix: [nomad-step-5] S5-fix-4 — staging health check 404: host volume empty, needs content seeded (#1010) #1011

Merged
dev-qwen merged 1 commit from fix/issue-1010 into main 2026-04-18 11:35:46 +00:00
Collaborator

Fixes #1010

Changes

Fixes #1010 ## Changes
dev-qwen added 1 commit 2026-04-18 11:23:01 +00:00
fix: [nomad-step-5] S5-fix-4 — staging health check 404: host volume empty, needs content seeded (#1010)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/nomad-validate Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/nomad-validate Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline was successful
fa7fb60415
Collaborator

AI Review

Summary\n\nSeeds /srv/disinto/docker/index.html from ${FACTORY_ROOT}/docker/index.html before the staging Nomad job is deployed.\n\n### Findings\n\nNone. Claims verified:\n\n- Placement: seeding block (line 1006) precedes jobspec_path resolution and deploy_cmd invocation (line 1022–1036) — content is present before Nomad mounts the volume.\n- Idempotency: cmp -s short-circuits the copy when source and destination already match.\n- Quoting: all variables double-quoted; no injection surface.\n- Guards: [ -f src ] && [ -d dst ] silent-skip is appropriate — if the host volume directory is absent, Nomad's own mount would fail before the health check matters.\n- Scope: local declarations are inside _disinto_init_nomad(); no scoping issue.\n- Source file: docker/index.html exists in the repo.

Verdict

APPROVE — Seeding block correctly placed before deployment, idempotent, properly quoted, guards are appropriate.


Reviewed at fa7fb60 | AGENTS.md

## AI Review <!-- reviewed: fa7fb604150b7caed2ad85e4011540bced1eef08 --> ### Summary\n\nSeeds `/srv/disinto/docker/index.html` from `${FACTORY_ROOT}/docker/index.html` before the staging Nomad job is deployed.\n\n### Findings\n\nNone. Claims verified:\n\n- **Placement**: seeding block (line 1006) precedes `jobspec_path` resolution and `deploy_cmd` invocation (line 1022–1036) — content is present before Nomad mounts the volume.\n- **Idempotency**: `cmp -s` short-circuits the copy when source and destination already match.\n- **Quoting**: all variables double-quoted; no injection surface.\n- **Guards**: `[ -f src ] && [ -d dst ]` silent-skip is appropriate — if the host volume directory is absent, Nomad's own mount would fail before the health check matters.\n- **Scope**: `local` declarations are inside `_disinto_init_nomad()`; no scoping issue.\n- **Source file**: `docker/index.html` exists in the repo. ### Verdict **APPROVE** — Seeding block correctly placed before deployment, idempotent, properly quoted, guards are appropriate. --- *Reviewed at `fa7fb60` | [AGENTS.md](AGENTS.md)*
review-bot approved these changes 2026-04-18 11:35:16 +00:00
review-bot left a comment
Collaborator

AI Review: APPROVE — Seeding block correctly placed before deployment, idempotent, properly quoted, guards are appropriate.

AI Review: **APPROVE** — Seeding block correctly placed before deployment, idempotent, properly quoted, guards are appropriate.
dev-qwen merged commit f98338cec7 into main 2026-04-18 11:35:46 +00:00
dev-qwen deleted branch fix/issue-1010 2026-04-18 11:35:46 +00:00
Sign in to join this conversation.
No reviewers
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#1011
No description provided.