• Stefy Lanza (nextime / spora )'s avatar
    runpod: give a booting pod a voice, and stop timing out on a cold image pull · 0616fb2f
    Stefy Lanza (nextime / spora ) authored
    The port a pod exposes appears only AFTER its image is pulled, so the 300s
    budget had to cover the download — it was written assuming the container was
    already there. The same 7.3 GB image took 133s on a machine with the layers
    cached and failed repeatedly at 300s on cold ones, and each failure rented a
    fresh machine and paid for the whole pull again, three times. 900s, overridable
    per model; being wrong now costs six cents instead of three pods.
    
    RunPod publishes no pod-log API: the REST OpenAPI spec lists 23 routes and none
    serve logs, and GraphQL refuses introspection. Every attempt returning HTTP 400
    was code guessing at URLs that never existed. So the pod reports on itself —
    boot.sh is the entrypoint and logs timestamped phases from the first instant the
    container exists (including the seed list, which is where "not available. Use
    one of: " would have been caught in one line), and /boot serves that record plus
    the app's own phases. A failed boot now asks the pod before falling back to a
    console link a human has to open.
    
    Nothing covers the pull window — no code of ours is running yet — so wait_ready
    reports status and uptime every 60s instead of going silent for minutes.
    Co-Authored-By: 's avatarClaude Opus 5 (1M context) <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_0182DhR1eFNPQyGmDrpHbedY
    0616fb2f
Name
Last commit
Last update
..
test_admin_auth.py Loading commit data...
test_admin_remote_ui.py Loading commit data...
test_audio_ml_backends.py Loading commit data...
test_audio_ml_endpoints.py Loading commit data...
test_broker_config.py Loading commit data...
test_broker_dispatch.py Loading commit data...
test_broker_protocol.py Loading commit data...
test_broker_streaming.py Loading commit data...
test_burst_placement.py Loading commit data...
test_manual_multimodal_test_client.py Loading commit data...
test_remote_execution.py Loading commit data...
test_studio_composed_surfaces.py Loading commit data...
test_whisper_server_local_models.py Loading commit data...