{"record":{"id":"74678a75e29dd6b2","repo":"openai/codex","slug":"status-history-rate-limit-state-poisoned","errorCode":null,"errorMessage":"status history rate-limit state poisoned","messagePattern":"status history rate-limit state poisoned","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"codex-rs/tui/src/status/card.rs","lineNumber":105,"sourceCode":"    pub(crate) fn reserve_thread_usage_label_width(&self) {\n        self.thread_usage.reserve_label_width();\n    }\n\n    pub(crate) fn finish_rate_limit_refresh(\n        &self,\n        rate_limits: &[RateLimitSnapshotDisplay],\n        now: DateTime<Local>,\n    ) {\n        let rate_limits = if rate_limits.len() <= 1 {\n            compose_rate_limit_data(rate_limits.first(), now)\n        } else {\n            compose_rate_limit_data_many(rate_limits, now)\n        };\n        #[expect(clippy::expect_used)]\n        let mut state = self\n            .rate_limit_state\n            .write()\n            .expect(\"status history rate-limit state poisoned\");\n        state.rate_limits = rate_limits;\n        state.refreshing_rate_limits = false;\n    }\n\n    pub(crate) fn set_thread_usage(\n        &self,\n        estimate: Option<codex_app_server_protocol::ThreadUsage>,\n    ) {\n        self.thread_usage.set_estimate(estimate);\n    }\n}\n\n#[derive(Debug)]\nstruct StatusHistoryCell {\n    model_name: String,\n    model_details: Vec<String>,\n    directory: PathBuf,\n    permissions: String,","sourceCodeStart":87,"sourceCodeEnd":123,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/tui/src/status/card.rs#L87-L123","documentation":"Error \"status history rate-limit state poisoned\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/tui/src/status/card.rs:105 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"}