fix: allow too_many_lines on matrix::ensure_all (108/100, aggregate-bool sweep)
This commit is contained in:
parent
cfed36582e
commit
8cb130b8d7
1 changed files with 7 additions and 0 deletions
|
|
@ -1514,6 +1514,13 @@ async fn resolve_room_alias(
|
|||
/// [`crate::stats::sweep_health::SweepHealth`] to raise a debounced
|
||||
/// dashboard banner on persistent failure (this sweep re-runs every 30
|
||||
/// minutes, so a one-off blip self-heals without ever bannering).
|
||||
#[allow(
|
||||
clippy::too_many_lines,
|
||||
reason = "sequential provisioning sweep — admin user, per-agent user/token \
|
||||
sync, space + chat-room membership — each step's failure handling \
|
||||
(log + continue + flip `ok`) is inherent to the aggregate bool \
|
||||
contract, not something to factor away just to hit a line count"
|
||||
)]
|
||||
pub async fn ensure_all() -> bool {
|
||||
if !is_present().await {
|
||||
tracing::debug!("matrix: hive-matrix container absent, skipping user sweep");
|
||||
|
|
|
|||
Loading…
Reference in a new issue