Skip to content

Link: mount a rutis session over WebSocket #1290

Open

Description

@eric8810

Context

rutis-bridge 0.19.3 has a websocket feature, off by default. Dim mounts sessions only over a local pipe (RuntimeConnection / Launcher). The leaf contract itself does not change.

Scope

  • Enable the websocket feature for rutis-bridge (rustls, tokio-tungstenite; check payload-size budgets).
  • A process row that mounts Session::new(websocket::dial(...)), and a listener form for the resource side (Session::service() / sessions.open).
  • A stable id (LocalId), token or client certificate, and reconnect with backoff once the session unloads.
  • A loopback integration test with two kernels: a process-scope data service is visible on both sides, withdrawn on unload, and no Session/branch name leaks.

Acceptance

  • A session mounts over wss in a test, and over ws:// loopback locally.
  • Only process-scope dispatcher services cross; instance names stay local.
  • Session end withdraws the far end's services; a reconnect starts a new session.

Notes

Protocol 4; both ends upgrade together. Authentication belongs to the connection, not to a plugin.

Metadata

Metadata

Assignees

Labels

P2core

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions