mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-05-08 16:23:23 +02:00
Add TestPoller_ShutdownForcesJobsOnTimeout to lock in the Shutdown() fix: when a task is parked on jobsCtx and the Shutdown context's deadline elapses before graceful drain, the timeout branch must reach p.shutdownJobs() and force-cancel the job — rather than blocking on <-p.done as the previous (broken) implementation did. Per @silverwind's review on #822.
8.4 KiB
8.4 KiB