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,9 +1,9 @@
#![allow(clippy::expect_used)]
use anyhow::Context as _;
use anyhow::ensure;
use akode_arg0::Arg0PathEntryGuard;
use akode_utils_cargo_bin::CargoBinError;
use anyhow::Context as _;
use anyhow::ensure;
use ctor::ctor;
use std::sync::OnceLock;
use tempfile::TempDir;

View File

@@ -3,12 +3,12 @@
use crate::test_codex::TestCodexBuilder;
use crate::test_codex::test_codex;
use anyhow::Result;
use akode_config::types::AppToolApproval;
use akode_core::config::Config;
use akode_login::CodexAuth;
use akode_models_manager::bundled_models_response;
use akode_protocol::config_types::ApprovalsReviewer;
use anyhow::Result;
use serde_json::Value;
use serde_json::json;
use std::collections::VecDeque;

View File

@@ -2,12 +2,12 @@
use crate::exec_server::ExecServerProcess;
use crate::is_remote_test_environment;
use anyhow::Context;
use akode_config::types::McpServerConfig;
use akode_exec_server::HttpHeader;
use akode_exec_server::HttpRequestParams;
use akode_exec_server::HttpRequestResponse;
use akode_exec_server::REMOTE_ENVIRONMENT_ID;
use anyhow::Context;
use futures::SinkExt;
use futures::StreamExt;
use serde_json::Value;

View File

@@ -6,11 +6,11 @@ use std::sync::Arc;
use std::sync::Mutex;
use std::time::Duration;
use anyhow::Result;
use base64::Engine;
use akode_protocol::models::ContentItem;
use akode_protocol::models::ResponseItem;
use akode_protocol::openai_models::ModelsResponse;
use anyhow::Result;
use base64::Engine;
use futures::SinkExt;
use futures::StreamExt;
use serde_json::Value;

View File

@@ -12,9 +12,6 @@ use std::sync::atomic::AtomicUsize;
use std::sync::atomic::Ordering;
use std::time::Duration;
use anyhow::Context;
use anyhow::Result;
use anyhow::anyhow;
use akode_agent_graph_store::AgentGraphStore;
use akode_attachment_store::AttachmentStore;
use akode_config::test_support::ManagedConfigFixture;
@@ -77,6 +74,9 @@ use akode_utils_absolute_path::AbsolutePathBuf;
use akode_utils_path_uri::LegacyAppPathString;
use akode_utils_path_uri::PathConvention;
use akode_utils_path_uri::PathUri;
use anyhow::Context;
use anyhow::Result;
use anyhow::anyhow;
use futures::future::BoxFuture;
use serde_json::Value;
use tempfile::TempDir;

View File

@@ -1,9 +1,9 @@
use std::ffi::OsStr;
use anyhow::Result;
use akode_utils_path_uri::LegacyAppPathString;
use akode_utils_path_uri::PathConvention;
use akode_utils_path_uri::PathUri;
use anyhow::Result;
pub const TEST_ENVIRONMENT_ENV_VAR: &str = "AKODE_TEST_ENVIRONMENT";
pub const LEGACY_REMOTE_ENV_ENV_VAR: &str = "AKODE_TEST_REMOTE_ENV";