Skip to content

Shut down help proxy when help comm drops#1285

Merged
lionel- merged 1 commit into
mainfrom
task/help-proxy-lifecycle
Jul 6, 2026
Merged

Shut down help proxy when help comm drops#1285
lionel- merged 1 commit into
mainfrom
task/help-proxy-lifecycle

Conversation

@lionel-

@lionel- lionel- commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Branched from #1284

While working on that PR I noticed that we never shut down the proxy server when the Help comm is tore down. If we start a new one, we'd pile up a new proxy.

This is theoretical because Help is one of the comms that the frontend reuses on refresh/reload (unlike the UI comm). But it still seems nice to handle the shutdown path properly. Covered by a new test.

@lionel- lionel- requested a review from thomasp85 June 23, 2026 10:21

@thomasp85 thomasp85 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM - it feels like a pretty clean fix to a non-issue (but issue none-the-less)

@lionel- lionel- force-pushed the task/help-proxy-lifecycle branch from ca25739 to 415f057 Compare July 6, 2026 10:01
@lionel- lionel- force-pushed the task/sync-help-comm branch from 01b14a1 to b6b06b6 Compare July 6, 2026 10:01
@lionel- lionel- force-pushed the task/help-proxy-lifecycle branch from 415f057 to c3f3578 Compare July 6, 2026 10:23
@lionel- lionel- force-pushed the task/sync-help-comm branch 2 times, most recently from 660d83b to d90d95f Compare July 6, 2026 10:26
@lionel- lionel- force-pushed the task/help-proxy-lifecycle branch 2 times, most recently from 929e8c2 to 6d33b3b Compare July 6, 2026 11:49
Base automatically changed from task/sync-help-comm to main July 6, 2026 12:06
@lionel- lionel- force-pushed the task/help-proxy-lifecycle branch from 6d33b3b to 775190e Compare July 6, 2026 12:06
lionel- added a commit to posit-dev/positron that referenced this pull request Jul 6, 2026
@lionel- lionel- merged commit 6618e9a into main Jul 6, 2026
16 of 17 checks passed
@lionel- lionel- deleted the task/help-proxy-lifecycle branch July 6, 2026 12:10
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants