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(wash-cli): add support for wash app status #1421

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

connorsmith256
Copy link
Contributor

Feature or Problem

This adds support for wash app status [model]

Given the verbosity of the status message, I'm not sure I like the table view, so I'm open to suggestions

Related Issues

Resolves #857

Release Information

Next minor bump

Consumer Impact

N/A

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

~/wasmcloud/wasmcloud/target/debug/wash app status typescript-http-hello-world -o json

{
  "status": {
    "message": "Successfully fetched status for model typescript-http-hello-world",
    "result": "ok",
    "status": {
      "components": [],
      "status": {
        "message": "Linkdef pending, waiting for file:///Users/connor/Documents/wasmCloud/wasmCloud/examples/typescript/actors/http-hello-world/build/index_s.wasm and wasmcloud.azurecr.io/httpserver:0.19.1 to start",
        "type": "reconciling"
      },
      "version": "v0.0.1"
    }
  },
  "success": true
}
~/wasmcloud/wasmcloud/target/debug/wash app status typescript-http-hello-world

                                                                                                                                                                                   
  Name                          Deployed Version   Deploy Status   Status Message                                                                                                  
  typescript-http-hello-world   v0.0.1             Reconciling     Linkdef pending, waiting for file:///Users/connor/Documents/wasmCloud/wasmCloud/examples/typescript/actors/http-hello-world/build/index_s.wasm and wasmcloud.azurecr.io/httpserver:0.19.1 to start

Signed-off-by: Connor Smith <connor.smith.256@gmail.com>
@connorsmith256 connorsmith256 requested a review from a team as a code owner January 30, 2024 00:19
Copy link
Contributor

@vados-cosmonic vados-cosmonic left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

Some comments but none are blocking

crates/wash-cli/src/app/mod.rs Show resolved Hide resolved
crates/wash-cli/src/app/mod.rs Show resolved Hide resolved
@connorsmith256 connorsmith256 merged commit cb29e75 into wasmCloud:main Jan 30, 2024
48 checks passed
@connorsmith256 connorsmith256 deleted the feat/wash-app-status branch January 30, 2024 16:21
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.

[FEATURE] wash app status
2 participants