Add Upstash Box sandbox provider

Đang mở
#371 2 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript

Hướng nghiên cứu

Start from the existing SandboxProvider implementations for E2B, Daytona, Vercel and Modal, and from the @rivet-dev/sandbox-adapter suspend mapping. Read how create, getUrl, ensureServer and destroy are wired before deciding whether this belongs as a subpackage or an external package. Done means an Upstash Box provider with resume/pause lifecycle, adapter suspend mapped to pause, and a guide at docs/deploy/upstash-box.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

We'd like to add Upstash Box (persistent cloud boxes that pause when idle, with snapshots and public port URLs) as a SandboxProvider alongside E2B, Daytona, Vercel and Modal, plus a docs/deploy/upstash-box guide.
The mapping: create creates a box (optionally from a snapshot with sandbox-agent preinstalled) and starts the server;
getUrl returns the box's public URL for the server port;
ensureServer resumes a paused box and restarts the server if needed;
destroy deletes the box.
For @rivet-dev/sandbox-adapter, suspend maps to pausing the box, so the filesystem survives Actor sleep.

Happy to open the PR and maintain it.
Do you prefer this as a subpackage in this repo or as an external package with a guide only?

Ngôn ngữ chính
TypeScript
Star
1.6k
Fork
135
Merge trung bình
13 giờ 34 phút
Pull request đã merge (30 ngày)
47

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rivet-dev/agents

Tất cả issue của rivet-dev/agents

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.