-
Notifications
You must be signed in to change notification settings - Fork 962
Open
Labels
s3Bugs that confuse, annoy, or are purely cosmeticBugs that confuse, annoy, or are purely cosmeticsiteArea: frontend dashboardArea: frontend dashboard
Description
For really long log lines, the text ends up overlapping a bunch of other lines and it becomes a garbled mess.
EDIT: Actually, seems to include newlines which is probably the primary cause of this visual glitch.

Here's the contents of span for posterity:
<span>=== Running the init command /bin/sh [-c #!/usr/bin/env sh
set -eux
# Sleep for a good long while before exiting.
# This is to allow folks to exec into a failed workspace and poke around to
# troubleshoot.
waitonexit() {
echo "=== Agent script exited with non-zero code ($?). Sleeping 24h to preserve logs..."
sleep 86400
}
trap waitonexit EXIT
BINARY_DIR="${BINARY_DIR:-$(mktemp -d -t coder.XXXXXX)}"
BINARY_NAME=coder
BINARY_URL=https://dev.coder.com/bin/coder-linux-amd64
cd "$BINARY_DIR"
# Attempt to download the coder agent.
# This could fail for a number of reasons, many of which are likely transient.
# So just keep trying!
while :; do
# Try a number of different download tools, as we don not know what we
# will have available.
status=""
if command -v curl >/dev/null 2>&1; then
curl -fsSL --compressed "${BINARY_URL}" -o "${BINARY_NAME}" && break
status=$?
elif command -v wget >/dev/null 2>&1; then
wget -q "${BINARY_URL}" -O "${BINARY_NAME}" && break
status=$?
elif command -v busybox >/dev/nul</span>
Metadata
Metadata
Assignees
Labels
s3Bugs that confuse, annoy, or are purely cosmeticBugs that confuse, annoy, or are purely cosmeticsiteArea: frontend dashboardArea: frontend dashboard