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

@@ -5,12 +5,12 @@ mod common;
use std::fs;
use std::time::Duration;
use anyhow::Context;
use anyhow::Result;
use anyhow::ensure;
use akode_install_context::InstallContext;
use akode_realtime_webrtc::VoiceHost;
use akode_utils_cargo_bin::cargo_bin;
use anyhow::Context;
use anyhow::Result;
use anyhow::ensure;
use common::voice_host_command;
use tokio::time::timeout;
@@ -52,7 +52,7 @@ async fn relocated_runtime_initializes_closes_and_rejects_duplicate_initializati
fs::create_dir_all(runtime.join("bin"))?;
akode_utils_cargo_bin::copy_executable(&helper_source, &runtime.join("bin").join(name))?;
fs::create_dir(root.join("bin"))?;
let app_name = if cfg!(windows) { "akode.exe" } else { "codex" };
let app_name = if cfg!(windows) { "akode.exe" } else { "akode" };
fs::write(root.join("bin").join(app_name), [])?;
fs::write(root.join("akode-package.json"), "{}")?;
let moved = directory.path().join("relocated package");