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
While investigating why the integration tests in #29 continued to fail I saw that the /todos endpoint of the demo app is broken when using the svelte-adapter-appengine on SvelteKit versions >= 1.0.0-next.356.
Steps to reproduce:
yes ""| npm init svelte@next example-app
cd example-app
npm install
npm install --save-dev svelte-adapter-appengine
sed -i 's/@sveltejs\/adapter-auto/svelte-adapter-appengine/' svelte.config.js
npm run build
node .appengine_build_output/index.js
Afterwards open http://localhost:8080/todos in the browser. The browser will try to load the page but it will never complete. I tested this with Chrome and Firefox on Linux. Interestingly when using curl to fetch the same URL the response arrives immediately.
I also tried the same using the official SvelteKit node adapter but with the node adapter the page loads fine.
From the behavior I suspect the issue may be related to sveltejs/kit#5291 but I'm not exactly sure why this would lead to problems with the adapter.
The text was updated successfully, but these errors were encountered:
I'm also really puzzled by this. I've been trying to identify where the difference might lie between the standard node-adapter and this adapter, and the only difference that really makes sense to me is that esbuild is used to bundle the code. esbuild is also used in other adapters (like vercel and netify), but in those, polka isn't used for serving I think, making it slightly different setup.
Figured out the reason, its the compression middleware that does it. Not sure why its not giving issues in the node adapter, but i'm guessing it has to do with the bundling. But regardless, i dont think compression is needed. Appengine should be handling it automatically.
While investigating why the integration tests in #29 continued to fail I saw that the
/todos
endpoint of the demo app is broken when using the svelte-adapter-appengine on SvelteKit versions >= 1.0.0-next.356.Steps to reproduce:
Afterwards open http://localhost:8080/todos in the browser. The browser will try to load the page but it will never complete. I tested this with Chrome and Firefox on Linux. Interestingly when using
curl
to fetch the same URL the response arrives immediately.I also tried the same using the official SvelteKit node adapter but with the node adapter the page loads fine.
From the behavior I suspect the issue may be related to sveltejs/kit#5291 but I'm not exactly sure why this would lead to problems with the adapter.
The text was updated successfully, but these errors were encountered: