-
Notifications
You must be signed in to change notification settings - Fork 39
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
RFE: Provider PRs with main repo PR dependency alert gitter channel #357
Comments
Personally I just assume I should be running the bleeding edge of everything to expect things to work. Given that we version nothing (because Git-based gems are all the rage in ManageIQland), the only real expectation one can have is that the current tip of every project aligns properly. I feel like labeling and notifying about every little thing that could cause an incompatibility between our provider repos, schema, UI, API, etc etc etc will just become such a common occurrence that it will become noise that everyone will ignore eventually anyway. Such is a consequence of our [current] architecture, for now. I'm not against doing this, I just don't think it'll be worth our time. If others think it will be, great! |
So just to be clear, this RFE was spawned from me not reporting, but responding to a report of an error: https://gitter.im/ManageIQ/manageiq?at=59a883a5bac826f054693a00 I admit, I didn't actually say who the target audience was, or rather who would benefit the most, in my PR description (but those who hate reading my 📚 probably appreciate that I didn't). That said, this was more of a selfish suggestion than an altruistic one. Mostly, that I wouldn't have to be dealing with trying to solve this for someone else, especially when the answer is so simple. I say simple, but not obviously unless you are either: a) fully up to date and don't happen to be working on something for a long period of time (I do on a frequent basis for performance issues for example) The only way I personally was able to determine the cause is I was able to also reproduce it myself, which provided me with a stacktrace with more context, specifically pointing to a file in the openstack provider. From there, that raised a red flag that I should check for recent changes in the openstack provider repo. I thankfully found the PR near the top, but it lacked any description, and I barely noticed the dependency on a core change until I looked again and saw it in the comments.
While this may be your expectation, I don't think this is a common expectation, especially from anyone outside of the organization. If I We can also solve this by printing "hey, you are out of date with Yes, this in most cases will be noise, but it will hit the largest audience this way and will make sure both parties (the reporter and responder) are aware of any relevant changes. Mean that in most cases, one of the two will probably happen:
|
I think this would create enough noise that I would disable notifications for any Gitter rooms these messages are sent to.. 😟 Maybe |
Yeah, |
What @jrafanie said. |
Trying to understand the core issue, it sounds like you're saying that you have "oldish" code in the main repo, but you happen to pull in "new" code from the other repos? If so, yeah, that's one of the downsides to splitting things up. I agree with @bdunne that a comment in the gitter channel would just be noise that's ignored...for example, does anyone even notice the activity bar on the right side anymore? I am for @jrafanie's idea in a way... Make ManageIQ/manageiq's bin/update print out a nice red warning (blinking? 🤔) that your branch is not up to date with master and recommend that you rebase against it. From the other perspective, in the bin/update files of the plugin repos, where it sees you are using a symlinked spec/manageiq directory, that can print out a nice red warning that the spec/manageiw is not up to date with master. |
@NickLaMuro I'm going to close this issue and reopen it on manageiq itself, since it's not bot related (since it's morphed into not using the bot for notifications). |
Opened ManageIQ/manageiq#15926 |
Scenario
I am a developer minding my own business when the following are merged without my knowledge:
I decide I need to run
bin/update
for some reason (maybe I clobbered my assets, or want a fresh DB). Halfway through, I get the following error:This occurred because
bin/update
inManageIQ/manageiq
will runbundle update
, updating themanageiq-providers-openstack
gem, but not the dependency in the main repo.Proposal
This scenario is not so uncommon with how many git gems ManageIQ now employs. A one way to simply avoid this confusion is to post a message in the chat when the provider PR is merged, with contents similar to the following:
Triggering this message could be based off a
pending core
label existing on the provider PR, but possibly a more elegant solution could be thought up (something in this case wasn't even present on the provider PR).The text was updated successfully, but these errors were encountered: