-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
Fix sesman-restart
regression issue with SIGHUP handling in server
#3363
Conversation
Btw, I've noticed that the integration tests are frequently failing in the win and macos builds, and always has to do with networking or bootstrapping issues rather than actual test issues. For example, currently the win 27.2 build has failed while bootstraping eldev for Emacs.
I don't think there is an easy solution for what I consider to be GH runner or network connections issues. Shall we just reduce the version range just to the latest Emacs version (28.2) for macos and win? This will I think reduce the likelihood of the whole integration test run failing, while there will still be the older supported version tested with the ubuntu builds. Thanks |
I'd be OK with retries in CI steps, WDYT? |
Personally I think we are better of reducing the windows/macos builds, we don't get much value out of them given that we also test the same on ubuntu, and the chances that there is a regression in the older maxos/win versions that don't appear in the ubuntu peers is slim. Nevertheless I'll give it a try. |
I've updated test.yml to repeat the integration tests once more in case of failure. Let's see how this goes :) |
(mapc #'cider--close-connection clients) | ||
|
||
;; see https://github.com/clojure-emacs/cider/pull/3333 | ||
(when (string-match-p "^hangup" event) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd be better to explain in comments this behavior, so people don't have to lookup the github issue, but this will do for now.
Hi,
can you please consider fix for
sesman-restart
regression issue. Fixes #3362.It basically restores handling of sighup to close the connections, and add a test to confirm its working.
The mock server has been updated to respond the
eval
andclose
op codes. I've re-jiggled a bit with the log functions in there to make them more useful.Thanks
cc @chopptimus
Before submitting the PR make sure the following things have been done (and denote this
by checking the relevant checkboxes):
eldev test
)eldev lint
) which is based onelisp-lint
and includescheckdoc
, check-declare, packaging metadata, indentation, and trailing whitespace checks.If you're just starting out to hack on CIDER you might find this section of its
manual extremely useful.