zed-industries/zed · warning · ValueError
build ids may only contain lowercase letters, numbers, '.'…
Error message
build ids may only contain lowercase letters, numbers, '.', '_', and '-'
What it means
add_terminal_task bails when is_enabled_in_workspace returns false, i.e. the active workspace is a remote project (SSH, WSL, dev container) where running tasks in the terminal panel is not supported by this Zed build. The check runs before any terminal is created, so the failure is cheap and immediate.
Solutions
- Open the project locally instead of through the remote connection when you need terminal tasks
- Update Zed — remote terminal support varies by version and is tracked upstream
- Rebind task-related keybindings so they only apply to local workspaces
Defensive patterns
Strategy: validation
Validate before calling
// Gate task-in-terminal affordances on workspace capability:
if !is_enabled_in_workspace(workspace, cx) {
disable_action(crate::actions::SpawnTerminalTask);
return; // never reach add_terminal_task
} Type guard
fn terminal_tasks_supported(workspace: &Workspace, cx: &App) -> bool {
is_enabled_in_workspace(workspace, cx)
} Prevention
- Check is_enabled_in_workspace before showing task/terminal actions so remote workspaces never surface them
- Scope task keybindings to local projects via context predicates
When it happens
Trigger: Invoking task spawning through the terminal panel (add_terminal_task) while the workspace is a remote project: is_enabled_in_workspace(workspace, cx) is false, e.g. an SSH or dev-container project in a build without remote task support.
Common situations: A keybinding or extension triggers 'run task in terminal' while an SSH/remote project is focused; workflows that were built around local projects moved onto remote dev boxes.
Related errors
- aborting reconnect, because not in state that allows…
- archive links are not supported
- cannot open repository on disconnected remote machine
- Prebuilt remote servers are not yet available for
- Prebuilt remote servers are not yet available for
AI-assisted analysis of zed-industries/zed@f4178619ac (2026-08-20).
Data as JSON: /api/errors/90ce86eda70ccc50.
Report an issue: GitHub.
Appendix: source
Thrown at crates/eval_cli/zed_eval/builds.py:11
from __future__ import annotations
import argparse
from typing import Any
from . import source
def validate_build_id(build_id: str | None) -> None:
if build_id and source.sanitize_namespace(build_id) != build_id:
raise ValueError(
"build ids may only contain lowercase letters, numbers, '.', '_', and '-'"
)
def prepare_build_request(
*,
base_sha: str | None,
patch_path: str | None,
build_id: str | None,
allow_untracked: bool,
require_clean: bool,
repo_url: str | None,
clean_source: bool = False,
source_label: str | None = None,
pre_resolved_base_sha: str | None = None,
) -> dict[str, Any]:
validate_build_id(build_id)
source_info, patch = source.prepare_build_source(View on GitHub (pinned to f4178619ac)