Skip to content

Conversation

@paul-fresquet
Copy link
Contributor

@paul-fresquet paul-fresquet commented Nov 30, 2025

This PR adds a protocol version control system during session connection. Clients with incompatible versions will no longer be able to join a session together, preventing inventory metadata incompatibility issues.

Main Changes

  • Creation of \ProtocolVersion\ to manage version compatibility
  • Addition of \ProtocolVersion\ in Trust Check DTOs (\PublicKeyInfo, \PublicKeyCheckData, \TrustCheckParameters)
  • Compatibility validation in the Trust Check process
  • Addition of \IncompatibleProtocolVersion\ status in \JoinSessionStatus\
  • UX handling with localized error messages

Implementation by Phases

  1. Foundations: ProtocolVersion infrastructure and DTOs extension
  2. Propagation: ProtocolVersion propagation in PublicKeysManager
  3. Validation: Compatibility validation in Trust Check
  4. UX: Error handling and resource messages

@sonarqubecloud
Copy link

@paul-fresquet paul-fresquet merged commit bdfd2cb into master Dec 1, 2025
25 checks passed
@paul-fresquet paul-fresquet deleted the feature/protocol-version-check branch December 1, 2025 05:29
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.

2 participants