Skip to content

qkc/slave 07: add SlaveComm runtime and Python interop validation - #41

Open
iteyelmp wants to merge 6 commits into
slave-06from
slave-07
Open

qkc/slave 07: add SlaveComm runtime and Python interop validation#41
iteyelmp wants to merge 6 commits into
slave-06from
slave-07

Conversation

@iteyelmp

@iteyelmp iteyelmp commented Jul 16, 2026

Copy link
Copy Markdown

Summary

Final PR in the Slave migration series.

Add SlaveComm runtime integrating:

  • MasterConn
  • PeerConn
  • XshardConn
  • XshardPool

Add real Python interoperability validation using a pyquarkchain
process over TCP.

Changes

  • Add SlaveComm lifecycle management
  • Wire all cluster communication components together
  • Add real Python Master interoperability tests

Testing

Unit tests:

  • connection lifecycle
  • RPC dispatch
  • peer routing
  • xshard communication
  • cleanup handling

Real Python Master integration tests:

  1. Master bootstrap flow
  • Start real pyquarkchain Master
  • Connect Go Slaves
  • Verify Master → Slave PING/PONG
  • Verify CONNECT_TO_SLAVES_REQUEST creates xshard connections
  • Verify slave communication bootstrap completes successfully
  1. Peer lifecycle flow
  • Connect external peer through Master SimpleNetwork
  • Verify CREATE_CLUSTER_PEER_CONNECTION_REQUEST creates PeerConn
  • Verify Dispatcher peer registration
  • Disconnect peer
  • Verify DESTROY_CLUSTER_PEER_CONNECTION_COMMAND removes PeerConn

All tests pass.

@iteyelmp
iteyelmp changed the base branch from goshard/base to slave-06 July 16, 2026 10:32
iteyelmp added 2 commits July 20, 2026 10:25
# Conflicts:
#	qkc/cluster/slave/compat_test.go
@iteyelmp iteyelmp changed the title qkc/slave 07: add SlaveServer runtime and Python interop validation qkc/slave 07: add SlaveComm runtime and Python interop validation Jul 21, 2026
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.

1 participant