fix: roll back rejected marker writes atomically

Issue: #442
User-Visible: yes
This commit is contained in:
Sergey Matyunin
2026-09-04 00:15:44 +03:00
parent 77ac72d15d
commit fcd4e3ddfe
36 changed files with 1138 additions and 462 deletions
+1 -1
View File
@@ -169,6 +169,6 @@ test('marker delete/re-add and opening save remain separate config transactions'
const saveMarker = methodBody(source, '_saveMarker');
assert.match(saveOpening, /sp\.openings/);
assert.doesNotMatch(saveOpening, /cfg\.markers|this\._markers/);
assert.match(saveMarker, /cfg\.markers/);
assert.match(saveMarker, /candidate\.markers/);
assert.doesNotMatch(saveMarker, /\.openings/);
});