{"record":{"id":"fad7f55aecda771d","repo":"openai/codex","slug":"guardian-review-session-was-not-available-after-sp","errorCode":null,"errorMessage":"guardian review session was not available after spawn","messagePattern":"guardian review session was not available after spawn","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"codex-rs/core/src/guardian/review_session.rs","lineNumber":600,"sourceCode":"                        }\n                        Err(outcome) => {\n                            return (outcome, GuardianReviewAnalyticsResult::without_session());\n                        }\n                    };\n                    state.trunk = Some(Arc::clone(&review_session));\n                    spawned_trunk = true;\n                }\n\n                state.trunk.as_ref().cloned()\n            }\n            Err(outcome) => {\n                return (outcome, GuardianReviewAnalyticsResult::without_session());\n            }\n        };\n\n        let Some(trunk) = trunk_candidate else {\n            return (\n                GuardianReviewSessionOutcome::Completed(Err(anyhow!(\n                    \"guardian review session was not available after spawn\"\n                ))),\n                GuardianReviewAnalyticsResult::without_session(),\n            );\n        };\n\n        if trunk.reuse_key != next_reuse_key {\n            return Box::pin(self.run_ephemeral_review(\n                params,\n                next_reuse_key,\n                deadline,\n                parent_compaction,\n                /*fork_snapshot*/ None,\n            ))\n            .await;\n        }\n\n        let trunk_guard = match trunk.review_lock.try_acquire() {","sourceCodeStart":582,"sourceCodeEnd":618,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/core/src/guardian/review_session.rs#L582-L618","documentation":"Error \"guardian review session was not available after spawn\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/core/src/guardian/review_session.rs:600 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry the guardian review; the review session failed to spawn."],"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"}