Accept terragucci's current terragucci.yml #14
Labels
No labels
terraform-plane
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jhgaylor/sluice#14
Loading…
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?
(bug)
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.
src/services/tgconfig.tsrefuses configs written the way terragucci's docs now say, whatever terragucci version runs:gate: on-destructive, the name since 0.4.10 (GATEStakes only theon-destroyalias; terragucciconfig.ts:25).approval:as a map{mode, require_signed}(0.4.13; terragucciconfig.ts:54). #8 covers which mode is in effect; this is only parsing it.version:as a per-root map (terragucciconfig.ts:488).Also out of step:
waves.after(0.4.5) is ignored, so the--layerssluice builds can be in the wrong order (terraguccidetect.ts:871-936).rootDependenciesreads onlykey/bucketfromterraform_remote_state. terragucci also resolves backend-type addresses (state-address.ts), locals,-backend-configfiles, Atmos reads and choudoufuterraform_estate_outputs(0.4.5, 0.4.8, 0.4.9).layers:key isn't in terragucci'sSETTING_KEYS(config.ts:1014), so terragucci's own config load refuses a file that uses it.waves.afteris the supported way to say the same thing.Since then:
terragucci init --gate never|on-destructive|alwayswritesgate:into terragucci.yml in its canonical spelling (terragucci#1201,init.ts:456), so an estate set up with the current init and--gate on-destructiveis refused by sluice.steps:is a config-check error carryingSTEPS_MOVED; hooks move toci.hooksinchant.workspace.json, which the stage reads itself at base. 0.4.40 still acceptssteps:.apply.branchesroutes roots through chant'sci.branches, and a root two branches match is a hard ConfigError. sluice ignores pushes to anything but the default branch (webhooks/github.ts:241), so roots routed elsewhere never apply.locks: planand the/terragucci lockandunlockcomments are silently ignored under sluice: terragucci takes and checks them only incomment-apply.ts, and the merge apply sluice runs never checks them. sluice's Postgres advisory locks (runs.ts:171,background.ts:184) are separate and don't conflict.Done when: each form above parses;
--layersmatches what terragucci computes for the same checkout, ideally by asking it (terragucci config check --json, or the stage computing layers itself) rather than re-deriving;layers:is deprecated in favour ofwaves.afterwith a message; tests cover each form. Also:steps:is refused with terragucci'sSTEPS_MOVEDtext once the pin is past 0.4.40.apply.branchesis parsed and checked withrouteConflictsfrom@intentius/chant/workspace/ci-branches(2KB, picomatch); conflicts are refused, and the estate page says sluice applies only the default branch's roots (or pushes are routed withappliesFrom).chant.workspace.jsonis read at base foridentity.gates(#8) andci.hooks, with a warning when hooks exist andminReaderis below 0.124.41.locks: planis refused, the wayapply.when: pull-requestis (tgconfig.ts:107), until sluice honours chant's locks.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.