What problem does it solve?
Hugging Face Spaces hosting OpenEnv environments can get stuck in BUILDING, APP_STARTING, or RUNTIME_ERROR states, and manually triaging dozens of versioned Spaces is slow and error-prone. This Skill provides a structured recovery workflow that isolates failing Spaces, classifies root causes, applies targeted redeploys, and reconciles release collections.
Core Features & Use Cases
- Fleet Status Snapshot: Lists all versioned Spaces in the
openenv namespace and isolates non-running ones using the hf CLI and jq.
- Symptom-Based Triage: Classifies RUNTIME_ERROR, BUILD_ERROR, and stuck APP_STARTING states, with a troubleshooting reference mapping symptoms like import tracebacks, missing dependencies, and Dockerfile issues to concrete fixes.
- Targeted Redeploy and Recovery: Redeploys single environments via
scripts/prepare_hf_deployment.sh, force-restarts stuck Spaces with factory reboot, and reconciles release collections afterward.
- Use Case: After a release, several
openenv Spaces show RUNTIME_ERROR due to a missing transitive dependency. Use this Skill to identify the affected Spaces, patch the environment Dockerfile, redeploy only those envs, verify health endpoints, and update the release collection.
Quick Start
Ask the agent to check which openenv Hugging Face Spaces for version vX.Y.Z are not running and recover them.