Files
Michał Pierzchała b8d70aa8a1 fix(daemon): keep a discarded rejection from shutting the daemon down (#2532)
An aborted Apple simulator recording start discarded the transport promise:
`void started.then(rollback)` has no rejection handler, and the local transport
rejects with the abort reason after its dynamic imports settle. The rejection
reached the daemon's only unhandledRejection handler, which exits with code 1
and kills every open session.

End the rollback chain in a handler at both abandon sites so a rejected
acquisition, or a rollback that itself fails, cannot escape.

Sweep the remaining single-handler `void … .then(` sites: a rejected renewal now
fences as unconfirmed authority instead of settling as a normal renewal, which
would re-arm renewal work with no backoff, and the Limrun drain drops its
discarded continuation by deleting from `pending` when the deferred settles.
2026-09-13 07:56:15 +02:00
..