Skip to content

Make standalone activity completion callback attachment idempotent after closure - #11628

Merged
Quinn-With-Two-Ns merged 2 commits into
mainfrom
Nexus-626-v2
Aug 20, 2026
Merged

Make standalone activity completion callback attachment idempotent after closure#11628
Quinn-With-Two-Ns merged 2 commits into
mainfrom
Nexus-626-v2

Conversation

@Quinn-With-Two-Ns

@Quinn-With-Two-Ns Quinn-With-Two-Ns commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

What changed?

Makes Standalone Activity conflict updates idempotent by recording the requestID when attaching callbacks or links and recognizing duplicate request IDs. I needed to add a dedicated CHASM error for

Why?

This prevents a successful attachment whose response was lost from failing on retry or duplicating/replacing callbacks and links.

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)

Note

Cursor Bugbot is generating a summary for commit 0e83408. Configure here.

@Quinn-With-Two-Ns
Quinn-With-Two-Ns marked this pull request as ready for review August 19, 2026 14:56
@Quinn-With-Two-Ns
Quinn-With-Two-Ns requested a review from a team August 19, 2026 14:56
@Quinn-With-Two-Ns
Quinn-With-Two-Ns requested review from a team as code owners August 19, 2026 14:56
@Quinn-With-Two-Ns Quinn-With-Two-Ns changed the title Nexus 626 v2 Make standalone activity completion callback attachment idempotent after closure Aug 19, 2026
@Quinn-With-Two-Ns
Quinn-With-Two-Ns merged commit 05167ab into main Aug 20, 2026
63 of 64 checks passed
@Quinn-With-Two-Ns
Quinn-With-Two-Ns deleted the Nexus-626-v2 branch August 20, 2026 17:22
davidporter-id-au pushed a commit to davidporter-id-au/temporal that referenced this pull request Aug 24, 2026
…ter closure (temporalio#11628)

## What changed?

Makes Standalone Activity conflict updates idempotent by recording the
`requestID` when attaching callbacks or links and recognizing duplicate
request IDs. I needed to add a dedicated CHASM error for

## Why?
This prevents a successful attachment whose response was lost from
failing on retry or duplicating/replacing callbacks and links.

## How did you test it?
- [ ] built
- [ ] run locally and tested manually
- [ ] covered by existing tests
- [x] added new unit test(s)
- [x] added new functional test(s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

reliability-2026 Reliability related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants