Skip to content

Store worker_instance_key for an activity in mutable state#9231

Open
rkannan82 wants to merge 3 commits intomainfrom
kannan/activity-cancel/persist-worker-key
Open

Store worker_instance_key for an activity in mutable state#9231
rkannan82 wants to merge 3 commits intomainfrom
kannan/activity-cancel/persist-worker-key

Conversation

@rkannan82
Copy link
Contributor

@rkannan82 rkannan82 commented Feb 5, 2026

What changed?

As part of RecordActivityTaskStarted flow, store worker_instance_key for an activity in the mutable state (ActivityInfo).

Main changes:

  • executions.proto: Added the new worker_instance_key field.
  • mutable_state_impl.go: Update mutable state.

Why?

To support activity cancellation without activity heartbeat.

Overall flow:

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)

@rkannan82 rkannan82 requested review from a team as code owners February 5, 2026 17:49
@rkannan82 rkannan82 changed the title Store worker_instance_key in ActivityInfo as part of RecordActivityTaskStarted call Store worker_instance_key for an activity in mutable state Feb 5, 2026
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.

1 participant