Root cause of "filter never suppresses": passing the target pane_id and watch names as positional args to `bash -c "..." _ <id> <names>` had them silently dropped by wsl.exe's arg-passing layer. Inside bash, $1 and $@ were empty — the script always looked for `TILETOPIA_PANE_ID=` (no value), found nothing, exited 1. Fix: format the script string in Rust with pane_id and watch names already substituted. No positional args to bash → nothing for wsl.exe to drop. Both inputs are safe to inline (u64 and a compile-time const list); validation needed if user-supplied watch names ever land here. Two unit tests guard against regressing to the positional-arg shape. Also dropped the diagnostic info!() spam added during debugging — back to debug! in the happy path, single concise probed= line on each cache miss. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| capabilities | ||
| icons | ||
| src | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| tauri.conf.json | ||