test(cloud-api): verify restart recovery

This commit is contained in:
2026-07-12 18:40:29 +08:00
parent 8131c0124b
commit 1e10d5aa95
2 changed files with 158 additions and 1 deletions
@@ -48,7 +48,7 @@
- [x] 6.3 Ensure lifecycle iteration failures are logged and retried without terminating later iterations.
- [x] 6.4 Add `/health/live` and `/health/ready` with separate process, database/schema, and worker-state semantics.
- [x] 6.5 Add structured correlation-aware logging for requests and task lifecycle events with sensitive payload redaction.
- [ ] 6.6 Add app-level tests for startup failures, readiness transitions, graceful shutdown, persisted queue recovery, and expired-lease recovery.
- [x] 6.6 Add app-level tests for startup failures, readiness transitions, graceful shutdown, persisted queue recovery, and expired-lease recovery.
## 7. Device Host Agent Execution Loop