Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Add list of gotchas

James Murdza4d65b47045c5
diff --git a/apps/web/src/app/(docs)/docs/quickstart/migrating-from-v0/page.mdx b/apps/web/src/app/(docs)/docs/quickstart/migrating-from-v0/page.mdx
index 52f22f921..c10ef5d53 100644
--- a/apps/web/src/app/(docs)/docs/quickstart/migrating-from-v0/page.mdx
+++ b/apps/web/src/app/(docs)/docs/quickstart/migrating-from-v0/page.mdx
@@ -160,7 +160,13 @@ grit apply e2b_v0_to_v1_py
### Step 5: Review changes
-Once the migration is applied, review the changes for possible mistakes, including code that was broken (false positives) or outdated code that was not fixed (false negatives) by the migration.
+Once the migration is applied, review the changes for possible mistakes, including code that was broken (false positives) or outdated code that was not fixed (false negatives) by the migration. Such issues you may encounter include:
+
+- ⚠️ If non-E2B objects with .close() methods, .id attributes, etc. exist in files that import E2B libraries, they will be incorrectly changed. You need to reject these changes manually.
+- ⚠️ The output structure of Sandbox.list() has changed in the new SDK. You must manually rewrite your code to account for this.
+- ⚠️ The Sandbox cwd option no longer exists, and there is no replacement.
+
+You should manually review all changes made by Grit to fix these "gotchas" and others which are sure to exist.
### Step 6: Commit changes