Skip to content

Capture panic in ServiceErrorInterceptor - #11813

Merged
rodrigozhou merged 2 commits into
mainfrom
rodrigozhou/capture-panic-interceptor
Aug 27, 2026
Merged

rodrigozhou merged 2 commits into
mainfrom
rodrigozhou/capture-panic-interceptor

Conversation

@rodrigozhou

Copy link
Copy Markdown
Contributor

What changed?

Capture panic in ServiceErrorInterceptor

Why?

ServiceErrorInterceptor is a top-level interceptor for frontend, history and matching. Capturing panics to make sure unhandled panics won't crash the service.

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 27, 2026 00:27
@rodrigozhou
rodrigozhou requested review from a team as code owners August 27, 2026 00:27
@rodrigozhou rodrigozhou added the reliability-2026 Reliability related changes label Aug 27, 2026
@rodrigozhou
rodrigozhou force-pushed the rodrigozhou/capture-panic-interceptor branch 2 times, most recently from 6bc7a88 to 3ab2a50 Compare August 27, 2026 18:09
@rodrigozhou
rodrigozhou force-pushed the rodrigozhou/capture-panic-interceptor branch from 3ab2a50 to 74443e9 Compare August 27, 2026 22:20
@rodrigozhou
rodrigozhou merged commit b6dd0ef into main Aug 27, 2026
55 checks passed
@rodrigozhou
rodrigozhou deleted the rodrigozhou/capture-panic-interceptor branch August 27, 2026 22:41
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.

4 participants