-
Notifications
You must be signed in to change notification settings - Fork 46
fix: await setImmediate in setEnvironment to eliminate race conditions #1575
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+73
−57
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
267956f
Initial plan
Copilot 510a440
Fix flaky integration test: use waitForCondition after setEnvironment
Copilot cf55514
Fix race condition in 'Change event includes old and new values' test
Copilot 8d662de
Remove incomplete GitHub issue URL from test comment
Copilot c91c907
Combine waitForCondition and assert into single blocks, eliminating d…
Copilot b8132b9
Use top-level import for PythonEnvironment instead of inline import()…
Copilot 566c343
Merge branch 'main' into copilot/fix-flaky-integration-test
edvilme 4af5c64
fix: stabilize flaky interpreter selection integration tests
edvilme 90c071d
fix: test functional idempotency instead of event suppression
edvilme dd21d7b
fix: use event-driven settling instead of polling
edvilme faa34f6
fix: convert all setEnvironment waits to event-driven drain handlers
edvilme 3e7759c
fix: remove drain handlers that fail on idempotent sets
edvilme 63d8baa
fix: eliminate event drain race in change event test
edvilme eea39d2
fix: make integration tests fully event-driven with setEnvironmentAnd…
edvilme 0670ce2
fix: drain all event loop ticks and remove polling fallback
edvilme c5a53c7
refactor: use event handler in setEnvironmentAndWait instead of manua…
edvilme 370b5cd
refactor: make setEnvironmentAndWait truly event-driven
edvilme 598b5c9
refactor: add onceEvent emitter for clean event-driven waits
edvilme 122d731
fix: await setImmediate in setEnvironment so events fire before return
edvilme 5e5b8b7
fix: address PR review — guard setImmediate blocks and fix test docs
edvilme File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.