-
Notifications
You must be signed in to change notification settings - Fork 896
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 non rails worker starting on podified #23116
Fix non rails worker starting on podified #23116
Conversation
@agrare Is this ready? (I still see WIP comment in the OP, so I wasn't sure) |
@jrafanie Please also review. |
Yeah I added the specs mentioned in the description |
@agrare When we discussed, we talked about maybe treating all workers like non-rails workers, and removing the logic from run_single_worker. Is that a future thing and this is tactical, or did you go in a different direction? |
I found this issue while working on that, I have another PR that is built on this. |
Hm the spec failures are green locally, wonder if something in another plugin broke master |
That's very weird, I just restarted this without changing any commits and it is green now 🤷 |
f730cac
to
ed8d21a
Compare
Checked commits agrare/manageiq@281736e~...ed8d21a with ruby 3.1.5, rubocop 1.56.3, haml-lint 0.51.0, and yamllint |
LGTM - would like another set of eyes - @jrafanie ? |
LGTM, just a minor question above. |
The current_pods Concurrent::Hash doesn't have the full pod object so we have to move the logic for checking if a pod is running down into save_pod
WIP pending tests covering more of these methods specifically sync_starting_workersDependents: