-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fail Drush Deploy if Database Updates Produce a Diff Against Tracked Configuration (#5389) #5713
Conversation
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.
Nice work! Also needs to go into 12.x first, and test coverage for should be expanded for deploy - that can be a followup.
Could I get permission to push to your branch? Or you can accept my suggestions from the UI. This looks great to me. Lets address those Known Issues and then we can merge this. |
I won't be on my computer much today, but believe I have the permissions adjusted. I'm happy to help with all of the needed adjustments next week, but I won't be around much this weekend. Hopefully I've unblocked things though. 🤞🏼 |
Do we think this can be the default behavior? I would love it to be, but will this change be disruptive to some? |
I think it should only be disruptive when there is a genuine problem. Thus I think it runs always during a deploy. We can add a flag later if a need arises. |
Thank you all for chiming in and pushing this forward. 🙏🏼 I'm hoping to find some time later today to target this to the 12.x branch and improve the logging. Anything else that I should add to this before we consider is ready for a more final review? I might need some help with test coverage too, but I'll take a swing at it. |
Thank you for your great work on this @adamzimmermann . The language (output) around this will be critical to a variety of users understanding why their deployment was blocked, and it strikes me that designing the user feedback will end up being a tangle in and of itself :) |
Closing in favor of #5718. |
Motivation
Known Issues
return
is the preferred way to abort a process here, but figured someone with more knowledge could quickly point me in the right direction.Current State
I tested this locally and it does work though. I added an update hook that simply did this and it failed as expected. ✅