-
Notifications
You must be signed in to change notification settings - Fork 179
Use new session exec in test and refresh middleware #590
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
Conversation
Nicely done! Btw, probably we should document the usage of interruptible eval, so people would know it’s there mostly so that the ops can be interrupted. (I know recently there was some confusion about why it was used in the test middleware) As I’m without a computer for the next couple of months I’ve given you permissions to push nREPL updates to Clojars as well (I don’t recall if we published builds automatically or not). |
0072c67
to
037a989
Compare
Updated for the new print middleware. Now waiting on nrepl/nrepl#128 and releases of nREPL and Piggieback. I'll start looking at the client changes soon (I think it should just be renaming
I will update the docs and changelog for this. Just leaving a note here to remind myself. |
4d0f04c
to
506fd45
Compare
Codecov Report
@@ Coverage Diff @@
## master #590 +/- ##
==========================================
- Coverage 76.9% 76.76% -0.14%
==========================================
Files 38 37 -1
Lines 2386 2376 -10
Branches 137 128 -9
==========================================
- Hits 1835 1824 -11
- Misses 414 424 +10
+ Partials 137 128 -9
Continue to review full report at Codecov.
|
5259c41
to
c977f76
Compare
The bindings map is no longer reliably updated due to changes in nREPL – it is now possible for the inspector state to be overwritten if we use it. Use the session's metadata instead (as the session middleware itself does).
Currently if analyze-causes throws an exception, the stacktrace makes it hard to identify the cause. Compute results eagerly so the offending caller can be tracked down.
6285c08
to
26a7746
Compare
Pending 0.6.0 release of nREPL – piggieback will also need updating to fix the build. I will take a look at that.
Fixes #581.