mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 11:43:20 +00:00
* fix(artifacts): run hdiutil under owned supervision with a SIGTERM-first stop runOwnedCommand gains a per-command termination policy: before owned cleanup kills a command's process group, it sends the command's own stop signal to that group while the leader is unreaped and waits a bounded grace for the leader to exit. NativeDmgArtifactReader runs every hdiutil command through runOwnedCommand with SIGTERM and a 5 s grace, so an interrupted attach can roll back as before. An hdiutil whose cleanup fails is retained by the reader and retried on close, which reports it until it is released. Raw command failures are interpreted once in runChecked. Refs #11619 * fix(artifacts): release hdiutil commands retained during DMG reader close Detach and inventory commands that run during close can have their cleanup fail too; close now retries retained hdiutil processes again after detach and reports any that remain instead of resolving. * fix(artifacts): keep hdiutil's exit status when its cleanup fails and budget each output stream * fix(artifacts): admit no hdiutil command while an earlier one's cleanup is unresolved