Jeppe Bundgaard
b0ea771e6a
Add handling for self-serve machine signals in edge agent
2026-06-30 16:19:43 +02:00
Jeppe B
4cb9e68b33
Merge pull request #247 from copenhagentruckwash/fix-information-disclosure-in-websocket-upgrades
...
Sanitize websocket upgrade error responses
2026-06-01 23:47:09 +02:00
Jeppe B
0e7e79d205
Sanitize websocket upgrade errors
2026-06-01 23:46:59 +02:00
Jeppe B
a2dda5ea5b
Sanitize telemetry ingestion errors
2026-06-01 23:37:48 +02:00
Jeppe B
b6beb9622b
Fail closed when edge broker secret is missing
2026-06-01 23:13:04 +02:00
copilot-swe-agent[bot]
a828e9bc25
Merge origin/master into propose-fix-for-edge-broker-vulnerability, resolving all conflicts
2026-06-01 20:27:11 +00:00
Jeppe B
f2db92de09
Harden edge broker defaults and compose exposure
2026-06-01 22:10:14 +02:00
Jeppe Bundgaard
55f8f25fd7
Add broker diagnostics and enhance relay logging
...
- Implement `diagnoseBrokerConfiguration` to validate broker URLs, shared secrets, and connection health.
- Add diagnostic methods for shared secret validation, including legacy sync support.
- Extend relay logging with descriptive context (`relay_name`, `relay_role`) and dynamic messaging.
- Update tests to cover broker health and shared secret diagnostics.
2026-04-28 11:30:09 +02:00
Jeppe Bundgaard
c73e459d26
Add edge gateway broker configurations and session management routes
...
- Add broker-related configuration classes (`broker_url`, `public_broker_url`, `auth_mode`, `shared_secret`) to support edge gateway functionality.
- Enhance `SelfserveRoute` with routes for managing self-serve wash sessions, including session listing, detail retrieval, and forced lane stop.
- Update unit tests to validate new configuration handling, session routes, and OpenAPI endpoint coverage.
- Include default environment variables for broker settings in `docker-compose.example.yml`.
2026-04-28 10:04:17 +02:00
Jeppe Bundgaard
2aded0812a
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.
2026-04-28 09:00:12 +02:00
Jeppe Bundgaard
f2e2b9a8f4
Update relay-handling logic and test assertions for device binding and local IP resolution
...
- Correct test cases to ensure proper relay IDs are switched.
- Add robust local IP resolution for relay-device bindings, including caching and inventory backfill.
- Introduce fast-path options for relay status and switch dispatch.
- Validate PHP extensions (`curl`, `sqlite3`) in edge agent images.
2026-04-27 16:02:36 +02:00
Jeppe Bundgaard
7bd940de37
Improve browser-shell session closure handling in edge-broker tests and server
2026-04-27 12:15:46 +02:00
Jeppe Bundgaard
c95fd3a23c
Add fallback handling for telemetry ingestion failures in broker and HTTP persistence check for control plane events
2026-04-27 11:52:38 +02:00
Jeppe Bundgaard
0813bfc0f0
Add customer mass import service with API route, test coverage, and e-conomic integration
2026-04-23 21:07:21 +02:00
Jeppe Bundgaard
4c32eae49a
Remove deprecated Edge Gateway Agent classes and related services
2026-04-22 19:08:44 +02:00
Jeppe Bundgaard
5c51601c62
Add waitFor to ensure shell session close callback in edge-broker test
2026-04-14 16:38:37 +02:00
Jeppe Bundgaard
a1bde3f51e
Add waitFor utility to edge-broker tests for reliable condition polling and update session close assertion
2026-04-14 16:36:27 +02:00
Jeppe Bundgaard
2a0a3468c1
Add dockerized fake-agent for integration testing and live edge-broker smoke tests. Introduce agent CLI status command and report helpers. Add browser shell session handling for disconnected agents. Extend tests and improve token validation flow.
2026-04-09 16:31:38 +02:00
Jeppe Bundgaard
22f856c62a
Add unit tests for invoicing, orders normalization, gateway commands, and department complaints. Update schema bootstraps and improve agent command execution logic.
2026-04-09 12:24:22 +02:00
Jeppe Bundgaard
45b7250480
Add Edge Agent implementation for gateway connection lifecycle, agent commands, Shelly device discovery, relay control, and WebSocket communication with broker. Include unit tests for critical flows.
2026-04-08 19:01:42 +02:00