Record worker browser sessions

This commit is contained in:
2026-08-02 23:23:23 +03:30
parent 601b8ec69e
commit 66c8c19e0c
11 changed files with 384 additions and 14 deletions
+7
View File
@@ -169,6 +169,9 @@ make down
```
The SQLite database is stored in the `seed-data` Docker volume and persists across rebuilds.
Worker browser sessions are recorded at 12 FPS into the shared `seed-recordings`
volume. The admin panel's **Recordings** tab lists and downloads the newest three
completed sessions.
---
@@ -186,6 +189,10 @@ Copy `.env.example` to `.env` and set values before running anything.
| `DB_PATH` | `data/tracker.db` | Path to the SQLite file |
| `HEADLESS` | `true` | Set to `false` to watch the browser (local only) |
| `CHROME_BINARY` | _(auto)_ | Explicit path to Chrome, e.g. `/usr/bin/google-chrome-stable` |
| `RECORD_SESSIONS` | `false` | Record browser sessions; Docker workers override this to `true` |
| `RECORDING_FPS` | `12` | Recording frame rate |
| `RECORDING_MAX_FILES` | `3` | Number of completed recordings retained across all workers |
| `RECORDINGS_DIR` | `recordings` | Recording directory; Docker uses the shared `/app/recordings` volume |
| `PHONE_NUMBERS` | _(empty)_ | Comma-separated list of phone numbers for Scenario 1 |
| `FLOW_STEPS` | `step_home` | Comma-separated step names for the legacy step-registry runner |