test: test:e2e fails, and the website, files, manifest and watch code have no tests
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 52/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- node.js, typescript
Hướng nghiên cứu
Start with the root package.json and turbo.json to trace why pnpm test:e2e has no task, then inspect the existing tests for safe-path and editor-ipc. The issue proposes several possible scopes: define or remove the e2e task, add loader tests for /manifest, /env and /game/*, and add website cache tests. Agree on a scope first; done means the selected tests or script run successfully.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Which app is this feature request for?
other
Feature
pnpm test:e2e (root package.json) fails because no package defines the task, and turbo.json has no test:e2e entry (CI passes e2e-script: ""):
$ pnpm test:e2e
x Could not find task `test:e2e` in project
[ELIFECYCLE] Command failed with exit code 1.
$ pnpm test:unit -> Tasks: 2 successful, 2 total (the website has no test:unit)
Unit tests only cover safe-path (client) and editor-ipc (server). The riskiest code has no test: the env filter (env.ts), files.ts in both apps, manifest hashing, worker spawn and restart, the watchers, and the website cache (cache.ts: hash, size and eviction).
Found during a read-only audit of main @ 044c766 (2026-11-11).
Ideal solution or implementation
- Either remove
test:e2efrom the root scripts, or add a minimal e2e: start the client and server loaders on a fixture build, then request/manifest,/envand/game/*. - Add unit tests for
getGameEnv(client and server),getFilesandupdateFiles. - Add a
test:unittoapps/websitefor the cache logic.
Alternative solutions or implementations
No response
Other context
Several bugs found in the same audit sit in this untested code (env filtering, worker restart, watchers).
- Ngôn ngữ chính
- TypeScript
- Star
- 1
- Fork
- 0
- Merge trung bình
- 17 giờ 25 phút
- Pull request đã merge (30 ngày)
- 11
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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 NanoForge-dev/Loader
-
app:client app:website enhancement refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
NanoForge-dev/Loader#145 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
chore(loader-client,loader-server): package.json entry points name files the build does not produceĐang mởapp:client app:server bug chore good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NanoForge-dev/Loader#144 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
app:website bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
NanoForge-dev/Loader#141 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
app:website bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
NanoForge-dev/Loader#140 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
app:server bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
NanoForge-dev/Loader#138 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của NanoForge-dev/Loader
Issue tương tự
-
Mend: dependency security vulnerability
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 65/100
fdm-monster/fdm-monster#5563 ·
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
be-BOP-io-SA/be-BOP#2849 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày
-
1️⃣ phase/under-investigation flaky/confirmed flaky/needs-decision type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
growilabs/growi#12246 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
🐛 The Rulekeeper - An index run that gives up on the lock ends SucceededCó thể đã có người làm @github-actions đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
SSWConsulting/SSW.Rules#2809 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày