Replies: 1 comment 3 replies
-
I wondering if we should consider all the problems that people face with sesman or should focus only the most common ones - e.g. the lack of way to set an active session manually (and suppress the session inference) or the lack of a way to set a "fallback" session if none of the current sessions matches the inference logic (this was causing issues when browsing source code before the introduction of "friendly" sessions). The performance aspect of I'm just concerned that a full redesign might turn out to be a very long process - sesman itself took forever to develop. So, I'd rather start small and take out the big guns only if there's a strong justification to do so. A list of known sesman-related issues can be found here. |
Beta Was this translation helpful? Give feedback.
-
Context
Sesman-related functionality has some acknowledged complexities, nuisances and limitations.
We're considering inlining this library (which is generic) and evolving it freely to fit CIDER needs more tightly.
A total rewrite is not out of the equation, although it wouldn't be wise not to give forking a good try.
Proposal
Discuss beforehand what do we want from a connection manager. Ideally we could come up with a spec that can be translated to a set of unit tests, that can be clearly understood as documentation of the intended behavior.
Design constraints
A good solution should support the following features/scenarios:
(cider-current-repl)
can be invoked in unsuspected places powering all sorts of interactive widgets / functionality.:cljs/quit
a no-op, so a cljs repl would always be a cljs repl.Beta Was this translation helpful? Give feedback.
All reactions