-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
fix(surveys): lt/gt operator error in survey creation #24283
fix(surveys): lt/gt operator error in survey creation #24283
Conversation
… using 'gt' or 'lt' operator
…_evaluation_query_is_ok'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work, thanks for this! Let me see about getting CI passing but it seems like it's some dumb permissions thing that's blocking it.
@silentninja Not sure if you say this failing CI job, but it looks like one of the tests is failing still
once you push that fix it should be good to go for us! I'm fixing the other CI failure on my end. |
@dmarticus Thanks for the heads up. I ran the tests locally, and they're passing as expected. The CI environment might be experiencing some flakiness with this particular test. Can you try rerunning the test suite? |
@silentninja it's good to go! thanks for your contribution! |
Problem
Fixes #22361
Changes
The query for checking the feature flag conditions failed when conditions employed numeric operators. This occurred because we check the property type before doing the comparison and the annotation needed for the property type check is missing. This PR addresses the issue by adding the missing property type annotations.
Does this work well for both Cloud and self-hosted?
Yes
How did you test this code?
I included test cases to verify the fix in this PR and also did a manual test.