Repository navigation
[Visibility][Elasticsearch] Change datetime format to always include nanos component in pagination filter (#11564) - #11619
Merged
Conversation
…nanos component (#11564) ## What changed? Change datetime format to always include nanos component in Elasticsearch Visibility. Also added Visibility integration tests with Elasticsearch. ## Why? With Elasticsearch, comparing dates without explicitly specifying all components can lead to unexpected results. Eg: `StartTime = '2023-04-05T06:07:08Z'` would match a workflow with `StartTime = '2023-04-05T06:07:08.100000000Z'`. This behavior is unexpected and can mess up with pagination. This PR fixes it so missing nanos components is always specified (in the example, it would be filled with 0s). ## How did you test it? - [x] built - [x] run locally and tested manually - [ ] covered by existing tests - [x] added new unit test(s) - [x] added new functional test(s) ## Potential risks
yiminc
approved these changes
Aug 18, 2026
yycptt
approved these changes
Aug 18, 2026
tusharroy25
approved these changes
Aug 18, 2026
stpierre
enabled auto-merge (squash)
August 19, 2026 12:23
stpierre
approved these changes
Aug 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed?
Cherry pick #11564 to
cloud/v1.32.0-161branch.Why?
^
How did you test it?
Potential risks