Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boilerplate to catch and inform requester about sandbox fc process errors #256

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

0div
Copy link
Contributor

@0div 0div commented Jan 27, 2025

Description

Catch sandbox process.Wait errors, map them per sandbox ID in a TTL Cache, if sandbox not found in DNS, redirect to error http server that get this cached error and builds a response with it.

Test

currently being implemented

Copy link

linear bot commented Jan 27, 2025

@0div 0div changed the title boilerplate to catch sbx fc process erros and bubble them up via the … Boilerplate to catch and inform requester about sandbox process errors Jan 27, 2025
…ish-sandbox-timeout-oom-and-closed-port-errors-e2b-573
@0div 0div marked this pull request as draft January 27, 2025 22:55
@0div 0div changed the title Boilerplate to catch and inform requester about sandbox process errors Boilerplate to catch and inform requester about sandbox fc process errors Jan 27, 2025
@ValentaTomas
Copy link
Member

@0div Add label(s) and assign please.

@0div 0div self-assigned this Jan 29, 2025
@0div 0div added the improvement Improvement for current functionality label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement for current functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants