Readiness Probe Recovery
Execution Modes
- •Manual runbook: follow the shell steps below.
- •Executable helper path: run the skill code directly.
Skill helper files:
- •
diagnose.py - •
remediate.py - •
skill.py(exportsdiagnoseandremediate)
Examples:
- •
TARGET_URL=http://127.0.0.1:15000 TARGET_CONTAINER=openhands-gepa-demo python .agents/skills/readiness-probe-fail/diagnose.py - •
TARGET_URL=http://127.0.0.1:15000 TARGET_CONTAINER=openhands-gepa-demo python .agents/skills/readiness-probe-fail/remediate.py - •
cd .agents/skills/readiness-probe-fail && python -c "from skill import diagnose, remediate; print(diagnose()); print(remediate())"
Diagnostic Workflow
- •Verify failure with
curl -i http://127.0.0.1:15000 - •Check readiness artifacts (e.g.,
/tmp/ready.flag) - •Confirm readiness conditions in service code
Remediation Workflow
- •Restore required readiness artifact/state
- •Restart only if readiness is initialized at boot
Verification
- •
curl -i http://127.0.0.1:15000 - •Confirm HTTP 200 and healthy readiness signal