Open
Description
My workspace personalize script often fails in a way that doesn't invalidate my development environment. Unfortunately, all ssh
operations are met with a giant multi-page dump like this:
& rsync /tmp/sail coder.c0:/tmp/
👋 Your workspace is outdated! Update it here: https://dev.coder.com/@ammar/c0
==> ⧗ Running workspace agent startup scripts
2024-06-14 14:16:30.318-05:00 Startup Script: + trap 'touch /tmp/.coder-startup-script.done' EXIT
2024-06-14 14:16:30.318-05:00 Startup Script: + sudo service docker start
2024-06-14 14:16:30.366-05:00 Coder Login: Logging into Coder...
2024-06-14 14:16:30.366-05:00 Coder Login:
2024-06-14 14:16:30.410-05:00 File Browser: Installing filebrowser
2024-06-14 14:16:30.410-05:00 File Browser:
2024-06-14 14:16:30.455-05:00 Git Clone: /home/coder/coder already exists and isn't empty, skipping clone!
2024-06-14 14:16:30.499-05:00 File Browser: Downloading File Browser for linux/amd64...
2024-06-14 14:16:30.542-05:00 code-server: Installing code-server!
2024-06-14 14:16:30.586-05:00 Personalize: ~ ~/coder
2024-06-14 14:16:30.586-05:00 Personalize: Hit:1 https://download.docker.com/linux/ubuntu jammy InRelease
...
upon failure. It's extremely annoying and unhelpful. Instead, we should just show a single warning line that suggests running a different command to see the full error.