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

Set fail_on_hook_faiL: true, fixes #65 #77

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rfay
Copy link
Member

@rfay rfay commented Dec 9, 2022

DDEV's default these days is not to fail ddev start if a hook fails, but that doesn't seem quite right in the case of this add-on, where lots of complex things happen (imported from the platform hooks) and hidden failures can cause incomprehensible behavior.

This is an experiment at this point, but I think we should consider it. It will be interesting to see what tests it breaks.

@rfay
Copy link
Member Author

rfay commented Dec 9, 2022

6 of the 10 tests fail :(

@rfay
Copy link
Member Author

rfay commented Mar 11, 2023

This may be able to pass tests, but probably not until we load databases for all of them. For example, the Drupal hooks provided by platform require drush to run successfully, and it can't run without a database.

@rfay rfay force-pushed the 20221209_fail_on_hook_fail branch from 74eb139 to 33a01e6 Compare August 25, 2023 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant