Skip to content

Conversation

@awln-temporal
Copy link
Contributor

What changed?

Context cancelations are getting incorrectly translated to Unavailable service errors, which lead to Visibility Availability Alert false positives.

This code change adds branches to check context error types before casting to the resulting serviceerror for both ElasticSearch and SQL visibility stores.

Why?

Separate client and service side errors.

How did you test it?

  • built
  • run locally and tested manually
  • covered by existing tests
  • added new unit test(s)
  • added new functional test(s)

@awln-temporal awln-temporal requested review from a team as code owners November 25, 2025 19:37
Copy link
Contributor

@rodrigozhou rodrigozhou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address the comments before merging.

@awln-temporal awln-temporal merged commit ffae22b into main Nov 25, 2025
57 checks passed
@awln-temporal awln-temporal deleted the EsClientErrorMappingFix branch November 25, 2025 22:42
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