Live-Pi e2e suite never runs and would time out at Vitest's 5s default
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 68/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- docker, github-actions, typescript
調査の方向性
Start with .github/workflows/e2e.yml:13 to see the PI_CONFIGURED gate, then read mcp-server/src/tools/__tests__/e2e.test.ts around lines 14, 45 and 58-60 for the missing timeout and the diskUsage path. Run cd mcp-server && npm install && npm test and npm run typecheck to confirm the current e2e behavior. Done means the real-Pi suite has explicit timeouts and a PR-triggered e2e job exercises ssh2 against an openssh-server service container without Pi hardware.
索引モデルが issue の本文から書いたものです。
説明
Summary
The e2e workflow is gated on a repository variable that is not set, so every scheduled run is skipped and no real SSH path is exercised in CI. If enabled, tests would hit Vitest's 5 s default timeout.
Where
.github/workflows/e2e.yml:13mcp-server/src/tools/__tests__/e2e.test.ts:14, :45, :58-60
Details
The last five scheduled runs (2026-10-18 to 2026-11-15) were all skipped. There is no vitest config or per-test timeout, while execSSH allows a 10 s connect plus a 30 s exec, and the e2e diskUsage case walks / with du, which on an SD card very likely takes longer than 5 s.
Impact
The only tests against real remote output give no signal, so parser regressions in piStatus, kernelInfo, networkInfo and similar tools are not caught. Turning the suite on would first produce timeout failures unrelated to tool behavior.
Suggested fix
- Add
{ timeout: 60_000 }to the e2edescribeand use a small path (for example/var/log) for diskUsage. - Add a CI e2e job that needs no Pi: an
openssh-serverservice container on ubuntu-latest,HOMELAB_PI_*pointed at it, and the read-only tools that need no Pi hardware (sshTest, kernelInfo, networkInfo, diskUsage on /tmp, healthCheck). This exercises ssh2, key loading and exit-code/stderr mapping. - On
workflow_dispatch, fail or post a notice whenPI_CONFIGUREDis unset instead of reporting skipped.
Acceptance criteria
- An e2e job runs on every PR against a containerized SSH server
- Real-Pi suite has explicit timeouts
Getting started
- Relevant files:
.github/workflows/e2e.yml,mcp-server/src/tools/__tests__/e2e.test.ts - 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: testing|mcp-server/src/tools/__tests__/e2e.test.ts|e2e
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 4
- 平均マージ
- 10時間 16分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TMHSDigital/Home-Lab-Developer-Tools のほかの issue
-
speedtestResults ignores count: /api/speedtest/latest returns one result対応中かも @laozhej が 2 日前に担当しました。 オープンbug severity: low
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
TMHSDigital/Home-Lab-Developer-Tools#160 ·
メンテナーはふだん 1 日以内に返信
-
Integration tests import tool modules inside tests and can time out under load対応中かも @laozhej が 2 日前に担当しました。 オープンgood first issue severity: low testing
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
TMHSDigital/Home-Lab-Developer-Tools#174 ·
メンテナーはふだん 1 日以内に返信
-
Grafana dashboard import to complete the export/import round trip対応中かも @laozhej が今日担当しました。 オープンenhancement severity: low
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
TMHSDigital/Home-Lab-Developer-Tools#171 ·
メンテナーはふだん 1 日以内に返信
-
help wanted severity: low testing
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
TMHSDigital/Home-Lab-Developer-Tools#164 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement severity: medium
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
TMHSDigital/Home-Lab-Developer-Tools#159 ·
メンテナーはふだん 1 日以内に返信
TMHSDigital/Home-Lab-Developer-Tools の issue をすべて見る
似ている issue
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
microsoft/playwright#44289 ·
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 半日 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
blamechris/chroxy#9272 ·
メンテナーはふだん 1 日以内に返信
-
no-repo-link tool-submission
難易度 1/5 1時間未満 初心者へのやさしさ 66/100
BraveOPotato/NoSignups#2458 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
drmrd/vernacular#1061 ·
メンテナーはふだん 1 日以内に返信