mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-17 21:25:46 +02:00
langgraph deploy auto-generates a default deployment name from the working directory, which can contain underscores. Deployment names only allow letters, numbers, and hyphens, so an underscore in the name caused a cryptic 500 error from GCP Artifact Registry deep in the deploy flow. This adds a client-side validation check immediately after the name is resolved (from --name flag, env var, or prompt) so users get a clear, actionable error before any Docker build or network calls happen. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>