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

オープン 初心者向け
#5,883 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1〜3時間
初心者へのやさしさ
90/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript
領域
documentation

調査の方向性

docs/evaluate/cloud/actions.mdx と docs/best-practices/cost-optimization.mdx を読み、Activity セクションと Search Attributes および Standalone Activities セクションに注目してください。Standalone Activity の開始時に指定された Search Attributes は追加料金なしで start Action に含まれることを説明するよう、文言を更新してください。両方のページでこの動作が明確に説明され、start Actions と後続の Actions の区別が維持されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
JavaScript
スター
177
フォーク
339
平均マージ
2日 8時間
マージ済み PR(30日)
194

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

temporalio/documentation のほかの issue

temporalio/documentation の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。