Skip to content

Releases: JohnBasrai/aws-lambda-action-filter

Release 0.2.0 – EMBP Architecture, Docker CI, and Lambda Integration

28 Jun 21:17
c790bc9
Compare
Choose a tag to compare

What’s New in v0.2.0

This release introduces a clean architecture overhaul using the Explicit Module Boundary Pattern (EMBP), a fully containerized development and CI pipeline, and integration test support for AWS Lambda custom runtimes.

✨ Added

  • EMBP Architecture: Adopted Explicit Module Boundary Pattern for modular crate structure
    • Created mod.rs gateways across key modules (domain/, repository/)
    • Improved encapsulation, import hygiene, and architectural clarity
  • Docker-Based Development Workflow:
    • Added Docker Compose setup with Postgres and Redis
    • scripts/build.sh provides unified lint/format/test/build pipeline
  • Standardized CI Pipeline:
    • GitHub Actions runs tests and builds inside containers
    • Includes clippy, rustfmt, unit tests, and Lambda integration tests
    • Added containerized Lambda testing via cargo lambda invoke
  • Toolchain Pinning: Locked Rust version to 1.85 for reproducibility

🔄 Changed

  • All builds and tests now run fully inside containers
  • Replaced curl-based healthchecks with netcat TCP-level probes

🐛 Fixed

  • Integration test flakiness due to HashMap ordering:
    • Introduced order-agnostic assertions and deduplication checks

⚠️ Breaking Changes

  • Local development now requires Docker instead of native Rust-only workflows

0.1.1 – First Working Release

27 Jun 15:19
Compare
Choose a tag to compare

This is the first stable and fully working version of the AWS Lambda Action Filter.

✅ Summary

  • Fixed compilation and logic issues from the original assignment
  • Implemented all filtering rules:
    • Exclude actions < 7 days old
    • Exclude actions > 90 days in the future
    • Deduplicate by entity_id
    • Prioritize urgent actions before normal
  • Refactored core logic into a testable process_actions function
  • Added robust unit tests using anyhow::Result and ensure
  • Renamed project to aws-lambda-action-filter
  • Added changelog and improved documentation

⚠️ Attribution and licensing are pending confirmation from the original author (Illya Yalovyy). This release is shared for interview and review purposes only.

Full Changelog: https://github.com/JohnBasrai/aws-lambda-action-filter/commits/v0.1.1