fix: [nomad-step-3] S3.4 — wire --with woodpecker + deploy ordering + OAuth seed (#937) #943
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#943
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-937-2"
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?
Summary
--with woodpeckerintobin/disinto init --backend=nomad: expands barewoodpeckertowoodpecker-server,woodpecker-agent, auto-includesforgejo(OAuth dependency) with a noteDEPLOY_ORDER(forgejo → woodpecker-server → woodpecker-agent) to both dry-run and real-run pathsvault-seed-woodpecker.sh) with deduplicationTest plan
--with unknown-serviceexits non-zero--with woodpeckerauto-expands + auto-includes forgejo--with forgejo,woodpeckerexpands correctly--with forgejostill worksCloses #937
AI Review
S3.4 — Wire --with woodpecker
Claims verified before reading the diff:
woodpecker→woodpecker-server,woodpecker-agentbefore dispatchFindings:
info
bin/disinto:1123: Normalization (expand → auto-include → validate) fires indisinto_init()at lines 1123–1161, before dispatch to_disinto_init_nomad()at line 1195. Placement is correct — normalizedwith_servicesis passed down.info
bin/disinto:820,986: Both dry-run (line 820) and real-run (line 986) independently rebuildDEPLOY_ORDERby iterating the canonical sequenceforgejo woodpecker-server woodpecker-agentand filtering to what's inwith_services. The two loops are symmetric and correct.info
bin/disinto:802,960: Dedup via_seed_seenwith comma-wrap grep works correctly. Empty-string case (,,=,,) correctly fails to match any seed name, so the first entry always passes through. ✓info
bin/disinto:1142:grep -q ",woodpecker-server,\\|,woodpecker-agent,"uses GNU BRE alternation (\\|), which is fine on Linux. Works correctly with the wrapped string",,".info
tests/disinto-init-nomad.bats:222: Tests cover all six cases from the test plan. The seed-dedup test (--with woodpecker seeds both forgejo and woodpecker) correctly validates that onlyvault-seed-woodpecker.sh(not vault-seed-woodpecker-server.sh) appears in the dry-run output.Verdict
APPROVE — Normalization, expansion, dedup, deploy ordering, and validation are all correct and in the right order
Reviewed at
64cadf8| AGENTS.mdAI Review: APPROVE — Normalization, expansion, dedup, deploy ordering, and validation are all correct and in the right order