Skip to content

fix(campus-net): prompt for a usable interface - #9

Merged
Cedarflake merged 1 commit into
mainfrom
codex/cli-interface-selector
Jul 19, 2026
Merged

Cedarflake merged 1 commit into
mainfrom
codex/cli-interface-selector

Conversation

@Cedarflake

Copy link
Copy Markdown
Owner

Summary

  • Share Windows IPv4 interface enumeration between the CLI and GUI
  • Prompt interactive CLI users to explicitly select another interface when probing is inconclusive
  • Keep the selection runtime-only and create a fresh bound session without changing config.json
  • Preserve fail-fast behavior for GUI, background, redirected, cancelled, and non-interactive runs
  • Document the recovery flow and packaged CLI smoke check

Root cause

The captive runner converted an UNKNOWN probe result directly into exit code 2. The GUI could enumerate and select interfaces, but the CLI had no explicit recovery path, so a stale or disconnected configured interface always stopped the run.

Validation

  • python -m unittest discover -s tests -p "test_*.py" -v — 164 tests passed
  • uvx ruff format --check workbench — 97 files formatted
  • uvx ruff check workbench — passed
  • python -m PyInstaller --clean --noconfirm build.spec — passed
  • Packaged Auto-Connect-CampusNet.exe --help and --print-config-path — exit code 0
  • Live read-only Windows IPv4 enumeration — succeeded

@vercel

vercel Bot commented Jul 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cedarflake-lab-landing Ready Ready Preview, Comment Jul 19, 2026 4:56am
coilpot-task Ready Ready Preview, Comment Jul 19, 2026 4:56am
liminal-drift Ready Ready Preview, Comment Jul 19, 2026 4:56am
maimai-transition Ready Ready Preview, Comment Jul 19, 2026 4:56am

This branch was successfully deployed

4 active deployments
Preview – liminal-drift 18c2204e Deployed Jul 19, 2026 by vercel[bot]
Preview – maimai-transition 18c2204e Deployed Jul 19, 2026 by vercel[bot]
Preview – cedarflake-lab-landing 18c2204e Deployed Jul 19, 2026 by vercel[bot]
Preview – coilpot-task 18c2204e Deployed Jul 19, 2026 by vercel[bot]
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.

2 participants