Repository navigation
fix(daemon): drop protocol_version from the handshake - #421
Conversation
The CLI removed protocol_version from the binding hello and its ack in v0.241.0, so the app refused every daemon from that release on. The hello no longer sends it and the ack is accepted on its type alone.
|
@infer CI is failing, can you fix this? |
|
Model: Todos
Pull Request✅ Infer Result: SuccessCI is fixed. All 7 checks now pass on the PR, including What was failing The windows-only "Verify CLI init contract" step downloaded What I changed (commit
Validation
One note: I could not run the windows Model: Tokens: 2,800,235 in · 20,443 out · 2,820,678 total (31 requests) Tool calls: 40 total · 100% success rate TracesStatsTriggered by edenreich · Infer Action · OSS |
CLI releases since v0.244.0 ship the executable as infer-<os>-<arch>.tar.gz holding one infer / infer.exe at the tar root, so the flat infer-windows-amd64 asset the windows verify step downloaded no longer exists and the step failed with a 404. Fetch the tarball and extract infer.exe with tar, exactly the way the installer does.
|
🎉 This PR is included in version 0.53.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
The CLI removed
protocol_versionfrom the binding hello and its ack in v0.241.0 (inference-gateway/cli#1685). The app still required it in the ack, so it refused every daemon from that release on - and it installs the CLI fromreleases/latest.Changes
protocol_versionand the ack is accepted on its type alone.PROTOCOL_VERSIONis gone, and the version-mismatch test now covers an unacknowledged hello.inferpin moves from v0.236.3 to v0.244.0.infer-windows-amd64.tar.gzand extractsinfer.exewith tar, the way the installer does. Releases since the tarball switch ship tarballs only, so the flatinfer-windows-amd64asset the step fetched no longer exists and the job failed with a 404.