Files
windmill/backend/migrations/20261022163514_reset_cached_variable_workspace_diffs.up.sql
T
AlexRV12andRuben Fiszel 0dd131b380 fix: compare fork secret variables by decrypted value (#11952)
* fix: compare fork secret variables by decrypted value

* test: restore MIN_VERSION even when the secret compare test fails

* fix: re-evaluate cached variable diffs once after the secret compare fix

* refactor: decrypt already-loaded secret rows when comparing variables

* docs: state the authorization contract of decrypt_secret_value

* fix: compare external-backend secrets by their resolved values

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-10-22 23:50:32 +02:00

4 lines
263 B
SQL

-- Secrets compared by ciphertext were cached as changed even when both sides held the same value,
-- and a cached verdict is trusted until the next write. Re-evaluate every variable row once.
UPDATE workspace_diff SET has_changes = NULL WHERE kind = 'variable';