zed-industries/zed · error · ValueError
no run id given and the local run index is empty. Launch a r
Error message
no run id given and the local run index is empty. Launch a run first, or pass a run id explicitly.
What it means
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.
Source
Thrown at crates/eval_cli/zed_eval/volume.py:146
run_args = argparse.Namespace(**vars(args))
run_args.experiment_name = row["experiment_name"]
run_args.run_id = row["run_id"]
return run_args
def resolve_run_id(args: argparse.Namespace) -> str:
"""Return the run id to act on, defaulting to the most recent local run.
Commands like `status`/`logs` accept no run id at all, in which case we use
the most recently launched run recorded in the local index so a bare
`zed-eval status` answers "how's my latest run doing?".
"""
run_id = getattr(args, "run_id", None)
if run_id:
return run_id
entry = run_index.most_recent()
if not entry:
raise ValueError(
"no run id given and the local run index is empty. Launch a run "
"first, or pass a run id explicitly."
)
args.run_id = entry["run_id"]
print(
f"(no run id given; using most recent: {entry['run_id']} / "
f"{entry.get('experiment_name')})",
file=sys.stderr,
)
return entry["run_id"]
def command_runs(args: argparse.Namespace) -> int:
entries = run_index.recent(args.limit)
if getattr(args, "json", False):
print_json(entries)
return 0
if not entries:View on GitHub (pinned to bc538def45)
When it happens
Trigger: Thrown at crates/eval_cli/zed_eval/volume.py:146 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of zed-industries/zed@bc538def45 (2026-08-16).
Data as JSON: /api/errors/2c431ce320a2577e.
Report an issue: GitHub.