You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(gui): make Cancel build actually stop the rootful build
The build tree runs as root via pkexec; force_exit() from the user-owned GUI
is EPERM-ignored, so Cancel printed '[cancelling…]' while the build marched
on (Daniel, 2026-07-04, screenshot with two cancels mid-flatpak-install).
Cancel now kills the tree ROOT-side via pkexec (auth dialog is correct: it's
stopping a root process): a recursive children-first TERM so 'sudo podman
build' aborts too, then the top script, whose EXIT trap hands ownership of
.cache//output back to the user. The done-handler now reports 'Cancelled'
(and survives signal deaths: get_exit_status is only valid after a normal
exit, so it branches on get_if_exited).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments