Skip to content

fix(cli): increase default deploy/push timeout from 15m to 1h#312

Merged
drappier-charles merged 2 commits into
mainfrom
devin/1780000717-deploy-idle-timeout
May 29, 2026
Merged

fix(cli): increase default deploy/push timeout from 15m to 1h#312
drappier-charles merged 2 commits into
mainfrom
devin/1780000717-deploy-idle-timeout

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot commented May 28, 2026

Summary

Increases the default timeout for bl deploy and bl push from 15 minutes to 1 hour. The 15-minute default was too short for long-running builds, causing false timeout failures even when deployments would eventually succeed.

Changes:

  • cli/monitor/logs.go: DefaultBuildTimeout constant changed from 15 * time.Minute to 1 * time.Hour
  • cli/deploy.go and cli/push.go: --timeout flag help text updated to reflect new default

Fixes ENG-2691

Review & Testing Checklist for Human

  • Deploy a resource that previously timed out at 15m and confirm it now completes successfully

Notes

  • The --timeout flag still works as before for users who want a custom value
  • Additional resources in .blaxel/ retain their own 10m default (unchanged)

Link to Devin session: https://app.devin.ai/sessions/cc633686568a4dfb9e8ed7010d09e5f2
Requested by: @Joffref


Note

Converts absolute 15-minute timeouts in bl deploy and bl push to activity-based idle timeouts, then increases the default from 15m to 1h. The idle timer resets on status transitions and incoming build log entries.

Written by Mendral for commit 119a6f1.

…d idle timeouts

The 15-minute timeout on bl deploy and bl push was an absolute timer that
fired regardless of whether the build was actively making progress. This
caused false timeout failures for long-running but healthy builds.

Changes:
- deploy.go: Replace time.After with activity-tracking in both
  deployResourceInteractive and deployAdditionalResource. The idle timer
  resets on status changes and incoming build log entries.
- push.go: Same activity-based idle timeout for watchBuildLogsNonInteractive.
- Update --timeout flag descriptions to clarify idle behavior.
- Error messages now say 'no progress detected for <duration>' instead of
  'deployment timed out after <duration>'.

Fixes ENG-2691

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI' or '@devin'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

mendral-app[bot]

This comment was marked as outdated.

@drappier-charles drappier-charles self-requested a review May 29, 2026 17:26
The 15-minute default timeout on bl deploy and bl push was too short for
long-running builds. Increase to 1 hour.

Fixes ENG-2691

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration devin-ai-integration Bot changed the title fix(cli): convert deploy/push timeouts from absolute to activity-based idle timeouts fix(cli): increase default deploy/push timeout from 15m to 1h May 29, 2026
Copy link
Copy Markdown
Contributor

@mendral-app mendral-app Bot left a comment

Choose a reason for hiding this comment

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

LGTM

The follow-up commit is a straightforward default value bump from 15m to 1h across DefaultBuildTimeout, the --timeout flag descriptions, and the inline comment — no logic changes. No new issues introduced.

Tag @mendral-app with feedback or questions. View session

@drappier-charles drappier-charles merged commit 15a5927 into main May 29, 2026
6 of 7 checks passed
@drappier-charles drappier-charles deleted the devin/1780000717-deploy-idle-timeout branch May 29, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants