fix(dashboard): adding demo targets selects them by key #420

Merged
sharang merged 1 commits from fix/demo-seed into main 2026-09-28 21:23:49 +00:00
1 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 53c8adbe90 fix(dashboard): adding demo targets selects them by key
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 7m0s
"Demo-Prüfobjekte hinzufügen" answered "agent returned 400 Bad Request for
demo-seed" for every selection: the dashboard sent the targets' display
names ("Demo · PLC pump station …"), and the agent selects by manifest key
("plc-pump-station"), so it rejected them as unknown. The dashboard now
reads the key the agent lists and selects by it; the display name is only
shown. The test's manifest now has the agent's real shape (key and name),
which is why it did not catch this.

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