{"record":{"id":"6828c033ca7c3a64","repo":"zed-industries/zed","slug":"could-not-locate-job-dir-inside-parent-archive","errorCode":null,"errorMessage":"could not locate job dir inside {parent_archive}","messagePattern":"could not locate job dir inside (.+?)","errorType":"exception","errorClass":"FileNotFoundError","httpStatus":null,"severity":"error","filePath":"crates/eval_cli/zed_eval/modal_app.py","lineNumber":954,"sourceCode":"            raise NotImplementedError(\n                \"rejudge currently supports registry datasets (SWE-Atlas rf/qna). \"\n                f\"Parent run dataset_kind={dataset_kind!r} is not yet supported.\"\n            )\n\n        work = pathlib.Path(\"/tmp/agent-evals/rejudge\") / run_id\n        if work.exists():\n            shutil.rmtree(work)\n        extract_root = work / \"parent\"\n        extract_root.mkdir(parents=True, exist_ok=True)\n        log(f\"Extracting parent archive {parent_archive}\")\n        with tarfile.open(parent_archive, \"r:gz\") as archive:\n            safe_extract_archive(archive, extract_root)\n        parent_job_dir = extract_root / parent[\"run_id\"]\n        if not parent_job_dir.is_dir():\n            # Fall back to the single top-level dir if the arcname differs.\n            candidates = [p for p in extract_root.iterdir() if p.is_dir()]\n            if len(candidates) != 1:\n                raise FileNotFoundError(\n                    f\"could not locate job dir inside {parent_archive}\"\n                )\n            parent_job_dir = candidates[0]\n\n        log(f\"Downloading task packages for dataset {dataset_name}\")\n        subprocess.run([\"harbor\", \"datasets\", \"download\", dataset_name], check=True)\n        tasks_root = pathlib.Path.home() / \".cache\" / \"harbor\" / \"tasks\" / \"packages\"\n\n        state(\"running\", source_run=parent, judge_model=judge_model)\n        out_job_dir = work / \"job\" / run_id\n        summary = rejudge.rejudge_job(\n            parent_job_dir=parent_job_dir,\n            out_job_dir=out_job_dir,\n            tasks_root=tasks_root,\n            judge=judge,\n            judge_model=judge_model,\n            log=log,\n        )","sourceCodeStart":936,"sourceCodeEnd":972,"githubUrl":"https://github.com/zed-industries/zed/blob/bc538def4545534201bbfcac4e95ac34ea6501b6/crates/eval_cli/zed_eval/modal_app.py#L936-L972","documentation":"Error \"could not locate job dir inside {parent_archive}\" thrown in zed-industries/zed.","triggerScenarios":"Thrown at crates/eval_cli/zed_eval/modal_app.py:954 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"}