refactor(draft): type async publication conflicts

Return typed conflicts for async Draft edits. Release the lock and edit permit before converting the error, and exercise overlapping updates.
This commit is contained in:
Tunglies
2026-11-30 18:13:47 +08:00
parent 7b43bac198
commit 1c7bc3200b
8 changed files with 46 additions and 41 deletions
Generated
+1 -1
View File
@@ -1170,9 +1170,9 @@ dependencies = [
name = "clash-verge-draft"
version = "0.1.0"
dependencies = [
"anyhow",
"criterion",
"parking_lot 0.13.0",
"thiserror 2.0.20",
"tokio",
]