fix(remote): warn when proxied void binary is outdated - #68
Merged
Conversation
Stale remote binaries reject newer CLI flags (e.g. --cc) with clap "unexpected argument" errors that look like local parse bugs. Surface local/remote versions in `void remote status` and warn on proxy skew. Co-authored-by: Cursor <cursoragent@cursor.com>
Apply review follow-ups on the version-skew warning: - Normalize both sides of the comparison, including `remote_version` in `void remote status`, so the reported client and server versions are directly comparable and tolerate trailing build metadata. - Skip the extra `void --version` SSH round-trip in `remote status` when the host is already known to be unreachable. - Split the warning text out of the emission path as `version_skew_message` and unit-test the None/equal/mismatch cases. - Run `cargo fmt`, document the new status fields, and add the changelog entry. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
voidversions differ (closes confusing clap errors like gmail draft create: --cc flag rejected as unexpected argument #66)local_version/remote_versioninvoid remote statusgmail draft createaccepts--ccwith--connectionTest plan
void remote statusshows matchinglocal_versionandremote_versionwhen server is up to datevoid gmail draft create --to a@b.com --cc c@d.com --subject s --body bparses / proxies without clap rejecting--ccCloses #66
Made with Cursor