Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
3.6 KiB
3.6 KiB
Test Validation Log — @bytelyst/tracker-web
This log tracks the validation/hardening effort for the tracker-web dashboard's test suite. Every gate is run from the repo root, filtered to this package. A gate is only marked green if it was actually executed and passed.
All commands are run as:
cd /Users/sd9235/code/mygh/learning_ai_common_plat
pnpm --filter @bytelyst/tracker-web <script>
Baseline (before any changes)
Recorded at repo HEAD 77b074f3.
| Gate | Command | Result | Notes |
|---|---|---|---|
| typecheck | pnpm --filter @bytelyst/tracker-web typecheck |
PASS | tsc --noEmit, exit 0 |
| lint | pnpm --filter @bytelyst/tracker-web lint |
PASS | eslint, exit 0 |
| test (unit) | pnpm --filter @bytelyst/tracker-web test |
PASS | 8 files, 55 tests |
| test:coverage | pnpm --filter @bytelyst/tracker-web test:coverage |
RUNS | 90.78% stmts / 84.78% branch (only files imported by tests are measured) |
| build | pnpm --filter @bytelyst/tracker-web build |
PASS | next build --webpack, 14 routes |
| format:check | pnpm --filter @bytelyst/tracker-web format:check |
FAIL | README.md, docs/roadmaps/UX_INTEGRATION_BYTELYST.md not Prettier-formatted |
| test:e2e | pnpm --filter @bytelyst/tracker-web test:e2e |
FAIL | 9 passed / 3 failed (see below) |
| size:check | pnpm --filter @bytelyst/tracker-web size:check |
FAIL | bundlesize cannot load — iltorb native module won't build on Node 25 (env blocker) |
Baseline e2e failures (3)
Tracker Login Page › shows error for invalid credentials— depends on a live platform-service. With no backend, the login proxy returns 502 "Platform service unavailable", which does not match/failed|error|invalid/i.Tracker — Public Roadmap › roadmap page can toggle between board and list view— list view renders "No items found" (no backend data), sotable, [role='list']never appears.Tracker — Health › GET /api/health returns ok— the dev server has noPLATFORM_API_URL/JWT_SECRET/DEFAULT_PRODUCT_IDset, so/api/healthcorrectly returnsdegraded(503), notok.
Root cause for all three: the e2e suite depends on a live platform-service and ambient env, which violates the determinism requirement ("mock network at the route/proxy boundary; don't depend on a live platform-service").
Out-of-scope / environment blockers
size:check(bundlesize):bundlesize@0.18.2(latest, unmaintained) transitively requiresbrotli-size@0.1.0→iltorb@2.4.5, a deprecated native addon that does not compile on Node 25 (Cannot find module './build/bindings/iltorb.node').pnpm rebuild iltorbproduces nobuild/output. The broken dependency lives in the rootnode_modules(shared infra, out of scope to patch), and no newerbundlesizeexists. Bundle budgets are instead verified manually against the gzipped build output.
Changes
(Subsequent entries appended below as work proceeds.)