You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: address code review feedback from post-release audit (#106)
* fix: address code review feedback from post-release audit
- query.rs: remove dead AsyncResponse.status field (was the source of
the dead_code compiler warning; field was printed pre-polling but is
unused now that the loop reads QueryRunResponse.status)
- query.rs: reorder polling loop — poll first, then check deadline and
sleep; eliminates the mandatory 500ms delay before the first check and
ensures timeout is detected without an extra sleep cycle
- skill.rs: add 120s timeout to download_and_extract_from_url HTTP
client, matching the timeout used in perform_update; prevents an
indefinite hang during hotdata update if the skills download stalls
- main.rs: replace chained .unwrap() with .expect() in the databases
tables help path for clearer panic messages if subcommand names change
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat(update): execute brew upgrade directly for Homebrew installs
Instead of printing instructions and returning, run_update() now shells
out to `brew upgrade <formula>` when a Homebrew install is detected.
brew is located by checking common install paths (/opt/homebrew/bin,
/usr/local/bin) before falling back to PATH. If brew is not found or
the upgrade fails, falls back to printing the manual command.
On success, busts the update-available cache so the notice clears on
the next run, matching the behaviour of the non-Homebrew upgrade path.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Eddie A Tejeda <669988+eddietejeda@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments