feat: adopt Workspace resource keys

This commit is contained in:
2026-08-21 10:20:32 +09:00
parent 9989aed916
commit 85d1815dcf
33 changed files with 678 additions and 294 deletions
+2 -2
View File
@@ -137,8 +137,7 @@ pub struct BackendWorkerCapabilitySummary {
pub struct BackendWorkerSummary {
pub runtime_id: String,
pub worker_id: String,
#[serde(default)]
pub human_key: Option<String>,
pub resource_key: String,
pub host_id: String,
#[serde(default)]
pub display_name: String,
@@ -651,6 +650,7 @@ mod tests {
let payload = serde_json::json!({
"runtime_id": "arcadia",
"worker_id": "worker-opaque-64",
"resource_key": "W-64",
"host_id": "host",
"display_name": "Coder",
"label": "Coder",