Port terragucci's newer apply flags and exit codes #18

Open
opened 2026-10-21 03:09:02 +00:00 by lex00 · 0 comments
Collaborator

(after #14, #15)
Part of the terraform-plane epic (arugula-salad/arugula#1141). Lands after terragucci's next release, the first built on chant 0.124.41 or later (chant#4287); npm's newest is still 0.4.40, on chant 0.124.24.

terragucci's pipeline does these and sluice's stages don't:

  • --stand-down on each apply wave, exit 6 (0.4.5; render.ts:1111,1154,1261). EXIT in stages.ts has 0, 1, 3 and 4 only.
  • --on-held refuse for comment applies, exit 5 for a held resource (choudoufu row holds).
  • Blocked-only failures (0.4.36, #1164 there; chant's @intentius/chant/wave-blocked since terragucci#1222, which sluice can import for blockedMembers and passesThrough; outcome files now say members where they said roots, and chant reads both): pass --after <earlier waves' report dirs> and keep applying later waves whose roots don't depend on the failed ones, instead of stopping at the first failure.
  • The check script: check-sources (0.4.8), generate --check, and per-root binaries through terragucci binary (render.ts:556-591).

Done when: render-diff (#17) shows no differences in these lines; exits 5 and 6 have their own run states and console wording; a wave loop test covers a blocked-only failure that lets a later wave run.

From a review of sluice against terragucci 0.4.39 and chant 0.124.27 (2026-10-20). Proposal for the maintainer; PRs would come from lex00/sluice.

Updated 2026-10-22 for terragucci main (pins chant 0.124.41, terragucci#1212–#1223) and chant 0.124.41–0.124.42.

(after #14, #15) Part of the terraform-plane epic (arugula-salad/arugula#1141). Lands after terragucci's next release, the first built on chant 0.124.41 or later (chant#4287); npm's newest is still 0.4.40, on chant 0.124.24. terragucci's pipeline does these and sluice's stages don't: - `--stand-down` on each apply wave, exit 6 (0.4.5; `render.ts:1111,1154,1261`). `EXIT` in `stages.ts` has 0, 1, 3 and 4 only. - `--on-held refuse` for comment applies, exit 5 for a held resource (choudoufu row holds). - Blocked-only failures (0.4.36, #1164 there; chant's `@intentius/chant/wave-blocked` since terragucci#1222, which sluice can import for `blockedMembers` and `passesThrough`; outcome files now say `members` where they said `roots`, and chant reads both): pass `--after <earlier waves' report dirs>` and keep applying later waves whose roots don't depend on the failed ones, instead of stopping at the first failure. - The check script: `check-sources` (0.4.8), `generate --check`, and per-root binaries through `terragucci binary` (`render.ts:556-591`). Done when: `render-diff` (#17) shows no differences in these lines; exits 5 and 6 have their own run states and console wording; a wave loop test covers a blocked-only failure that lets a later wave run. From a review of sluice against terragucci 0.4.39 and chant 0.124.27 (2026-10-20). Proposal for the maintainer; PRs would come from lex00/sluice. Updated 2026-10-22 for terragucci main (pins chant 0.124.41, terragucci#1212–#1223) and chant 0.124.41–0.124.42.
Sign in to join this conversation.
No labels
terraform-plane
No milestone
No project
No assignees
1 participant
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
jhgaylor/sluice#18
No description provided.