Add new tests for shell bridge and broker to handle structured failures and invalid session handling

- Add tests for shell bridge to validate structured error reporting on spawn failures.

- Add broker tests to ensure proper rejection of malformed browser shell upgrades without leaking sensitive tokens.

- Update `.env.example` with `EDGE_PUBLIC_BROKER_URL` for public access configuration.
This commit is contained in:
Jeppe Bundgaard
2026-04-28 09:00:12 +02:00
parent e93d3f30d2
commit 2aded0812a
10 changed files with 2699 additions and 13 deletions
+1
View File
@@ -49,6 +49,7 @@ ECONOMIC_API_APP_SECRET_TOKEN=
# Edge broker defaults for shell relay and gateway dispatch.
EDGE_BROKER_URL=http://edge-broker:4300
EDGE_PUBLIC_BROKER_URL=http://localhost/api/edge-broker
EDGE_BROKER_SHARED_SECRET=truckwash-edge-dev
# Redis credentials