[control] Store and recovery fixes: cross-process token lock, revert keeps its journal until done, epoch and deny list never roll back, journal errors propagate, lost confirm reloads edge, trial hash checked

This commit is contained in:
2026-11-07 18:51:58 +01:00
parent b9e14c6aee
commit 4448527b16
10 changed files with 305 additions and 66 deletions
+3
View File
@@ -1043,6 +1043,9 @@ pub async fn mint_share_link(
MintError::PasswordShort => field_err("share.password_short", "password"),
MintError::PasswordLong => field_err("share.password_long", "password"),
MintError::Replaces => field_err("share.replaces", "replaces"),
MintError::TooMany => {
ApiError::new(StatusCode::CONFLICT, "share.too_many", Params::new())
}
MintError::Store(s) => ApiError::internal(s),
})?;
if b.replaces.is_some() {