aws / aws/aws-lambda-rust-runtime

Feature: Runtime Execution Simulator

Đang mở
#1,088 14 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
3.6k
Fork
396
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Name Pending.

Testing Lambda code can be difficult / unwieldy. While SAM exists for all supported languages, it is pretty limited in ergonomics, difficult to integrate with in CI, makes testing / infrastructure management unnecessarily complicated, and still requires further orchestration.

In an ideal world, we'd be able to "just" create a runtime with the corresponding service, add all the hooks, tracking, and tracing that we need, execute requests on top, and then verify the results, benchmark, get flamegraphs, etc, all without actually ever deploying, and all from a single `tokio::test`.

I have added a basic server in #1086, so this backlog issue is for extension / reuse of the implementation.

We should start from an internal implementation, and eventually publish a crate so that users can depend on it and integrate it in their CI.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Sử dụng server cơ bản được thêm trong issue #1086 làm điểm bắt đầu, sau đó xem xét cách có thể mở rộng hoặc tái sử dụng nó cho việc thực thi runtime cục bộ. Trước khi triển khai, hãy làm rõ milestone nội bộ đầu tiên và các tiêu chí chấp nhận, vì issue hiện bao quát hooks, tracing, thực thi request, benchmarking và việc phát hành crate sau cùng.

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

Đánh giá

Công nghệ
aws, rust
Lĩnh vực
cloud, testing
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

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.