Skip to content

Capture panics in Visibility query converter - #11800

Merged
rodrigozhou merged 2 commits into
mainfrom
rodrigozhou/vis-qc-panic
Aug 27, 2026
Merged

rodrigozhou merged 2 commits into
mainfrom
rodrigozhou/vis-qc-panic

Conversation

@rodrigozhou

Copy link
Copy Markdown
Contributor

What changed?

Capture any panics in Visibility query converter.

Why?

Visibility query converter is complex, and at times might make assumptions that might not hold (due to bugs in the store query converter implementation for example). Capturing at top level, and returning an error instead.

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)

Potential risks

@rodrigozhou
rodrigozhou requested a review from a team August 26, 2026 18:25
@rodrigozhou
rodrigozhou requested review from a team as code owners August 26, 2026 18:25
@rodrigozhou rodrigozhou added the reliability-2026 Reliability related changes label Aug 27, 2026
@rodrigozhou
rodrigozhou force-pushed the rodrigozhou/vis-qc-panic branch from b82eebb to 7acdb74 Compare August 27, 2026 18:06
@rodrigozhou
rodrigozhou force-pushed the rodrigozhou/vis-qc-panic branch from 7acdb74 to e39858a Compare August 27, 2026 18:23
@rodrigozhou
rodrigozhou merged commit 34c2032 into main Aug 27, 2026
157 of 159 checks passed
@rodrigozhou
rodrigozhou deleted the rodrigozhou/vis-qc-panic branch August 27, 2026 19:58
awln-temporal added a commit that referenced this pull request Sep 3, 2026
## What changed?

Backports the remaining merged PRs labeled
[release/1.32.0](https://github.com/temporalio/temporal/issues?q=state%3Aclosed%20label%3Arelease%2F1.32.0)
onto release/v1.32.x, in main merge order:

- [#11599](#11599) Optimize
Visibility PostgreSQL upgrade schema v1.14
- [#11723](#11723) Validate
history pagination branch token against mutable state
- [#11800](#11800) Capture
panics in Visibility query converter
- [#11813](#11813) Capture
panic in ServiceErrorInterceptor
- [#11829](#11829) Return
empty Elasticsearch page token when the result is smaller than the page
- [#11839](#11839) Fix
FirstWorkflowTaskBackoff accumulation upon Continue-As-New
- [#11801](#11801) Fix
Visibility SQL query conversion

[#11265](#11265) and
[#11564](#11564) were already
present on release/v1.32.x and are not duplicated here.

## Testing

- Targeted unit tests for Visibility query conversion, RPC interception,
History branch-token validation, and Continue-As-New backoff
- make GOLANGCI_LINT_FIX=false
GOLANGCI_LINT_BASE_REV=origin/release/v1.32.x lint-code

---------

Co-authored-by: Rodrigo Zhou <[email protected]>
Co-authored-by: Prathyush PV <[email protected]>
Co-authored-by: Yichao Yang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release/1.32.0 reliability-2026 Reliability related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants