Files
vibe-kanban/crates/db/.sqlx/query-196a97c709d226c23b957cc258c57f0d6cd35b1a6aeef879c7f6dfa89fc85539.json
Louis Knight-Webb 99921f35c4 feat: stop running preview processes on shutdown and merge #1286 (#1300)
* feat: stop running preview processes on shutdown and merge

* cleanup

* cleanup

* Stop all dev servers for attempt

---------

Co-authored-by: Matteo von Haxthausen <matteovhaxt@gmail.com>
2025-11-17 14:35:20 +00:00

93 lines
2.7 KiB
JSON

{
"db_name": "SQLite",
"query": "\n SELECT\n id as \"id!: Uuid\",\n task_attempt_id as \"task_attempt_id!: Uuid\",\n run_reason as \"run_reason!: ExecutionProcessRunReason\",\n executor_action as \"executor_action!: sqlx::types::Json<ExecutorActionField>\",\n before_head_commit,\n after_head_commit,\n status as \"status!: ExecutionProcessStatus\",\n exit_code,\n dropped,\n started_at as \"started_at!: DateTime<Utc>\",\n completed_at as \"completed_at?: DateTime<Utc>\",\n created_at as \"created_at!: DateTime<Utc>\",\n updated_at as \"updated_at!: DateTime<Utc>\"\n FROM execution_processes\n WHERE status = 'running'\n AND run_reason = 'devserver'\n AND task_attempt_id = ?\n ORDER BY created_at DESC\n ",
"describe": {
"columns": [
{
"name": "id!: Uuid",
"ordinal": 0,
"type_info": "Blob"
},
{
"name": "task_attempt_id!: Uuid",
"ordinal": 1,
"type_info": "Blob"
},
{
"name": "run_reason!: ExecutionProcessRunReason",
"ordinal": 2,
"type_info": "Text"
},
{
"name": "executor_action!: sqlx::types::Json<ExecutorActionField>",
"ordinal": 3,
"type_info": "Text"
},
{
"name": "before_head_commit",
"ordinal": 4,
"type_info": "Text"
},
{
"name": "after_head_commit",
"ordinal": 5,
"type_info": "Text"
},
{
"name": "status!: ExecutionProcessStatus",
"ordinal": 6,
"type_info": "Text"
},
{
"name": "exit_code",
"ordinal": 7,
"type_info": "Integer"
},
{
"name": "dropped",
"ordinal": 8,
"type_info": "Bool"
},
{
"name": "started_at!: DateTime<Utc>",
"ordinal": 9,
"type_info": "Text"
},
{
"name": "completed_at?: DateTime<Utc>",
"ordinal": 10,
"type_info": "Text"
},
{
"name": "created_at!: DateTime<Utc>",
"ordinal": 11,
"type_info": "Text"
},
{
"name": "updated_at!: DateTime<Utc>",
"ordinal": 12,
"type_info": "Text"
}
],
"parameters": {
"Right": 1
},
"nullable": [
true,
false,
false,
false,
true,
true,
false,
true,
false,
false,
true,
false,
false
]
},
"hash": "196a97c709d226c23b957cc258c57f0d6cd35b1a6aeef879c7f6dfa89fc85539"
}