Repository navigation
Conversation
Signed-off-by: Phil Prasek <prasek@gmail.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📖 Docs PR preview links
|
There was a problem hiding this comment.
🟡 Changes recommended
The documentation leaves Pre-release eligibility unclear and omits Standalone Activity export updates from migration warnings, feature summaries, and cost guidance.
5 open issues
Update Export summaries for expanded scope and Pre-release status · New Clarify Pre-release access requirements for automatic export · New Warn that migration interruptions can miss Standalone Activities · New Add Standalone Activity export status to the job queue overview · New Include Standalone Activity export charges in cost guidance · New
What changed in this PR
Extends Temporal Cloud Export documentation to cover Standalone Activity Executions in Pre-release.
Changes:
- Documents exported records, compatibility, delivery guarantees, and execution filtering.
- Updates AWS, GCP, and Azure setup guidance for default-enabled Standalone Activity export.
- Adds pricing and release-stage information.
| File | Description |
|---|---|
docs/evaluate/cloud/actions.mdx |
Adds Standalone Activity export charges and billing date. |
docs/encyclopedia/activities/standalone-activity.mdx |
Lists export as a Pre-release capability. |
docs/cloud/gcp-export-gcs.mdx |
Updates GCS setup and opt-out instructions. |
docs/cloud/export.mdx |
Documents expanded export formats, filtering, and compatibility. |
docs/cloud/azure-export-blob-storage.mdx |
Adds default behavior and Pre-release notice. |
docs/cloud/aws-export-s3.mdx |
Updates S3 setup and opt-out instructions. |
Review effort: Balanced
Signed-off-by: Phil Prasek <prasek@gmail.com>
Signed-off-by: Phil Prasek <prasek@gmail.com>
Signed-off-by: Phil Prasek <prasek@gmail.com>
Signed-off-by: Phil Prasek <prasek@gmail.com>
| Do not rely on this behavior to export previously closed Workflow Executions. | ||
| Enable Export before executions close to ensure they are exported. | ||
| Export does not guarantee backfill of previously closed executions, even if they are still within the Namespace's retention period. | ||
| An execution that closed before you enabled export may still be included if the hourly batch for the hour in which it closed has not run yet. |
There was a problem hiding this comment.
is execution actually Execution in our style guide? I feel like that's a thing but I can't find the source of truth for this
There was a problem hiding this comment.
Thanks for flagging, yes these should be Execution. Also note we've generalized Execution with CHASM in https://github.com/temporalio/temporal/blob/main/docs/architecture/chasm.md#execution.
| The same execution may be exported more than once, so duplicates are possible. | ||
| Handle duplicate executions when processing exported data. | ||
| Deduplicate Standalone Activity records on `activity_id` and `run_id`. | ||
| Duplicate exports of the same Workflow Execution do not incur additional [Action charges](/evaluate/cloud/actions#export). |
There was a problem hiding this comment.
| Duplicate exports of the same Workflow Execution do not incur additional [Action charges](/evaluate/cloud/actions#export). | |
| Duplicate exports of the same execution do not incur additional [Action charges](/evaluate/cloud/actions#export). |
|
|
||
| Search attributes in the export use your **user-defined names** (for example, `customerId`), not internal column names. | ||
|
|
||
| Payloads are exported as stored. |
There was a problem hiding this comment.
This line makes no sense to me
| Payloads are exported as stored. |
There was a problem hiding this comment.
It's just saying if you encoded your payload (or encrypted it) it will be exported in the encoded/encyrpted form. We should make this more clear.
| - **Child Workflows** - Child Workflow starts and completions | ||
| - **Workflow result** - How the Workflow ended (completed, failed, timed out, terminated, canceled, or continued-as-new) | ||
|
|
||
| Search attributes in the export use your **user-defined names** (for example, `customerId`), not internal column names. |
There was a problem hiding this comment.
I think these lines were removed by mistake?
|
|
||
| ```json | ||
| { | ||
| "items": [ |
There was a problem hiding this comment.
did this change with adding SAA?
There was a problem hiding this comment.
It's a backwards compatible change. See https://github.com/temporalio/documentation/pull/5862/changes#diff-123601a6b75d68de37a0f331fa44e69d5ef80fcb547827fd0b2d9e7711ad34a4R237
If you're using the old WorkflowExecutions type to deserialize, then you get items as before.
If you want to process ActivityExecutions as well you need to change your code to deserialize with ExportedExecutions
| } | ||
| ``` | ||
|
|
||
| The outer `items` array can contain multiple Workflow Executions per file. |
There was a problem hiding this comment.
Did this change with the addition of SAA?
There was a problem hiding this comment.
yes see comment above, but it's backwards compatible depending on which type you're using to deserialize. we should probably add a migration guide section that make it clear what the behavior is so folks understand this nuance.
| --disable-standalone-activity-export | ||
| ``` | ||
|
|
||
| Each exported Standalone Activity Execution accrues 0.25 Action. |
There was a problem hiding this comment.
This is mentioned in multiple places. I recommend we link to the action cost in one source of truth location so we don't have so many places to update if we change it later.
There was a problem hiding this comment.
Most of the other places that mention it are the temporary Pre-release banner which will go away, so IMO it's fine to have this on the main export page as the other instances will go away in a couple months when this feature goes GA.
| ## Working with exported files | ||
|
|
||
| Use the proto schema defined [here](https://github.com/temporalio/api/blob/main/temporal/api/export/v1/message.proto) to deserialize exported files. | ||
| Use the proto schema defined [here](https://github.com/temporalio/api/blob/main/temporal/api/export/v1/message.proto) to deserialize exported files as `ExportedExecutions`. |
There was a problem hiding this comment.
I think we don't need this change
| Use the proto schema defined [here](https://github.com/temporalio/api/blob/main/temporal/api/export/v1/message.proto) to deserialize exported files as `ExportedExecutions`. | |
| Use the proto schema defined [here](https://github.com/temporalio/api/blob/main/temporal/api/export/v1/message.proto) to deserialize exported files. |
There was a problem hiding this comment.
ExportedExecutions is actually how you opt-in to the new serialization names, see backwards compatibility comment above for details.
| [the example Python Workflow](https://github.com/temporalio/samples-python/tree/main/cloud_export_to_parquet). Note that this example Workflow: | ||
| * Transforms the nested proto structure into a flat, tabular format. | ||
| * Each row in the table represents a single history event from a Workflow. To preserve their relationship post-conversion, the `workflowID` and `runID` is included in every row. | ||
| * Converts Workflow Executions only. It does not convert Standalone Activity records. |
There was a problem hiding this comment.
I think this is actually just completely broken if you are using SAA export right now. We have plans to change that but @david049 am I right about this? If it is completely broken at the moment, we should just say it doesn't work if SAA executions are enabled and there are plans to update that in the future.
There was a problem hiding this comment.
The parquest sample will still work since it deserializes to WorkflowExecutions but it should be upgraded which is work-in-flight so we can update these docs to reflect these changes, which should deserialize using the ExportedExecutions type:
- Update sample to include standalone activity export samples-python#449
- Add standalone activity export support to deserializer cloud-samples-go#21
see backwards compatibility comment above for details.
|
High level comment here @prasek is we're sort of doing a product rename from Workflow History Export to Export by making these changes. Is that intentional? If it's not, we can change the docs verbiage to be more like "Export closed executions" and treat titles less like product names and more like actions the user is attempting to take. I think we've done that in other places around observability and it sort of side steps the product rename. What do you think? |
There was a problem hiding this comment.
🟡 Changes recommended
The documentation still omits Standalone Activity Executions from an export warning, gives conflicting Create/Save setup instructions, and exceeds the structural heading target.
3 open issues
5 resolved since last review
Include Standalone Activity export charges in cost guidance Add Standalone Activity export status to the job queue overview Warn that migration interruptions can miss Standalone Activities Clarify Pre-release access requirements for automatic export Update Export summaries for expanded scope and Pre-release status
Review effort: Balanced
| :::tip | ||
|
|
||
| Don't forget to click Create at the end of your setup to confirm your export. | ||
| Don't forget to click Save at the end of your setup to confirm your export. |
| [Temporal Cloud Export](/cloud/export) produces binary Protobuf files containing multiple Workflow | ||
| Executions. The local Web UI cannot import those files directly. |
| The outer `workflows` array can contain multiple Workflow Executions per file. | ||
| Only the key fields are shown above. Actual events include additional fields like `version`, `taskId`, and `workerVersion`. | ||
|
|
||
| ### Standalone Activity Executions {/* #standalone-activity-executions */} |
Signed-off-by: Phil Prasek <prasek@gmail.com>
| local Temporal Service or replay the Workflow code. Import one Workflow Execution at a time. | ||
|
|
||
| [Temporal Cloud Export](/cloud/export) produces binary Protobuf files containing multiple Workflow | ||
| [Exporting from Temporal Cloud](/cloud/export) produces binary Protobuf files containing multiple Workflow |
There was a problem hiding this comment.
Exporting closed Executions from Temporal Cloud produces binary Protobuf files containing multiple Executions


What does this PR do?