Skip to main content

drive_standalone_lifecycle

Function drive_standalone_lifecycle 

Source
async fn drive_standalone_lifecycle(
    atlas: &mut AtlasClient,
    before: &ProviderRegistrationSnapshot,
    expected_provider_id: &str,
    expected_driver_contract: &str,
    allow_shared_driver_upgrade: bool,
    config_json: String,
) -> Result<()>
Expand description

Wait for exactly one new provider, verify that it declares the driver contract from this package manifest, then drive INIT and (except for skills) ACTIVATE. Contract verification is mandatory before any config is sent, so a provider exposing a different lifecycle cannot receive this package’s configuration. Concurrent starts of two instances with the same driver contract still require a future registration token for full identity correlation.