Skip to content

chore: decouple WalrusClient from CliCommandRunner#2818

Draft
wbbradley wants to merge 17 commits into
mainfrom
sdk-refactor-03
Draft

chore: decouple WalrusClient from CliCommandRunner#2818
wbbradley wants to merge 17 commits into
mainfrom
sdk-refactor-03

Conversation

@wbbradley

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

github-actions Bot commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

Warning: This PR modifies the Walrus CLI. Please consider the following:

  • Make sure the changes are backwards compatible. Consider deprecating options before
    removing them.
  • Generally only use long CLI options, not short ones to avoid conflicts in the
    future.
  • If you added new options or features, or modified the behavior, please document the
    changes in the release notes of the PR and update the documentation in the docs/book
    directory.

@wbbradley wbbradley changed the title wip chore: decouple WalrusClient from CliCommandRunner Jan 6, 2026
Refactors Wallet to be Clone-able by wrapping WalletContext in Arc<Mutex<...>> and caching immutable
properties (active address, environment, config path) at construction time. This moves validation
from accessor methods to the constructor, eliminating many ? operators and &mut self requirements
throughout the codebase. This is a step toward making ClientCommandRunner reusable across multiple
invocations, and is orthogonal to the upcoming gRPC transition.
@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 14 days with no activity. It will be closed in 7 days unless you remove the stale label, add the do-not-close label, or comment on it.

@github-actions github-actions Bot added the stale label Jan 26, 2026
@wbbradley wbbradley removed the stale label Jan 26, 2026
@wbbradley

Copy link
Copy Markdown
Contributor Author

Still working on this.

@wbbradley wbbradley force-pushed the sdk-refactor-02 branch 2 times, most recently from 8f105b0 to 3bbb47b Compare February 6, 2026 15:59
@wbbradley wbbradley force-pushed the sdk-refactor-02 branch 2 times, most recently from 86a7459 to e2d28e9 Compare February 18, 2026 16:44
Base automatically changed from sdk-refactor-02 to main February 23, 2026 19:35
@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 14 days with no activity. It will be closed in 7 days unless you remove the stale label, add the do-not-close label, or comment on it.

@github-actions github-actions Bot added the stale label Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant