Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 23, 2025

Brief summary of changes

  • Removed proxy server functionality (server acting as client to remote proxy)
  • Removed get_pinpoint_id Socket.IO event
  • Removed CLI flags: --use-proxy, --proxy-address
  • Removed GUI fields for proxy configuration
  • Simplified server initialization to local-only mode

Notes

Server now only operates in direct mode. The use_proxy and proxy_address fields remain in EphysLinkOptions (external dependency) but are ignored. Net -225 LOC.

Original prompt

This section details on the original issue you should resolve

<issue_title>Remove Proxy</issue_title>
<issue_description>No longer supported feature. Remove all code that activates a proxy server, meaning the server is a client type instead of a server type. Remote events for checking a proxy or pinpoint id for validating a proxy connection. Remove any CLI and GUI options to enable to proxy feature. Update docs to remove discussion of the proxy feature. </issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits December 23, 2025 01:27
Co-authored-by: kjy5 <82800265+kjy5@users.noreply.github.com>
Co-authored-by: kjy5 <82800265+kjy5@users.noreply.github.com>
@kjy5 kjy5 marked this pull request as ready for review December 23, 2025 01:31
Copilot AI review requested due to automatic review settings December 23, 2025 01:31
Copilot AI changed the title [WIP] Remove deprecated proxy feature and related options Remove proxy feature Dec 23, 2025
Copilot AI requested a review from kjy5 December 23, 2025 01:33
Copy link
Contributor

Copilot AI left a 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.

@kjy5 kjy5 enabled auto-merge (squash) December 24, 2025 00:57
@kjy5 kjy5 merged commit 609e248 into main Dec 24, 2025
6 checks passed
@kjy5 kjy5 deleted the copilot/remove-proxy-feature branch December 24, 2025 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove Proxy

2 participants