fix(awooop): set shadow run defaults for mirrors
This commit is contained in:
@@ -82,11 +82,15 @@ async def ensure_completed_shadow_run(
|
||||
INSERT INTO awooop_run_state (
|
||||
run_id, project_id, agent_id, state,
|
||||
trigger_type, trigger_ref, is_shadow,
|
||||
input_sha256, created_at, completed_at, timeout_at
|
||||
input_sha256,
|
||||
attempt_count, max_attempts, cost_usd, step_count,
|
||||
created_at, completed_at, timeout_at
|
||||
) VALUES (
|
||||
:run_id, :project_id, :agent_id, 'completed',
|
||||
:trigger_type, :trigger_ref, TRUE,
|
||||
:input_sha256, NOW(), NOW(), NOW()
|
||||
:input_sha256,
|
||||
0, 3, 0.0000, 0,
|
||||
NOW(), NOW(), NOW()
|
||||
)
|
||||
ON CONFLICT (run_id) DO NOTHING
|
||||
RETURNING run_id
|
||||
|
||||
Reference in New Issue
Block a user