fix: [nomad-step-5] S5.3 — nomad/jobs/vault-runner.hcl (parameterized batch dispatch) (#990) #993
No reviewers
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#993
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-990"
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?
Fixes #990
Changes
AI Review
Review: nomad/jobs/vault-runner.hcl (S5.3)
Claims before reading the diff:
parameterizedblock withmeta_required = ["action_id", "secrets_csv"]— confirmed (line 28)type = "batch"— confirmed (line 24)with/else+error_on_missing_key = false— confirmed (lines 87-122; all 6: GITHUB_TOKEN, CODEBERG_TOKEN, CLAWHUB_TOKEN, DEPLOY_KEY, NPM_TOKEN, DOCKER_HUB_TOKEN)restart { attempts = 0, mode = "fail" }— confirmed (lines 48-51)${NOMAD_META_action_id}wired toentrypoint-runner.sh— confirmed (lines 60-63; matches script's<action-id>positional arg signature)KEY=) are < 16 non-space chars — confirmedvault {}stanza present for per-dispatch policy injection by S5.4 — confirmed (line 39)All claims pass. Image tag
disinto/agents:localwithforce_pull = falsematches the established convention from S4-fix-7.Advisory (pre-existing, not a blocker)
nomad/jobs/vault-runner.hcl:87-122: The{{- with ... -}}/{{- else -}}/{{- end }}then{{- withpattern strips the newline between consecutive env var blocks at Go template parse time, which would render the env file as one concatenated line. However,nomad/jobs/agents.hcluses the identical pattern and has been runtime-tested (S4-fix-6/S4-fix-7 made observable runtime corrections). If the env file were broken, all agent secrets would be absent — a loud failure that would have been caught. Filed as tech-debt #996 for runtime verification (nomad alloc exec <id> cat /secrets/runner.env).Verdict
APPROVE — All correctness claims verified; follows established sibling pattern from agents.hcl exactly; template whitespace concern is pre-existing (filed as tech-debt #996)
Reviewed at
e17e960| AGENTS.mdAI Review: APPROVE — All correctness claims verified; follows established sibling pattern from agents.hcl exactly; template whitespace concern is pre-existing (filed as tech-debt #996)