fix: harden retained session observation
This commit is contained in:
@@ -40,6 +40,7 @@ pub struct BackendRuntimeTarget {
|
||||
/// Backend-owned Worker identity used as path authority.
|
||||
pub worker_id: String,
|
||||
pub initial_snapshot: Option<protocol::SessionSnapshot>,
|
||||
pub initial_notice: Option<String>,
|
||||
}
|
||||
|
||||
impl BackendRuntimeTarget {
|
||||
@@ -55,6 +56,7 @@ impl BackendRuntimeTarget {
|
||||
runtime_id: runtime_id.into(),
|
||||
worker_id: worker_id.into(),
|
||||
initial_snapshot: None,
|
||||
initial_notice: None,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,9 @@ pub use backend_workspace::{
|
||||
list_backend_workspaces_blocking,
|
||||
};
|
||||
pub use client::{Client, ClientError};
|
||||
pub use runtime_api::{WorkerSessionAvailability, WorkerSessionUnavailableReason};
|
||||
pub use runtime_api::{
|
||||
RetainedSessionIdentity, WorkerSessionAvailability, WorkerSessionUnavailableReason,
|
||||
};
|
||||
pub use server_api::{ServerApi, ServerApiClient, WorkspaceWorkerSessionResponse};
|
||||
pub use target::{
|
||||
BackendTarget, BackendWorkerLaunch, Dashboard, ResolvedTarget, StandaloneTarget,
|
||||
|
||||
Reference in New Issue
Block a user