Skip to content

Fix discovery of nodes launched with relative directories - #15

Open
geroldsteiner67 wants to merge 1 commit into
mainfrom
fix/node-local-discovery
Open

geroldsteiner67 wants to merge 1 commit into
mainfrom
fix/node-local-discovery

Conversation

@geroldsteiner67

Copy link
Copy Markdown
Contributor

Summary

Resolve modal local nodes / killall discovery of nodes launched with a relative --dir from a different working directory. The ps argument is now resolved against the target process's cwd, not the caller's cwd; if that cwd cannot be found, discovery does not guess.

Verification

  • cargo check -p modality-cli-node
  • cargo clippy -p modality-cli-node -- -D warnings -A clippy::too_many_arguments
  • cargo test -p modality-cli-node relative_node_dir_uses_target_process_cwd
  • RUSTFLAGS="-D warnings" cargo check --all
  • RUSTFLAGS="-D warnings" cargo check --all --tests --examples
  • cargo clippy --all -- -D warnings -A clippy::too_many_arguments

This branch has not been deployed

No deployments
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.

1 participant