{"record":{"id":"1860f2c480814ca8","repo":"openai/codex","slug":"thread-store-internal-error-message","errorCode":null,"errorMessage":"thread-store internal error: {message}","messagePattern":"thread-store internal error: (.+?)","errorType":"exception","errorClass":"ThreadStoreError","httpStatus":null,"severity":"error","filePath":"codex-rs/thread-store/src/error.rs","lineNumber":50,"sourceCode":"        message: String,\n    },\n\n    /// The operation conflicted with current store state.\n    #[error(\"thread-store conflict: {message}\")]\n    Conflict {\n        /// User-facing explanation of the conflict.\n        message: String,\n    },\n\n    /// The store implementation does not support this operation yet.\n    #[error(\"thread-store unsupported operation: {operation}\")]\n    Unsupported {\n        /// Stable operation name for callers that need to map unsupported operations.\n        operation: &'static str,\n    },\n\n    /// Catch-all for implementation failures that do not fit a more specific category.\n    #[error(\"thread-store internal error: {message}\")]\n    Internal {\n        /// User-facing explanation of the implementation failure.\n        message: String,\n    },\n}\n","sourceCodeStart":32,"sourceCodeEnd":56,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/thread-store/src/error.rs#L32-L56","documentation":"ThreadStoreError::Internal: catch-all sentinel for implementation failures inside a thread-store backend that don't fit ThreadNotFound/InvalidRequest/Conflict/Unsupported — typically wrapped IO or database errors. The underlying cause is in the message; the fault is in the store, not the caller's request.","triggerScenarios":"Thrown at codex-rs/thread-store/src/error.rs:50 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the embedded message/cause (disk full, database locked, corruption) and address that underlying condition","Retry once for transient IO/lock failures","Report as a bug with the store backend and message if the cause is not environmental"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"339751715c64496cb86246bfb3935f40e309dd3d","analyzedAt":"2026-08-25T05:35:09.876Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}