Skip to content

fix(wizard): tri-state reachability (#64) - #66

Merged
jacobyoby merged 1 commit into
mainfrom
cursor/wizard-tri-state-reachability-390b
Sep 9, 2026
Merged

jacobyoby merged 1 commit into
mainfrom
cursor/wizard-tri-state-reachability-390b

Conversation

@jacobyoby

Copy link
Copy Markdown
Owner

Fixes #64.

The quick-start wizard assigned Test-Connection -Quiet booleans onto Reachable, collapsing local send failures and ICMP-blocked hosts into $false. DrawIO then painted those nodes Unreachable (red) instead of Unknown (gray), undoing the tri-state honesty from #28.

Changes

  • Route wizard discovery and [4/5] Testing connectivity through Test-DeviceReachability (true / false / $null).
  • Preserve already-probed Reachable values; a stubbed local-send failure stays $null.
  • Add optional -TcpFallbackPort on the wizard and forward it to the same helper.
  • Keep discovery bounded (MaxParallel 20) and leave -DnsTimeoutSeconds in place for reverse DNS.
  • Print reachable / unreachable / unknown counts in the connectivity summary.

Tests

  • New Pester coverage for the wizard helpers: local-send failure → $null, summary counts, and discovery returning only confirmed-reachable hosts.

Notes

Do not merge until CI is green.

Open in Web Open in Cursor 

@jacobyoby
jacobyoby marked this pull request as ready for review September 9, 2026 19:16
…uiet

Route wizard discovery and connectivity checks through Test-DeviceReachability
so local send failures stay $null (Unknown) rather than collapsing to false.
Forward optional -TcpFallbackPort and report reachable/unreachable/unknown counts.

Co-authored-by: Jacobrakai <jacobyoby@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/wizard-tri-state-reachability-390b branch from 385bdc0 to 02f0421 Compare September 9, 2026 19:17
@jacobyoby
jacobyoby merged commit 802b6c7 into main Sep 9, 2026
7 checks passed
@jacobyoby
jacobyoby deleted the cursor/wizard-tri-state-reachability-390b branch September 9, 2026 19:18
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.

Wizard: use tri-state reachability instead of Test-Connection -Quiet

2 participants