Skip to content

Standalone Activity Export pre-release docs - #5862

Open
prasek wants to merge 6 commits into
mainfrom
standalone-activity-export
Open

prasek wants to merge 6 commits into
mainfrom
standalone-activity-export

Conversation

@prasek

@prasek prasek commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

  • adds pre-release docs for Standalone Activity Export

Signed-off-by: Phil Prasek <prasek@gmail.com>
@prasek
prasek requested a review from a team as a code owner December 2, 2026 22:32
Copilot AI balanced review requested due to automatic review settings December 2, 2026 22:32
@vercel

vercel Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
temporal-documentation Ready Ready Preview Dec 3, 2026 9:39pm UTC

Request Review

@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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
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

Comment thread docs/cloud/export.mdx Resolved
Comment thread docs/cloud/export.mdx Resolved
Comment thread docs/cloud/export.mdx Resolved
Comment thread docs/evaluate/cloud/actions.mdx Resolved
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>
Comment thread docs/cloud/export.mdx Outdated
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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread docs/cloud/export.mdx Outdated
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).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Execution, yes.

Comment thread docs/cloud/export.mdx Outdated

Search attributes in the export use your **user-defined names** (for example, `customerId`), not internal column names.

Payloads are exported as stored.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line makes no sense to me

Suggested change
Payloads are exported as stored.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread docs/cloud/export.mdx
- **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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these lines were removed by mistake?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they got moved up to line 66

Comment thread docs/cloud/export.mdx

```json
{
"items": [

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did this change with adding SAA?

@prasek prasek Dec 3, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread docs/cloud/export.mdx
}
```

The outer `items` array can contain multiple Workflow Executions per file.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did this change with the addition of SAA?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread docs/cloud/export.mdx Outdated
--disable-standalone-activity-export
```

Each exported Standalone Activity Execution accrues 0.25 Action.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread docs/cloud/export.mdx
## 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`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we don't need this change

Suggested 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.

@prasek prasek Dec 3, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ExportedExecutions is actually how you opt-in to the new serialization names, see backwards compatibility comment above for details.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah ok

Comment thread docs/cloud/export.mdx
[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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@prasek prasek Dec 3, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:

see backwards compatibility comment above for details.

@dustin-temporal

Copy link
Copy Markdown
Contributor

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?

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread docs/cloud/gcp-export-gcs.mdx Outdated
:::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.
Comment thread docs/web-ui.mdx Outdated
Comment on lines 224 to 225
[Temporal Cloud Export](/cloud/export) produces binary Protobuf files containing multiple Workflow
Executions. The local Web UI cannot import those files directly.
Comment thread docs/cloud/export.mdx
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>
Comment thread docs/web-ui.mdx
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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exporting closed Executions from Temporal Cloud produces binary Protobuf files containing multiple Executions

This branch was successfully deployed

1 active deployment
Preview — 5f0914e4 Deployed Dec 3, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants