Skip to content

Resolve "StuckCiJobsWorker wrongly detects, cancels 'stuck' builds when per-job timeout is more than an hour"

What does this MR do?

Adds fine and coarse grained Ci::Runner#contacted_at management (with Redis).

Are there points in the code the reviewer needs to double check?

There are no specs for lib/api/helpers/runner.rb, which is why I haven't added specs for the changes I made to it.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #38265 (closed), #42196 (closed) and #42750 (closed)

Edited by Matija Čupić

Merge request reports