Skip to content

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

Latest

Choose a tag to compare

@JohnBasrai JohnBasrai released this 28 Jun 21:17
· 5 commits to main since this release
c790bc9

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