Skip to content

Silence missing-pi warnings in toggle unit tests#138

Merged
dnouri merged 1 commit intomasterfrom
test/silence-missing-pi-warnings
Feb 23, 2026
Merged

Silence missing-pi warnings in toggle unit tests#138
dnouri merged 1 commit intomasterfrom
test/silence-missing-pi-warnings

Conversation

@dnouri
Copy link
Copy Markdown
Owner

@dnouri dnouri commented Feb 23, 2026

Summary

This is a test-only cleanup to remove noisy CI warnings like:

Error (pi): pi not found in PATH...

from toggle/session unit tests that intentionally exercise window/session behavior without needing the real pi binary.

Changes

  • Stub pi-coding-agent--check-dependencies in the remaining toggle tests that were still calling real dependency checks.
  • No runtime/product behavior changes.

Why

The tests already mock process startup and are not validating dependency-check UX. Stubbing dependency checks keeps test output focused and stable in CI environments where pi is not installed.

Verification

  • PATH=/usr/bin:/bin make test SELECTOR=toggle- now runs cleanly without missing-pi warnings.
  • make check passes.
@dnouri dnouri merged commit 19da98a into master Feb 23, 2026
7 checks passed
@dnouri dnouri deleted the test/silence-missing-pi-warnings branch February 23, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant