Compare commits

..
Author SHA1 Message Date
syachamaneni-lc 98f361f558 chore: merge main into dev package branch
Keep the upstream agent CLI and deployment validation while preserving
the dev release version and regional LangSmith dashboard URLs.

Validation: format, lint, and type checks pass; 487 CLI tests pass.
Two Docker-related failures also reproduce on unchanged origin/main.
2026-09-23 16:05:18 -07:00
syachamaneni-lc 56debf4f34 dev release 2026-09-23 16:01:07 -07:00
syachamaneni-lc ab851822c5 langgaph cli 2026-09-22 11:32:33 -07:00
3 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
__version__ = "0.4.32"
__version__ = "0.4.31.dev0"
+4 -3
View File
@@ -78,9 +78,10 @@ def _cloud_control_plane_host_for(langsmith_api_host: str) -> str:
def _cloud_dashboard_for(control_plane_host: str) -> str:
if control_plane_host.endswith(f".{CLOUD_CONTROL_PLANE_HOST}"):
region = control_plane_host[: -len(CLOUD_CONTROL_PLANE_HOST) - 1]
return f"https://{region}.{CLOUD_DASHBOARD_HOST}"
for api_host in (CLOUD_CONTROL_PLANE_HOST, CLOUD_API_HOST):
if control_plane_host.endswith(f".{api_host}"):
region = control_plane_host[: -len(api_host) - 1]
return f"https://{region}.{CLOUD_DASHBOARD_HOST}"
return CLOUD_DASHBOARD_URL
@@ -527,6 +527,12 @@ CLOUD = ("https://api.host.langchain.com", "https://smith.langchain.com")
("https://eu.api.host.langchain.com", "https://eu.smith.langchain.com"),
id="regional_control_plane_maps_to_regional_dashboard",
),
pytest.param(
"https://dev.api.smith.langchain.com/",
None,
("https://dev.api.smith.langchain.com", "https://dev.smith.langchain.com"),
id="dev_smith_api_maps_to_dev_dashboard",
),
],
)
def test_control_plane_endpoints_resolve(host_url, langsmith_endpoint, expected):