• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sripwoud / cza / 18059631729

27 Sep 2025 12:13PM UTC coverage: 83.725% (-2.2%) from 85.89%
18059631729

push

github

web-flow
feat(update): implement self-updating CLI capability (#24)

Adds comprehensive self-updating functionality using the self_update crate:

- Version checking against GitHub releases API
- Binary download and replacement with progress indication
- Proper error handling with manual download fallback
- Professional output using consistent messaging system
- Comprehensive unit and integration tests

Key features:
- Automatic detection of newer versions from GitHub releases
- Safe binary replacement with rollback capabilities
- User-friendly progress indication and status messages
- Error resilience with manual download instructions
- Full integration with existing output system

Dependencies added:
- self_update 0.41 for GitHub releases integration
- Updated integration tests for new output format

All tests passing (67 unit + 11 integration tests).

24 of 56 new or added lines in 1 file covered. (42.86%)

1 existing line in 1 file now uncovered.

998 of 1192 relevant lines covered (83.72%)

7.53 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

47.62
/cli/src/cmd/update.rs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc