Upgrade to Josh r26.05.08#48
Conversation
a8a3926 to
28f8cdb
Compare
| .into_owned() | ||
| }) | ||
| .into_owned() | ||
| } |
There was a problem hiding this comment.
This looks plausible but having a test that calls this function on a few representative inputs would probably still be a good idea.
|
I tried a "pull" sync on Miri with this and got an error: |
This is a first upgrade step that sets backward compatibility options. The adaption to new behaviour can be done in a later step. Since setting the options for the filter requires quotes in the filter, this also changes URL construction to always encode special characters using urlencode. This is safer anyway. Change: upgrade-josh
28f8cdb to
50f9e96
Compare
|
The quoted strings in the url where the problem. Fixed it by always encoding the filter using urlencode. |
This comment was marked as outdated.
This comment was marked as outdated.
|
Never mind I compiled the wrong version of this PR.^^ |
|
I'm still getting "I have to kill josh-proxy the hard way, let's hope this does not break anything", which I don't think I got before. It seems like stopping josh-proxy does not work any more the way it used to work? What we do is we send SIGINT, wait 100ms, and then see if the process is gone. If it is not, we send SIGKILL and emit this message. Other than that, I did a "pull" which worked (but there were no changes so this is not a full test). The resulting PR looks reasonable. |
|
I can reproduce the shutdown problems outside of the sync tool: when I run and then wait a bit and do Ctrl-C, all I get is but it keeps running. I can hit Ctrl-C as often as I want, nothing happens. |
|
Sending SIGTERM instead seems to work. But I don't know whether that leads to a clean shutdown -- there's no |
|
I think SIGTERM is also fine. One good thing about how the git odb works is that it does not get corrupted by something like that. |
|
It still seems like a bug that josh-proxy apparently receives the Ctrl-C and tries to shut down... but then doesn't actually quit. |
True. josh-project/josh#2004 |
Hm, strange. It should be faster, not slower. Will investigate what's going on. |
|
According to our tests, miri push perf should be vastly better with |
This is a first upgrade step that sets backward compatibility options. The adaption to new behaviour can be done in a later step.
Change: upgrade-josh