Document that Search Attributes on Standalone Activity start are not billed as additional Actions

Open Beginner friendly
#5,883 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
90/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript
Domain
documentation

Research direction

Read docs/evaluate/cloud/actions.mdx and docs/best-practices/cost-optimization.mdx, focusing on the Activity section and the Search Attributes and Standalone Activities sections. Update the wording to explain that Search Attributes provided when a Standalone Activity starts are included in the start Action at no extra charge. Done when both pages clearly cover this behavior and retain the distinction between start Actions and later Actions.

Written by the indexing model from the issue text.

Description

Temporal Affiliation
  • I am a Temporal employee
Page URL

https://docs.temporal.io/evaluate/cloud/actions & https://docs.temporal.io/best-practices/cost-optimization

Content Issue

Pages affected

https://docs.temporal.io/evaluate/cloud/actions (docs/evaluate/cloud/actions.mdx)
https://docs.temporal.io/best-practices/cost-optimization (docs/best-practices/cost-optimization.mdx)

What's missing

Both pages say that Search Attributes provided at Workflow start don't add billable Actions. Neither page says the same for Standalone Activities. Search Attributes provided when a Standalone Activity starts are also included in the start Action at no extra charge.

Because only Workflows are mentioned, a reader could reasonably conclude that Search Attributes on a Standalone Activity start cost extra. That conclusion matters most when someone is comparing a Standalone Activity against a wrapper Workflow, because the cost-optimization page directs readers to make exactly that comparison.

Current wording

Actions page, Workflow section → "Search Attribute upsert requested": says Search Attributes set during Workflow start are excluded from Action counts. The Activity section has no equivalent note for "Start Standalone Activity" (start_standalone_activity).
Cost optimization page, Batching operations → Search Attributes, item 1: says Search Attributes provided at Workflow start don't count as billable Actions. The "Standalone Activities vs a Workflow that runs a single Activity" section doesn't mention Search Attributes.

Suggested changes

Actions page, Activity section: add a sub-bullet under "Activity started or retried" (or next to the Standalone Activity start entry), for example:

Search Attributes specified when a Standalone Activity starts are included in the start Action and are excluded from Action counts.

Cost optimization page, Search Attributes item 1: broaden the wording to cover both, for example:

Search Attributes provided at Workflow start or Standalone Activity start do not count as billable Actions. If Search Attribute values are known up front, provide them at start to avoid extra Actions entirely.

(Optional) Cost optimization page, Standalone Activities vs a Workflow section: add one line noting that Search Attributes set at start are free for both options, so they don't change the comparison.

Dominant language
JavaScript
Stars
177
Forks
339
Avg merge
2d 8h
Merged PRs (30d)
194

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

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.

More from temporalio/documentation

All issues in temporalio/documentation

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.