pub struct MigrationServer {
pub config_id: Option<String>,
pub url: String,
pub port: Option<u16>,
pub needs_migration: bool,
/* private fields */
}Expand description
A RAP server booted eagerly for a migration flow. Migration servers are
ordinary configured RAP servers — the same specs the session runtime
boots lazily — brought up outside any session so the migration protocol
can be spoken to the ones whose manifest declares needsMigration.
Owns the underlying server: dropping this kills a command server’s child
process (kill_on_drop), which bounds the servers’ lifetime to the
migration flow. MCP proxies detach and keep running, as everywhere else.
Fields§
§config_id: Option<String>The server’s config id, when its config entry has one (migration pairing between source and destination is keyed by these ids).
url: StringThe server’s reachable base URL.
port: Option<u16>The local port, for servers we booted ourselves (None for external
toolset_server URLs).
needs_migration: boolWhether the server’s manifest declared needsMigration: true.