Skip to content

fix: make environment setup reliable - #15

Merged
knqiufan merged 2 commits into
mainfrom
codex/fix-issue-3-env-check
Aug 11, 2026
Merged

fix: make environment setup reliable#15
knqiufan merged 2 commits into
mainfrom
codex/fix-issue-3-env-check

Conversation

@knqiufan

Copy link
Copy Markdown
Owner

Summary

  • require parseable versions for environment detection and refresh PATH after package-manager installs
  • use supported non-interactive installers on Windows, macOS, and Linux, then verify the installed tool before reporting success
  • show install progress and actionable failures in both environment-check UIs
  • update Claude Code through its detected install manager instead of assuming npm
  • cover platform commands, detection, PATH refresh, UI feedback, and updater selection with tests
  • run CI on Windows, macOS, and Linux with Python 3.10 and 3.12

Verification

  • pytest -q — 593 passed
  • ruff check misaka/ — passed
  • mypy misaka/ — passed
  • live Windows check detected Claude Code, Node.js, Python, and Git with parseable versions

Closes #3

Use supported non-interactive installers across Windows, macOS, and Linux, verify installed tool versions, surface actionable UI failures, refresh PATH after installs, and run the test suite on all three platforms.\n\nRefs #3
Keep the complete suite on Ubuntu while validating environment setup paths on clean Windows and macOS runners. Fix simulated Windows path assertions and pin the hidden-window subprocess test to its intended platform.
@knqiufan
knqiufan merged commit 940132e into main Aug 11, 2026
6 checks passed
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.

[Env Check] Environment check and one-click install need verification testing

1 participant