-
Notifications
You must be signed in to change notification settings - Fork 1
Remove proxy feature #501
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
Remove proxy feature #501
Conversation
Co-authored-by: kjy5 <82800265+kjy5@users.noreply.github.com>
Co-authored-by: kjy5 <82800265+kjy5@users.noreply.github.com>
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.
Pull request overview
This PR removes the deprecated proxy feature from Ephys Link, eliminating the ability to run the server as a proxy client. The changes simplify the codebase by removing proxy-related configuration options, initialization logic, event handlers, and associated tests.
- Removed proxy-related CLI arguments (
--use-proxy,--proxy-address) and GUI fields - Simplified server initialization to only support direct server mode (removed proxy client logic)
- Removed proxy-related event handler (
get_pinpoint_id) and associated constants - Updated tests and documentation to reflect the removal of proxy functionality
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/back_end/test_server.py | Removed proxy client tests and unused imports; simplified server fixture initialization |
| src/ephys_link/utils/constants.py | Removed proxy-related error constants (SERVER_NOT_INITIALIZED_ERROR, PROXY_CLIENT_NOT_INITIALIZED_ERROR) |
| src/ephys_link/front_end/gui.py | Removed proxy-related GUI fields (use_proxy checkbox, proxy_address entry) and adjusted grid layout |
| src/ephys_link/front_end/cli.py | Removed proxy-related CLI arguments (--use-proxy, --proxy-address) |
| src/ephys_link/back_end/server.py | Simplified server initialization by removing proxy client logic, AsyncClient imports, and pinpoint_id generation |
| docs/development/socketio_api.md | Removed documentation for the deprecated get_pinpoint_id event |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Brief summary of changes
get_pinpoint_idSocket.IO event--use-proxy,--proxy-addressNotes
Server now only operates in direct mode. The
use_proxyandproxy_addressfields remain inEphysLinkOptions(external dependency) but are ignored. Net -225 LOC.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.