Skip to content
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

Zeus randomly does nothing #605

Open
justuseapen opened this issue Oct 7, 2016 · 5 comments
Open

Zeus randomly does nothing #605

justuseapen opened this issue Oct 7, 2016 · 5 comments

Comments

@justuseapen
Copy link

justuseapen commented Oct 7, 2016

Description of Problem

Running zeus rake commands do nothing n% of the time.

Like so:
➜ socialite git:(master) ✗ zeus rake routes
➜ socialite git:(master) ✗ zeus rake routes
➜ socialite git:(master) ✗ zeus rake routes
Prefix Verb URI Pattern Controller#Action
new_user_session GET /users/sign_in(.:format) sessions#new
user_session POST /users/sign_in(.:format) sessions#create

System details

  • uname -a:

Darwin Justuss-MacBook-Air.local 15.6.0 Darwin Kernel Version 15.6.0: Mon Aug 29 20:21:34 PDT 2016; root:xnu-3248.60.11~1/RELEASE_X86_64 x86_64

  • ruby -v:

ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]

  • go version: (only if hacking on the go code)

n/a

Steps to Reproduce

  1. zeus start in an existing rails project

  2. zeus rake db:migrate or zeus rake routes or any other zeus rake command

Observed Behavior

  • Sometimes it does what you'd expect. Sometimes it does nothing. Sometimes it does the operation with no outputs so you find out when you do it again and it says "db already exists" or something similar.

Expected Behavior

  • Command runs, output confirms.

I also made a question on Stack Overflow addressing this issue: http://stackoverflow.com/questions/39914176/why-does-zeus-do-nothing-randomly

@sideshowcoder
Copy link
Collaborator

I wonder if this might get fixed by #615 as there might have been some setup issues with the outputs. I'll get a build ready asap for you to try out.

sideshowcoder added a commit that referenced this issue Jan 17, 2017
It seems like there is a problem with fsevents when dealing with a large amount
of files on OSX sierra this added test fails reliably on mac Macbook Pro, with
the error

```
2017-01-17 22:52 filemonitor.test[69205] (FSEvents.framework)
FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc()
=> (null) (-22)
```

This more or less reporduces #589 #605 #607 on the basis of this being related
to many files the fix would be to not monitor files individualy on OSX but
rather monitor directories and filter client side, this should reduce the number
of files / directories to be monitored.
@sideshowcoder
Copy link
Collaborator

#615 has been merged into master so potentially try a local built, I will also try to release a dev built to check.

@sideshowcoder
Copy link
Collaborator

There is a new release 0.15.13.pre please try it out 😄

@nisavid
Copy link

nisavid commented Jan 23, 2017

I'm still seeing this with 0.15.13.pre. Happens with zeus rake, zeus rspec, and perhaps others. When this happens, the exit code is usually/always 143.

@sideshowcoder
Copy link
Collaborator

Thanks for the comment let's continue debugging then :) was worth a try I guess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants