aws / aws/aws-lambda-rust-runtime

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

Offen
#1,012 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
good first issue
Vorherrschende Sprache
Rust
Sterne
3.6k
Forks
396
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
rust
Bereich
ci-cd, cli, testing
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.