Skip to content

add on conflict options for standalone activities#764

Open
fretz12 wants to merge 3 commits intomasterfrom
fredtzeng/saa-on-conflict
Open

add on conflict options for standalone activities#764
fretz12 wants to merge 3 commits intomasterfrom
fredtzeng/saa-on-conflict

Conversation

@fretz12
Copy link
Copy Markdown
Contributor

@fretz12 fretz12 commented Apr 14, 2026

What changed?
Added a new OnConflictOptions message to temporal.api.activity.v1 and a corresponding on_conflict_options field to StartActivityExecutionRequest.

Why?
When StartActivityExecution uses ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING and a matching activity is already running, the caller needs a way to specify what should be attached to the existing activity (request ID, completion callbacks, links). This mirrors the existing OnConflictOptions for workflows (temporal.api.workflow.v1.OnConflictOptions on StartWorkflowExecutionRequest) but is specific to the activity domain.

@fretz12 fretz12 requested review from a team April 14, 2026 02:42
@fretz12 fretz12 marked this pull request as draft April 14, 2026 02:42
@fretz12 fretz12 marked this pull request as ready for review April 14, 2026 02:42
@fretz12 fretz12 marked this pull request as draft April 14, 2026 04:31
@fretz12 fretz12 marked this pull request as ready for review April 14, 2026 17:55
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