mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-05 15:40:47 +00:00
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:
parent
800e9ed564
commit
0835b35a36
481 changed files with 1602 additions and 1602 deletions
|
|
@ -117,7 +117,7 @@ get_server_name() {
|
|||
# Poll the BinaryLane API until the server becomes active and has an IP
|
||||
# Sets BINARYLANE_SERVER_IP on success
|
||||
_binarylane_wait_for_active() {
|
||||
log_warn "Waiting for server to become active..."
|
||||
log_step "Waiting for server to become active..."
|
||||
local max_attempts=60
|
||||
local attempt=1
|
||||
while [[ "$attempt" -le "$max_attempts" ]]; do
|
||||
|
|
@ -204,7 +204,7 @@ create_server() {
|
|||
validate_region_name "$region" || { log_error "Invalid BINARYLANE_REGION"; return 1; }
|
||||
validate_resource_name "$image" || { log_error "Invalid BINARYLANE_IMAGE"; return 1; }
|
||||
|
||||
log_warn "Creating BinaryLane server '$name' (size: $size, region: $region, image: $image)..."
|
||||
log_step "Creating BinaryLane server '$name' (size: $size, region: $region, image: $image)..."
|
||||
|
||||
# Get all SSH key IDs
|
||||
local ssh_keys_response
|
||||
|
|
@ -233,7 +233,7 @@ interactive_session() { ssh_interactive_session "$@"; }
|
|||
|
||||
destroy_server() {
|
||||
local server_id="$1"
|
||||
log_warn "Destroying server $server_id..."
|
||||
log_step "Destroying server $server_id..."
|
||||
binarylane_api DELETE "/servers/$server_id"
|
||||
log_info "Server $server_id destroyed"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue