FN-7466: split runtime lifecycle tests into seams
Split the runtime lifecycle coverage into focused seam tests while trimming the in-process runtime suite.
- Add dedicated EphemeralWorkerManager tests for task-worker ownership, reuse, cleanup, and deletion paths.
- Cover heartbeat scheduler lifecycle event registration without starting the full runtime.
- Remove migrated lifecycle scenarios from the expensive in-process runtime test file.
Files changed:
.../src/__tests__/ephemeral-worker-manager.test.ts | 438 +++++++++
.../src/__tests__/heartbeat-scheduler.test.ts | 147 +++
.../runtimes/__tests__/in-process-runtime.test.ts | 1030 +-------------------
3 files changed, 597 insertions(+), 1018 deletions(-)
Fusion-Task-Id: FN-7466
Fusion-Task-Lineage: 8493f7b6-91b2-4e7d-9ab6-9fa9cf52441f
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>