Configure StuckCiJobsWorker timeout values as an instance setting
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
Pending/stuck jobs that have been in that state for > 1 hour and/or > 1 day are dropped when StuckCiJobsWorker starts.
Further details
Currently, if a job has to wait for a long time before it can get picked up by the runner, it can get dropped by StuckCiJobsWorker based on these timeout limits, with no way of editing them:
BUILD_RUNNING_OUTDATED_TIMEOUT = 1.hour
BUILD_PENDING_OUTDATED_TIMEOUT = 1.day
BUILD_SCHEDULED_OUTDATED_TIMEOUT = 1.hour
BUILD_PENDING_STUCK_TIMEOUT = 1.hour
This feature request is created on behalf of a customer via (internal) https://gitlab.zendesk.com/agent/tickets/132314
Proposal
Provide a setting to change the timeout limits, ideally per project.
Links / references
Edited by Rutvik Shah