render-diff: find the checkout, survive render.ts's imports, run in CI #17

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

(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.

scripts/render-diff.ts looks for terragucci at ~/dev/intentius/terragucci, so on any other layout, and in CI, test/render-diff.test.ts skips without saying so. Run against terragucci 0.4.39 (with HOME pointed at a link to the checkout), it doesn't bundle: render.ts now pulls @cdktn/hcl2json, whose wasm bridge requires performance, and the stub covers only @intentius/*. With the stub widened to @cdktn/* and performance, it reports:

  • every apply wave: terragucci passes --stand-down, sluice doesn't (#18);
  • replan: sluice adds --root <root> (deliberate, worth listing in the normaliser);
  • and it would have caught that planFilesScript passes --canary to tf-plan (render.ts:1738, already in 0.4.0), which stages.ts:277 says it does not.

Done when: the checkout path comes from TERRAGUCCI_SRC (default kept); the stub covers what render.ts imports today; a skip prints why; CI fetches the terragucci version the image pins and runs it, so a drift fails a build instead of passing quietly.

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.

(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. `scripts/render-diff.ts` looks for terragucci at `~/dev/intentius/terragucci`, so on any other layout, and in CI, `test/render-diff.test.ts` skips without saying so. Run against terragucci 0.4.39 (with HOME pointed at a link to the checkout), it doesn't bundle: `render.ts` now pulls `@cdktn/hcl2json`, whose wasm bridge requires `performance`, and the stub covers only `@intentius/*`. With the stub widened to `@cdktn/*` and `performance`, it reports: - every apply wave: terragucci passes `--stand-down`, sluice doesn't (#18); - replan: sluice adds `--root <root>` (deliberate, worth listing in the normaliser); - and it would have caught that `planFilesScript` passes `--canary` to tf-plan (`render.ts:1738`, already in 0.4.0), which `stages.ts:277` says it does not. Done when: the checkout path comes from `TERRAGUCCI_SRC` (default kept); the stub covers what render.ts imports today; a skip prints why; CI fetches the terragucci version the image pins and runs it, so a drift fails a build instead of passing quietly. 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.
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#17
No description provided.