WIP fase 2b-2: rimosso login ChatGPT/OAuth/device code, agent/workload identity, backend-client; resta solo chiave API (test non tutti verdi)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-10 06:00:44 +01:00
parent 82347a58ed
commit 231e8cd136
661 changed files with 4924 additions and 64817 deletions

View File

@@ -694,8 +694,7 @@ async fn callback_during_startup_releases_waiting_chats_without_sharing_authorit
#[tokio::test]
async fn connection_key_changes_with_the_owner_but_survives_credential_refresh() {
let manager =
AuthManager::from_auth_for_testing(CodexAuth::create_dummy_chatgpt_auth_for_testing());
let manager = AuthManager::from_auth_for_testing(CodexAuth::from_api_key("test-api-key"));
let mut original = key(&context(), &config());
original.auth_state = Some((manager, AuthChangeState::default()));
let mut refreshed = original.clone();