Skip to content

e2b@2.62.2

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Nov 19:43

Patch Changes

  • 08f05bb: Fix TypeError: fetch failed / NGHTTP2_ENHANCE_YOUR_CALM on concurrent files.write() calls. Node's HTTP/2 client queues each request body in full against a 10 MB per-session memory budget and resets the stream whose response arrives while it is exhausted; since undici 8 every envd request of a process shares one session, so parallel or large uploads reset each other and the reads next to them. files.write() uploads now go over HTTP/1.1 on a pool of their own (one request per connection, no shared budget; E2B_ENVD_UPLOAD_CONNECTIONS, default 50), and an envd dispatcher whose HTTP/2 session Node reports as out of memory is retired and replaced instead of failing every later request. Nothing is retried: a failed write may already have been applied.
  • 1ad3f76: Template builds hash copy() files in 1 MB chunks instead of reading each file fully into memory, cutting peak memory for large files. Hashes are unchanged, so existing build caches stay valid.