Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add information in visibility that distinguishes between a deprecated and non deprecated patch #658

Open
bergundy opened this issue Dec 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@bergundy
Copy link
Member

Part of the design for the patched and deprecatePatch APIs included a method for users to verify when old code branches can be removed and when deprecated patches can be removed from workflow code.

It's safe to remove patches once there are only workflow histories that include the deprecated version of a patch.
Core adds the TemporalChangeVersion search attribute when emitting a patch marker but does not add information on the deprecation status of that patch.
Users can get around it by fetching all workflow histories and inspecting the patch markers but that's far from optimal.

Describe the solution you'd like

Have some method to distinguish between deprecated and non deprecated patches via visibility queries.

@bergundy bergundy added the enhancement New feature or request label Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant