Closed TylerBarnes closed 3 years ago
EMBRACE THE CHAOS!!!
I am able to re-create this in linux locally, and now am seeing no 50x errors or PHP errors from the wordpress docker image, only 200 and 302, which makes me still wonder if i have the network properly configured
@acao you shouldn't get any 50x errors since the preview failure on linux is due to the webhook not being hit. So I'm thinking it's probably still the network 🤔 if we're still totally stuck on this we can put it on hold for a while until we can find someone that's dealt with these cross platform networking issues before. This would be really nice to have but isn't a showstopper.
@TylerBarnes would you like me to update the PR as well? im guessing we want to add the preview suite to github actions? is it just me or is it missing?
@acao I think we're good for now. I disabled the e2e test and added an @todo
there. This is useable as a cli for debugging multi-user preview issues so it's valuable as-is and we can revisit getting it working in CI in the future
ahh i see ok, yes that sounds fine to me!
Sounds good :) thanks for the review and reconciliation @acao!
This CLI is run like
wpgatsby preview swarm --wp-url="http://previewtest.local" --users="./users.json"
. It accepts a list of users from that JSON file and then proceeds to start swarming the WP/Preview instances by repeatedly simultaneously creating new posts and previewing in many different headless chrome windows.