Display both local and remote git SHA versions in system banner#139
Conversation
Co-authored-by: paolomainardi <8747+paolomainardi@users.noreply.github.com>
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
The system banner was displaying an ambiguous SHA version without clarifying whether it was the local or remote version, causing confusion for users trying to understand their system state.
Before:
After:
Changes Made
get_version_info()function inbin/common/utils.shto fetch and display both local and remote SHA versionsThe implementation uses the same pattern as the existing
check_for_updates()function, fetching remote information quietly and handling errors gracefully. This provides users with a clear understanding of both their local state and the available remote state.Fixes #138.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
PR Type
Enhancement
Description
Display both local and remote git SHA versions in system banner
Replace ambiguous single SHA with clearly labeled local/remote versions
Add error handling for remote version fetch failures
Improve version information clarity for users
Changes walkthrough 📝
utils.sh
Enhanced version display with local and remote SHAbin/common/utils.sh
get_version_info()function to fetch and display both localand remote SHA versions
version:" and "Remote version:" labels