{"record":{"id":"ef7a313a6020888f","repo":"google-gemini/gemini-cli","slug":"pull-request-submission-failed-e","errorCode":null,"errorMessage":"Pull request submission failed: {e}","messagePattern":"Pull request submission failed: (.+?)","errorType":"exception","errorClass":"OrchestrationError","httpStatus":null,"severity":"error","filePath":"tools/caretaker-agent/cloudrun/pr-generator/workflow/orchestrator.py","lineNumber":691,"sourceCode":"            pr_title = recommended_commit_msg if recommended_commit_msg else f\"[SSR Agent] Issue Fix: issues/{issue_num}\"\n            pr_body = recommended_pr_desc if recommended_pr_desc else (\n                f\"This Pull Request was automatically generated by the SSR Code Generator Agent \"\n                f\"to resolve issue `{issue_id}`.\\n\\n\"\n                f\"### Summary of Changes:\\n\"\n                f\"Applied targeted modifications to address the issue, validated with local compilation and unit tests.\"\n            )\n\n            client = GitHubClient(owner=owner, repo=repo_name, token=self.config.git_token)\n            try:\n                pr_number = client.create_pull_request(\n                    branch_name=branch_name,\n                    title=pr_title,\n                    body=pr_body,\n                )\n                return pr_number\n            except GitHubClientError as e:\n                logging.error(\"Pull request submission failed: %s\", e)\n                raise OrchestrationError(f\"Pull request submission failed: {e}\") from e\n        else:\n            logging.warning(\"GitHub token not configured. Skipping PR creation.\")\n            return None\n","sourceCodeStart":673,"sourceCodeEnd":695,"githubUrl":"https://github.com/google-gemini/gemini-cli/blob/5024443c7217464a66e98f80d73172a26440bd8f/tools/caretaker-agent/cloudrun/pr-generator/workflow/orchestrator.py#L673-L695","documentation":"Error \"Pull request submission failed: {e}\" thrown in google-gemini/gemini-cli.","triggerScenarios":"Thrown at tools/caretaker-agent/cloudrun/pr-generator/workflow/orchestrator.py:691 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":"5024443c7217464a66e98f80d73172a26440bd8f","analyzedAt":"2026-08-12T06:01:53.711Z","schemaVersion":2},"datasetVersion":"2026-08-12T13:17:24.610Z"}