perf(jetbrains): eliminate fixed waits from session tests - #11343
Merged
Conversation
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (4 files)
Replaces fixed Reviewed by deepseek-v4-pro-20260423 · 271,528 tokens Review guidance: REVIEW.md from base branch |
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
markijbema
enabled auto-merge
June 17, 2026 12:25
marius-kilocode
approved these changes
Jun 17, 2026
NJ-2020
pushed a commit
to NJ-2020/kilocode
that referenced
this pull request
Jul 4, 2026
t7tran
pushed a commit
to t7tran/kilocode
that referenced
this pull request
Aug 14, 2026
t7tran
pushed a commit
to t7tran/kilocode
that referenced
this pull request
Aug 14, 2026
…ynchronization perf(jetbrains): eliminate fixed waits from session tests
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
Replace repeated fixed sleeps in JetBrains session test fixtures with deterministic FIFO coroutine barriers that continue draining the IntelliJ EDT. This preserves real background-thread and Swing behavior while avoiding the 500 ms minimum cost paid by nearly every controller and session UI synchronization point.
Batch header fixture and timeline events where intermediate states are irrelevant, while retaining per-token flush boundaries in the stream deduplication regression test. Test scopes now use dedicated background dispatchers and wait for cancellation before fixture teardown to keep synchronization deterministic and prevent work leaking between tests.