Local dev servers can now be shut down without leaving ghost runs hanging in the cloud. Previously, aborting a local session could leave active executions stuck waiting on a heartbeat timeout for up to five minutes.
In-flight runs are now instantly canceled when the dev CLI shuts down. An invisible background monitor is spawned to watch the main process. If the CLI exits abruptly—like during a forced termination—this monitor immediately notifies the platform to terminate active jobs.
Active run IDs are written to a local file and tracked by a . When a crash or forced exit is detected, a is called to finalize the runs. If there are more than 25 active tasks, the cancellation is delegated to a background queue.
