test: harden marker rollback review gates

Issue: #442
User-Visible: no
This commit is contained in:
Sergey Matyunin
2026-09-04 00:21:06 +03:00
parent fcd4e3ddfe
commit f9ac1eab35
21 changed files with 154 additions and 152 deletions
+4 -2
View File
@@ -5397,8 +5397,10 @@ const MUTANT_DEFINITIONS = [
+ 'restore the marker that the server already accepted (#442 AC3)',
patches: [{
file: 'src/houseplan-editor-runtime.ts',
find: ' configAccepted = true;\n if (newPos) {',
replace: ' if (newPos) {',
find: ' if (!configAccepted && attempt) {\n'
+ ' rollbackOptimistic(this.host, attempt, contentFingerprint);',
replace: ' if (attempt) {\n'
+ ' this.host._serverCfg = attempt.previous;',
}],
},
{