Repository navigation
Conversation
ymichael
deleted the
bb/post-merge-fix-preserve-heartbeat-grace-after-sh-thr_e394yjf4tm
branch
August 25, 2026 02:54
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.
What was wrong
Heartbeat acknowledgement expiry was coupled to the older 60-second system-suspension log heuristic. With the landed 5-second heartbeat and 30-second acknowledgement lease, a heartbeat callback delayed for roughly 31–64 seconds saw the acknowledgement as expired before the delay qualified for suspension grace, so waking a healthy host forced an unnecessary
heartbeat-ack-timeoutreconnect. This is a follow-up to PR #2359.What changed
There are no wire-contract changes, so
HOST_DAEMON_PROTOCOL_VERSIONremains unchanged.How you verified
The new regression failed before the production change with an immediate
(1013, "heartbeat-ack-timeout")reconnect and passed afterward.mainresult: 13 tests passed; 7/7 Turbo tasks successful.Follow-up to #2358 and #2359.