Skip to content

Commit a425bcd

Browse files
author
Shaw
committed
Merge origin/develop: cloud capability readiness + feed deps
2 parents ab8511d + 5e64b64 commit a425bcd

8 files changed

Lines changed: 51 additions & 15 deletions

File tree

packages/agent/src/services/remote-capability-cloud-sandbox.cloud-smoke.test.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,12 @@ const cloudProvisionTimeoutMs = readPositiveIntegerEnv(
3333
"ELIZA_REMOTE_CAPABILITY_CLOUD_PROVISION_TIMEOUT_MS",
3434
600_000,
3535
);
36+
const cloudAvailabilityTimeoutMs = readPositiveIntegerEnv(
37+
"ELIZA_REMOTE_CAPABILITY_CLOUD_AVAILABILITY_TIMEOUT_MS",
38+
300_000,
39+
);
3640
const cloudLiveTestTimeoutMs = Math.max(
37-
cloudProvisionTimeoutMs + 120_000,
41+
cloudProvisionTimeoutMs + cloudAvailabilityTimeoutMs + 120_000,
3842
720_000,
3943
);
4044
const registeredPluginNames: string[] = [];
@@ -80,7 +84,7 @@ describe("cloud capability sandbox live smoke", () => {
8084

8185
await waitForCloudCapabilityEndpointAvailability({
8286
endpoint: provisioned.endpoint,
83-
timeoutMs: 120_000,
87+
timeoutMs: cloudAvailabilityTimeoutMs,
8488
pollIntervalMs: 5_000,
8589
requestTimeoutMs: 60_000,
8690
onProgress: (detail) => {

packages/agent/src/services/remote-capability-cloud-sandbox.ts

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ export async function waitForCloudCapabilityEndpointAvailability(
303303
clearTimeout(timeout);
304304
}
305305
} catch (error) {
306-
lastError = error instanceof Error ? error.message : String(error);
306+
lastError = describeAvailabilityError(error);
307307
}
308308
options.onProgress?.(
309309
`waiting for endpoint ${options.endpoint.id}: ${lastError}`,
@@ -316,6 +316,38 @@ export async function waitForCloudCapabilityEndpointAvailability(
316316
);
317317
}
318318

319+
function describeAvailabilityError(error: unknown): string {
320+
if (!(error instanceof Error)) return String(error);
321+
const cause = (error as Error & { cause?: unknown }).cause;
322+
if (cause instanceof Error) {
323+
return `${error.message}: ${cause.message}`;
324+
}
325+
if (cause && typeof cause === "object") {
326+
const detail = cause as {
327+
code?: unknown;
328+
errno?: unknown;
329+
syscall?: unknown;
330+
hostname?: unknown;
331+
address?: unknown;
332+
port?: unknown;
333+
};
334+
const parts = [
335+
detail.code,
336+
detail.errno,
337+
detail.syscall,
338+
detail.hostname,
339+
detail.address,
340+
detail.port,
341+
]
342+
.filter((value) => typeof value === "string" || typeof value === "number")
343+
.map(String);
344+
if (parts.length > 0) {
345+
return `${error.message}: ${parts.join(" ")}`;
346+
}
347+
}
348+
return error.message;
349+
}
350+
319351
export {
320352
buildRemoteCapabilityEndpointTrustPolicy as buildEndpointTrustPolicy,
321353
installRemoteCapabilityEndpoint,

packages/feed/apps/mobile/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"lightweight-charts": "^5.0.9",
6161
"lucide-react": "^0.555.0",
6262
"nanoid": "^5.1.6",
63-
"next": "16.0.7",
63+
"next": "16.2.6",
6464
"next-themes": "^0.4.6",
6565
"ox": "^0.9.14",
6666
"posthog-js": "^1.300.0",

packages/feed/apps/web/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"class-variance-authority": "^0.7.1",
8181
"date-fns": "^4.1.0",
8282
"dotenv": "^16.4.5",
83-
"drizzle-orm": "^0.44.7",
83+
"drizzle-orm": "^0.45.2",
8484
"ethers": "^6.16.0",
8585
"framer-motion": "^12.23.25",
8686
"geist": "^1.5.1",
@@ -92,7 +92,7 @@
9292
"lightweight-charts": "^5.0.9",
9393
"lucide-react": "^0.555.0",
9494
"nanoid": "5.1.7",
95-
"next": "16.2.1",
95+
"next": "16.2.6",
9696
"next-themes": "^0.4.6",
9797
"openai": "^6.8.1",
9898
"pg": "^8.16.3",

packages/feed/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"@tailwindcss/postcss": "4.1.17",
107107
"abitype": "1.2.3",
108108
"dotenv": "^16.4.5",
109-
"drizzle-orm": "^0.44.7",
109+
"drizzle-orm": "^0.45.2",
110110
"eventsource-parser": "^1.1.2",
111111
"ethers": "^6.16.0",
112112
"import-in-the-middle": "^2.0.0",
@@ -122,7 +122,7 @@
122122
"server-only": "^0.0.1",
123123
"tailwindcss": "4.1.17",
124124
"viem": "2.47.6",
125-
"ws": "8.20.0",
125+
"ws": "8.20.1",
126126
"zod": "^4.3.6"
127127
},
128128
"devDependencies": {
@@ -143,10 +143,10 @@
143143
"knip": "^5.80.2",
144144
"lint-staged": "^16.2.6",
145145
"madge": "^8.0.0",
146-
"next": "16.2.1",
146+
"next": "16.2.6",
147147
"sharp": "^0.34.5",
148148
"tsx": "^4.21.0",
149-
"turbo": "2.8.21",
149+
"turbo": "2.9.14",
150150
"typescript": "^5.9.3"
151151
},
152152
"lint-staged": {
@@ -198,7 +198,7 @@
198198
"qs": "6.15.0",
199199
"cookie": "1.1.1",
200200
"path-to-regexp": "0.1.13",
201-
"ws": "8.20.0"
201+
"ws": "8.20.1"
202202
},
203203
"trustedDependencies": [
204204
"@reown/appkit",

packages/feed/packages/db/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
},
3333
"dependencies": {
3434
"@feed/shared": "workspace:*",
35-
"drizzle-orm": "^0.44.7",
35+
"drizzle-orm": "^0.45.2",
3636
"postgres": "^3.4.7"
3737
},
3838
"peerDependencies": {
39-
"drizzle-orm": "^0.44.7",
39+
"drizzle-orm": "^0.45.2",
4040
"postgres": "^3.4.7"
4141
},
4242
"devDependencies": {

packages/feed/packages/engine/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@feed/pack-default": "workspace:*",
3333
"@feed/shared": "workspace:*",
3434
"@fal-ai/client": "^1.8.1",
35-
"hono": "4.12.9",
35+
"hono": "4.12.18",
3636
"xml2js": "^0.6.2"
3737
},
3838
"peerDependencies": {

packages/feed/packages/testing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@types/react-dom": "^19.2.3",
3636
"dotenv": "^16.4.5",
3737
"nanoid": "5.1.7",
38-
"next": "16.2.1",
38+
"next": "16.2.6",
3939
"playwright": "1.58.2",
4040
"react": "^19.2.4",
4141
"react-dom": "^19.2.4",

0 commit comments

Comments
 (0)