zed-industries/zed · error · ValueError

no fetched job at {candidate}. Run `zed-eval fetch {run_id}

Error message

no fetched job at {candidate}. Run `zed-eval fetch {run_id} --experiment-name <benchmark>` first, or pass --job-dir.

What it means

Error "no fetched job at {candidate}. Run `zed-eval fetch {run_id} --experiment-name <benchmark>` first, or pass --job-dir." thrown in zed-industries/zed.

Source

Thrown at crates/eval_cli/zed_eval/report.py:437

    """Resolve the fetched Harbor/Pier job directory for a `report` invocation,
    fetching it first when asked."""
    job_dir = getattr(args, "job_dir", None)
    if job_dir:
        return Path(job_dir)

    run_id = getattr(args, "run_id", None)
    if not run_id:
        raise ValueError("provide a run_id or --job-dir")
    jobs_dir = Path(getattr(args, "jobs_dir", Path.home() / ".cache/harbor/jobs"))
    candidate = jobs_dir / run_id

    if getattr(args, "fetch", False) or not candidate.exists():
        # Reuse the existing fetch command to download + extract the archive.
        from .volume import command_fetch

        command_fetch(args)
    if not candidate.exists():
        raise ValueError(
            f"no fetched job at {candidate}. Run `zed-eval fetch {run_id} "
            f"--experiment-name <benchmark>` first, or pass --job-dir."
        )
    return candidate


def _timeout_is_failure(args: Any) -> bool:
    """Agent timeouts count as failures on test-scored benchmarks. Derived from
    the benchmark's scoring (via --experiment-name), with an explicit override."""
    override = getattr(args, "timeouts_as_failures", None)
    if override is not None:
        return bool(override)
    from . import benchmarks

    experiment = getattr(args, "experiment_name", None)
    benchmark = benchmarks.BENCHMARKS.get(experiment) if experiment else None
    return bool(benchmark and benchmark.scoring == benchmarks.SCORING_TESTS)

View on GitHub (pinned to bc538def45)

When it happens

Trigger: Thrown at crates/eval_cli/zed_eval/report.py:437 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/37e20e83361f5825. Report an issue: GitHub.