Add iteration timeout to Ci::TimedOutBuilds::DropRunningWorker (behind FF)

What does this MR do and why?

Adds a cooperative iteration timeout to dropping stuck builds, to help prevent concurrent runs of the worker past the deduplication TTL. Disabled behind the feature flag ci_timed_out_builds_worker_timeout.

References

See gitlab-com/gl-infra/production#21274

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading