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

Improve filestore query parser for treating more values as valid close status #3159

Merged
merged 1 commit into from
Apr 1, 2020

Conversation

yycptt
Copy link
Contributor

@yycptt yycptt commented Apr 1, 2020

What changed?
Improve the parse function for close status in visibility archival filestore query parse to accept more values.

Why?
Previously this parse function doesn't handle terminated status. It also requires the close status to be a string (not a number), which doesn't match our internal implementation.

How did you test it?
Unit test

Potential risks
N/A, filestore is only used in local development, not in production.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 69.153% when pulling 1082549 on yycptt:improve-filestore-query into 0976e69 on uber:master.

@just-at-uber
Copy link
Contributor

Tested locally and works when requesting for a TimedOut workflow with CloseStatus = 5

@yycptt yycptt merged commit c23cd65 into uber:master Apr 1, 2020
@yycptt yycptt deleted the improve-filestore-query branch April 1, 2020 23:09
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.

3 participants