Enforce Job timeouts for Canceling Builds
What does this MR do and why?
This MR introduces timeout enforcement for canceling Ci::Builds, similar to how we currently enforce timeouts for RunningBuilds via Ci::TimedOutBuilds::DropRunningWorker.
Note:
- Considered creating a new table called
Ci::CancelingBuildto enhance query performance and decrease the load ofCi::Build, but new 1:1 relations toCi::Buildare forbidden at the moment so we'll have to work with what is available.
References
Related to #582928
Edited by Panos Kanellidis