Skip to content

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
@rfay rfay marked this pull request as draft April 25, 2025 21:30
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