{"record":{"id":"6968a341edfa8b59","repo":"openai/codex","slug":"one-or-more-rollout-migrations-failed","errorCode":null,"errorMessage":"one or more rollout migrations failed","messagePattern":"one or more rollout migrations failed","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"codex-rs/cli/src/migrate_rollouts.rs","lineNumber":134,"sourceCode":"        )\n        .await\n        .ok()\n        .map(|after| (before, after)),\n        None => None,\n    };\n\n    if json {\n        println!(\"{}\", serde_json::to_string_pretty(&report)?);\n    } else {\n        print_human_report(&report, mode, verbose, progress.elapsed(), thread_storage);\n    }\n\n    if report\n        .outcomes\n        .iter()\n        .any(|outcome| outcome.status == RolloutMigrationStatus::Failed)\n    {\n        anyhow::bail!(\"one or more rollout migrations failed\");\n    }\n    Ok(())\n}\n\nconst TTY_PROGRESS_INTERVAL: Duration = Duration::from_millis(250);\nconst NON_TTY_PROGRESS_INTERVAL: usize = 1_000;\nconst MAX_EXCEPTION_DETAILS: usize = 20;\n\n#[derive(Clone, Copy, Debug, Eq, PartialEq)]\nenum ProgressOutput {\n    Quiet,\n    Tty,\n    Plain,\n}\n\nstruct MigrationProgress {\n    mode: RolloutMigrationMode,\n    output: ProgressOutput,","sourceCodeStart":116,"sourceCodeEnd":152,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/cli/src/migrate_rollouts.rs#L116-L152","documentation":"Error \"one or more rollout migrations failed\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/cli/src/migrate_rollouts.rs:134 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"339751715c64496cb86246bfb3935f40e309dd3d","analyzedAt":"2026-08-25T05:35:09.876Z","schemaVersion":2},"datasetVersion":"2026-08-25T06:17:31.827Z"}