e2e server: default port 8093

8090 is held by a long-running service on the dev box, so the e2e server
(and the app's drive-app / Detox, which read E2E_PORT too) move to 8093.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cameron CordesandClaude Opus 5.5 committed 2026-11-02 09:35:15 -05:00
1 parent 27e5b78ffc
commit 3988d1f3cb
3 files changed
+10 -9

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ cargo fix
``` ```
### E2E dev server ### E2E dev server
`dev/e2e/e2e.sh up` starts an isolated instance (port 8090, own build dir, db and `dev/e2e/e2e.sh up` starts an isolated instance (port 8093, own build dir, db and
synthetic fixture library) alongside any real server, for app e2e / agent UI synthetic fixture library) alongside any real server, for app e2e / agent UI
testing. `reset` restores the baseline. See `dev/e2e/README.md`. testing. `reset` restores the baseline. See `dev/e2e/README.md`.
+7 -6
View File
@@ -10,14 +10,15 @@ dev/e2e/e2e.sh stop
dev/e2e/e2e.sh check # every fixture's wall_clock + true_instant vs the manifest, /photos/exif range edges, photo versions dev/e2e/e2e.sh check # every fixture's wall_clock + true_instant vs the manifest, /photos/exif range edges, photo versions
``` ```
Log in from the app with **server** `http://10.0.2.2:8090` (Android Log in from the app with **server** `http://10.0.2.2:8093` (Android
emulator) or `http://127.0.0.1:8090` (Expo web / `adb reverse tcp:8090 tcp:8090`), emulator) or `http://127.0.0.1:8093` (Expo web / `adb reverse tcp:8093 tcp:8093`),
**user** `e2e`, **password** `E2eTest#2026pass`. **user** `e2e`, **password** `E2eTest#2026pass`.
Runs on native Linux (cargo, curl, ffmpeg with `drawtext`, exiftool) or in Runs on native Linux (cargo, curl, ffmpeg with `drawtext`, exiftool) or in
WSL driving the Windows toolchain; the script detects which. If port 8090 is WSL driving the Windows toolchain; the script detects which. The port is 8093
taken, pick another with `E2E_PORT=8091` (the app's `drive-app` skill reads (8090, the old default, is taken by another long-running service on the dev
the same variable). box). If 8093 is taken too, pick another with `E2E_PORT=...`; the app's
`drive-app` skill and Detox config read the same variable.
## Isolation ## Isolation
@@ -26,7 +27,7 @@ It runs next to a real local server without touching it:
| | real server | e2e server | | | real server | e2e server |
|---|---|---| |---|---|---|
| exe | `target/debug/image-api.exe` | `dev/e2e/.work/bin/image-api-e2e.exe` (built in `target/e2e`) | | exe | `target/debug/image-api.exe` | `dev/e2e/.work/bin/image-api-e2e.exe` (built in `target/e2e`) |
| port | `BIND_URL` + `localhost:8088` | `127.0.0.1:8090` only (`LOCAL_BIND_URL=` disables the 8088 bind) | | port | `BIND_URL` + `localhost:8088` | `127.0.0.1:8093` only (`LOCAL_BIND_URL=` disables the 8088 bind) |
| data | your `.env` | `dev/e2e/.work/state/` (db, thumbs, hls, gifs, previews, media) | | data | your `.env` | `dev/e2e/.work/state/` (db, thumbs, hls, gifs, previews, media) |
| AI | configured | off — Ollama points at a closed port | | AI | configured | off — Ollama points at a closed port |
+2 -2
View File
@@ -31,7 +31,7 @@ fi
EXE_NAME="image-api-e2e$EXT" EXE_NAME="image-api-e2e$EXT"
LOG="$WORK/server.log" LOG="$WORK/server.log"
E2E_PORT="${E2E_PORT:-8090}" E2E_PORT="${E2E_PORT:-8093}"
# 127.0.0.1 is reachable from the Windows browser (Expo web), the Android # 127.0.0.1 is reachable from the Windows browser (Expo web), the Android
# emulator (as 10.0.2.2) and USB devices via `adb reverse`. Set # emulator (as 10.0.2.2) and USB devices via `adb reverse`. Set
# E2E_BIND=0.0.0.0 for a physical device over Wi-Fi. # E2E_BIND=0.0.0.0 for a physical device over Wi-Fi.
@@ -258,7 +258,7 @@ Usage: dev/e2e/e2e.sh <command>
logs tail -f the server log logs tail -f the server log
info connection details info connection details
Env: E2E_PORT (8090), E2E_BIND (127.0.0.1), E2E_USER, E2E_PASS. Env: E2E_PORT (8093), E2E_BIND (127.0.0.1), E2E_USER, E2E_PASS.
Extra server env: dev/e2e/env.local (appended to the generated .env on reset). Extra server env: dev/e2e/env.local (appended to the generated .env on reset).
EOF EOF
} }