aws / aws/aws-lambda-rust-runtime

[CI / lambda-events] Ensure that `cargo lambda init`'s generated tests pass for all event types

未关闭
#1,012 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
good first issue
主要语言
Rust
星标
3.6k
派生
396
PR 合并指标
30 天内没有已合并 PR

描述

Related: https://github.com/awslabs/aws-lambda-rust-runtime/issues/1009

We're playing a bit of whackamole with the tests that `cargo lambda init` generates failing in some cases. Currently it's due to spottiness on event type structs implementing `Default`. There presumably could be other reasons as well.

It would be great to have some sort of CI step that dynamically runs `cargo lambda init` against a feature matrix and makes sure the autogenned tests pass.

贡献指南

打开贡献指南

调研方向

Start with the cargo lambda init command and its generated tests, reproducing failures across the event types and feature combinations described in the issue. Done means a CI step dynamically exercises those combinations and confirms that all generated tests pass.

由索引模型根据 Issue 内容生成。

评估

技术栈
rust
领域
ci-cd, cli, testing
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。