Implement roadmap configValidate: probe every configured service
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 62/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- node.js, typescript
Direzione di ricerca
Read mcp-server/src/utils/service-http.ts first: the SERVICES registry and curlErrorResponse are the pieces the new tool reuses, then look at how mcp-server/src/tools/healthCheck.ts registers and shapes its tool result. Check ROADMAP.md around lines 255-256 for the intended scope, and settle the open question of a separate tool versus folding into healthCheck with the maintainer before writing code. Run cd mcp-server && npm install && npm test and npm run typecheck to see the existing test style. Done means one call returns PASS / FAIL / NOT CONFIGURED per service for a given node or all, with no secret values in the output.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
homelab_configValidate and homelab_configExport are planned in ROADMAP.md but not built; healthCheck only checks that binaries exist.
Where
ROADMAP.md:255-256mcp-server/src/tools/healthCheck.ts:76- mcp-server/src/utils/service-http.ts:19-46 (
SERVICESregistry)
Details
The SERVICES registry already knows each service's name, port variable and default port, and curlErrorResponse already distinguishes auth from connection failures.
Impact
New users discover a wrong port or missing credential one tool at a time (for example AdGuard and Grafana both default to 3000). A single "is my config right" call is the onboarding step the roadmap planned.
Suggested fix
Implement homelab_configValidate: parse HOMELAB_NODES locally, check each key file is readable, then in one SSH round trip per node probe each SERVICES entry with its configured port and credentials, reporting PASS / FAIL / NOT CONFIGURED with the existing hints. Support node: "all". configExport can reuse the same resolution with secret values masked.
Open question: fold into healthCheck or keep a separate tool as the roadmap says?
Acceptance criteria
- One call reports per-service PASS/FAIL/NOT CONFIGURED
- No secret values in output
Getting started
- Relevant files:
mcp-server/src/tools/healthCheck.ts,mcp-server/src/utils/service-http.ts,ROADMAP.md - How to run tests:
cd mcp-server && npm install && npm test(andnpm run typecheck); structure tests:pip install -r requirements-test.txt && pytest tests/ -v - Conventions: see
CLAUDE.mdandCONTRIBUTING.md
Filed by repo-audit/full-audit at 636fefb. Severity: medium. Effort: M. audit-key: enhancement|mcp-server/src/tools/healthCheck.ts|homelab_configValidate
- Lingua principale
- TypeScript
- Stelle
- 0
- Fork
- 4
- Merge medio
- 10h 16m
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di TMHSDigital/Home-Lab-Developer-Tools
-
speedtestResults ignores count: /api/speedtest/latest returns one resultForse già presa @laozhej l’ha presa 2 giorni fa. Apertabug severity: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
TMHSDigital/Home-Lab-Developer-Tools#160 ·
I maintainer di solito rispondono entro 1 giorno
-
Integration tests import tool modules inside tests and can time out under loadForse già presa @laozhej l’ha presa 2 giorni fa. Apertagood first issue severity: low testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
TMHSDigital/Home-Lab-Developer-Tools#174 ·
I maintainer di solito rispondono entro 1 giorno
-
Grafana dashboard import to complete the export/import round tripForse già presa @laozhej l’ha presa oggi. Apertaenhancement severity: low
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
TMHSDigital/Home-Lab-Developer-Tools#171 ·
I maintainer di solito rispondono entro 1 giorno
-
help wanted severity: low testing
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
TMHSDigital/Home-Lab-Developer-Tools#164 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement severity: medium
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
TMHSDigital/Home-Lab-Developer-Tools#159 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di TMHSDigital/Home-Lab-Developer-Tools
Issue simili
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
microsoft/playwright#44289 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 2/5 Mezza giornata Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
blamechris/chroxy#9272 ·
I maintainer di solito rispondono entro 1 giorno
-
no-repo-link tool-submission
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 66/100
BraveOPotato/NoSignups#2458 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
drmrd/vernacular#1061 ·
I maintainer di solito rispondono entro 1 giorno