Skip to content

fix(remote): warn when proxied void binary is outdated - #68

Merged
MaximeGaudin merged 2 commits into
mainfrom
fix/66-remote-version-skew
Sep 10, 2026
Merged

fix(remote): warn when proxied void binary is outdated#68
MaximeGaudin merged 2 commits into
mainfrom
fix/66-remote-version-skew

Conversation

@MaximeGaudin

Copy link
Copy Markdown
Owner

Summary

Test plan

  • void remote status shows matching local_version and remote_version when server is up to date
  • With an intentionally older remote binary, a proxied write prints a version-skew warning on stderr
  • void gmail draft create --to a@b.com --cc c@d.com --subject s --body b parses / proxies without clap rejecting --cc

Closes #66

Made with Cursor

MaximeGaudin and others added 2 commits September 10, 2026 09:20
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>
@MaximeGaudin
MaximeGaudin merged commit e806d2b into main Sep 10, 2026
7 checks passed
@MaximeGaudin
MaximeGaudin deleted the fix/66-remote-version-skew branch September 10, 2026 07:41
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.

gmail draft create: --cc flag rejected as unexpected argument

1 participant