aws / aws/aws-lambda-rust-runtime
[CI / lambda-events] Ensure that `cargo lambda init`'s generated tests pass for all event types
- Dominant language
- Rust
- Stars
- 3.6k
- Forks
- 396
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- ci-cd, cli, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100