Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

feat(*) wadm 0.4 support in wash app #520

Merged
merged 8 commits into from
May 8, 2023
Merged

Conversation

brooksmtownsend
Copy link
Member

@brooksmtownsend brooksmtownsend commented Apr 17, 2023

Feature or Problem

After the many changes going into wadm 0.4, there were a few changes to the app subcommand in order to make it compatible with the new types. Additionally, this PR adds in wadm as a binary to download as a part of running up so that we can immediately interact with wadm.

You should consider reviewing this PR as two big sections: the wash up wadm support, and the changes to the app module.

This PR

  • Adds wadm as another binary that can be downloaded + started with wash up
  • Updates the app subcommand to match the Wadm NATS API
  • Updates async_nats, tokio, and a few other dependencies after figuring out the issue with the OCI downloads in [BUG] Unable to reg pull properly after cargo update #382

Related Issues

(pr) wasmCloud/wadm#89
Fixes #382

Release Information

v0.18.0

Consumer Impact

Consumers of the Elixir implementation of wadm will see breaking changes here, as expected, so with the v0.18.0 release notes we should note that the latest version of wadm should be used.

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

Manual tested with wasmCloud/wadm#89

@brooksmtownsend
Copy link
Member Author

#382 is biting me here

@brooksmtownsend brooksmtownsend force-pushed the feat/wadm_0.4_support branch 3 times, most recently from d976234 to fdffb0f Compare April 21, 2023 16:06
Comment on lines -400 to +460
let _ = write!(out_text, "\n\n🛑 To stop wasmCloud, run \"wash down\"");
let _ = write!(out_text, "\n\n⬇️ To stop wasmCloud, run \"wash down\"");
Copy link
Member Author

Choose a reason for hiding this comment

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

@autodidaddict changed after your comment 😄

@brooksmtownsend brooksmtownsend marked this pull request as ready for review April 28, 2023 15:12
@brooksmtownsend brooksmtownsend requested a review from a user April 28, 2023 15:12
connorsmith256
connorsmith256 previously approved these changes May 2, 2023
Copy link
Contributor

@connorsmith256 connorsmith256 left a comment

Choose a reason for hiding this comment

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

Approved, but with one suggestion (and a nit)

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

updated app subcommand to use wadm lib

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

updated to git dep temporarily

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

try the oldest version that compiles

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

pinned to wadm 0.4 branch

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

removed extraneous println

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

pinned to tag

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

bumped to wash lib 0.8.0

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

pull back a few versions, ensure rustls

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

WIP starting wadm in wash up

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

wip

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

attempted to fix OCI issue

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

reverted version experiments

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

fixed imports for windows

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

use sync_all from docs instead of flush

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

removed println breaking json tests lolsob

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

initial wadm up support, detach wip

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

attempt to give erlang some grace

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

initial pidfile support for stopping wadm

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

cleaned up minus a few TODOs for review

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

removed force flag for now

Signed-off-by: Brooks Townsend <[email protected]>
connorsmith256
connorsmith256 previously approved these changes May 2, 2023
ricochet
ricochet previously approved these changes May 3, 2023
Signed-off-by: Brooks Townsend <[email protected]>
@brooksmtownsend brooksmtownsend merged commit b3e2615 into main May 8, 2023
@brooksmtownsend brooksmtownsend deleted the feat/wadm_0.4_support branch May 8, 2023 16:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[BUG] Unable to reg pull properly after cargo update
4 participants