Skip to content
SHC Docs

task

Generated file. Do not edit by hand. Regenerate from the repo root with make docs/generate.

This page is generated from the ent schema and the migration head. The running unit is a deployment and the catalog thing is an app.

erDiagram
task {
string id PK
time created_at
time started_at
time completed_at
string name
text kwargs
string trigger
string event
text error_message
string status
string dispatch_mode
string claimed_by_worker_id
time claimed_at
int max_runtime_seconds
int attempts
int max_attempts
time run_after
string affinity_node_id
}
columntypenullkey
idstringnoPK
created_attimeno
started_attimeyes
completed_attimeyes
namestringno
kwargstextyes
triggerstringno
eventstringyes
error_messagetextyes
statusstringno
dispatch_modestringno
claimed_by_worker_idstringyes
claimed_attimeyes
max_runtime_secondsintyes
attemptsintno
max_attemptsintno
run_aftertimeyes
affinity_node_idstringyes

no command writes this table (modules/task/service.go, modules/task/stranded.go)