aKode fase 1 (parziale): niente Statsig, analytics, upload Sentry, update check e announcement remoti

This commit is contained in:
Andrea
2026-11-09 11:15:06 +01:00
parent 7874033c81
commit 5b5b83964d
10 changed files with 45 additions and 165 deletions

View File

@@ -59,8 +59,9 @@ pub const CODEX_APP_DIRECTORY_CACHE_ATTACHMENT_FILENAME: &str = "codex-app-direc
/// Filename used for the Windows sandbox log feedback attachment.
pub const WINDOWS_SANDBOX_LOG_ATTACHMENT_FILENAME: &str = "windows-sandbox.log";
const DEFAULT_MAX_BYTES: usize = 4 * 1024 * 1024; // 4 MiB
const SENTRY_DSN: &str =
"https://ae32ed50620d7a7792c1ce5df38b3e3e@o33249.ingest.us.sentry.io/4510195390611458";
// aKode: the upstream Sentry DSN has been removed. This placeholder only keeps
// DSN parsing valid; `upload::send_envelope` refuses to send anything.
const SENTRY_DSN: &str = "https://disabled@127.0.0.1/0";
const UPLOAD_TIMEOUT: Duration = Duration::from_secs(/*secs*/ 300);
// Raw collection budgets used by the report API, not the interactive upload.
pub const MAX_ATTACHMENT_BYTES: usize = 64 * 1024 * 1024;