fix(cloud-agent): bump CLI to 7.4.20 and default bash timeout to 4m - #5072
Merged
Merged
Conversation
Ship the Kilo signal-settlement fix and keep stalled shell tools inside the 330s wrapper no-output deadline so saturated cgroup workloads fail recoverably instead of as wrapper_error_after_activity.
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Executive SummaryReviewed the CLI 7.4.20 bump and Files Reviewed (16 files)
Reviewed by kimi-k3 · Input: 70.3K · Output: 10.5K · Cached: 732.2K Review guidance: REVIEW.md from base branch |
jeanduplessis
approved these changes
Aug 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cloud Agent sessions were dying during heavy commands (like
pnpm typecheck) with a generic wrapper failure, even though the sandbox was still alive.This PR fixes two things that caused that:
Also adds a small env passthrough so the default timeout can be overridden from Worker config if needed.
What we found
We reproduced the failure on a test Worker with a clean checkout of this monorepo:
So there were two separate issues:
This does not make a full monorepo typecheck fit in 6 GB — that still needs more memory. It makes failures visible and recoverable instead of taking down the session.
Test plan
cloud-agent-next-evgeny-test)kilo --versionis 7.4.20 on that deploymentkill -KILL $$) returns exit 137 immediately; agent runs a follow-up command