aws / aws/aws-durable-execution-sdk-python

Add cloud-based integration tests for filesystem serdes

Đang mở
#527 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
pkg:testing
Ngôn ngữ chính
Python
Star
53
Fork
25
Merge trung bình
1 ngày 19 giờ
Pull request đã merge (30 ngày)
40

Mô tả

Filesystem serdes currently has no cloud-based test coverage. All existing tests run locally against mocked filesystem calls, temp directories, or the in-memory runner. We have no test that validates the serdes against a real durable filesystem mount (Amazon S3 Files or EFS) on a deployed Lambda - which is the only environment the feature is actually supported in.

#### Proposed work
- Provision a durable filesystem mount (EFS, and/or S3 Files) for a dedicated example function in the cloud test stack.
- Add a test that uses the cloud durable_runner fixture rather than the local runner, covering ALWAYS, OVERFLOW, preview, and replay/deserialize-from-file end-to-end.

#### Acceptance criteria
- CI runs at least one filesystem serdes test against a deployed Lambda backed by a real durable filesystem mount.
- The test exercises write-on-first-invocation and read-on-replay through the checkpoint envelope.

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

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

Hướng nghiên cứu

Start with the cloud test stack and the cloud durable_runner fixture, then trace the existing filesystem serdes coverage for ALWAYS, OVERFLOW, preview, and replay. Provision the proposed durable filesystem mount for a dedicated example function and run the test against a deployed Lambda. Done means CI verifies write-on-first-invocation and read-on-replay through the checkpoint envelope.

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, python
Lĩnh vực
backend, 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
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/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.