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

Đang mở Phù hợp với người mới
#5,883 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
90/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
documentation

Hướng nghiên cứu

Đọc docs/evaluate/cloud/actions.mdx và docs/best-practices/cost-optimization.mdx, tập trung vào phần Activity và các phần Search Attributes và Standalone Activities. Cập nhật cách diễn đạt để giải thích rằng Search Attributes được cung cấp khi một Standalone Activity bắt đầu sẽ được tính vào start Action mà không phát sinh thêm chi phí. Hoàn tất khi cả hai trang đều mô tả rõ hành vi này và vẫn giữ sự phân biệt giữa start Actions và các Actions về sau.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
JavaScript
Star
177
Fork
339
Merge trung bình
2 ngày 8 giờ
Pull request đã merge (30 ngày)
194

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của temporalio/documentation

Tất cả issue của temporalio/documentation

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.