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,11 +1,11 @@
use std::time::Duration;
use anyhow::Result;
use akode_exec_server_protocol::JSONRPCMessage;
use akode_exec_server_protocol::JSONRPCRequest;
use akode_exec_server_protocol::JSONRPCResponse;
use akode_exec_server_protocol::RequestId;
use akode_protocol::protocol::W3cTraceContext;
use anyhow::Result;
use tokio::sync::mpsc;
use tokio::time::timeout;

View File

@@ -1,10 +1,10 @@
use std::time::Duration;
use akode_http_client::HttpClientFactory;
use akode_http_client::OutboundProxyPolicy;
use anyhow::Context;
use anyhow::Result;
use bytes::Bytes;
use akode_http_client::HttpClientFactory;
use akode_http_client::OutboundProxyPolicy;
use futures::SinkExt;
use futures::StreamExt;
use pretty_assertions::assert_eq;

View File

@@ -6,12 +6,12 @@ use std::task::Context as TaskContext;
use std::task::Poll;
use std::time::Duration;
use anyhow::Context;
use anyhow::Result;
use akode_exec_server_protocol::JSONRPCMessage;
use akode_exec_server_protocol::JSONRPCRequest;
use akode_exec_server_protocol::RequestId;
use akode_protocol::protocol::W3cTraceContext;
use anyhow::Context;
use anyhow::Result;
use futures::Sink;
use futures::SinkExt;
use futures::StreamExt;

View File

@@ -1,7 +1,7 @@
use akode_exec_server_protocol::JSONRPCMessage;
use bytes::Buf;
use bytes::Bytes;
use bytes::BytesMut;
use akode_exec_server_protocol::JSONRPCMessage;
use crate::ExecServerError;
use crate::client_inbound_request_limit::MAX_CLIENT_INBOUND_REQUEST_LEN;

View File

@@ -1,9 +1,9 @@
use std::future::Future;
use std::sync::Arc;
use bytes::Bytes;
use akode_exec_server_protocol::JSONRPCMessage;
use akode_protocol::protocol::W3cTraceContext;
use bytes::Bytes;
use tokio::sync::mpsc;
use tokio::sync::watch;
use tokio::task::JoinHandle;

View File

@@ -1,9 +1,9 @@
use std::time::Instant;
use anyhow::Result;
use akode_exec_server_protocol::JSONRPCMessage;
use akode_exec_server_protocol::JSONRPCRequest;
use akode_exec_server_protocol::RequestId;
use anyhow::Result;
use pretty_assertions::assert_eq;
use super::NoiseStreamHandler;