🐛 BUG: Unexplainable behavior with x-dev-env
- worker hangs after first request in GH Actions
#7635
Labels
bug
Something that isn't working
Which Cloudflare product(s) does this pertain to?
Wrangler
What versions are you using?
3.86.0 [Wrangler]
What operating system and version are you using?
Mac Sonoma 14.7.1
Please provide a link to a minimal reproduction
No response
Describe the Bug
We were trying to update
wrangler
for quite a while and here are some very weird problems we've experienced.mcr.microsoft.com/playwright:v1.48.1-focal
)3.78.10
--x-dev-env=false
, or it would not work3.86.1
any newer version dont work.--log-level=debug
which somehow resolve the problem (tests are passing 9 out of 10)We run 7 workers in parallel, with the last one - "gateway" starting after all. Here are logs from the area of interest
v3.78.10
v3.86.0 and
--x-dev-env=false
3.86.1 (without
-x-dev-env
)It does not matter which URL to try. It will handle the first request, but none other.
"hangs" mean that Playwright can establish a connection to get a resource (
widget.js
) but will never get anything.v3.99.0
v3.99.0 and
--log-level=debug
output is too verbose, but I found an interesting difference between adding
debug
for everybody or just gatewayAdding logs makes test just a little slower, so we are ok to processed with this solution, but I dont really understand what can be a problem here
My main consern here is a call to
/cdn-cgi/ProxyWorker/pause
In a working scenario the last message related to
ProxyWorker
isplay
We had a long history with wrangler flakes in CI, so it runs quite "reliable"
Every service will eventually produce the
/cdn-cgi/ProxyWorker/pause
message, and it's somehow a matter of luck of the last message is/cdn-cgi/ProxyWorker/play
In the "good scenario" this is what I can see in the logs right after gateway start
A log of
pause
requests, but the very last one isplay
.Please provide any relevant error logs
No response
The text was updated successfully, but these errors were encountered: