-
-
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
Fix wrong keyvalue store being used for the deploy hook registry #6082
Fix wrong keyvalue store being used for the deploy hook registry #6082
Conversation
LGTM, but what are the ramifications if a D10 site upgrades its Drush to 13, while staying on D10? Past deploy hooks will run? |
Yes, that's what happened to me. |
Sorry I was unclear. If this or goes in, it could negatively affect a site that is only upgrading their drush and not their Drupal. |
No that’s what I meant, I only updated Drush, not Drupal. This is obviously a mistake, no? It used to be deploy_hook, then it was mistakingly(?) changed to post_update, which is a different kind of update hook. |
Yes it's a mistake and you have the right fix. I'm just wondering if we should copy data into the new registry to avoid problems. Or something. |
I can confirm the issue (introduced in f9186d6) and the fix. The only problem I can see here is that this fix would land in a 13.0.x version and might cause issues to people that ran their deploy hooks with 13.0.0 for the first time. I believe we need an upgrade path for this specific use case. |
Yes I think this should be changed as soon as possible. |
I wrote more on slack, I will post it here too so that someone might find it. We merge this and fix drush 13 and release a new version with it.
|
Fixes #6081.