Compare commits

..
Author SHA1 Message Date
Renovate Bot 6afef86af8 chore(deps): update rust-zerover-patch-updates 2026-12-03 05:05:04 +00:00
3 changed files with 17 additions and 32 deletions

No files matched your search

Generated
+14 -14
View File
@@ -1026,7 +1026,7 @@ dependencies = [
"serde-saphyr", "serde-saphyr",
"serde_json", "serde_json",
"serde_regex", "serde_regex",
"sha2 0.11.2", "sha2 0.11.3",
"smallstr", "smallstr",
"smallvec", "smallvec",
"thiserror 2.0.21", "thiserror 2.0.21",
@@ -1152,7 +1152,7 @@ dependencies = [
"serde-saphyr", "serde-saphyr",
"serde_json", "serde_json",
"serde_urlencoded", "serde_urlencoded",
"sha2 0.11.2", "sha2 0.11.3",
"termimad", "termimad",
"tokio", "tokio",
"tracing", "tracing",
@@ -1866,7 +1866,7 @@ dependencies = [
"curve25519-dalek", "curve25519-dalek",
"ed25519", "ed25519",
"serde", "serde",
"sha2 0.11.2", "sha2 0.11.3",
"signature 3.0.0", "signature 3.0.0",
"subtle", "subtle",
"zeroize", "zeroize",
@@ -3245,9 +3245,9 @@ dependencies = [
[[package]] [[package]]
name = "lettre" name = "lettre"
version = "0.11.24" version = "0.11.25"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f294f3d7cdb313e578acef7d7727d4e8d897e0fcd0d6d58c19959cec95073f19" checksum = "15000d8223b52e56d577590183331413c0ef732ebdd9c9b6aebce15824aba899"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"base64 0.23.1", "base64 0.23.1",
@@ -4182,7 +4182,7 @@ dependencies = [
"elliptic-curve 0.14.3", "elliptic-curve 0.14.3",
"primefield", "primefield",
"primeorder 0.14.0", "primeorder 0.14.0",
"sha2 0.11.2", "sha2 0.11.3",
] ]
[[package]] [[package]]
@@ -4196,7 +4196,7 @@ dependencies = [
"fiat-crypto", "fiat-crypto",
"primefield", "primefield",
"primeorder 0.14.0", "primeorder 0.14.0",
"sha2 0.11.2", "sha2 0.11.3",
] ]
[[package]] [[package]]
@@ -5226,7 +5226,7 @@ dependencies = [
"ruma-common", "ruma-common",
"ruma-events", "ruma-events",
"serde_json", "serde_json",
"sha2 0.11.2", "sha2 0.11.3",
"thiserror 2.0.21", "thiserror 2.0.21",
] ]
@@ -5327,9 +5327,9 @@ dependencies = [
[[package]] [[package]]
name = "rustls" name = "rustls"
version = "0.23.46" version = "0.23.47"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "48e13bd8c0e9365c43cfa5c9e8f9ad49d3c8444926c9aac819e0e4dc503c8fdf" checksum = "4ac0e747c10d93d873fd4c50b26ef47ad92d1bfb48f6922003bb514070f6e88c"
dependencies = [ dependencies = [
"aws-lc-rs", "aws-lc-rs",
"log", "log",
@@ -5704,7 +5704,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "969cde0349344dbbf58b5f9badbfb8f806db13969364eb8007c057ef687007d9" checksum = "969cde0349344dbbf58b5f9badbfb8f806db13969364eb8007c057ef687007d9"
dependencies = [ dependencies = [
"annotate-snippets", "annotate-snippets",
"base64 0.23.1", "base64 0.22.1",
"encoding_rs_io", "encoding_rs_io",
"granit-parser", "granit-parser",
"nohash-hasher", "nohash-hasher",
@@ -5909,9 +5909,9 @@ dependencies = [
[[package]] [[package]]
name = "sha2" name = "sha2"
version = "0.11.2" version = "0.11.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b0e5c7d67bc53f435386b2130fdc900488c5703770f6d8a4633060e34288a27" checksum = "820083d430c52864bf834423fc988cbcf61685d6f9d22a765a64e3f6cfe3521c"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"cpufeatures 0.3.1", "cpufeatures 0.3.1",
@@ -7120,7 +7120,7 @@ dependencies = [
"hkdf 0.13.0", "hkdf 0.13.0",
"http", "http",
"p256 0.13.2", "p256 0.13.2",
"sha2 0.11.2", "sha2 0.11.3",
] ]
[[package]] [[package]]
-1
View File
@@ -1 +0,0 @@
Errors while sending push notifications will now appear in the server log under more conditions, and will be registered as failures in Prometheus metrics.
+3 -17
View File
@@ -970,8 +970,6 @@ impl Service {
} }
} }
let mut first_push_error = None;
for pdu in pdus { for pdu in pdus {
// Redacted events are not notification targets (we don't send push // Redacted events are not notification targets (we don't send push
// for them) // for them)
@@ -997,27 +995,15 @@ impl Service {
.try_into() .try_into()
.expect("notification count can't go that high"); .expect("notification count can't go that high");
let response = self let _response = self
.services .services
.pusher .pusher
.send_push_notice(&user_id, unread, &pusher, rules_for_user, &pdu) .send_push_notice(&user_id, unread, &pusher, rules_for_user, &pdu)
.await .await
.map_err(|e| (Destination::Push(user_id.clone(), pushkey.clone()), Box::new(e))); .map_err(|e| (Destination::Push(user_id.clone(), pushkey.clone()), e));
if let Err(err) = response {
error!(event = %pdu.event_id, pusher = %pusher.app_display_name, "Failed to deliver push notification: {err:?}");
if first_push_error.is_none() {
first_push_error = Some(err);
}
}
} }
if let Some(err) = first_push_error { Ok(Destination::Push(user_id, pushkey))
Err(err)
} else {
Ok(Destination::Push(user_id, pushkey))
}
} }
async fn send_events_dest_federation( async fn send_events_dest_federation(