Jobs
Jobs are background tasks that run asynchronously in the Chucky cloud. Unlike interactive prompts, jobs execute without waiting for real-time streaming - perfect for long-running tasks, scheduled work, or webhook-driven workflows.Create a Job
Options
Examples
Simple job:--apply flag implies --wait and will automatically fetch and apply the git bundle when the job completes successfully.
With webhook callback:
List Jobs
Options
Example
Get Job Details
Options
Example
Cancel a Job
Job Lifecycle
- PENDING: Job created, waiting to be queued
- QUEUED: Job in queue, waiting for available worker
- EXECUTING: Job running in sandbox
- COMPLETED: Job finished successfully
- FAILED: Job encountered an error
- CANCELED: Job was manually canceled
Webhooks
When you provide a--callback-url, Chucky will POST the job result to your endpoint when the job completes:
--callback-secret, the payload will include an HMAC signature in the X-Chucky-Signature header for verification.
Retrieving Job Changes
When a job modifies files, those changes are saved as a git bundle. Use the bundle commands to retrieve them:Next Steps
Git Bundles
Learn how to fetch and apply changes from jobs
Sessions
View session history and details