Clarify Standalone Activity start Action counting - #4704
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📖 Docs PR preview links
|
a39e883 to
d7c3ca4
Compare
d7c3ca4 to
9681f3f
Compare
9681f3f to
35257ac
Compare
| - **Activity started or retried**. Occurs each time an Activity is started or retried. | ||
| - **Standalone Activity started**. Occurs when a [Standalone Activity](/standalone-activity) is started. | ||
| - De-duplicated Standalone Activity starts that return an already-running Activity (sharing an Activity ID) do _not_ | ||
| count as an Action, unless the start request attaches conflict options to the running Activity. |
There was a problem hiding this comment.
"Conflict options" isn't a concept that is exposed to users. It'd be better to phrase it as "unless the start request tries to attach a callback to a running execution, for example when used within a Nexus handler with USE_EXISTING conflict policy".
45aa987 to
ae62196
Compare
ae62196 to
45727f0
Compare
45727f0 to
7a0d9c4
Compare
7a0d9c4 to
f7f1980
Compare
|
what is the current status of the related changes in temporal cloud, is it time to merge this change? |
|
@tekkaya Checking in on this! Is this ready for review? |
When I check the temporal cloud there is still one ring (101) which is not including this change (running on |
There was a problem hiding this comment.
Pull request overview
Clarifies how Temporal Cloud counts Standalone Activity start Actions.
Changes:
- Documents deduplicated start behavior and the callback exception.
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Opengrep — new findings
Suppress findingsAdd a |
Document that a Start Standalone Activity request which returns an already-running Activity (de-duplicated by Activity ID) is not counted as an Action, unless the start request attaches conflict options to the running Activity. This mirrors the existing de-dup wording for Workflow starts. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Per review, "conflict options" is not a user-facing concept. Describe the billable case as attaching a callback to the running Activity (e.g. within a Nexus handler using the USE_EXISTING conflict policy). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
dbf6907 to
bef5ccb
Compare
Now it is ready for review |
What does this PR do?
Clarifies in the Temporal Cloud Actions reference (
docs/evaluate/temporal-cloud/actions.mdx, Activity section) that a Start Standalone Activity request which returns an already-running Activity (de-duplicated by Activity ID) does not count as an Action — unless the start request tries to attach a callback to the running Activity, for example within a Nexus handler using theUSE_EXISTINGconflict policy.