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-12-02 02:10:09 +08:00
committed by GitHub
parent 12b2e340ca
commit 6fdbea3748
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",
]