Skip to content

Conversation

@antstorm
Copy link
Contributor

There are 3 types of metadata — decision, activity and workflow. Each is exposed to different parts of the SDK.

Workflow ID is generated from the history, which confusingly doesn't have domain or workflow_id. This PR adds these 2 missing fields from the decision metadata

Tested using unit specs and manual workflow runs

@antstorm antstorm requested review from DeRauk and somic August 20, 2021 14:25
@antstorm antstorm merged commit c8966b5 into master Aug 20, 2021
@antstorm antstorm deleted the workflow-metadata branch August 20, 2021 16:37
@antstorm antstorm added the sync pending Marks PRs that are yet to be replayed on Temporal label Aug 20, 2021
@antstorm antstorm added synced Marks PRs that have been synchronised with Temporal and removed sync pending Marks PRs that are yet to be replayed on Temporal labels Nov 1, 2021
DeRauk pushed a commit to DeRauk/cadence-ruby that referenced this pull request Jan 19, 2022
* Refactor workflow metadata generation

* Pass domain and workflow_id into Metadata::Workflow

* Remove metadata factory for workflow

* Add Workflow::Executor specs

* Update version to 0.1.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

synced Marks PRs that have been synchronised with Temporal

Development

Successfully merging this pull request may close these issues.

3 participants