Implement roadmap configValidate: probe every configured service
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 62/100
- Tipo de issue
- Funcionalidade
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- node.js, typescript
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- TypeScript
- Estrelas
- 0
- Forks
- 4
- Merge médio
- 10h 16min
- PRs com merge (30d)
- 2
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de TMHSDigital/Home-Lab-Developer-Tools
-
speedtestResults ignores count: /api/speedtest/latest returns one resultTalvez já em andamento @laozhej assumiu há 2 dias. Abertabug severity: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100
TMHSDigital/Home-Lab-Developer-Tools#160 ·
Mantenedores costumam responder em até 1 dia
-
Integration tests import tool modules inside tests and can time out under loadTalvez já em andamento @laozhej assumiu há 2 dias. Abertagood first issue severity: low testing
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 25/100
TMHSDigital/Home-Lab-Developer-Tools#174 ·
Mantenedores costumam responder em até 1 dia
-
Grafana dashboard import to complete the export/import round tripTalvez já em andamento @laozhej assumiu hoje. Abertaenhancement severity: low
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
TMHSDigital/Home-Lab-Developer-Tools#171 ·
Mantenedores costumam responder em até 1 dia
-
help wanted severity: low testing
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
TMHSDigital/Home-Lab-Developer-Tools#164 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
enhancement severity: medium
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 72/100
TMHSDigital/Home-Lab-Developer-Tools#159 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de TMHSDigital/Home-Lab-Developer-Tools
Issues semelhantes
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
microsoft/playwright#44289 ·
Mantenedores costumam responder em até 1 dia
-
good first issue
Dificuldade 2/5 Meio dia Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
blamechris/chroxy#9272 ·
Mantenedores costumam responder em até 1 dia
-
no-repo-link tool-submission
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 66/100
BraveOPotato/NoSignups#2458 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
drmrd/vernacular#1061 ·
Mantenedores costumam responder em até 1 dia