Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

[dev] apollo-cloudflare-server having issue with wrangler dev/publish depending on local schema size #1435

Closed
ecerroni opened this issue Jul 3, 2020 · 2 comments

Comments

@ecerroni
Copy link

ecerroni commented Jul 3, 2020

Originally mentioned here

Requiring a local json file and passing it to makeRemoteExecutableSchema works differently depending on the json file size:

small => wrangler dev works | wrangler publish works
medium => wrangler dev does not work | wrangler publish works (it might not deploy at first, but you have to retry)
big => wrangler dev does not work | wrangler publish does not work (script always times out)

In all the above cases the built project size is always < 1MB

This has been difficult to debug. The root cause of the issue could be anything, even not related to wrangler. Any help would be appreciated.

Reproducing repo. Instructions are in the README.md

@kristianfreeman
Copy link
Contributor

hey @ecerroni - just so i can understand, can you drop the file sizes of each schema in this issue? my first instinct here is that something related to adding a big file into the workers bundle, and maybe not specifically related to the workers graphql project. let me know and we can continue to debug. thanks!

@stale
Copy link

stale bot commented Sep 15, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants