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

feat(*): support actor_scaled event #36

Merged
merged 3 commits into from
Jan 18, 2024
Merged

Conversation

brooksmtownsend
Copy link
Member

  • feat(*): support actor_scaled event
  • chore: bump version to 0.5.0

Feature or Problem

This PR adds support for the actor_scaled event which will allow the lattice observer to modify the instances state with the single event instead of handling the individual actor_started/actor_stopped events. I'm leapfrogging the plural events here as we didn't have support for them and after wasmCloud v0.82 is released we won't need them anyways.

There will be another PR shortly supporting the new heartbeat format which will also make it into 0.5.0.

Related Issues

The actor scaled event includes the image ref, which could enable #16

Release Information

0.5.0

Consumer Impact

No consumer impact as this event isn't even released yet.

Testing

Unit Test(s)

Added a unit test to validate functionality. All instance IDs are just supplanted as N/A as they don't matter.

Acceptance or Integration

Manual Verification

Signed-off-by: Brooks Townsend <[email protected]>

whoops

Signed-off-by: Brooks Townsend <[email protected]>
Signed-off-by: Brooks Townsend <[email protected]>
@brooksmtownsend brooksmtownsend merged commit 1703674 into main Jan 18, 2024
3 of 4 checks passed
@brooksmtownsend brooksmtownsend deleted the feat/actor_scaled branch January 18, 2024 21:16
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.

2 participants