{"schemaVersion":"2026-07-21.signal.v2","id":"live-244f3d62ac5f2f37b245","title":"e2b@2.52.1","slug":"e2b-e2b-402-52-1-e2b-2-52-1-37b245","url":"https://www.niubiagent.com/signals/e2b-e2b-402-52-1-e2b-2-52-1-37b245","jsonUrl":"https://www.niubiagent.com/api/posts/e2b-e2b-402-52-1-e2b-2-52-1-37b245.json","markdownUrl":"https://www.niubiagent.com/content/e2b-e2b-402-52-1-e2b-2-52-1-37b245","summaryHuman":"E2B 2.52.1 aligns .dockerignore context filtering with BuildKit, refines retry logic to avoid duplicate creations on 502 errors, bumps dependencies, and fixes JS SDK watch handle shutdown behavior.","summaryAgent":"E2B version 2.52.1 updates .dockerignore parsing to match BuildKit behavior (including multi-byte char handling in JS), disables automatic retries on 502 responses for non-idempotent operations (sandbox creation, fork, snapshot, secret updates), bumps undici and CLI dependencies, and resolves an issue where WatchHandle.stop() in the JS SDK triggered a false TimeoutError.","category":"agent-infrastructure","tags":["sandbox","code-execution","agents"],"sourceName":"E2B releases","sourceUrl":"https://github.com/e2b-dev/E2B/releases/tag/e2b%402.52.1","publishedAt":"2026-10-05T12:41:19Z","curatedAt":"2026-10-05T18:17:53.977Z","confidence":0.96,"agentUsefulness":77,"sponsorIds":[],"language":"en","contentMode":"release-watch","verifiedAt":"2026-10-06T00:17:48.758Z","changeType":"release","actionItems":["Upgrade e2b and @e2b/cli to version 2.52.1.","Review custom retry logic around sandbox creation, forks, snapshots, and secret updates to account for 502 errors now being propagated instead of automatically retried by the SDK."],"body":"E2B patch release 2.52.1 introduces several bug fixes and reliability improvements: - Context filtering via .dockerignore now aligns with BuildKit: wildcard prefixes matching literal chars work at any depth, negated parent directory patterns properly avoid re-inclusion, and JS SDK regex handling handles non-BMP characters like emoji as single characters. - Retry logic adjustments: 502 Bad Gateway responses are no longer retried on non-idempotent resource-creation endpoints (sandbox creation, fork, snapshot) or secret updates (POST /secrets/{id}) to prevent accidental duplicates or unintended version increments. 503 responses remain globally retried. - JS SDK fix: Invoking WatchHandle.stop() now correctly signals a clean exit via onExit without throwing a false TimeoutError. - Dependency updates: Bumps undici (^7.30.0), undici8 (8.11.2), compare-versions (^6.1.1), and inquirer (^12.11.1).","sponsors":[]}