You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently upgraded to the v3.2.21 tag, performed the git resolves and committed the changes. I run out the tests on my local machine and everything was fine.
I run the pull to my repository on Github, but when I went to check the CI action, the "Check PWA reachability" job in the ci.yml file returned a 502 status code. I used the command git clean -dfX to clean the files in local cache so I could simulate a "clean" environment, and I simulated the curl that this job runs with the command:
The return was the same as on Github. Testing a few times I noticed that this only occurs when there is no node_modules directory.
How to reproduce
In an environment without local caching like Github actions.
Using the command git clean -dfX to clear the local cache files or rm -rf pwa/node_modules/ to force pnpm to download the dependencies again.
Possible Solution
It's not a solution, it's more like a "silver tape to cover hole". I added a sleep 10s so that it would wait 10 seconds before run the curl. Running curl after this time is enough for the PWA to return status code 200 again.
CLI:
API Platform version(s) affected: 3.2.21
Description
Hey everyone, how is it going?
I recently upgraded to the v3.2.21 tag, performed the git resolves and committed the changes. I run out the tests on my local machine and everything was fine.
I run the pull to my repository on Github, but when I went to check the CI action, the "Check PWA reachability" job in the ci.yml file returned a 502 status code. I used the command
git clean -dfX
to clean the files in local cache so I could simulate a "clean" environment, and I simulated thecurl
that this job runs with the command:The return was the same as on Github. Testing a few times I noticed that this only occurs when there is no
node_modules
directory.How to reproduce
git clean -dfX
to clear the local cache files orrm -rf pwa/node_modules/
to force pnpm to download the dependencies again.Possible Solution
It's not a solution, it's more like a "silver tape to cover hole". I added a
sleep 10s
so that it would wait 10 seconds before run the curl. Running curl after this time is enough for the PWA to return status code 200 again.CLI:
.github/workflows/ci.yml:
Additional Context
Github action log
The text was updated successfully, but these errors were encountered: