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
When deploying to multiple hosts in one invocation using --targets, the log output of deploy-rs is unnecessarily unclear on which host an operation affects. This is especially confusing in case one of the deployments fails, but the others succeed, as there's no obvious indication which deploy failed, only that one of them did.
As an example, consider:
❯ deploy --targets .#chaski .#flora --dry-activate -s
🚀 ℹ️ [deploy] [INFO] Evaluating flake in .
🚀 ℹ️ [deploy] [INFO] Evaluating flake in .
🚀 ℹ️ [deploy] [INFO] The following profiles are going to be deployed:
[chaski.system]
user = "root"
ssh_user = "root"
path = "/nix/store/6kj8i7d0yglnlkzpmxdn9ydz1l9l3hln-activatable-nixos-system-chaski-23.11.20240406.e38d7cb"
hostname = "chaski"
ssh_opts = []
[flora.system]
user = "root"
ssh_user = "root"
path = "/nix/store/j9wk9wy0v0xq2c0dgxh0diqvgna0wc3f-activatable-nixos-system-flora-23.11.20240406.e38d7cb"
hostname = "flora"
ssh_opts = []
🚀 ℹ️ [deploy] [INFO] Building profile `system` for node `chaski`
🚀 ℹ️ [deploy] [INFO] Building profile `system` for node `flora`
🚀 ℹ️ [deploy] [INFO] Copying profile `system` to node `chaski`
🚀 ℹ️ [deploy] [INFO] Copying profile `system` to node `flora`
🚀 ❌ [deploy] [ERROR] Failed to push profile: Nix copy command resulted in a bad exit code: Some(1)
It'd be much nicer if the log messages would simply include the hostname again, so the last line would start with 🚀 ❌ [deploy to flora] [ERROR] or something similar.
The text was updated successfully, but these errors were encountered:
When deploying to multiple hosts in one invocation using
--targets
, the log output ofdeploy-rs
is unnecessarily unclear on which host an operation affects. This is especially confusing in case one of the deployments fails, but the others succeed, as there's no obvious indication which deploy failed, only that one of them did.As an example, consider:
It'd be much nicer if the log messages would simply include the hostname again, so the last line would start with
🚀 ❌ [deploy to flora] [ERROR]
or something similar.The text was updated successfully, but these errors were encountered: