π₯ Video Walkthrough Scripts
Short team-facing scripts aligned to the current non-GPU architecture.
:::note Recording status These are scripts, not proof that a video was recorded or published. Verify the UI again immediately before recording because screen copy changes faster than architecture. :::
Architecture in five minutesβ
0:00 β Contextβ
βAceSense has a Flutter player/coach app, public landing site, admin panel, private docs and launchpad, and a public REST/MCP API. Firebase Auth, Firestore, Storage, Hosting, and Cloud Functions tie those surfaces together.β
1:00 β Upload pathβ
βThe Flutter app validates one selected video and calls requestUploadPath in
europe-west1. The server checks consent, entitlement, quota, and metadata,
creates a pending Firestore job, and returns owner-scoped Storage paths. The
client uploads one file; client-side physical chunking is not shipped.β
2:15 β Async processing boundaryβ
βA Storage finalize event validates the object and enqueues dispatchGpuJob.
That Firebase Task Queue worker owns retries and provider dispatch. The GPU
service is an external boundary for this walkthrough; its internals live in its
own repository.β
3:00 β Completionβ
βWhen a combined result appears, Functions atomically claim the terminal job state, release quota once, generate derived insights/report artifacts, and write URLs and summary data. The Flutter app is subscribed to the job, so the completed analysis appears without a manual refresh.β
4:00 β Operations and accessβ
βAdmin actions go through requireAdmin; owners cannot forge job status.
Docs and launchpad are not ordinary public SPAs: all requests pass through a
Function that verifies an admin session cookie before serving bytes.β
Frontend setup in ten minutesβ
- Show
mise.tomlpinning Flutter 3.41.9. - Run
flutter pub getandflutter doctor. - Run
flutter analyze --no-fatal-infosand one focused test. - Launch Chrome with
flutter run -d chrome. - Tour
lib/features,lib/services,lib/routing, andlib/ds. - End with
flutter test --coverageand the release build command.
Admin incident drillβ
Use a test/emulator job or an explicitly approved production incident:
- Find the job and read its status, timestamps, paths, and error fields.
- Check the owning Function logs.
- Distinguish abandoned upload, dispatch failure, and result-finalization failure.
- Use the guarded retry/status callable exposed by Admin when appropriate.
- Verify the resulting audit row and user-visible state.
Never demonstrate a direct Firestore status edit as the normal recovery path.