Repository navigation
Phase 1 NATS gateway with demo and QEMU smoke script alignment - #2
Merged
Merged
Conversation
Implement NATS-based edge gateway demonstrating device coordination patterns: Core Features: - Device simulator supporting sensor/actuator/hybrid modes - NATS request/reply for command routing with timeout handling - Telemetry aggregation and forwarding to backend - Device registry with state tracking (30s timeout) - Exponential backoff retry using bit-shift (1s to 30s cap) Architecture: - Applied EMBP (Explicit Module Boundary Pattern) throughout - Private modules with selective gateway exports - CLI argument parsing (CLAP) with env var fallbacks - Proper import patterns (super:: for siblings, crate:: for external) Infrastructure: - Service management scripts (NATS broker lifecycle) - Interactive demo script (configurable device count) - Comprehensive CONTRIBUTING.md with EMBP and doc standards Documentation: - Updated README.md with Quick Start guide - Expanded CHANGELOG.md with Phase 1 details - Enhanced architecture.md with implementation overview - Added rationale for NATS over MQTT decision Release Notes: - Version bump: 0.1.0 → 0.2.0 - Establishes foundation for Phase 2 (mqtt-rpc extraction) - Maintains cross-compilation and QEMU validation See CHANGELOG.md for complete feature list.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces the Phase 1 NATS-based edge gateway (
v0.2.0) and alignslocal demo and QEMU smoke scripts with the current runtime behavior.
Key changes:
and request/reply command routing
No CI workflow changes were made; only scripts invoked by CI were updated
to reflect correct runtime semantics.