fix: strip hash from diff comparisons to avoid spurious deployed-vs-draft diffs

This commit is contained in:
Guilhem Lemouel
2026-05-27 17:38:18 +02:00
parent 80f6a5a6e8
commit 7b59cfc946
+1 -1
View File
@@ -1289,7 +1289,7 @@ export function cleanValueProperties(obj: Value) {
} else {
let newObj: any = {}
for (const key of Object.keys(obj)) {
if (key !== 'parent_hash' && key !== 'draft' && key !== 'draft_only') {
if (key !== 'parent_hash' && key !== 'hash' && key !== 'draft' && key !== 'draft_only') {
newObj[key] = structuredClone(stateSnapshot(obj[key]))
}
}