tw29821365 - adds background option to drush command WIP #40
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Teamwork Ticket(s): https://kanopi.teamwork.com/app/tasks/29821365 (for Humane World)
I wrote a cypress test that checks for certain search results, and if it finds none, it clears and reindexes search on the multidev. It essentially works, but because it takes so long to reindex, the test is almost always "failed" even though I can see things are working as I intended.
I asked AI to help me with running the reindex drush command in the background. It advised changing the shrubs drush command as I have done in this PR.
I have tested this in docksal and it works as intended.
I am in the process of testing it on the multidev by pointing composer to this branch.
Acceptance Criteria
Assumptions
multidev, the popup plugin breaks.Steps to Validate
Affected URL
link_to_relevant_multidev_or_test_site
Deploy Notes
Notes regarding deployment of the contained body of work. These should note any
new dependencies, new scripts, etc. This should also include work that needs to be
accomplished post-launch like enabling a plugin.