Skip to content

fix: increase default timeout #5726

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 17, 2025
Merged

fix: increase default timeout #5726

merged 1 commit into from
Apr 17, 2025

Conversation

caarlos0
Copy link
Member

I think 30m is not enough for most big-enough projects these days, especially considering Rust builds are slower.

IMHO it's fine to increase to 1hr.

I think 30m is not enough for most big-enough projects these days,
especially considering Rust builds are slower.

IMHO it's fine to increase to 1hr.
@caarlos0 caarlos0 self-assigned this Apr 16, 2025
@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Apr 16, 2025
@caarlos0 caarlos0 added the enhancement New feature or request label Apr 16, 2025
@caarlos0 caarlos0 requested a review from Copilot April 16, 2025 13:37
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR increases the default timeout value from 30 minutes to 1 hour for both the release and build processes to better accommodate longer build times.

  • Updated release command timeout in cmd/release.go
  • Updated build command timeout in cmd/build.go

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
cmd/release.go Changed timeout from 30 minutes to 1 hour for the release process
cmd/build.go Changed timeout from 30 minutes to 1 hour for the build process

Copy link

Deploying goreleaser with  Cloudflare Pages  Cloudflare Pages

Latest commit: 46931f0
Status: ✅  Deploy successful!
Preview URL: https://94aa8953.goreleaser.pages.dev
Branch Preview URL: https://timeout.goreleaser.pages.dev

View logs

Copy link

codecov bot commented Apr 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.94%. Comparing base (1104dca) to head (46931f0).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5726   +/-   ##
=======================================
  Coverage   82.94%   82.94%           
=======================================
  Files         160      160           
  Lines       15771    15771           
=======================================
  Hits        13081    13081           
  Misses       2124     2124           
  Partials      566      566           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@caarlos0 caarlos0 merged commit 7cb5130 into main Apr 17, 2025
18 checks passed
@caarlos0 caarlos0 deleted the timeout branch April 17, 2025 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant