Skip to content

feat(rpc): implement system.handshake, system.ping and system.shutdown (#7) - #25

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/7-rpc-system-methods
Jul 11, 2026
Merged

feat(rpc): implement system.handshake, system.ping and system.shutdown (#7)#25
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/7-rpc-system-methods

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary of Changes

  • Implemented robust system.handshake validator returning protocol version, driver info, and comprehensive capabilities list (< 3s requirement satisfied).
  • Implemented immediate system.ping handler replying "pong" ().
  • Implemented system.shutdown handler returning {"ok": true} and initiating graceful process termination ().
  • Upgraded src/main.rs dispatcher loop: fast-track life-cycle queries directly on the reader loop so that SandboxWatchdog heartbeats (system.ping) are never blocked even if heavy analytical queries (db.query) run concurrently on Tokio worker threads.
  • Added 3 new unit tests in rpc::handlers::system ().

Closes #7

@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 8fa0632 into dev Jul 11, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/7-rpc-system-methods branch July 30, 2026 07:25
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