Weekly data workflow only refreshes an unused file and pushes straight to unprotected main
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
調査の方向性
Start by reading .github/workflows/update-unity-api.yml, .github/scripts/refresh_unity_data.py, and the MCP server references to the JSON data files. Check how the workflow validates and publishes refreshed data, and which files the tools load. Done means data changes arrive in CI-passing PRs, refreshed data is used, and main has the stated protection and lifecycle compatibility behavior; this spans workflow, server, and repository settings.
索引モデルが issue の本文から書いたものです。
説明
Why it matters
The weekly "Update Unity API Data" workflow looks like it keeps the API database current, but it only rewrites lifecycle_order.json, which no MCP tool reads. It also pushes directly to an unprotected main, pinned to an old docs version. It gives a false sense of freshness while adding unreviewed commits.
Evidence
.github/scripts/refresh_unity_data.py:118-121- onlylifecycle_order.jsonis refreshed.unity_api_common.json,deprecated_patterns.json,shader_properties.json,platform_defines.jsonare never updated.grep lifecycle_order mcp-server/server.pyreturns nothing: no tool loads that file.refresh_unity_data.py:22-UNITY_DOCS_BASE = ".../6000.1/Documentation/ScriptReference"is hardcoded.- The lifecycle list includes
OnPreCull,OnPreRender,OnPostRender,OnRenderImage, which are not called in URP/HDRP, with no pipeline note. .github/workflows/update-unity-api.ymlcommits andgit pushes straight tomain;gh api .../branches/main/protectionreturns "Branch not protected".
Suggested approach
- Either expose lifecycle data through a tool (e.g. a
lifecycle_infotool or include it inlookup_api) or stop refreshing it. - Rename the workflow to reflect what it does, read the docs version from a single config value, and open a PR (e.g.
peter-evans/create-pull-request) instead of pushing tomain. - Enable branch protection on
mainwith required status checks (Validate), and allow the release bot through a ruleset bypass. - Add a pipeline-compatibility field to lifecycle entries.
Done when
Automated data changes arrive as PRs that pass CI, the refreshed data is actually used, and main is protected.
- 主要言語
- C#
- スター
- 4
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TMHSDigital/Unity-Developer-Tools のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
ci priority: low skills
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
good first issue skills testing
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
-
ci priority: medium testing
難易度 4/5 1〜2日 初心者へのやさしさ 57/100
-
documentation marketing priority: medium
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
TMHSDigital/Unity-Developer-Tools の issue をすべて見る
似ている issue
-
type:task ux
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
elsa-workflows/elsa-foundation#5253 ·
メンテナーはふだん 1 日以内に返信