Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TMHSDigital/Home-Lab-Developer-Tools
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.16.0
Choose a base ref
...
head repository: TMHSDigital/Home-Lab-Developer-Tools
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.16.1
Choose a head ref
  • 5 commits
  • 12 files changed
  • 3 contributors

Commits on Nov 3, 2026

  1. test: cover execSSH connection, exit and timeout handling

    Adds ssh-exec.test.ts, which drives execSSH through a scripted ssh2 client: stdout on success, non-zero exits with stderr, signal exits, exec channel errors, auth and connection error mapping, the timeout path (remote signalled, connection ended), dry-run with an unknown node, and the errorResponse suggestion for each error class. Together with ssh-api.test.ts (registry parsing, per-node settings, dry-run semantics, key loading, output buffering) this covers the node routing used by every tool.
    
    Fixes #100
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    2685639 View commit details
    Browse the repository at this point in the history
  2. test: table-driven confirm gate tests for every state-changing tool

    piReboot, backupRun and volumeBackup had no test that the confirm gate blocks execution, and no gated tool had a test for its confirmed path. confirm-gates.test.ts covers all ten gated tools in both directions (confirm false or missing runs nothing; confirm=true runs the expected command) and fails if the list drifts from the gated tools documented in CLAUDE.md.
    
    Fixes #95
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    8df1a43 View commit details
    Browse the repository at this point in the history
  3. test: input-validation tests use the real tool schemas

    The suite declared its own copy of every tool schema and tested the copy, so loosening or removing a real schema (for example dropping confirm) left every test green. Each describe block now gets its schema from the tool's actual register() call via a fake server; all existing expectations pass against the real schemas.
    
    Fixes #99
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    505a8f1 View commit details
    Browse the repository at this point in the history
  4. test: tool registration, handler and real-handler e2e coverage

    registration.test.ts registers every module in src/tools on a fake server and checks: one tool per file, unique homelab_camelCase names matching file names, every tool wired into index.ts, every tool listed in README.md, CLAUDE.md and mcp-tools.json, confirm required on gated tools, and an optional node parameter everywhere except the node-specific tools. handlers.test.ts adds mocked-SSH happy and error paths for the API tools (Prometheus, Grafana, Uptime Kuma, AdGuard, Nginx Proxy Manager), certCheck, inventorySync and composePs. The live-Pi e2e suite now calls the real read-only tool handlers instead of copied command strings.
    
    Fixes #101
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    1924c74 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e687c24 View commit details
    Browse the repository at this point in the history
Loading