Add a Godot 4.6 symbol DB and report when the project is newer than the DB

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
godot, typescript
領域
devtools

調査の方向性

Start with scripts/generate-symbol-db.ts, docs/symbol-db.md, src/capabilities.ts, and src/project/godot-version.ts to understand DB generation and version selection; then trace the lint payload and pretty output from src/lint/rules/removed-api-usage.ts. Generate and register the 4.6 DB, and report unsupported newer or different-major project versions. Done means 4.6 lookups use the new DB and newer versions are reported instead of silently falling back.

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

説明

enhancement severity: high

Summary

The symbol DB is pinned to Godot 4.4 and 4.5. A project that declares 4.6 is silently checked against 4.5, and the api_* tools cannot answer 4.6 questions. Add a 4.6 DB, and tell users when their project is newer than the newest DB.

Where

  • src/capabilities.ts:8 (PINNED_GODOT_VERSIONS = ["4.4", "4.5"])
  • src/project/godot-version.ts:36-40 (pinnedVersionFor falls back to the newest pinned version not newer than the project's)
  • src/lint/rules/removed-api-usage.ts:98

Proposal

  • Generate a 4.6 DB with scripts/generate-symbol-db.ts against 4.6-stable, add "4.6" to PINNED_GODOT_VERSIONS, and run npm run generate:tools.
  • When the declared version is newer than the newest DB (or is a different major, for example 5.x), report it rather than falling back silently. For example, add an effectiveGodotVersion / godotVersionFallback field to the lint_project payload and an info note in pretty output.

Who benefits

Anyone on current Godot. This is the main path for removed-api-usage and the API lookup tools.

Open questions

  • Package size with a third DB (each is about 280 KB). Whether to drop 4.4.

Getting started

  • Relevant files: scripts/generate-symbol-db.ts, docs/symbol-db.md, src/capabilities.ts, src/project/godot-version.ts

Filed by repo-audit/full-audit at e836036. Severity: high. Effort: M. audit-key: enhancement|src/capabilities.ts|PINNED_GODOT_VERSIONS

主要言語
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 を短くまとめたダイジェスト。