Skip to content

T-TLET-augmented-books-real-backend-e2e

State: planning/proposed · Impact: low · Complexity: medium

Give Augmented Books its first e2e: a smoke suite on the web build against a headless server in a scratch root, through the harness.

LocationRole today
solutions/augmented/apps/augmented-books/src-tauri/src/lib.rsTauri IPC commands; state under the fleet suite augmented-books
solutions/augmented/apps/augmented-books/src-tauri/src/{api.rs,server/}Book catalog and API logic; no HTTP transport
solutions/augmented/apps/augmented-books/src-frontend/Vue 3 frontend; IPC only
TestsNo Playwright or e2e suite
dev-ports.yamlaugmented-books 17000, augmented-books-hmr 17001

The commands sit behind transport-agnostic handlers with an Axum router. An augmented-books-server bin on the shared helper from T-UU4J serves them and the web build. The frontend picks HTTP outside Tauri. A Playwright smoke opens the catalog and one book, runs through scratchTauriApp as a moon e2e task.

  1. Make the IPC commands call transport-agnostic handlers; add an Axum router over them.
  2. Add augmented-books-server on the shared helper; add a dev-ports.yaml entry.
  3. HTTP transport selection in the frontend outside Tauri.
  4. Smoke spec: catalog loads from seeded books, one book opens.
  5. Moon e2e task.
AreaNote
solutions/augmented/apps/augmented-books/src-tauri/Router, server bin
solutions/augmented/apps/augmented-books/src-frontend/Transport, smoke spec
solutions/augmented/apps/augmented-books/moon.ymlE2e task
dev-ports.yamlServer and e2e ports
  • AC-1: moon run augmented-books:e2e passes against augmented-books-server in a scratch root with the isolation check on.
  • AC-2: The desktop app still runs over IPC.
  • WASM problem runners beyond what opening a book needs.
  • Desktop smoke.
  • T-UU4J for the headless helper and scratchTauriApp.
  • Found while surveying every app with a UI or backend. The other augmented apps are out of scope: augmented_web and learn_web are Nuxt web apps whose e2e already runs their real server and that keep no fleet state; vimit is a Tauri shell with one template command.

T-UU4J


← Back to Tasks