Skip to content

Orchestration ID reuse policies - #51

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

kaibocai (kaibocai) merged 4 commits into
mainfrom
kaibocai/reuse-id-dapr

Conversation

@kaibocai

@kaibocai kaibocai (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
Member Author

Comment thread backend/backend.go Outdated

@cgillum Chris 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 thread api/orchestration.go Outdated
Comment thread backend/backend.go Outdated
Comment thread tests/orchestrations_test.go
Comment thread backend/sqlite/sqlite.go Outdated
@kaibocai
kaibocai (kaibocai) force-pushed the kaibocai/reuse-id-dapr branch 2 times, most recently from 76c6eeb to fde7991 Compare December 15, 2023 21:50
simplify status check

update tests

clean up

fix test

@cgillum Chris 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.

@cgillum Chris Gillum (cgillum) changed the title Reuse ID policy support for Dapr workflow Orchestration ID reuse policies Dec 18, 2023
@kaibocai
kaibocai (kaibocai) merged commit d7bb0ed into main Dec 18, 2023
@cgillum
Chris Gillum (cgillum) deleted the kaibocai/reuse-id-dapr branch December 18, 2023 22:04
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.

4 participants