Skip to content

Require mesh-llm/1 for mesh joins#299

Merged
i386 merged 1 commit intomainfrom
codex/drop-mesh-alpn0
Apr 16, 2026
Merged

Require mesh-llm/1 for mesh joins#299
i386 merged 1 commit intomainfrom
codex/drop-mesh-alpn0

Conversation

@i386
Copy link
Copy Markdown
Collaborator

@i386 i386 commented Apr 16, 2026

Summary

mesh joins now use only the mesh-llm/1 protobuf control-plane protocol.
This removes the legacy mesh-llm/0 JSON compatibility path from dialing, acceptance, stream handling, and protocol docs.

User Impact

Nodes running releases below v0.54.0 will no longer be able to join the mesh, because v0.54.0 was the first tagged release that contained the protobuf mesh-llm/1 control-plane implementation.
Meshes are now protobuf-only on the control plane.

What Changed

  • remove mesh-llm/0 ALPN fallback and legacy JSON control-frame handling
  • delete the legacy v0 protocol module and compatibility-only tests/helpers
  • update protocol and testing docs to describe mesh-llm/1 as the only supported control-plane protocol

Protocol

This is an intentional compatibility break for pre-v0.54.0 nodes.
Releases below v0.54.0 cannot negotiate the protobuf control plane and will not be able to join upgraded meshes.

Validation

  • just build
  • cargo test -p mesh-llm --lib

@i386 i386 requested a review from michaelneale April 16, 2026 05:50
Copy link
Copy Markdown
Collaborator

@michaelneale michaelneale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am ok with this, but need to update the web app on the main site co-ordinated with some other nodes during release - so if we can work that out?

Also - how do we kind of test this all out?

@i386 i386 changed the title [codex] Require mesh-llm/1 for mesh joins Require mesh-llm/1 for mesh joins Apr 16, 2026
@i386
Copy link
Copy Markdown
Collaborator Author

i386 commented Apr 16, 2026

Also - how do we kind of test this all out?

Run a pre-0.54.0 node and this change. You won't see the new node in pre-0.54.0's mesh peer list.

Copy link
Copy Markdown
Collaborator

@ndizazzo ndizazzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! My favourite activity is deleting code

@i386 i386 marked this pull request as ready for review April 16, 2026 22:16
@i386 i386 merged commit 8decf29 into main Apr 16, 2026
28 checks passed
@i386 i386 deleted the codex/drop-mesh-alpn0 branch April 16, 2026 22:16
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.

3 participants