René's URL Explorer Experiment


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

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:494cbaff-ff66-54de-0b3e-e1630e77e871
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAEF8:30F730:1C57435:26E4967:6A4EB807
html-safe-nonce8ff25e478398a5d0ab89d209ca58c87dfa27d2b1dca8027217a6f0654b7a9792
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUY4OjMwRjczMDoxQzU3NDM1OjI2RTQ5Njc6NkE0RUI4MDciLCJ2aXNpdG9yX2lkIjoiMTYzODcyNzM2MTc3NDkyNTgzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5b1ac6cf71de33aae812ff5fb1a4a2b99c0fc8d2efecdd84e9c93502f09eb9ad
hovercard-subject-tagpull_request:2635383443
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cppcheck-opensource/cppcheck/pull/7641/files
twitter:imagehttps://avatars.githubusercontent.com/u/20650935?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/20650935?s=400&v=4
og:image:altChange 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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/cppcheck-opensource/cppcheck git https://github.com/cppcheck-opensource/cppcheck.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id143131
octolytics-dimension-repository_nwocppcheck-opensource/cppcheck
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143131
octolytics-dimension-repository_network_root_nwocppcheck-opensource/cppcheck
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/7641/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F7641%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F7641%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/7641/files
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/7641/files
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/7641/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7641/files
cppcheck-opensource https://github.com/cppcheck-opensource
cppcheckhttps://github.com/cppcheck-opensource/cppcheck
Notifications https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Fork 1.6k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Star 6.7k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests 203 https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality 0 https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fcppcheck-opensource%2Fcppcheck%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck%2Fissues%2Fnew%2Fchoose
chrchr-githubhttps://github.com/chrchr-github
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
kitsiosk:set_custom_timeout_in_cihttps://github.com/kitsiosk/cppcheck/tree/set_custom_timeout_in_ci
Conversation 11 https://github.com/cppcheck-opensource/cppcheck/pull/7641
Commits 4 https://github.com/cppcheck-opensource/cppcheck/pull/7641/commits
Checks 60 https://github.com/cppcheck-opensource/cppcheck/pull/7641/checks
Files changed https://github.com/cppcheck-opensource/cppcheck/pull/7641/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7641/files
Added custom timeout to ci https://github.com/cppcheck-opensource/cppcheck/pull/7641/files#top
Show all changes 4 commits https://github.com/cppcheck-opensource/cppcheck/pull/7641/files
4883d14 Added custom timeout to ci kitsiosk Jul 2, 2025 https://github.com/cppcheck-opensource/cppcheck/pull/7641/commits/4883d1490e79ecee423a06444ada5cdc0ae53e74
3c460fc Typo fix kitsiosk Jul 3, 2025 https://github.com/cppcheck-opensource/cppcheck/pull/7641/commits/3c460fcadd03f6671bab5f84f6a6da759308126e
96f412d Commented out changes as a sanity check for the CI failures kitsiosk Jul 9, 2025 https://github.com/cppcheck-opensource/cppcheck/pull/7641/commits/96f412d78569937e441093b5640aa57e4434018b
2c11ca2 Added timeout again to see if build passes kitsiosk Jul 10, 2025 https://github.com/cppcheck-opensource/cppcheck/pull/7641/commits/2c11ca2ff65494b5a4c4227e0e8a29f6bbeb412a
Clear filters https://github.com/cppcheck-opensource/cppcheck/pull/7641/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7641/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7641/files
.github/workflows/CI-mingw.ymlhttps://github.com/cppcheck-opensource/cppcheck/pull/7641/files#diff-33fa3b32a40d97551db4b3d504019c02e25a9e7a45daf75804b6954650eabe64
View file https://github.com/kitsiosk/cppcheck/blob/2c11ca2ff65494b5a4c4227e0e8a29f6bbeb412a/.github/workflows/CI-mingw.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/7641/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/7641/files#diff-33fa3b32a40d97551db4b3d504019c02e25a9e7a45daf75804b6954650eabe64
https://github.com/cppcheck-opensource/cppcheck/pull/7641/files#diff-33fa3b32a40d97551db4b3d504019c02e25a9e7a45daf75804b6954650eabe64
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.