Skip to main content
Every Tensorlake lifecycle webhook is a versioned JSON object. The common envelope identifies the event, project, producer ordering domain, and event-specific data.

Common envelope

event_id remains the same across retries. Delivery order is not guaranteed. For related events from the same source_id, compare source_revision numerically and then source_ordinal when you need source order.

Event catalog

Sandbox events

Sandbox event data contains previous_status and a sandbox object.
Sandbox failed event
Possible sandbox failure reasons are unknown, user_terminated, timeout, internal_error, constraint_unsatisfiable, executor_removed, out_of_memory, container_startup_failed, pool_deleted, container_terminated, bad_image, image_not_found, container_unhealthy, function_error, function_timeout, function_cancelled, desired_state_removed, process_crash, and executor_drained. A successful termination can report unknown, user_terminated, or timeout. outcome_reason can be null when no safe reason is available.

Application events

Application event data contains previous_version, previous_state, and an application object. The previous fields are null for a creation event.
Application updated event

Application-request events

Application-request event data contains an application identity and a request object.
Application request completed event
Possible application-request failure reasons are unknown, internal_error, function_error, function_timeout, request_error, constraint_unsatisfiable, cancelled, and out_of_memory.