feat(api): subtitle lamps in the health report

This commit is contained in:
Miguel Palhas
2026-08-25 06:04:30 +01:00
parent 8c5613b247
commit be7fa87e74
5 changed files with 408 additions and 12 deletions
+16
View File
@@ -1705,6 +1705,10 @@ mod tests {
})
})
}
fn probe(&self) -> arr_subs::ProbeFuture<'_> {
Box::pin(async move { Ok(()) })
}
}
/// A provider that is configured but never answers.
@@ -1732,6 +1736,14 @@ mod tests {
})
})
}
fn probe(&self) -> arr_subs::ProbeFuture<'_> {
Box::pin(async move {
Err(arr_subs::Error::Unauthorized {
provider: ProviderId::new("dead"),
})
})
}
}
/// Uppercases every cue. Enough to prove the pipeline, and it keeps cue
@@ -1760,6 +1772,10 @@ mod tests {
.collect())
})
}
fn probe(&self) -> arr_subs::translate::ProbeFuture<'_> {
Box::pin(async move { Ok(()) })
}
}
struct Fixture {