feat: promote workers to Workspace-owned UUIDv7 identities

This commit is contained in:
2026-08-19 23:04:02 +09:00
parent 25baeedc03
commit e35b5797a3
15 changed files with 1188 additions and 268 deletions
+4 -4
View File
@@ -148,10 +148,10 @@ impl std::fmt::Debug for WorkspaceApiRef {
/// summarized without exposing raw host paths.
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
pub struct CreateWorkerRequest {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub idempotency_key: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub idempotency_fingerprint: Option<String>,
/// Workspace-owned stable identity reserved before this request reaches a Runtime.
pub worker_id: WorkerId,
/// Canonical create-intent fingerprint bound to `worker_id` for retry recovery.
pub create_fingerprint: String,
pub profile: ProfileSelector,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub display_name: Option<String>,