mirror of
https://github.com/go-gitea/gitea.git
synced 2026-07-08 13:10:29 +09:00
e797a27d4e
When a runner's `FetchTask` request context is cancelled after the job is claimed but before the task reaches the runner (e.g. request timeout), the job was left referencing a running task no runner ever executes, so it stayed unpickable. Fix: Check the context after assembling the task and release the task so the job returns to waiting status for another runner.