Skip to content

fix(ui): source Knowledge Manage host dropdown from node registry, not hardcoded VM0-5 (#10505) - #10559

Merged
mrveiss merged 1 commit into
Dev_new_guifrom
issue-10505
Jun 27, 2026
Merged

mrveiss merged 1 commit into
Dev_new_guifrom
issue-10505

Conversation

@mrveiss

@mrveiss mrveiss commented Jun 27, 2026

Copy link
Copy Markdown
Owner

Thinking Path

The 'Target host' dropdown listed a static VM0-5 fleet (all same co-located IP) from AppConfig.machines, ignoring the real /api/infrastructure/hosts source.

What Changed

SystemKnowledgeManager.vue now loads hosts via the canonical useHostSelection composable (/api/infrastructure/hosts), maps + dedupes by IP, and on an empty co-located source shows only the existing 'All Hosts' option — no VM0-5 template. AppConfig.machines API left intact (this was its only caller).

Verification

vue-tsc 0 errors; the empty-source path is handled (parsed-JSON fallback []). Closes #10505.

Model Used

Claude Opus 4.8 (subagent).

@github-actions

Copy link
Copy Markdown
Contributor

✅ SSOT Configuration Compliance: Passing

🎉 No hardcoded values detected that have SSOT config equivalents!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant