Lifecycle errors
Environment errors
Provider-shaped endpoints preserve the environment’s HTTP status and response body. A GitHub422 remains a GitHub 422. Do not convert it into a generic
Archal retry.
Retry rules
- Add an idempotency key to every create request
- Retry
GETandHEADwith bounded exponential backoff - Retry a mutation only when its provider operation is idempotent
- Cap attempts and request timeouts
- Stop polling on a terminal lifecycle state
- Preserve request IDs, response bodies, and teardown errors in test output
startSession, then call awaitSessionReady and
destroySession explicitly in your own try/finally boundary.
For CREDIT_FLOOR_NOT_MET or
INSUFFICIENT_ENVIRONMENT_RUNTIME_CREDITS, run:
