Skip to content

Store the jack-in server's port as a string - #4229

Merged
bbatsov merged 1 commit into
masterfrom
jack-in-port-string
Nov 11, 2026
Merged

bbatsov merged 1 commit into
masterfrom
jack-in-port-string

Conversation

@bbatsov

@bbatsov bbatsov commented Nov 10, 2026

Copy link
Copy Markdown
Member

The rest of #4180: the server filter still kept the port a jack-in server prints as a number, and the server's params win when a session's are gathered, so cider-connect to a jacked-in port never found the session that was already there.

The server filter turned the printed port into a number, and so did the
lookup of the port a container publishes it on. The server's params win
when a session's params are gathered, so a jacked-in session never
matched the string port cider-connect stores, and connecting to it again
gave no warning about the session that already exists.

The number was only ever formatted back into a docker/podman argument or
a candidate string, so the matches now just stay strings.
@bbatsov
bbatsov force-pushed the jack-in-port-string branch from 7ca0dfe to 324ac87 Compare November 11, 2026 07:12
@bbatsov
bbatsov merged commit 4a907d3 into master Nov 11, 2026
17 checks passed
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.

1 participant