pub fn resolve_source(
workspace_root: &Path,
alias: &str,
) -> Result<InspectSource, InspectError>Expand description
Resolve a run_id alias (see resolve_run_id) to the on-disk
report.json path. When alias is last / latest / @latest
and no archives exist yet, fall back to the legacy pointer at
.tarn/last-run.json so users who have run once (before archives
were introduced, or with --no-last-run-json disabling archives)
can still inspect the most recent output.