aKode fase 5: test e snapshot adeguati alla rinomina, 429 distinto (ProviderRateLimited), cargo fmt dopo il cambio dei prefissi

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-11 12:47:01 +01:00
parent 8b73331037
commit ad43f9281a
919 changed files with 2358 additions and 2430 deletions

View File

@@ -1,13 +1,13 @@
//! Copies this test executable into a private package and dispatches its fake helper before libtest.
//! The fixture validates protocol order; it never loads native libraries or opens audio devices.
use anyhow::Context;
use anyhow::Result;
use anyhow::ensure;
use akode_realtime_webrtc::AudioState;
use akode_realtime_webrtc::Message;
use akode_realtime_webrtc::encode_frame;
use akode_realtime_webrtc::read_message;
use anyhow::Context;
use anyhow::Result;
use anyhow::ensure;
use std::fs;
use std::io::Write;
use std::path::PathBuf;
@@ -21,7 +21,7 @@ use std::time::UNIX_EPOCH;
pub const BUILD_COMMIT: &str = "0123456789abcdef0123456789abcdef01234567";
pub const WAIT: Duration = Duration::from_secs(/*secs*/ 10);
const APP: &str = if cfg!(windows) { "akode.exe" } else { "codex" };
const APP: &str = if cfg!(windows) { "akode.exe" } else { "akode" };
const HELPER: &str = if cfg!(windows) {
"akode-voice-host.exe"
} else {