openai/codex · error · anyhow::Error

one or more rollout migrations failed

Error message

one or more rollout migrations failed

What it means

Error "one or more rollout migrations failed" thrown in openai/codex.

Source

Thrown at codex-rs/cli/src/migrate_rollouts.rs:134

        )
        .await
        .ok()
        .map(|after| (before, after)),
        None => None,
    };

    if json {
        println!("{}", serde_json::to_string_pretty(&report)?);
    } else {
        print_human_report(&report, mode, verbose, progress.elapsed(), thread_storage);
    }

    if report
        .outcomes
        .iter()
        .any(|outcome| outcome.status == RolloutMigrationStatus::Failed)
    {
        anyhow::bail!("one or more rollout migrations failed");
    }
    Ok(())
}

const TTY_PROGRESS_INTERVAL: Duration = Duration::from_millis(250);
const NON_TTY_PROGRESS_INTERVAL: usize = 1_000;
const MAX_EXCEPTION_DETAILS: usize = 20;

#[derive(Clone, Copy, Debug, Eq, PartialEq)]
enum ProgressOutput {
    Quiet,
    Tty,
    Plain,
}

struct MigrationProgress {
    mode: RolloutMigrationMode,
    output: ProgressOutput,

View on GitHub (pinned to 339751715c)

When it happens

Trigger: Thrown at codex-rs/cli/src/migrate_rollouts.rs:134 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of openai/codex@339751715c (2026-08-25). Data as JSON: /api/errors/6968a341edfa8b59. Report an issue: GitHub.