Increase duo session expiration time
Problem
Duo Agent Platform sessions that are not updated for 10 minutes are marked as failed by cleanup worker.
This is problematic, especially for remote workflows, where it may take over 10 minutes for a runner to be picked up. See investigation.
In the longer time, we have plans to improve Clean up logic for sessions. For a quick fix, we should increase the expiration time
Outcome
Clean up of duo agent platform sessions should be after 30 mins of inactrivity instad of 10 minutes.
Implementation Plan
In ee/app/services/ai/duo_workflows/clean_stuck_workflows_service.rb change EXPIRATION_IN_MINUTES from 10 to 30.
Edited by 🤖 GitLab Bot 🤖