{"record":{"id":"2c431ce320a2577e","repo":"zed-industries/zed","slug":"no-run-id-given-and-the-local-run-index-is-empty","errorCode":null,"errorMessage":"no run id given and the local run index is empty. Launch a run first, or pass a run id explicitly.","messagePattern":"no run id given and the local run index is empty\\. Launch a run first, or pass a run id explicitly\\.","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"crates/eval_cli/zed_eval/volume.py","lineNumber":146,"sourceCode":"    run_args = argparse.Namespace(**vars(args))\n    run_args.experiment_name = row[\"experiment_name\"]\n    run_args.run_id = row[\"run_id\"]\n    return run_args\n\n\ndef resolve_run_id(args: argparse.Namespace) -> str:\n    \"\"\"Return the run id to act on, defaulting to the most recent local run.\n\n    Commands like `status`/`logs` accept no run id at all, in which case we use\n    the most recently launched run recorded in the local index so a bare\n    `zed-eval status` answers \"how's my latest run doing?\".\n    \"\"\"\n    run_id = getattr(args, \"run_id\", None)\n    if run_id:\n        return run_id\n    entry = run_index.most_recent()\n    if not entry:\n        raise ValueError(\n            \"no run id given and the local run index is empty. Launch a run \"\n            \"first, or pass a run id explicitly.\"\n        )\n    args.run_id = entry[\"run_id\"]\n    print(\n        f\"(no run id given; using most recent: {entry['run_id']} / \"\n        f\"{entry.get('experiment_name')})\",\n        file=sys.stderr,\n    )\n    return entry[\"run_id\"]\n\n\ndef command_runs(args: argparse.Namespace) -> int:\n    entries = run_index.recent(args.limit)\n    if getattr(args, \"json\", False):\n        print_json(entries)\n        return 0\n    if not entries:","sourceCodeStart":128,"sourceCodeEnd":164,"githubUrl":"https://github.com/zed-industries/zed/blob/bc538def4545534201bbfcac4e95ac34ea6501b6/crates/eval_cli/zed_eval/volume.py#L128-L164","documentation":"Error \"no run id given and the local run index is empty. Launch a run first, or pass a run id explicitly.\" thrown in zed-industries/zed.","triggerScenarios":"Thrown at crates/eval_cli/zed_eval/volume.py:146 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"}