{"record":{"id":"261747b4718a76b1","repo":"openai/codex","slug":"unknown-thread-goal-status-other","errorCode":null,"errorMessage":"unknown thread goal status `{other}`","messagePattern":"unknown thread goal status `(.+?)`","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"codex-rs/state/src/model/thread_goal.rs","lineNumber":55,"sourceCode":"    }\n\n    pub fn is_terminal(self) -> bool {\n        matches!(self, Self::BudgetLimited | Self::Complete)\n    }\n}\n\nimpl TryFrom<&str> for ThreadGoalStatus {\n    type Error = anyhow::Error;\n\n    fn try_from(value: &str) -> Result<Self> {\n        match value {\n            \"active\" => Ok(Self::Active),\n            \"paused\" => Ok(Self::Paused),\n            \"blocked\" => Ok(Self::Blocked),\n            \"usage_limited\" => Ok(Self::UsageLimited),\n            \"budget_limited\" => Ok(Self::BudgetLimited),\n            \"complete\" => Ok(Self::Complete),\n            other => Err(anyhow!(\"unknown thread goal status `{other}`\")),\n        }\n    }\n}\n\n#[derive(Debug, Clone, PartialEq, Eq)]\npub struct ThreadGoal {\n    pub thread_id: ThreadId,\n    pub goal_id: String,\n    pub objective: String,\n    pub status: ThreadGoalStatus,\n    pub token_budget: Option<i64>,\n    pub tokens_used: i64,\n    pub time_used_seconds: i64,\n    pub created_at: DateTime<Utc>,\n    pub updated_at: DateTime<Utc>,\n}\n\npub(crate) struct ThreadGoalRow {","sourceCodeStart":37,"sourceCodeEnd":73,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/state/src/model/thread_goal.rs#L37-L73","documentation":"Error \"unknown thread goal status `{other}`\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/state/src/model/thread_goal.rs:55 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"}