fix: use log_step (cyan) for progress messages instead of log_warn (yellow) (#534)

~1500 progress messages across 481 files were using log_warn (yellow)
for normal status updates like "Installing...", "Setting up...",
"Creating server...", etc. This made users think something was wrong
when everything was proceeding normally.

Changes:
- Replace log_warn with log_step for all progress/status messages
- Keep log_warn only for actual warnings (errors, remediation hints)
- Remove emoji from 3 sprite completion messages

Agent: ux-engineer

Co-authored-by: A <6723574+louisgv@users.noreply.github.com>
This commit is contained in:
A 2026-02-11 14:37:43 -08:00 committed by GitHub
parent 800e9ed564
commit 0835b35a36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
481 changed files with 1602 additions and 1602 deletions

View file

@ -27,7 +27,7 @@ fi
ensure_e2b_cli() {
if ! command -v e2b &>/dev/null; then
log_warn "Installing E2B CLI..."
log_step "Installing E2B CLI..."
npm install -g @e2b/cli 2>/dev/null || {
log_error "Failed to install E2B CLI. Install manually: npm install -g @e2b/cli"
return 1
@ -72,7 +72,7 @@ create_server() {
local name="${1}"
local template="${E2B_TEMPLATE:-base}"
log_warn "Creating E2B sandbox '${name}' (template: ${template})..."
log_step "Creating E2B sandbox '${name}' (template: ${template})..."
# Create sandbox and capture ID
local output
@ -94,7 +94,7 @@ create_server() {
}
wait_for_cloud_init() {
log_warn "Installing base tools in sandbox..."
log_step "Installing base tools in sandbox..."
run_server "apt-get update -y && apt-get install -y curl unzip git zsh" >/dev/null 2>&1 || true
run_server "curl -fsSL https://bun.sh/install | bash" >/dev/null 2>&1 || true
run_server "curl -fsSL https://claude.ai/install.sh | bash" >/dev/null 2>&1 || true
@ -138,7 +138,7 @@ interactive_session() {
destroy_server() {
local sandbox_id="${1:-${E2B_SANDBOX_ID}}"
log_warn "Destroying sandbox ${sandbox_id}..."
log_step "Destroying sandbox ${sandbox_id}..."
e2b sandbox kill "${sandbox_id}" 2>/dev/null || true
log_info "Sandbox destroyed"
}