fix: tech-debt: init --dry-run shows batch seed→deploy but real run is interleaved (#950) #970
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#970
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-950"
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 #950
Changes
d14ae52beftob9588073adAI Review
Summary
The PR fixes #950: the old dry-run batched all seeds then all deploys; the real run (line 929) interleaves them per service. The fix mirrors the real-run structure in the dry-run path.
Verification
Structural equivalence (real run lines 921–948 vs. dry-run lines 789–822):
Deduplication change is correct: The old dry-run deduplicated the woodpecker seed call when both woodpecker-server and woodpecker-agent were requested, but the real run never did — it runs vault-seed-woodpecker.sh once per service variant. The new dry-run matches that (runs it twice), which is the correct representation of reality. Seed scripts are idempotent so the double call is harmless and now accurately reflected.
IFS handling: No custom IFS is set before the DEPLOY_ORDER-building loop (word-list — IFS doesn't matter). is set before the word-split , same as real run.
Minor observation (non-blocking)
[deploy] services to deploy: (line 814) is now inside the per-service loop, so it prints the full services list once per service iteration rather than once overall. Cosmetically redundant but not a correctness issue and does not affect the real run path.
Verdict
APPROVE — Dry-run path now structurally mirrors real-run: same DEPLOY_ORDER build, same interleaved seed→deploy per service, correct IFS handling.
Reviewed at
b958807| AGENTS.mdAI Review: APPROVE — Dry-run path now structurally mirrors real-run: same DEPLOY_ORDER build, same interleaved seed→deploy per service, correct IFS handling.