Repository navigation
feat(worktrees): show checkout timing when git times out - #1070
Merged
Merged
Conversation
nixuuu
enabled auto-merge (squash)
November 21, 2026 11:54
nixuuu
disabled auto-merge
November 21, 2026 12:06
Report the applied checkout limit and measured time at the interruption request. Preserve sanitized refusals for other worker errors. Related: #982
nixuuu
force-pushed
the
feat/worktree-timeout-details
branch
from
November 21, 2026 12:08
92d0bda to
86fa1f0
Compare
nixuuu
enabled auto-merge (squash)
November 21, 2026 12:10
This was referenced Nov 22, 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.
What changed
spawn_thread. The gateway accepts only the fixed timeout wording and numeric durations forspawn_thread. Unmeasured timeouts, output limits, other Git errors and worker RPC deadlines keep their existing messages.Thanks @janek-normalnie for reporting the interrupted Windows checkout and suggesting both values.
Related: #982
Verification
86fa1f0685dedbc1871251fb1d70ebdc923ba288: 53 tests passed withcheck:tmpacross process governor, worktree creation failures, worktree automation, thread creation progress and worktrees. This covers 1.5 s and 3.5 s limits, a deliberately delayed timeout callback, a real checkout timeout through the worker link to the UI stream, saved failure andspawn_thread, redaction and distinct failure messages, and a successful checkout past the old 90-second worker deadline.CreateThreadWithProgressand renders its detail in Show details. Verified the stream and traced the native code path. Manual Android verification was unavailable because device automation could not establish ownership of the emulator.Copy audit
“Git exceeded its time limit.” → “Git timed out after 60.012 s while creating the worktree. The limit was 60 s.” Two short sentences name the operation and the limit. The existing failure instructions and Return to draft action stay available. The detail uses the existing disclosure, worktree terminology and spaced time units. All durations wrap in the checked widths, and no meaning depends on color or icons.