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(*)!: prevent querying inventory for new heartbeat #233

Merged
merged 6 commits into from
Jan 12, 2024

Conversation

brooksmtownsend
Copy link
Member

@brooksmtownsend brooksmtownsend commented Jan 10, 2024

Feature or Problem

This PR sets up the HostHeartbeat struct that we use in Wadm to be able to deserialize either the wasmCloud v0.81.0 version of the heartbeat or the v0.82.0 version of the heartbeat. Once v0.82.0 is released, we can remove the code branches handling the v81 heartbeat and take advantage of the additional information there to prevent querying host inventory on each heartbeat.

Related Issues

Handles wasmCloud/wasmCloud#1160
Fixes #191

Release Information

v0.10.0

Consumer Impact

Backwards compatible with older versions of the host.

Testing

Unit Test(s)

Some unit tests were modified to rip out old inventory format code. Additionally, tests were modified to support wash 0.25.0 and some new control interface command formats.

Acceptance or Integration

All tests were updated to wash 0.25.0, wasmcloud 0.81.0, and NATS 2.10.7

Manual Verification

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

rip out last #191 artifact

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

cleanup

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

pr cleanup

Signed-off-by: Brooks Townsend <[email protected]>
Signed-off-by: Brooks Townsend <[email protected]>
@brooksmtownsend
Copy link
Member Author

Tests pass, but I'm still working through one or two things with the heartbeat handling.

@brooksmtownsend brooksmtownsend merged commit 12805a1 into main Jan 12, 2024
5 checks passed
@brooksmtownsend brooksmtownsend deleted the feat/handle-new-heartbeat-format branch January 12, 2024 23:07
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.

Remove backwards compatible HostInventory logic with wasmCloud 0.80.0
2 participants