Runs now record owner_pid (the Node process that started them) at creation time. reconcileOrphanRuns skips runs whose owner process is still alive — previously a newly loaded worker (dev compile / instrumentation) would see a running run with pid not yet written (during the atlas stage), mark it failed mid-flight, and disable the stop button, while sling kept running in the background. Legacy rows with null owner_pid are still reconciled as before. |
||
|---|---|---|
| .. | ||
| atlas.ts | ||
| binaries.ts | ||
| db.ts | ||
| jobs.ts | ||
| sling.ts | ||
| utils.ts | ||