google-gemini/gemini-cli · error · OrchestrationError

Failed to load / validate config: {e}

Error message

Failed to load / validate config: {e}

What it means

Error "Failed to load / validate config: {e}" thrown in google-gemini/gemini-cli.

Source

Thrown at tools/caretaker-agent/cloudrun/pr-generator/workflow/orchestrator.py:157

                        "\nfirestore_doc.json\npr_feedback.md\nfeedback.md\n"
                        "changes.diff\nverdict.json\npr_details.md\n"
                    )
            except IOError as io_err:
                logging.warning("Failed to configure git exclude file: %s", io_err)

    async def run(self) -> None:
        """Executes the core state machine pipeline.

        Raises:
            OrchestrationError: If the bug fix generation or submission fails.
        """
        self._setup_workspace()
        
        # Load firestore specifications
        try:
            firestore_doc = self.config.load_and_validate_firestore_doc()
        except Exception as e:
            raise OrchestrationError(f"Failed to load / validate config: {e}") from e

        issue_id = firestore_doc.get("workable_spec", {}).get("issue_id")
        github_metadata = firestore_doc.get("github_metadata", {})
        issue_num = github_metadata.get("issue_number")
        owner = github_metadata.get("owner")
        repo = github_metadata.get("repo")
        doc_id = self.config.firestore_id or (
            f"github_{owner}_{repo}_{issue_num}" if owner and repo and issue_num else None
        )

        if not issue_num:
            raise OrchestrationError("Issue number is missing in Firestore metadata.")

        # --- STEP 1, 2, 3: Concurrency Dual-Lock Validation & COMMIT_GENERATION State Update ---
        execution_id = self.config.execution_id
        logging.info("Validating concurrency dual-lock in Firestore for issue #%s...", issue_num)
        claim_action = acquire_lock(
            lock_holder=execution_id,

View on GitHub (pinned to 5024443c72)

When it happens

Trigger: Thrown at tools/caretaker-agent/cloudrun/pr-generator/workflow/orchestrator.py:157 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of google-gemini/gemini-cli@5024443c72 (2026-08-12). Data as JSON: /api/errors/394937a70816e907. Report an issue: GitHub.