Repository navigation
fix: A request that Unity keeps answering busy no longer brings the Editor to the front - #3231
Merged
hatayama merged 3 commits intoOct 7, 2026
Conversation
The busy-stall focus rescued a backgrounded Editor that macOS might have suspended. ADR 0012 has the running command hold the activity, so a busy Editor is a working one and bringing it to the front only interrupts the user. This test is Red until the hook is removed.
The busy-stall focus brought a backgrounded Editor to the front in case macOS had suspended it and the running command could not finish. The running command now holds a macOS activity (ADR 0012), so a busy Editor is a working one. The bounded resend and the BUSY error at the end of the window stay: busy still means the request never ran.
Contributor
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing (4)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
hatayama
merged commit Oct 7, 2026
ee6cc4b
into
feature/hot-reload-large-project-feedback-3
3 of 4 checks passed
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
server_busybecause another command is running, the CLI no longer brings the Editor to the front after five seconds. It keeps resending once a second within the 10-second window and returns the BUSY error when the window runs out, as before.Why
Changes
busy_stallfocus reason, its threshold, and the override for tests are removed.returnBusyWithoutRetryand on the hot reload busy wait no longer mention the busy-stall focus.TestSendWithTransientConnectionRetryNeverFocusesWhileBusy).busy_stallonly as an example reason; they now usepre_accept_timeout, including the expected reason in the vibe log.Input space
returnBusyWithoutRetryTestSendWithTransientConnectionRetryRetriesBusyResponsesTestSendWithTransientConnectionRetryNeverFocusesWhileBusyTestSendWithTransientConnectionRetryReturnsBusyAfterRetryWindow,...KeepsBusyBoundedByBaseWindowTestSendWithTransientConnectionRetrySurfacesDispatchedFailureAfterBusyTestSendWithTransientConnectionRetryReturnsTheFirstBusyAnswerWhenAskedctx.Err()finishBusyRetryis unchanged)Verification
Run in
cli/project-runner:gofmt -l .: empty.go vet ./...: clean.golangci-lint run ./...: 0 issues.go test ./... -count=1 -skip TestSendWithTransientConnectionRetryAbortsOnRefusedConnect: ok. The skipped test binds a Unix socket, which the local sandbox denies; it is unrelated to this change.internal/projectrunner: 95.5% (baseline 95.2).scripts/check-file-length.sh: no findings.busy_stallreason on every busy answerTestSendWithTransientConnectionRetryNeverFocusesWhileBusyTestSendWithTransientConnectionRetryRetriesBusyResponsesfinal_response_timeoutwhen the busy window runs outTestSendWithTransientConnectionRetryNeverFocusesWhileBusyThis pull request targets an integration branch, so the pull request CI does not run on it; the checks above were run locally.
Not changed
returnBusyWithoutRetry, which hot reload uses.undispatched_connection_failure,pre_accept_timeout,main_thread_stall,heartbeat_silence_timeout,final_response_timeout.