Skip to content

Add panic handlers to matching handler APIs for consistency - #11090

Merged
rkannan82 merged 2 commits into
temporalio:mainfrom
rkannan82:kannan/matching-handler-panic-handlers
Jul 15, 2026
Merged

rkannan82 merged 2 commits into
temporalio:mainfrom
rkannan82:kannan/matching-handler-panic-handlers

Conversation

@rkannan82

@rkannan82 rkannan82 commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

What

Add defer log.CapturePanic to matching handler APIs that were missing it.

Why

All other handler APIs already have panic handlers.

How did you test it?

  • Built

rkannan82 and others added 2 commits July 15, 2026 13:27
…dler-panic-handlers

# Conflicts:
#	service/matching/handler.go
@rkannan82
rkannan82 marked this pull request as ready for review July 15, 2026 20:31
@rkannan82
rkannan82 requested a review from a team as a code owner July 15, 2026 20:31
@rkannan82
rkannan82 requested review from ShahabT and yycptt July 15, 2026 20:31
@rkannan82
rkannan82 merged commit 2435798 into temporalio:main Jul 15, 2026
55 checks passed
rkannan82 added a commit that referenced this pull request Jul 16, 2026
## What changed?
Cherry-pick of #11090 onto `cloud/v1.32.0-158`.

Add defer log.CapturePanic to matching handler APIs that were missing
it.

## Why?
All other matching handler APIs already have panic handlers

## How did you test it?
- [x] built
- [x] covered by existing tests

## Potential risks
None — additive-only change, no behavior change for non-panicking code
paths.

Co-authored-by: Claude Opus 4.6 <[email protected]>
rkannan82 added a commit that referenced this pull request Jul 16, 2026
## What changed?
Cherry-pick of #11090 onto `cloud/v1.32.0-157`.

Add defer log.CapturePanic to matching handler APIs that were missing
it.

## Why?
All other matching handler APIs already have panic handlers

## How did you test it?
- [x] built
- [x] covered by existing tests

## Potential risks
None — additive-only change, no behavior change for non-panicking code
paths.

Co-authored-by: Claude Opus 4.6 <[email protected]>
rkannan82 added a commit that referenced this pull request Jul 16, 2026
## What changed?
Cherry-pick of #11090 onto `cloud/v1.32.0-159`.

Add `defer log.CapturePanic` to matching handler APIs that were missing
it for consistency

## Why?
All other matching handler APIs already have panic handlers

## How did you test it?
- [x] built
- [x] covered by existing tests

## Potential risks
None — additive-only change, no behavior change for non-panicking code
paths.

Co-authored-by: Claude Opus 4.6 <[email protected]>
rkannan82 added a commit that referenced this pull request Jul 16, 2026
## What changed?
Cherry-pick of #11090 onto `release/v1.31.x`.

Add `defer log.CapturePanic` to matching handler APIs that were missing
it for consistency

## Why?
All other matching handler APIs already have panic handlers

## How did you test it?
- [x] built
- [x] covered by existing tests

## Potential risks
None — additive-only change, no behavior change for non-panicking code
paths.

Co-authored-by: Claude Opus 4.6 <[email protected]>
rkannan82 added a commit that referenced this pull request Jul 16, 2026
## What changed?
Cherry-pick of #11090 onto `release/v1.30.x`.

Add `defer log.CapturePanic` to matching handler APIs that were missing
it for consistency

## Why?
All other matching handler APIs already have panic handlers

## How did you test it?
- [x] built
- [x] covered by existing tests

## Potential risks
None — additive-only change, no behavior change for non-panicking code
paths.

Co-authored-by: Claude Opus 4.6 <[email protected]>
davidporter-id-au pushed a commit to davidporter-id-au/temporal that referenced this pull request Jul 17, 2026
…io#11090)

## What
Add `defer log.CapturePanic` to matching handler APIs that were missing
it.

## Why
All other handler APIs already have panic handlers.

## How did you test it?
- Built

Co-authored-by: Claude Opus 4.6 <[email protected]>
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.

2 participants