RUNNER_OFFLINE_TIMEOUT cicd system_error ai_generated true

由于超过1天没有可用的在线运行器处理此请求,该请求已自动失败

This request was automatically failed because there were no enabled runners online to process it for more than 1 day

ID: cicd/github-actions-disk-space

其他格式: JSON · Markdown 中文 · English
85%修复率
88%置信度
1证据数
2024-03-15首次发现

版本兼容性

版本状态引入弃用备注
GitHub Actions runner 2.311.0 active
GitHub Enterprise Server 3.10 active

根因分析

GitHub Actions工作流已触发,但超过24小时内没有匹配的运行器(自托管或GitHub托管)在线并启用以接受该作业,导致请求过期。

English

GitHub Actions workflow triggered but no matching runner (self-hosted or GitHub-hosted) was online and enabled to accept the job for over 24 hours, causing the request to expire.

generic

官方文档

https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners

解决方案

  1. Check runner status via GitHub UI: Settings > Actions > Runners. If offline, re-run the config script on the runner machine: `./config.sh --url https://github.com/your-org --token NEW_TOKEN` then `./run.sh`
  2. Provision a new runner instance if the old one is unrecoverable: use GitHub's auto-scaling runner setup or create a fresh VM with the latest runner version

无效尝试

常见但无效的做法:

  1. 65% 失败

    If the runner's token has expired or the runner is registered to a different org/repo, restarting alone won't reconnect it to the correct workflow queue

  2. 90% 失败

    Re-triggering without an available runner will just queue the job again, leading to the same timeout after another 24 hours