Skip to content

fix(target): render templates before comparing in status/diff/check#23

Merged
subbeh merged 1 commit into
mainfrom
fix/status-template-rendering
Jul 22, 2026
Merged

fix(target): render templates before comparing in status/diff/check#23
subbeh merged 1 commit into
mainfrom
fix/status-template-rendering

Conversation

@subbeh

@subbeh subbeh commented Jul 22, 2026

Copy link
Copy Markdown
Owner

ComputeChanges only compared raw source file hashes, so changing a
variable in an include file produced no visible diff (the template
source hadn't changed). Now it accepts an optional template context
and encryptor, renders template/encrypted files before hashing, and
compares the rendered hash against the target — matching what the
apply path already did.

ComputeChanges only compared raw source file hashes, so changing a
variable in an include file produced no visible diff (the template
source hadn't changed). Now it accepts an optional template context
and encryptor, renders template/encrypted files before hashing, and
compares the rendered hash against the target — matching what the
apply path already did.
@subbeh
subbeh merged commit e302d28 into main Jul 22, 2026
3 checks passed
@subbeh
subbeh deleted the fix/status-template-rendering branch July 22, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant