Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't use graphql cache for polling builds #310

Merged
merged 2 commits into from
Apr 6, 2021
Merged

Conversation

dsokal
Copy link
Contributor

@dsokal dsokal commented Apr 6, 2021

Checklist

Why

This fixes an issue that I introduced in 279dfd0
Because of the default graphql cache policy the build status never gets updated when running eas build.

How

I set the cache policy to network-only for the BuildQuery.byIdAsync query

Test Plan

I ran a build and observed the build status transitions.

@github-actions
Copy link

github-actions bot commented Apr 6, 2021

Size Change: +1.04 kB (0%)

Total Size: 32.9 MB

Filename Size Change
./packages/eas-cli/dist/eas-linux-x64.tar.gz 32.9 MB +1.04 kB (0%)

compressed-size-action

@dsokal dsokal requested a review from wkozyra95 April 6, 2021 10:19
@dsokal dsokal marked this pull request as ready for review April 6, 2021 10:29
@dsokal dsokal merged commit 403b5c2 into main Apr 6, 2021
@dsokal dsokal deleted the @dsokal/fix-cache-issue branch April 6, 2021 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants