Skip to content

Commit 9c7a657

Browse files
authored
chore(deps): move e2b to 2.62.1 and drizzle-kit to 0.31.11 (#9825)
1 parent 902ad0d commit 9c7a657

7 files changed

Lines changed: 41 additions & 29 deletions

File tree

‎apps/sim/lib/execution/remote-sandbox/e2b.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,6 +1156,9 @@ export const e2bProvider: SandboxProvider = {
11561156
: undefined
11571157
const createOptions = {
11581158
apiKey,
1159+
// The SDK retries a create that hit a gateway error; the key lets E2B return the sandbox
1160+
// the first attempt already started instead of starting a second one.
1161+
idempotencyKey: generateId(),
11591162
...(effectiveLifetimeMs !== undefined ? { timeoutMs: effectiveLifetimeMs } : {}),
11601163
...(options?.sessionKey
11611164
? {

‎apps/sim/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"@calcom/embed-react": "1.5.3",
106106
"@cerebras/cerebras_cloud_sdk": "^1.91.0",
107107
"@daytona/sdk": "0.207.0",
108-
"@e2b/code-interpreter": "2.7.1",
108+
"@e2b/code-interpreter": "2.9.1",
109109
"@earendil-works/pi-ai": "1.0.0",
110110
"@earendil-works/pi-coding-agent": "1.0.0",
111111
"@floating-ui/dom": "1.7.6",

‎bun.lock‎

Lines changed: 27 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
"marked": "18.0.11",
146146
"mermaid": "11.16.1",
147147
"zod": "4.3.6",
148-
"e2b": "2.50.0",
148+
"e2b": "2.62.1",
149149
"@ai-sdk/provider-utils": "3.0.28",
150150
"@azure/identity": "4.14.1",
151151
"@grpc/grpc-js": "1.14.6",
@@ -224,7 +224,7 @@
224224
],
225225
"patchedDependencies": {
226226
"@better-auth/oauth-provider@1.6.27": "patches/@better-auth%2Foauth-provider@1.6.27.patch",
227-
"drizzle-kit@0.31.10": "patches/drizzle-kit@0.31.10.patch",
227+
"drizzle-kit@0.31.11": "patches/drizzle-kit@0.31.11.patch",
228228
"postgres@3.4.9": "patches/postgres@3.4.9.patch",
229229
"oracledb@7.0.1": "patches/oracledb@7.0.1.patch",
230230
"echarts@6.1.0": "patches/echarts@6.1.0.patch",

‎packages/db/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"@sim/tsconfig": "workspace:*",
7474
"@types/bun": "1.4.4",
7575
"@types/node": "24.19.2",
76-
"drizzle-kit": "0.31.10",
76+
"drizzle-kit": "0.31.11",
7777
"typescript": "^7.0.2",
7878
"vitest": "^5.0.4"
7979
}

‎patches/README.md‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ closure handling. Keep the reconnect regression tests when upgrading.
4848

4949
# Drizzle development push policy
5050

51-
`drizzle-kit@0.31.10` prompts when it sees both additions and removals, even with
51+
`drizzle-kit@0.31.11` prompts when it sees both additions and removals, even with
5252
`--force`. Its PostgreSQL push path also catches errors and exits successfully,
5353
which lets post-push work run against a schema that was not applied.
5454

@@ -57,8 +57,11 @@ resolvers and makes PostgreSQL push failures and cancellations return nonzero.
5757
`packages/db/scripts/push.ts` enables the policy only in its Drizzle subprocess
5858
using `SIM_DB_PUSH_RENAME_MODE=create`. `--interactive-renames` selects the native
5959
chooser and requires a terminal. Normal migration generation keeps its rename
60-
prompts. Data-loss confirmations, table filters, introspection, and generated SQL
61-
remain owned by Drizzle; `--force` still controls data-loss approval.
60+
prompts. Data-loss confirmations, table filters, and generated SQL remain owned
61+
by Drizzle; `--force` still controls data-loss approval. Introspection changes in
62+
one place: PostgreSQL unique constraints read their columns from
63+
`key_column_usage` in ordinal order, so a composite unique constraint is compared
64+
by its own columns in declared order.
6265

6366
The same policy answers Drizzle's prompt to truncate a populated table before
6467
adding a unique constraint with its non-destructive choice: the constraint is
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ diff --git a/bin.cjs b/bin.cjs
6363
- console.error(e4);
6464
+ throw e4;
6565
}
66-
@@ -92281,2 +92282,3 @@
66+
@@ -92291,2 +92292,3 @@
6767
console.error(e4);
6868
+ process.exit(1);
6969
}

0 commit comments

Comments
 (0)