test: test:e2e fails, and the website, files, manifest and watch code have no tests
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 52/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- node.js, typescript
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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).
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1
- Forks
- 0
- Ø Merge
- 17 Std. 25 Min.
- Gemergte PRs (30 T.)
- 11
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus NanoForge-dev/Loader
-
app:client app:website enhancement refactor
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
NanoForge-dev/Loader#145 ·
Maintainer antworten meist innerhalb von 1 Tag
-
chore(loader-client,loader-server): package.json entry points name files the build does not produceOffenapp:client app:server bug chore good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
NanoForge-dev/Loader#144 ·
Maintainer antworten meist innerhalb von 1 Tag
-
app:website bug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
NanoForge-dev/Loader#141 ·
Maintainer antworten meist innerhalb von 1 Tag
-
app:website bug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
NanoForge-dev/Loader#140 ·
Maintainer antworten meist innerhalb von 1 Tag
-
app:server bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
NanoForge-dev/Loader#138 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in NanoForge-dev/Loader
Ähnliche Issues
-
Mend: dependency security vulnerability
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 65/100
fdm-monster/fdm-monster#5563 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
be-BOP-io-SA/be-BOP#2849 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 79/100
Maintainer antworten meist innerhalb von 1 Tag
-
1️⃣ phase/under-investigation flaky/confirmed flaky/needs-decision type/bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
growilabs/growi#12246 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
🐛 The Rulekeeper - An index run that gives up on the lock ends SucceededEvtl. vergeben @github-actions hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
SSWConsulting/SSW.Rules#2809 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag