{"record":{"id":"c4ba3325aaaa0ad5","repo":"openai/codex","slug":"features-rollout-budget-field-must-be-finite-and","errorCode":null,"errorMessage":"features.rollout_budget.{field} must be finite and non-negative","messagePattern":"features\\.rollout_budget\\.(.+?) must be finite and non-negative","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"codex-rs/core/src/config/mod.rs","lineNumber":2838,"sourceCode":"                )\n            })?;\n    if reminder_at_remaining_tokens\n        .iter()\n        .any(|&tokens| tokens <= 0 || tokens >= limit_tokens)\n    {\n        return Err(std::io::Error::new(\n            std::io::ErrorKind::InvalidInput,\n            \"features.rollout_budget.reminder_at_remaining_tokens must contain only positive values below limit_tokens\",\n        ));\n    }\n    let sampling_token_weight = config.sampling_token_weight.unwrap_or(1.0);\n    let prefill_token_weight = config.prefill_token_weight.unwrap_or(1.0);\n    for (field, weight) in [\n        (\"sampling_token_weight\", sampling_token_weight),\n        (\"prefill_token_weight\", prefill_token_weight),\n    ] {\n        if !weight.is_finite() || weight < 0.0 {\n            return Err(std::io::Error::new(\n                std::io::ErrorKind::InvalidInput,\n                format!(\"features.rollout_budget.{field} must be finite and non-negative\"),\n            ));\n        }\n    }\n    Ok(Some(RolloutBudgetConfig {\n        limit_tokens,\n        reminder_at_remaining_tokens,\n        sampling_token_weight,\n        prefill_token_weight,\n    }))\n}\n\nfn resolve_current_time_reminder_config(\n    config_toml: &ConfigToml,\n    features: &ManagedFeatures,\n) -> std::io::Result<Option<CurrentTimeReminderConfig>> {\n    if !features.enabled(Feature::CurrentTimeReminder) {","sourceCodeStart":2820,"sourceCodeEnd":2856,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/core/src/config/mod.rs#L2820-L2856","documentation":"Error \"features.rollout_budget.{field} must be finite and non-negative\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/core/src/config/mod.rs:2838 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Set features.rollout_budget.{field} to a finite, non-negative number."],"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"}