pub fn check_runner_version(
agent_version: &str,
runner_version: &str,
) -> Result<(), String>Expand description
Whether the agent accepts a runner: the versions must be equal (the binary and the
Python package are released together, see archive/PROJECT.md, Packaging and releases). The
agent’s Cargo version is compared as the Python package writes it: a release candidate
0.1.0-rc1 is the package’s 0.1.0rc1 (decision 163).
§Errors
Returns the reason to send in AgentMessage::Refused.