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)!: wash config put/get/del implementation #1677

Merged
merged 2 commits into from Mar 17, 2024

Conversation

brooksmtownsend
Copy link
Member

@brooksmtownsend brooksmtownsend commented Mar 14, 2024

Feature or Problem

This PR implements the wash config subcommand, including get, put, and del.

I had to make a change in the host to actually watch the config data bucket to get updates on config, so tests for this feature in wash will have to wait for the next alpha wasmcloud release.

Related Issues

Release Information

wasmcloud v1.0.0-alpha.2
next wash

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

I manually made sure all of this worked! I also included a special case to ensure we aren't inserting success:true when people fetch JSON config, might conflict with their keys and/or cause confusion.

@brooksmtownsend brooksmtownsend force-pushed the feat/wrpc-compatible-wash branch 2 times, most recently from 4a3b06e to 57f894c Compare March 15, 2024 11:18
@brooksmtownsend brooksmtownsend force-pushed the feat/wash-config-command branch 2 times, most recently from b040b9c to 5adeec1 Compare March 15, 2024 11:52
@brooksmtownsend brooksmtownsend marked this pull request as ready for review March 15, 2024 11:52
@brooksmtownsend brooksmtownsend requested review from a team as code owners March 15, 2024 11:52
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.

Mostly there, just two big discussion items

crates/host/src/wasmbus/mod.rs Outdated Show resolved Hide resolved
crates/wash-lib/src/cli/mod.rs Show resolved Hide resolved
Base automatically changed from feat/wrpc-compatible-wash to main March 17, 2024 17:34
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>

feat(wash-cli)\!: implement config subcommand

Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>

remove config caches

Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
@brooksmtownsend brooksmtownsend enabled auto-merge (rebase) March 17, 2024 17:35
@brooksmtownsend brooksmtownsend merged commit 5c3dc96 into main Mar 17, 2024
33 checks passed
@brooksmtownsend brooksmtownsend deleted the feat/wash-config-command branch March 17, 2024 17:41
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