{"record":{"id":"d41db26c5cea243e","repo":"nikivdev/code","slug":"some-queued-commits-have-review-issues-fix-th","errorCode":null,"errorMessage":"Some queued commits have review issues: {}. Fix them or use --allow-issues.","messagePattern":"Some queued commits have review issues: (.+?)\\. Fix them or use --allow-issues\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/commit.rs","lineNumber":7783,"sourceCode":"                    .unwrap_or(false);\n            let unreviewed =\n                (entry.version >= 2 && !entry.review_completed) || entry.review_timed_out;\n            if issues_present && !allow_issues {\n                bad_issues.push(short_sha(&entry.commit_sha).to_string());\n            }\n            if unreviewed && !allow_unreviewed {\n                bad_unreviewed.push(short_sha(&entry.commit_sha).to_string());\n            }\n        }\n\n        if !bad_unreviewed.is_empty() {\n            bail!(\n                \"Some queued commits do not have a clean review (timed out/missing): {}. Re-run review or use --allow-unreviewed.\",\n                bad_unreviewed.join(\", \")\n            );\n        }\n        if !bad_issues.is_empty() {\n            bail!(\n                \"Some queued commits have review issues: {}. Fix them or use --allow-issues.\",\n                bad_issues.join(\", \")\n            );\n        }\n    }\n\n    let head_sha = git_capture_in(repo_root, &[\"rev-parse\", \"HEAD\"])?;\n    let head_sha = head_sha.trim().to_string();\n    ensure_safe_upstream_for_commit_queue_push(repo_root, &head_sha, force)?;\n\n    if git_try_in(repo_root, &[\"fetch\", \"--quiet\"]).is_ok() {\n        if let Ok(counts) = git_capture_in(\n            repo_root,\n            &[\"rev-list\", \"--left-right\", \"--count\", \"@{u}...HEAD\"],\n        ) {\n            let parts: Vec<&str> = counts.split_whitespace().collect();\n            if parts.len() == 2 {\n                let behind = parts[0].parse::<u64>().unwrap_or(0);","sourceCodeStart":7765,"sourceCodeEnd":7801,"githubUrl":"https://github.com/nikivdev/code/blob/a747e741ae92c09071d0ae946ab48488adcff1ce/src/commit.rs#L7765-L7801","documentation":"Error \"Some queued commits have review issues: {}. Fix them or use --allow-issues.\" thrown in nikivdev/code.","triggerScenarios":"Thrown at src/commit.rs:7783 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":"a747e741ae92c09071d0ae946ab48488adcff1ce","analyzedAt":"2026-09-01T22:43:55.719Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}