temporalio / temporalio/api

ScheduledEventId to construct Idempotence Key

Open
#136 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
133
Forks
101
Avg merge
1d 22h
Merged PRs (30d)
11

Description

Feature request

Add ScheduledEventId to PollActivityTaskQueueResponse.

Additional context

The tuple of (PollActivityTaskQueueResponse.WorkflowExecution.RunId, PollActivityTaskQueueResponse.ScheduledEventId) is unique per Activity Execution and may be used to construct an Idempotence Key to deduplicate side effects during Activity Task Executions.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the PollActivityTaskQueueResponse definition in the repository's API schema and review how response fields are declared. Done means the response exposes ScheduledEventId so the RunId and ScheduledEventId tuple can be used as the documented unique Activity Execution key.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, grpc
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.