e2b-dev / e2b-dev/code-interpreter

Contribute example: execution telemetry or error-handling patterns

Open
#165 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.4k
Forks
228
Avg merge
48m
Merged PRs (30d)
5

Description

Hi E2B team! I'd like to contribute an example to help users with common patterns. Before opening a PR, wanted to confirm direction:

Options I can ship:

  1. Execution telemetry wrapper — Uses SDK callbacks (onStdout/onStderr) to capture timing, output stats from the Execution object, produces JSON summary. No infra metrics, just SDK best practices.

  2. Error-handling patterns — Demonstrates timeouts, retries for transient errors, cleanup patterns, graceful degradation.

  3. Real use case — CSV → analysis → chart pipeline showcasing file ops, streaming, and structured output.

Questions:

  • Which would be most valuable for the community?
  • Should this live in examples/ here or in e2b-cookbook?

Happy to ship whichever helps users most. Let me know!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue proposes three different example directions and asks whether the work belongs in examples/ or e2b-cookbook. First wait for a maintainer to select the scope and location, then review the chosen example area and its existing patterns. Done means the agreed example is added in the selected location and demonstrates the requested SDK behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python, typescript
Domain
developer-experience, documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.