fix(dashboard): targets named owner/repo can be edited and saved #527

Merged
sharang merged 1 commits from fix/a2-target-name into main 2026-10-08 21:24:16 +00:00
1 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 97b4a73f1a fix(dashboard): targets named owner/repo can be edited and saved
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 10m53s
Targets created from a managed git repo are named "owner/repo". The
target name check refused slashes ("the name becomes a folder"), so the
edit dialog of every such target could not be saved until it was renamed,
and the message was English in the German UI.

The agent never uses the raw name as a path: clone_dir collapses it to
one safe segment (tenant_path::name_segment), downloads are named by id,
and the target update handler does not validate the name. So the
dashboard only refuses an empty name and outer spaces now, with German
and English messages.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-10-08 23:04:10 +02:00