Skip to content

Orchestration ID reuse policies - #51

Merged
kaibocai (kaibocai) merged 4 commits into
mainfrom
kaibocai/reuse-id-dapr
Dec 18, 2023
Merged

Orchestration ID reuse policies#51
kaibocai (kaibocai) merged 4 commits into
mainfrom
kaibocai/reuse-id-dapr

Conversation

@kaibocai

@kaibocaikaibocai (kaibocai) commented Dec 15, 2023

Copy link
Copy Markdown
Member

This PR is a follow-up PR for #46. It include some updates to support reuse ID policy in dapr workflow

Related issue #42

create alias for protos type
update test
move duplicate code outside backend implementation
update paramter name
@kaibocai

Copy link
Copy Markdown
MemberAuthor

Comment threadbackend/backend.go Outdated

@cgillumChris Gillum (cgillum) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

A few questions from me:

Comment threadapi/orchestration.go Outdated
Comment threadbackend/backend.go Outdated
Comment threadtests/orchestrations_test.go
Comment threadbackend/sqlite/sqlite.go Outdated
@kaibocai
kaibocai (kaibocai)force-pushed the kaibocai/reuse-id-dapr branch 2 times, most recently from 76c6eeb to fde7991CompareDecember 15, 2023 21:50
simplify status check
update tests
clean up
fix test

@cgillumChris Gillum (cgillum) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! Glad to have this change! Let's wait to merge until the Dapr PR which uses it is also signed off.

@cgillumChris Gillum (cgillum) changed the title Reuse ID policy support for Dapr workflowOrchestration ID reuse policiesDec 18, 2023
@cgillum
Chris Gillum (cgillum) deleted the kaibocai/reuse-id-dapr branch December 18, 2023 22:04
Sign up for freeto 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.

4 participants

@kaibocai@ItalyPaleAle@cgillum@RyanLettieri