deploy-rs
deploy-rs copied to clipboard
When deployment fails, the terminal afterwards eats half of my input keys
When a deployment failed, the terminal eats up some of the keys I press. Restarting the terminal fixes the issue. I'm using alacritty + zsh, so fairly basic setup.
same here with alacritty/emacs-vterm + bash
@wucke13 when this happens a ssh process is left behind like you mention in #107 and that causes the lost input, if you kill it then everything works like normal.
function deploy() {
env deploy $@
ps | awk '/ssh/ {print $1}' | xargs kill
}
temporary fix
I just ran a failing deployment using nix run github:serokell/deploy-rs, and again my terminal is acting up. This is not fixed. Please reopen!
One possible fix is to run this in a systemd user unit. Given those are enabled by default on nixos, it seems like a reasonable solution.
I might have a stab at that, if nobody objects. Ran into the same problem as well.