Repository navigation
TD-5230: the packaged app's ring and cursors survive the helper's slow start - #116
Merged
Merged
Conversation
…w start In the packaged Mac app the overlay helper is the frozen tstd, which unpacks itself before Python starts; its first ack took 2.4 to 5.4 s on a Mac. The sidecar waited 1 s and then switched the overlay off for the life of the process, so the packaged app often showed no ring and no agent cursor at all. The source build's helper starts in well under a second, which is why only the packaged app showed it. Found in the TD-5227 live check. The first command after a spawn is now a hide probe allowed 15 s; later commands keep the 1 s budget. The server starts the helper in a background thread at launch, so the agent's first action rarely waits. Test children of the server run with the overlay off so no test opens windows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HUthoCdmzg2hy89ssk2cSF
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
In the packaged Mac app the overlay helper is the frozen
tstd --cu-overlay, which unpacks itself before Python starts. Its first ack took 2.4 to 5.4 s on a Mac, but the sidecar waited 1 s and then switched the overlay off for the rest of the process. So the packaged app often had no ring and no agent cursor at all; the source build never shows this because its helper starts in well under a second.hideprobe allowed 15 s; later commands keep the 1 s budget, and any failure still degrades quietly.TST_CU_MCP_OVERLAY=0, so no test opens windows now that the server starts the helper at launch.Found in the TD-5227 live check on the packaged build: an episode opened right after the sidecar started took 1.46 s and left no helper running. DECISIONS.md entry added.
Tests
DarwinBackendhas nohit_test) fail the same on main. mypy: the same 4 errors as main.🤖 Generated with Claude Code
https://claude.ai/code/session_01HUthoCdmzg2hy89ssk2cSF