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

Abierto Apto para principiantes
#5,883 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
1/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
90/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
javascript

Línea de trabajo

Lee docs/evaluate/cloud/actions.mdx y docs/best-practices/cost-optimization.mdx, centrándote en la sección Activity y en las secciones Search Attributes y Standalone Activities. Actualiza la redacción para explicar que los Search Attributes proporcionados al iniciar una Standalone Activity se incluyen en la start Action sin coste adicional. El trabajo estará terminado cuando ambas páginas describan claramente este comportamiento y mantengan la distinción entre las start Actions y las Actions posteriores.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
JavaScript
Estrellas
177
Forks
339
Merge medio
2 d 8 h
PR fusionados (30 d)
194

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de temporalio/documentation

Todos los issues de temporalio/documentation

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.