Node-path and connection checks resolve scripts by path only, ignoring uid
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 76/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- godot, node.js, typescript
Hướng nghiên cứu
Read src/scenes/validate.ts to understand how resolveReference prefers uid over path, then trace scriptViews in src/scenes/node-paths.ts and checkConnections in src/scenes/scene-graph.ts. Run the UID tests in test/uids.test.ts and add coverage for a script resource with a stale path and valid uid. Done means node-path and connection checks still inspect that script; the issue lists npm run build && npm test.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
#66 unified uid:// resolution for ext_resources, autoloads, the main scene and registry scripts, but the node-path and signal-connection checks still map ext_resource ids to scripts by their path attribute only.
Where
src/scenes/node-paths.ts:57-61(scriptViews)src/scenes/scene-graph.ts:177-182,src/scenes/scene-graph.ts:191-194(checkConnections)- Compare
src/scenes/validate.ts:97-127(resolveReference: uid first, then path)
Impact
When an ext_resource has a stale path but a valid uid (the case scene-ext-resource-path-stale describes), Godot loads the uid's script. The node-path and connection checks silently skip that script, so they miss findings. A third resolution strategy is left to drift.
Suggested fix
Add one per-scene helper, "ext id -> loaded script absolute path", built on resolveReference, and use it in validate.ts, node-paths.ts and scene-graph.ts.
Acceptance criteria
- A scene whose script ext_resource has a stale path and a valid uid still gets node-path and connection checks.
Getting started
- Relevant files:
src/scenes/node-paths.ts,src/scenes/scene-graph.ts,src/scenes/validate.ts,test/uids.test.ts - How to run tests:
npm run build && npm test
Related: #66
Filed by repo-audit/full-audit at e836036. Severity: low. Effort: S. audit-key: tech-debt|src/scenes/scene-graph.ts|checkConnections
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 6
- Merge trung bình
- 1 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của TMHSDigital/godot-correctness-mcp
-
enhancement good first issue severity: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
TMHSDigital/godot-correctness-mcp#123 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
dependencies good first issue severity: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
TMHSDigital/godot-correctness-mcp#116 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug good first issue severity: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
TMHSDigital/godot-correctness-mcp#107 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug good first issue severity: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
TMHSDigital/godot-correctness-mcp#106 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug good first issue severity: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
TMHSDigital/godot-correctness-mcp#105 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của TMHSDigital/godot-correctness-mcp
Issue tương tự
-
clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
openclaw/openclaw#203385 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
nwverse/persona#12800 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
microsoft/playwright#44289 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày