Any hints on fixing iOS builds in a PR? <https://g...
# confetti
y
Any hints on fixing iOS builds in a PR? https://github.com/joreilly/Confetti/pull/549
j
looks like iOS test timed out
Copy code
Test case 'ConfettiTests.testGetSessions()' failed on 'Clone 1 of iPhone 8 - Confetti (17837)' (60.000 seconds)
Error: Process completed with exit code 65.
we have 60s timeout
was there any changes made to query code?
m
It's a shame stdout is not displayed during tests
Trying to run the test locally here
j
hmm, true
maybe there's something we can do to influence that
m
Looks like it fails with
Copy code
com.apollographql.apollo3.exception.CacheMissException: Object 'QUERY_ROOT' has no field named 'bookmarks'
But maybe that's just a log, not the actual error
Alright, I think because of the
bookmarksConnection
thing, it creates a cache miss because the connection deosn't have an id
So this was actually a good test
Looking into it
Weird that it's looking for "bookmark" though
Well yea never mind, not related
Ah yea, got it now.
toFlow().first()
is different from
execute()
execute()
filters out the errors
so that it returns a single response
toFlow
emits everything
Need to step away from keyboard for a bit. Will think if we can do something better
y
Thanks, both.
m
Thank you for surfacing this. This is def a footgun of CacheAndNetwork. Will think of improving this for v4