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

@@ -6,10 +6,10 @@ use std::pin::Pin;
use std::task::Context;
use std::task::Poll;
use anyhow::Context as _;
use anyhow::Result;
use akode_code_mode_protocol::grpc::code_mode_host_server::CodeModeHostServer;
use akode_code_mode_protocol::host::MAX_FRAME_BYTES;
use anyhow::Context as _;
use anyhow::Result;
use futures::StreamExt;
use tokio::io::AsyncRead;
use tokio::io::AsyncWrite;

View File

@@ -2,6 +2,8 @@ use std::io;
use std::io::Write as _;
use std::net::SocketAddr;
use akode_code_mode_protocol::grpc::code_mode_host_server::CodeModeHostServer;
use akode_code_mode_protocol::host::MAX_FRAME_BYTES;
use anyhow::Context;
use anyhow::Result;
use axum::extract::Request;
@@ -11,8 +13,6 @@ use axum::http::Version;
use axum::middleware;
use axum::middleware::Next;
use axum::routing::get;
use akode_code_mode_protocol::grpc::code_mode_host_server::CodeModeHostServer;
use akode_code_mode_protocol::host::MAX_FRAME_BYTES;
use tokio::net::TcpListener;
use tonic::service::Routes;
use tonic::transport::Server;

View File

@@ -9,8 +9,6 @@ use std::sync::atomic::Ordering;
use std::time::Duration;
use std::time::Instant;
use anyhow::Context;
use anyhow::Result;
use akode_code_mode_protocol::CodeModeOutputTruncation;
use akode_code_mode_protocol::CodeModeSessionCellExecutionLimits;
use akode_code_mode_protocol::CodeModeSessionOptions;
@@ -39,6 +37,8 @@ use akode_code_mode_protocol::host::SupportedProtocolVersions;
use akode_code_mode_protocol::host::WireWaitOutcome;
use akode_code_mode_protocol::host::YIELD_OBSERVATION_CAPABILITY;
use akode_code_mode_runtime::InProcessCodeModeSession;
use anyhow::Context;
use anyhow::Result;
use tokio::io::AsyncRead;
use tokio::io::AsyncWrite;
use tokio::sync::OwnedSemaphorePermit;