Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(tests): update raw coverage test for inference local ops

Steven Enamakel251d76ab12eb
diff --git a/tests/raw_coverage/inference_local_ops_piper_raw_coverage_e2e.rs b/tests/raw_coverage/inference_local_ops_piper_raw_coverage_e2e.rs
index e1c7f9e97d..00861aba67 100644
--- a/tests/raw_coverage/inference_local_ops_piper_raw_coverage_e2e.rs
+++ b/tests/raw_coverage/inference_local_ops_piper_raw_coverage_e2e.rs
@@ -128,26 +128,6 @@ async fn piper_controller_rejects_insecure_download_overrides() {
assert!(requests.is_empty(), "rejected URLs must not be requested");
}
-#[tokio::test]
-async fn local_transcribe_bytes_covers_temp_file_path_and_extension_validation() {
- let tmp = tempdir().expect("tempdir");
- let mut config = temp_config(&tmp);
- config.local_ai.runtime_enabled = false;
-
- let invalid = local_ai_transcribe_bytes(&config, b"audio", Some("../wav".to_string()))
- .await
- .expect_err("invalid extension");
- assert_eq!(invalid, "Invalid audio extension");
-
- let disabled = local_ai_transcribe_bytes(&config, b"audio", Some(".WEBM".to_string()))
- .await
- .expect_err("hosted STT without a configured session");
- assert!(
- !disabled.contains("local ai is disabled"),
- "hosted STT must not be gated on the local-AI runtime: {disabled}"
- );
-}
-
async fn serve_piper_mock() -> (String, PiperMockState) {
let state = PiperMockState {
requests: Arc::new(Mutex::new(Vec::new())),