-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
repl: REPL history seems broken in master and v11.2.0 #24385
Comments
I cannot reproduce with v11.1.0. |
cc @antsmartian as per possible cause #22153 backported in v11.2.0. |
@vsemozhetbyt 😢 Yes, thats what caused the regression. My bad. |
@vsemozhetbyt Working on a PR, on the way. Also, I guess we need to tighten our history test cases, as this should have been caught in first place :( :( . |
11.3.0 was a security concerning release, so as per the changelog the fix was not backported yet, |
The fix is on |
PR-URL: nodejs#24843 Refs: nodejs#24385 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
PR-URL: nodejs#24843 Refs: nodejs#24385 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Looks like `clearBufferedCommand` will be called on almost all flows. Hence history was broken. PR-URL: nodejs#24389 Fixes: nodejs#24385 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
PR-URL: nodejs#24843 Refs: nodejs#24385 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
I install node via homebrew on macOS. Can someone please explain how I can get this fix? |
update node |
I have
and I am still getting this behavior. |
Oh, it might be a problem on macOS then, for me on v11.13.0 and linux, the problem doesn't exist anymore (it was fixed since v11.4.0 actually) |
I was having a near breakdown from stress and didn't notice the difference between v11.3.0 and v11.13.0. I had for former version and the issue before upgrading to the later but didn't notice the number change and thought I was on the latter from the start. I then went out and bought a OneWheel to burn off some stress. Thanks for the help though! |
.node_repl_history
.node
..node_repl_history
, there is1
there..node_repl_history
, there is only2
..node_repl_history
, there is only3
.node
..node_repl_history
, there is only3
there.Can anybody reproduce?
The text was updated successfully, but these errors were encountered: