Move orphaned operation recovery logic into a dedicated orphan-recovery module, introducing a periodic sweep timer that triggers recovery every 15 seconds while the worker is connected. Refactor runtime to delegate orphan detection and handling to the new module, improving modularity and maintainability. Add unit tests for orphan-recovery to ensure correctness. |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| .env.example | ||
| docker-compose.yml | ||
| Dockerfile | ||
| package.json | ||
| tsconfig.json | ||