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

PauseActivity implementation #6752

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

PauseActivity implementation #6752

wants to merge 12 commits into from

Conversation

ychebotarev
Copy link
Contributor

@ychebotarev ychebotarev commented Nov 5, 2024

What changed?

Add PuaseActivity API implementation

  • Add Paused field to the pending activity info
  • Add replication for that field
  • Add populating search attributes
  • basic testing

Why?

Working on activity API

How did you test it?

Add basic unit tests. Func tests will come later.

Copy link
Member

@bergundy bergundy left a comment

Choose a reason for hiding this comment

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

Logic seems good to me. The stamp approach is really paying off.

service/history/api/pauseactivity/api.go Outdated Show resolved Hide resolved
service/history/api/pauseactivity/api.go Outdated Show resolved Hide resolved
service/history/api/pauseactivity/api.go Outdated Show resolved Hide resolved
service/history/api/pauseactivity/api.go Outdated Show resolved Hide resolved
service/history/workflow/mutable_state_impl.go Outdated Show resolved Hide resolved
service/history/workflow/mutable_state_impl.go Outdated Show resolved Hide resolved
service/history/workflow/mutable_state_impl.go Outdated Show resolved Hide resolved
service/history/workflow/mutable_state_impl.go Outdated Show resolved Hide resolved
service/history/workflow/mutable_state_impl.go Outdated Show resolved Hide resolved
@bergundy
Copy link
Member

This is also missing functional and XDC tests. Can come in a followup PR.

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