{"record":{"id":"ae1e351637abf2fd","repo":"zed-industries/zed","slug":"zedpieragent-requires-eval-cli-container-path-the","errorCode":null,"errorMessage":"ZedPierAgent requires EVAL_CLI_CONTAINER_PATH (the eval-cli binary on the mounted volume, e.g. /data/builds/<id>/eval-cli)","messagePattern":"ZedPierAgent requires EVAL_CLI_CONTAINER_PATH \\(the eval-cli binary on the mounted volume, e\\.g\\. /data/builds/<id>/eval-cli\\)","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"crates/eval_cli/zed_eval/pier_agent.py","lineNumber":76,"sourceCode":"    \"OPENAI_BASE_URL\",\n    \"OPENAI_API_BASE\",\n    \"GEMINI_API_BASE\",\n)\n\n\nclass ZedPierAgent(BaseInstalledAgent):\n    \"\"\"Runs Zed's headless eval-cli binary under Pier.\"\"\"\n\n    SUPPORTS_ATIF: bool = False\n\n    @staticmethod\n    def name() -> str:\n        return \"zed\"\n\n    def _container_binary_path(self) -> str:\n        path = self._get_env(\"EVAL_CLI_CONTAINER_PATH\")\n        if not path:\n            raise ValueError(\n                \"ZedPierAgent requires EVAL_CLI_CONTAINER_PATH (the eval-cli binary \"\n                \"on the mounted volume, e.g. /data/builds/<id>/eval-cli)\"\n            )\n        return path\n\n    def install_spec(self) -> AgentInstallSpec:\n        # The binary lives on the runtime-mounted volume, which isn't available at\n        # image-build time, so the real placement happens in run() via\n        # exec_as_root. install_spec only needs a non-empty, no-egress step.\n        return AgentInstallSpec(\n            agent_name=self.name(),\n            version=self._version,\n            steps=[\n                InstallStep(\n                    user=\"root\",\n                    run=\"true  # eval-cli is copied from the volume at run time\",\n                )\n            ],","sourceCodeStart":58,"sourceCodeEnd":94,"githubUrl":"https://github.com/zed-industries/zed/blob/bc538def4545534201bbfcac4e95ac34ea6501b6/crates/eval_cli/zed_eval/pier_agent.py#L58-L94","documentation":"Error \"ZedPierAgent requires EVAL_CLI_CONTAINER_PATH (the eval-cli binary on the mounted volume, e.g. /data/builds/<id>/eval-cli)\" thrown in zed-industries/zed.","triggerScenarios":"Thrown at crates/eval_cli/zed_eval/pier_agent.py:76 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":"bc538def4545534201bbfcac4e95ac34ea6501b6","analyzedAt":"2026-08-16T07:30:46.435Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}