Jeppe Bundgaard
ae5cb7c65f
Add toggle_after timer support for relay switches and update unit tests
...
- Extend relay switch logic to include `toggle_after` parameter for timed toggles.
- Update unit tests in `SelfserveLanePortControllerTest` and `SelfserveRouteWiringTest` to validate timer behavior.
- Adjust Shelly API calls and assertions to handle timer values in both RPC and legacy endpoints.
2026-04-27 17:15:53 +02:00
Jeppe Bundgaard
feb9aac4f7
Handle relay command job timeouts for edge gateways
...
- Introduce `expireTimedOutRelayStatusCommandJobs` to clean up long-pending relay status command jobs.
- Add `TIMED_OUT` status for relay command jobs and incorporate it into job status evaluations.
- Refactor command job finalization to support timeout-specific error messaging.
- Improve handling of fast-path failures in edge broker commands.
2026-04-27 16:47:09 +02:00
Jeppe Bundgaard
86eec9a51e
Add timer support for relay switch commands and update tests
...
- Introduce `dispatchRelaySwitchWithTimer` and `dispatchRelaySwitchLocalOnlyWithTimer` methods for timed relay control.
- Extend `dispatchRelaySwitchWithOptions` to handle `toggleAfterSeconds` parameter.
- Update tests to validate timer functionality for local Shelly APIs.
- Ensure backwards compatibility with legacy APIs and adjust payloads accordingly.
2026-04-27 16:19:14 +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
99a85878cd
Handle orphaned edge gateways for non-existent departments and improve error handling
2026-04-27 10:07:48 +02:00
Jeppe Bundgaard
1dffbe16c4
Restore self-hosted CI runners
2026-04-24 21:19:05 +02:00
Jeppe Bundgaard
ad9637ebd2
Run CI on GitHub-hosted runners
2026-04-24 21:17:22 +02:00
Jeppe Bundgaard
0253cfc676
Copy edge E2E runner config in CI
2026-04-24 21:11:08 +02:00
Jeppe Bundgaard
15250ad227
Run edge E2E smoke on compose network
2026-04-24 21:04:53 +02:00
Jeppe Bundgaard
ca78e8e5f3
Use internal API route for edge E2E in CI
2026-04-24 20:52:29 +02:00
Jeppe Bundgaard
ab8923bb77
Attach CI runner to edge E2E network
2026-04-24 20:47:18 +02:00
Jeppe Bundgaard
0f37bdc288
Resolve fixed-name Traefik in E2E smoke
2026-04-24 20:36:09 +02:00
Jeppe Bundgaard
cdbc976b8a
Use Traefik container IP for edge E2E
2026-04-24 20:31:55 +02:00
Jeppe Bundgaard
288627243b
Resolve edge E2E host routing in CI
2026-04-24 20:27:44 +02:00
Jeppe Bundgaard
ebe1299089
Fix PHP unit test isolation
2026-04-24 20:17:01 +02:00
Jeppe Bundgaard
3adf5957f0
Use Docker host gateway for edge E2E
2026-04-24 20:07:05 +02:00
Jeppe Bundgaard
eba33d0735
Use CI volume for PHP app tests
2026-04-24 20:00:42 +02:00
Jeppe Bundgaard
def45b1c23
Clean stale PHP files before CI sync
2026-04-24 19:56:13 +02:00
Jeppe Bundgaard
38481334c7
Sync PHP checkout into CI containers
2026-04-24 19:52:36 +02:00
Jeppe Bundgaard
dce2207243
Pin compose file for edge gateway CI
2026-04-24 19:44:03 +02:00
Jeppe Bundgaard
5bfd2743be
Use explicit edge gateway API test paths
2026-04-24 19:35:11 +02:00
Jeppe Bundgaard
38acbdefa0
Run edge gateway CI suites directly with Pest
2026-04-24 19:27:57 +02:00
Jeppe Bundgaard
64292e8761
Use composer run-script for edge gateway suites
2026-04-24 19:23:19 +02:00
Jeppe Bundgaard
5001cd1811
Install PHP dev dependencies before edge gateway CI tests
2026-04-24 19:21:23 +02:00
Jeppe Bundgaard
cef53d8ebd
Fix compose config test service parsing
2026-04-24 19:13:41 +02:00
Jeppe Bundgaard
ca64f2b047
Merge remote-tracking branch 'origin/run-tests-and-fix-identified-issues'
2026-04-24 19:10:55 +02:00
Jeppe Bundgaard
ed13f7a8d4
Add guarded legacy route shims for Edge Gateway with corresponding unit tests
2026-04-24 15:51:09 +02:00
Jeppe B
2b905df478
Fix Caddy compose mounts for self-hosted Docker runtime
2026-04-24 00:19:13 +02:00
Jeppe B
d9ed1ff9de
Harden self-hosted CI workflow reliability
2026-04-24 00:10:10 +02:00
Jeppe B
1c647bb78b
Avoid Traefik port collisions in edge gateway CI
2026-04-23 23:52:01 +02:00
Jeppe B
39d4ba0284
Run unit CI inside php1 container on self-hosted runner
2026-04-23 23:40:12 +02:00
Jeppe B
8a5e6bc302
Prepare Qodana temp directories on self-hosted runner
2026-04-23 23:35:13 +02:00
Jeppe B
e7220f4f29
Run Qodana workflow on self-hosted runner
2026-04-23 23:16:45 +02:00
Jeppe B
54bada14f5
Fix edge agent shell polling and heartbeat metadata
2026-04-23 23:13:44 +02:00
Jeppe Bundgaard
2258a609e6
Enhance edge gateway logs handling and fix shell socket newline character formatting
2026-04-23 22:05:02 +02:00
Jeppe Bundgaard
b98cef0caa
Increase operation timeout, add diagnostic logs, and enhance gateway stream summarization
2026-04-23 21:36:25 +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
4420d76cd2
Add "stage" field and additional JSON payloads to Edge Gateway operation events schema
2026-04-23 15:50:30 +02:00
Jeppe Bundgaard
b9ddc585db
Add Edge Gateway tests for unit, API, and integration scenarios
2026-04-23 15:48:51 +02:00
Jeppe Bundgaard
c38a4379bd
Add department hardware workspace and plate scanner updates
2026-04-23 13:31:57 +02:00
Jeppe Bundgaard
e09e23025d
Add Edge Broker service and rename 'rows' column to 'terminal_rows' in Edge Gateway schema
2026-04-22 19:31: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
0d3c2d70bf
Add auto-updater service with Docker integration, stack dependencies, and heartbeat management
2026-04-22 15:49:21 +02:00
Jeppe Bundgaard
fd830deda9
Implement stack health diagnostics, timeout adjustments, and cleanup dependencies
2026-04-22 15:00:12 +02:00
Jeppe Bundgaard
f4952f16e6
Add caching layer for edge gateway views, including payload storage, retrieval, sync, and invalidation
2026-04-22 14:23:24 +02:00
Jeppe Bundgaard
300942f1c8
Merge branch 'backend-coolify-runner'
2026-04-22 12:05:04 +02:00
Jeppe Bundgaard
9cfb19a3ba
Replace CI PHP suite execution script with Composer commands and integrate Edge Gateway Agent stack artifacts
2026-04-22 12:03:08 +02:00
Jeppe B
6925b47a5b
Merge pull request #153 from copenhagentruckwash/backend-coolify-runner
...
Backend coolify runner
2026-04-21 22:19:21 +02:00