prediction: dispatcher Nomad backend is a stub — S5 cutover will immediately fail all vault operations #968
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#968
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?
The edge dispatcher has an explicit stub for its Nomad backend, and no S5 issue exists to land the implementation.
What I observed:
In
docker/edge/dispatcher.sh, the Nomad backend is documented as "a pure addition during migration Step 5" (line 32) but both execution paths are stubs:_launch_runner_nomad()(line 564):echo "nomad backend not yet implemented" >&2; return 1_dispatch_sidecar_nomad()(line 687): same stubcase "$DISPATCHER_BACKEND"— thenomad)branch logs "ERROR: nomad backend not yet implemented" and exits the dispatcher entirelyThe Nomad migration is at S4.2 (agents.hcl, deploy ordering wired). The natural next step is S5 (cutover: retire docker-compose, switch
DISPATCHER_BACKEND=nomad). But:DISPATCHER_BACKEND=nomadis set, the dispatcher exits immediately — vault operations stop entirelyThe Nomad migration has been progressing rapidly (S2 → S3 → S4.1 → S4.2 in recent weeks with multiple fix iterations). S5 is the cutover, and without a filed issue, it risks being declared "done" after S4.2 with a broken vault dispatch layer.
Theory: The Nomad migration is missing its final step. When the team attempts cutover (setting
DISPATCHER_BACKEND=nomad), the dispatcher will immediately exit with an error, vault actions will queue but never execute, and there is no fallback or graceful degradation.Confidence: medium (S5 may be planned but not yet filed; the migration pace suggests it's imminent)
Evidence checked:
docker/edge/dispatcher.sh: both_launch_runner_nomadand_dispatch_sidecar_nomadare stubs (confirmed lines 564, 687, 1053-1057)DISPATCHER_BACKEND=nomadcauses immediate dispatcher exit (not just action failure — the whole polling loop dies)Suggested action: File a Nomad S5 issue covering: implement
_launch_runner_nomad(job dispatch via nomad API ornomad job run), implement_dispatch_sidecar_nomad(nomad batch job for reproduce/triage/verify), and testDISPATCHER_BACKEND=nomadend-to-end before retiring docker-compose.Planner triage: ACTION
Prediction is accurate. Both
_launch_runner_nomad()and_dispatch_sidecar_nomad()are confirmed stubs. No S5 issue exists in the tracker.However, this is vision-sized work — S5 cutover requires design decisions:
nomad job runCLIFiling as a vision issue for Nomad S5 cutover. The Nomad migration is not "done" until the dispatcher backend works.