Repository navigation
Tests: start with hidden window, stable cancellation test - #27
Merged
Merged
Conversation
added 2 commits
November 23, 2026 05:27
The cancellation spec slept 50 ms then cancelled. When Dio had not yet reached the transport (cold first case, Anthropic, machine under load), the cancel stopped the request before it was sent, the fake adapter never saw it, and 'aborted' timed out after 2 s. Cancelling with no delay reproduces it in all four providers. Now the spec cancels once the first chunk has arrived; a second spec pins that a cancel before sending leaves no request open. Proof: 30 runs idle and 15 under a parallel test load, 0 failures (0/45 before too: the flake did not show in loops; mechanism shown by the zero-delay variant, 4/4 timeouts).
The panel's main use is starting a note while another app is in front. Pin that panel start, accepting a suggestion (note linked to the event) and the calendar auto-start each begin recording with the lifecycle set to hidden (framesEnabled false) and no frame ever pumped; the shell only records ShellView.live for when the window shows again. Proof: 3/3 green on current main.
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
Tests only, no production change.
Checked