Skip to content

Fix #715: Properly propagate install errors in TUI#1052

Open
kyleclarktech wants to merge 1 commit intomainfrom
fix/715-install-tui-output
Open

Fix #715: Properly propagate install errors in TUI#1052
kyleclarktech wants to merge 1 commit intomainfrom
fix/715-install-tui-output

Conversation

@kyleclarktech
Copy link
Contributor

Summary

  • Updates installCore() in PackageManagement.py to return (bool, str) tuple like other functions
  • Updates UserInteraction.py to check return value and display appropriate error/success message
  • Fixes installPackages() and removePackages() to return proper (True, None) tuples

Test plan

  • Trigger an install failure - error message should now display
  • Successful install should show success message
  • Manual testing required (Python TUI application)

🤖 Generated with Claude Code

- PackageManagement.installCore() now returns (bool, str) tuple
- Fixed installPackages() and removePackages() to return (True, None)
- UserInteraction shows error message when install fails instead of
  unconditionally showing success

Follows the established (bool, str) return pattern from updateSystem().

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

1 participant