Repository navigation
Fix context-menu spacing and position beside Mist - #10
Merged
Merged
Conversation
added 2 commits
October 8, 2026 15:18
Anchor the menu beside the orb and reserve enough viewport space to avoid the pointer-positioned popup covering it. Preserve the orb screen position and existing menu actions. Add rendered layout regressions for row spacing, clipping, and non-overlap at idle and speaking sizes. The updated local preview was visually accepted by the user.
The Linux CI failure timed the observer thread, not just pause delivery. Reproduce the false failure with a delayed observer and CPU-limited Linux stress. Verify a real SIGSTOP before an injected visual wait expires, including child reaping, while production keeps its 40 ms sampling interval. The test rejects a sleep/polling negative control. No timing threshold, quality policy, or CI/security gate is loosened.
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
Validation
Linux CI failure diagnosis
The unchanged pause test failed in the initial PR CI run because its 20 ms assertion measured the observer thread's wall-clock scheduling as well as pause delivery. A Linux trace reproduced SIGSTOP being requested in about 0.1 ms but observed about 95 ms later. A deliberate 50 ms observer delay reproduced the same false failure without CPU contention. Rust's condition-variable documentation warns against using waits for precise timing under preemption.
The regression now checks the actual contract: a real player process must stop before an injected visual-sampling wait expires. The 2-second process-stop watchdog is shorter than the 5-second test interval, so a monitor that merely polls or sleeps until the next visual tick cannot pass. It also checks cancellation reaps the child. Production still supplies the same 40 ms interval; the controller's notification/synchronization logic and native pause signals are unchanged. This replaces an invalid timing oracle rather than increasing its millisecond cutoff.
Scope
Menu layout plus a scheduler-independent regression test for the pre-existing Linux CI pause-test failure. Existing menu actions, speech, and permission behavior are unchanged. This PR does not change the version or replace any published release.