ci: time out the dependency install steps after 15 minutes #1210

Closed
github-bot wants to merge 1 commit from gh-pr/1210/head into gh-pr/1210/base
Owner

@⁠Nawid3333 on GitHub · 2026-10-08 12:52 UTC · original
Nawid3333:ci/install-deps-timeout → main · +2 −0 · 1 files · 1 commits · closed without merging

On 2026-10-07 the Linux jobs of #1154 and #1155 hung in "Install build dependencies" (apt on the
runner) for hours; with no timeout-minutes in build.yml, only GitHub's 6-hour job limit would have
ended them. This sets a 15-minute timeout on the Linux and macOS install steps.

The step normally takes 14–118 s on Linux and under 10 s on macOS (the last four runs on main as of
2026-10-08), so the limit doesn't affect a normal run. A hung install now fails the job after 15 minutes
instead of 6 hours, and the job can be re-run right away. macOS gets the same limit for symmetry; its
install has not hung so far.

If you'd rather have a job-level timeout, a different limit, or only the Linux step, tell me and I'll
change it; it's one line either way.

Testing

AI use (per the README's AI policy): Claude (Anthropic) measured the step times from the CI runs, wrote the change and ran the fork CI above.

🤖 Generated with Claude Code

**@⁠Nawid3333** on GitHub · 2026-10-08 12:52 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1210) `Nawid3333:ci/install-deps-timeout` → `main` · +2 −0 · 1 files · 1 commits · closed without merging On 2026-10-07 the Linux jobs of #1154 and #1155 hung in "Install build dependencies" (apt on the runner) for hours; with no `timeout-minutes` in `build.yml`, only GitHub's 6-hour job limit would have ended them. This sets a 15-minute timeout on the Linux and macOS install steps. The step normally takes 14–118 s on Linux and under 10 s on macOS (the last four runs on `main` as of 2026-10-08), so the limit doesn't affect a normal run. A hung install now fails the job after 15 minutes instead of 6 hours, and the job can be re-run right away. macOS gets the same limit for symmetry; its install has not hung so far. If you'd rather have a job-level timeout, a different limit, or only the Linux step, tell me and I'll change it; it's one line either way. ## Testing - Fork CI with this change: green on Windows, Linux and macOS: https://github.com/Nawid3333/KytyPS5/actions/runs/37701650241 **AI use** (per the README's AI policy): Claude (Anthropic) measured the step times from the CI runs, wrote the change and ran the fork CI above. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
On 2026-10-07 the Linux jobs of two pull requests hung in "Install
build dependencies" for hours, and only GitHub's six-hour job limit
would have ended them. The step normally takes 14 to 118 seconds on
Linux and under 10 seconds on macOS (recent main runs), so a 15-minute
limit only stops a hung install, and a re-run of the failed job then
works.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:47:53 +00:00
github-bot closed this pull request 2026-11-26 09:47:53 +00:00
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-08 12:53 UTC · original

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 48232da4-7e8c-4b2f-8189-eb3c81d39cfb
📥 Commits

Reviewing files that changed from the base of the PR and between 4865dd92ca and 983f5a88dc.

📒 Files selected for processing (1)
  • .github/workflows/build.yml

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 1 remain after this review.


📝 Walkthrough

Walkthrough

The macOS and Linux build-dependency installation steps in the workflow now each have a 15-minute timeout. No other workflow behavior changes are shown.

Suggested reviewers: nmzik

Priority: ⬇️ Low

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 983f5

The timeout should limit runner time spent on hung installs while remaining well above reported normal install times. No actionable merge-blocking risk is evident.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description check ✅ Passed The description clearly explains the 15-minute timeout added to the Linux and macOS dependency-install steps, including the reason, expected behavior, and testing performed.
Title check ✅ Passed The title clearly and concisely summarizes the main change: adding a 15-minute timeout to dependency-install steps in CI.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

**@⁠coderabbitai[bot]** on GitHub · 2026-10-08 12:53 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1210#issuecomment-6060302374) <!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- review_stack_entry_start --> <a href="https://app.coderabbit.ai/change-stack/KytyPS5/KytyPS5/pull/1210?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&amp;cs_source=review_comment"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui-dark.svg?v=2" alt="Review in Change Stack →" width="220" height="32"></a> <!-- review_stack_entry_end --> <!-- recent_review_start --> No actionable comments were generated in the recent review. 🎉 <details> <summary>ℹ️ Recent review info</summary> <details> <summary>⚙️ Run configuration</summary> - **Configuration used**: Repository: KytyPS5/KytyPS5/.coderabbit.yaml - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `48232da4-7e8c-4b2f-8189-eb3c81d39cfb` </details> <details> <summary>📥 Commits</summary> Reviewing files that changed from the base of the PR and between 4865dd92ca6b6bb907748f125883093af038f53b and 983f5a88dcf1335f05d119b4162ad7d5b1229843. </details> <details> <summary>📒 Files selected for processing (1)</summary> * `.github/workflows/build.yml` </details> **Included review availability:** This review used your included allowance. Your plan provides up to 8 included reviews per hour; 1 remain after this review. </details> --- <!-- recent_review_end --> <!-- walkthrough_start --> <details> <summary>📝 Walkthrough</summary> ## Walkthrough The macOS and Linux build-dependency installation steps in the workflow now each have a 15-minute timeout. No other workflow behavior changes are shown. **Suggested reviewers:** `nmzik` </details> <!-- walkthrough_end --> <!-- change_assessment_start --> **Priority:** ⬇️ Low <!-- change_assessment_commit:"983f5a88dcf1335f05d119b4162ad7d5b1229843" --> **Change:** Bug fix <!-- change_assessment_end --> <!-- final_review_risk_start --> **Merge Risk:** **⚪ Minimal** · up to `983f5` <!-- final_review_risk_coverage:{"sourceCommitId":"983f5a88dcf1335f05d119b4162ad7d5b1229843","coveredCommitId":"983f5a88dcf1335f05d119b4162ad7d5b1229843","kind":"reviewed"} --> The timeout should limit runner time spent on hung installs while remaining well above reported normal install times. No actionable merge-blocking risk is evident. <!-- final_review_risk_end --> <!-- pre_merge_checks_walkthrough_start --> <details> <summary>🚥 Pre-merge checks | ✅ 5</summary> <details> <summary>✅ Passed checks (5 passed)</summary> | Check name | Status | Explanation | | :------------------------ | :------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Description check | ✅ Passed | The description clearly explains the 15-minute timeout added to the Linux and macOS dependency-install steps, including the reason, expected behavior, and testing performed. | | Title check | ✅ Passed | The title clearly and concisely summarizes the main change: adding a 15-minute timeout to dependency-install steps in CI. | | Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0… | | Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. | | Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. | </details> </details> <!-- pre_merge_checks_walkthrough_end --> <!-- autopilot:start --> - [ ] <!-- {"checkboxId":"2708ad07-9f24-4260-9c11-7dc76a49f2e3"} --> <strong title="Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts">Autopilot</strong> · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts <!-- autopilot:end --> <!-- tips_start --> --- Thanks for using [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=KytyPS5/KytyPS5&utm_content=1210)! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. <details> <summary>❤️ Share</summary> - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code) </details> <sub>Comment `@coderabbitai help` to get the list of available commands.</sub> <!-- tips_end -->

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.