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

clientVersionCheck: disable by default, enable for localhost devel #2004

Merged
merged 2 commits into from
Jun 11, 2019

Conversation

venkat1109
Copy link
Contributor

Frontend started enforcing client feature version checks recently. The way this works - it checks if the client SDK version is compatible with the current server version and if not, rejects requests from the client. However, this is broken for the case when cadence-server is rolled back, say, due to a bug. In this case, customers who are using new versions of SDK (which is incompatible with rolled back version of server) will see all requests fail. This isn't ideal since the incompatibility we talk about here is only certain new features which the customer may or may not be using.

This patch disables the client version check by default. The original intention of the version check is to force customers who are testing against localhost to upgrade to latest client sdk version. To meet that goal, this patch enables version check just for the docker container we vend for testing.

@venkat1109 venkat1109 requested a review from meiliang86 June 11, 2019 20:28
@venkat1109 venkat1109 self-assigned this Jun 11, 2019
@venkat1109 venkat1109 merged commit b3f82d5 into cadence-workflow:master Jun 11, 2019
@venkat1109 venkat1109 deleted the v_patch branch June 11, 2019 21:25
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.

2 participants