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
Not sure where the bug really is, so filing it here and then we'll find the right place.
Currently, tests for thingpedia-common-devices in Travis fail intermittently in Spotify, because API calls fail with "Refresh token revoked". A bit of investigation reveals that PKCE-enabled refresh tokens are single use only, and we need to store the new token when we get one. Something, somewhere, is failing to store the new token.
The text was updated successfully, but these errors were encountered:
We need to investigate exactly where the sync goes wrong (could be in the cloud, could be in the client), and then fix that. The main issue is that the sync connection might drop before the client had a chance to upload the new refresh token to the cloud, in which case we never store the new refresh token. Next time we run the tests, we fetch the invalidated refresh token again and die. We might be able to force the scenario tests to sync with the cloud before it closes.
The other issue is that both unit tests and scenario tests run concurrently. If both refresh at the same time we'll get in trouble.
Not sure where the bug really is, so filing it here and then we'll find the right place.
Currently, tests for thingpedia-common-devices in Travis fail intermittently in Spotify, because API calls fail with "Refresh token revoked". A bit of investigation reveals that PKCE-enabled refresh tokens are single use only, and we need to store the new token when we get one. Something, somewhere, is failing to store the new token.
The text was updated successfully, but these errors were encountered: