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

fix: publish correct number actor events #803

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

brooksmtownsend
Copy link
Member

@brooksmtownsend brooksmtownsend commented Oct 25, 2023

Feature or Problem

This PR fixes a regression where we no longer published the correct number of actor_started and actor_stopped events in response to scaling an actor. This affects downstream consumers of the non-plural events when they are using the scale ctl operation command.

Because of the scenario where we may scale up or down, I refactored the event publishing code to be outside of the instantiate/uninstantiate function.

Related Issues

Regression introduced in #710

Release Information

v0.80.0

Consumer Impact

Testing

Built on platform(s)

  • x86_64-linux
  • aarch64-linux
  • x86_64-darwin
  • aarch64-darwin
  • x86_64-windows

Tested on platform(s)

  • x86_64-linux
  • aarch64-linux
  • x86_64-darwin
  • aarch64-darwin
  • x86_64-windows

Unit Test(s)

Acceptance or Integration

Manual Verification

@brooksmtownsend brooksmtownsend marked this pull request as ready for review October 26, 2023 18:10
@brooksmtownsend brooksmtownsend requested a review from a team as a code owner October 26, 2023 18:10
@brooksmtownsend brooksmtownsend changed the title wip: fix: publish correct num actor events fix: publish correct num actor events Oct 26, 2023
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
@brooksmtownsend brooksmtownsend changed the title fix: publish correct num actor events fix: publish correct number actor events Oct 26, 2023
@brooksmtownsend brooksmtownsend merged commit 8fdddcc into main Oct 26, 2023
26 checks passed
@brooksmtownsend brooksmtownsend deleted the fix/actor-started-number-events branch October 26, 2023 22:14
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.

None yet

2 participants