Durable Jobs
Observability
LiveInspect each job run through status, attempts, logs, payload, result, errors, and timeline.
Goal
Debug Durable Jobs without guessing where the run stopped.
Current status
Live
This area is documented as current, user-reliable behavior.
Workflow
- 1Open the run from the Durable Jobs page.
- 2Check status and attempts first.
- 3Read the timeline to see which step completed, failed, or started waiting.
- 4Use logs and error details to fix the underlying issue.
What to inspect
- Status: queued, running, waiting, completed, failed, or canceled.
- Attempts: how many times StackShift has invoked the handler.
- Logs: handler output and platform events.
- Timeline: step completion, waiting state, event receipt, retries, and final result.
Example timeline
Onboarding run
text[done] create-user
[done] send-email
[waiting] waiting for email.verified
[done] event received
[done] unlock-accountCheck status from code
Fetch a run
tsconst run = await stackshift.getRun('run_123')
console.log(run.status)
console.log(run.attempts)
console.log(run.waiting_for_event)Expected result
You can answer whether a job is queued, running, waiting, completed, failed, or canceled.