-
Notifications
You must be signed in to change notification settings - Fork 8
perf: replace mocks with real PTY calls in concurrent session scalability test #91
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
Open
ArmaanBawa
wants to merge
22
commits into
luarss:main
Choose a base branch
from
ArmaanBawa:feature/concurrent-session-improvements
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+24
−26
Open
Changes from 14 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
110bf3f
perf: replace mocks with real PTY calls in concurrent session scalabi…
ArmaanBawa 4fbd77b
fix: allow bash command in concurrent session tests
ArmaanBawa 54803b1
fix: remove bash from allowed commands, use openroad PTY directly
ArmaanBawa dfc76cb
fix: capture gather results and assert output content + session binding
ArmaanBawa 7057e8b
fix: save and restore singleton max_sessions to prevent test leakage
ArmaanBawa 4deb00b
fix: add missing os import in test_memory_monitoring.py
ArmaanBawa a8f124b
fix: add missing os import in test_benchmarks.py
ArmaanBawa d8ae872
fix: remove duplicate os import inside test_memory_usage_profiling
ArmaanBawa 327362c
fix: use TCL puts hello instead of bash echo in concurrent session test
ArmaanBawa 56459a8
fix: remove unused configure_allowed_commands fixture and os import
ArmaanBawa f1c6843
fix: change max_sessions override from 60 to 50 to match test concurr…
ArmaanBawa 2f453b3
fix: drain startup banner before asserting command output in perf test
ArmaanBawa d881c52
Update tests/performance/test_benchmarks.py
luarss 6505053
Update tests/performance/test_benchmarks.py
luarss cc1c5f4
fix: replace flaky sleep-based banner drain with sentinel command
ArmaanBawa 2eb9289
fix: retry sentinel until __ready__ confirmed in output
ArmaanBawa c506523
fix: retry puts hello directly to drain stale banner/sentinel output
ArmaanBawa cc98397
fix: sync test_benchmarks.py with main (add _max_sessions override + …
ArmaanBawa 353457d
refactor: remove redundant max_sessions=50 override in perf test
ArmaanBawa 3973c85
fix: drain output buffer before sending command to fix stale output bug
ArmaanBawa fa3fcfb
fix: wait for startup banner before returning from create_session
ArmaanBawa 0bb7642
fix: revert wait_for_data in _start_background_tasks
ArmaanBawa 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is flaky. can you do this differently?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed sleep can also drain the real "hello" from the buffer.