Title: Added custom timeout to ci by kitsiosk · Pull Request #7641 · cppcheck-opensource/cppcheck · GitHub
Open Graph Title: Added custom timeout to ci by kitsiosk · Pull Request #7641 · cppcheck-opensource/cppcheck
X Title: Added custom timeout to ci by kitsiosk · Pull Request #7641 · cppcheck-opensource/cppcheck
Description: Change Summary Added custom timeout for build_mingw job of the CI-mingw workflow based on historical data. More details Over the last 7456 successful runs, the build_mingw job has a maximum runtime of 13 minutes (mean=4, std=2). However, there are failed runs that fail after reaching the threshold of 6 hours that GitHub imposes. In other words, these jobs seem to get stuck, possibly for external or random reasons. One such example is this job run, that failed after 6 hours. More stuck jobs have been observed over the last six months, the first one on 2025-01-01 and the last one one on 2025-04-09, while more recent occurences are also possible because our dataset has a cutoff date around late May. With the proposed changes, a total of 45 hours would have been saved over the last six months retrospectively, clearing the queue for other workflows and speeding up the CI of the project, while also saving resources in general. The idea is to set a timeout to stop jobs that run much longer than their historical maximum, because such jobs are probably stuck and will simply fail with a timeout at 6 hours. Our PR proposes to set the timeout to max + 3*std = 19 minutes where max and std (standard deviation) are derived from the history of 7456 successful runs. This will provide sufficient margin if the workflow gets naturally slower in the future, but if you would prefer lower/higher threshold we would be happy to do it. Context Hi, We are a team of researchers from University of Zurich and we are currently working on energy optimizations in GitHub Actions workflows. Thanks for your time on this. Feel free to let us know (here or in the email below) if you have any questions, and thanks for putting in the time to read this. Best regards, Konstantinos Kitsios konstantinos.kitsios@uzh.ch
Open Graph Description: Change Summary Added custom timeout for build_mingw job of the CI-mingw workflow based on historical data. More details Over the last 7456 successful runs, the build_mingw job has a maximum runtime...
X Description: Change Summary Added custom timeout for build_mingw job of the CI-mingw workflow based on historical data. More details Over the last 7456 successful runs, the build_mingw job has a maximum runtime...
Opengraph URL: https://github.com/cppcheck-opensource/cppcheck/pull/7641
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:494cbaff-ff66-54de-0b3e-e1630e77e871 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AEF8:30F730:1C57435:26E4967:6A4EB807 |
| html-safe-nonce | 8ff25e478398a5d0ab89d209ca58c87dfa27d2b1dca8027217a6f0654b7a9792 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUY4OjMwRjczMDoxQzU3NDM1OjI2RTQ5Njc6NkE0RUI4MDciLCJ2aXNpdG9yX2lkIjoiMTYzODcyNzM2MTc3NDkyNTgzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5b1ac6cf71de33aae812ff5fb1a4a2b99c0fc8d2efecdd84e9c93502f09eb9ad |
| hovercard-subject-tag | pull_request:2635383443 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/cppcheck-opensource/cppcheck/pull/7641/files |
| twitter:image | https://avatars.githubusercontent.com/u/20650935?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/20650935?s=400&v=4 |
| og:image:alt | Change Summary Added custom timeout for build_mingw job of the CI-mingw workflow based on historical data. More details Over the last 7456 successful runs, the build_mingw job has a maximum runtime... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/cppcheck-opensource/cppcheck git https://github.com/cppcheck-opensource/cppcheck.git |
| octolytics-dimension-user_id | 278097703 |
| octolytics-dimension-user_login | cppcheck-opensource |
| octolytics-dimension-repository_id | 143131 |
| octolytics-dimension-repository_nwo | cppcheck-opensource/cppcheck |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 143131 |
| octolytics-dimension-repository_network_root_nwo | cppcheck-opensource/cppcheck |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width