Improve portable launch, forge persistence, and operator auth UX.
Persist build extra_files for Build Manager history, print dashboard login on every start, add libp2p for Mesh P2P forge, defer WebSocket until login, and split devrun.bat from LAUNCH.bat with USB deck auto-detection.
This commit is contained in:
@@ -22,8 +22,11 @@ Or with PowerShell directly:
|
||||
| 4 | Frontend unit tests (Vitest) | `server/web/` |
|
||||
| 5 | Frontend production build | `server/web/` |
|
||||
| 6 | Server binary compile | `server/` |
|
||||
| 7 | Agent binary compile | `agent/` |
|
||||
| 8 | E2E smoke (Playwright) | `server/web/e2e/` — starts temp server |
|
||||
| 7 | Agent binary compile (Windows) | `agent/` → `bin/install-worker.exe` |
|
||||
| 7b | Agent cross-compile (linux/darwin) | `agent/` → `bin/install-worker-*` |
|
||||
| 8 | E2E smoke (Playwright) | `server/web/e2e/` — starts temp server on :18989 |
|
||||
|
||||
Phases 5–7 and 7b are skipped with `-SkipBuild`. Phase 8 is skipped with `-SkipE2E`.
|
||||
|
||||
## Run individual suites
|
||||
|
||||
@@ -58,7 +61,9 @@ cd server\web && npm run test:e2e
|
||||
- **Frontend:** `src/**/*.test.ts` (Vitest)
|
||||
- **E2E:** `server/web/e2e/*.spec.ts` (Playwright)
|
||||
|
||||
Coverage areas: forge/fusion, auth, DB, pool reconnect, API routes, fleet filters, preflight validation, media crypto roundtrip, dashboard login smoke, remote actions UI (offline gating via Playwright API mock).
|
||||
Coverage areas: forge/fusion, auth, DB, pool reconnect, API routes, fleet filters, preflight validation, media crypto roundtrip, dashboard login smoke, remote actions UI (offline gating).
|
||||
|
||||
`e2e/remote-actions.spec.ts` mocks the dashboard WebSocket `init` payload (AgentsPage prefers live WS fleet data over REST). Playwright HTTP `page.route` alone cannot intercept WebSockets in this toolchain version.
|
||||
|
||||
### Agent logs (not a missing API)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user