resonate-basic-debugging-python
Installation
SKILL.md
Resonate Debug and Troubleshoot — Python
Overview
Use this skill to diagnose Resonate runtime issues in Python. The Python SDK v0.7.0 uses async def + await (not generators); failure modes differ from TypeScript's generator-based v1 API and from the legacy v0.6.x Python SDK. Focus on reproducible symptoms, promise state, registration, and determinism.
For the language-agnostic replay + recovery mental model, read durable-execution first.
Triage flow
- Classify the failure: import/syntax error, runtime SDK error, server error code, workflow stuck/hanging, or unexpected replay behavior.
- Confirm Python is ≥ 3.12 and
resonate-sdk>=0.7.0is installed. - Confirm the Resonate server is reachable:
resonate devstarts it onlocalhost:8001(Rust v0.9.x, single port — no separate store port). - Confirm the worker process is running, connected to the right URL and group, and registered for the right functions.
- Inspect the promise state and call graph for the invocation ID.
- Validate determinism — no
time.time(), norandom.random(), no un-checkpointed side effects in the orchestrator body.