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

Wash up should be idempotent. #1674

Merged
merged 5 commits into from
Apr 1, 2024

Conversation

cdmurph32
Copy link
Contributor

If a wasmcloud host is runnning, wash up will not start an additional host unless --scale is passed.

When starting multiple hosts, NATS should be run independently of wasmcloud, otherwise killing the original wash up will also stop NATS.

Feature or Problem

Wash up should be idempotent #846

Related Issues

Release Information

Consumer Impact

This will change how users start multiple wasmCloud hosts on the same machine

Testing

Integration test added.

Unit Test(s)

Acceptance or Integration

Manual Verification

@cdmurph32 cdmurph32 force-pushed the cdmurph32/846 branch 4 times, most recently from c408038 to cdb3515 Compare March 18, 2024 18:42
@cdmurph32 cdmurph32 marked this pull request as ready for review March 18, 2024 18:43
@cdmurph32 cdmurph32 requested a review from a team as a code owner March 18, 2024 18:43
Copy link
Contributor

@thomastaylor312 thomastaylor312 left a comment

Choose a reason for hiding this comment

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

Sorry for the delay @cdmurph32, got sidetracked with KubeCon stuff. I'm good with this pending passing tests. Might be worth rebasing to make sure you picked up any of the other test fixes we added in

crates/wash-cli/src/up/mod.rs Outdated Show resolved Hide resolved
crates/wash-cli/tests/common/mod.rs Outdated Show resolved Hide resolved
@cdmurph32
Copy link
Contributor Author

I'm still trying to get the integration tests working. I should be able to get it done tomorrow.

@cdmurph32
Copy link
Contributor Author

cdmurph32 commented Mar 31, 2024

All of the tests are working locally for me now. This is ready for review again.

cdmurph32 and others added 5 commits March 31, 2024 16:31
If a wasmcloud host is runnning, `wash up` will not start an additional
host unless `--scale` is passed.

When starting multiple hosts, NATS should be run independently of
wasmcloud, otherwise killing the original `wash up` will also stop NATS.

Signed-off-by: Colin Murphy <cdmurph32@gmail.com>
Signed-off-by: Colin Murphy <cdmurph32@gmail.com>
Signed-off-by: Colin Murphy <cdmurph32@gmail.com>
Signed-off-by: Colin Murphy <cdmurph32@gmail.com>
Signed-off-by: Colin Murphy <cdmurph32@gmail.com>
@thomastaylor312 thomastaylor312 enabled auto-merge (rebase) April 1, 2024 18:31
@thomastaylor312 thomastaylor312 merged commit c2ceee0 into wasmCloud:main Apr 1, 2024
58 of 59 checks passed
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