MCP baseline filtering untested for validate_* tools and report categories

オープン
#112 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
77/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
devtools, testing

調査の方向性

Start with the baseline filtering in src/tools/scenes.ts and the existing tests in test/tools.test.ts:194-213. Add the listed cases for scene, project config, registry, and report category filtering, path resolution, invalid JSON, and consecutive lint calls. Run npm run build && npm test; done when the new tests pass and the report category counts equal totalFindings.

索引モデルが issue の本文から書いたものです。

説明

good first issue severity: low testing

Summary

MCP baseline support is tested only for lint_project and the lint category of project_report. The per-category filtering for scenes, project and registries is never exercised.

Where

  • src/tools/scenes.ts:26-30, src/tools/scenes.ts:62-65, src/tools/scenes.ts:79-85, src/tools/scenes.ts:102-119
  • test/tools.test.ts:194-213

Test cases to add

  • validate_scenes with a valid baseline plus a new broken .tscn: only the new file is returned, and baselined and count are correct.
  • validate_project_config with a baseline: an old bad autoload is absorbed and a new one is reported.
  • validate_registries with a baseline: entries is preserved, and only new dangling paths are returned.
  • project_report with a baseline on a copy of test/fixtures/scene-project: each category is filtered independently, and errorCount + warningCount + infoCount === totalFindings.
  • An absolute baseline path works, and a relative one resolves against the project root.
  • Invalid baseline JSON returns isError.
  • Editing a file between two consecutive lint_project calls is reflected in the second call. This guards the per-run read cache in src/project/files.ts.

Getting started

  • Relevant files: src/tools/scenes.ts, test/tools.test.ts
  • How to run tests: npm run build && npm test

Filed by repo-audit/full-audit at e836036. Severity: low. Effort: S. audit-key: testing|src/tools/scenes.ts|baseline

主要言語
TypeScript
スター
0
フォーク
6
平均マージ
1日 21時間
マージ済み PR(30日)
8

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TMHSDigital/godot-correctness-mcp のほかの issue

TMHSDigital/godot-correctness-mcp の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。