Repository navigation
Open
Description
Checkpoint — 2026-09-18
Status: Functional integration demonstrated on an isolated lab; not production approved. RBE is on main via PR #18 as a functional checkpoint. Contract still NOT LOCKED.
MMA2 is a memory appliance. RBE TCP is a generic subscriber socket. A plant controller is one possible client, not the protocol.
Branch: feature/rbe-tcp-v1 (follow-up commits after 8004e0d).
Verified evidence
- Lab:
go build ./...,go test ./..., andgo test -race ./...passed. - Raw Ingest write triggered RBE TCP RuleID
0x01. - Modbus FC16 wrote holding registers 2–3; FC3 readback matched; an RBE TCP subscriber received RuleID
0x03. - One Node-RED subscriber test (a plant-controller lab, not a definition of RBE): FC16 write values
[3616,3938], RBE RuleID 3, FC3 readback matched. One observed cycle: write→ACK 4 ms, write→RBE 4 ms, RBE→readback 4 ms, total write→readback 8 ms. This is one application-level sample, not an internal MMA2 latency guarantee or p95/p99. - Branch test report:
docs/RBE_V1_TEST_REPORT.md.
Resolve before replacement cutover / production approval
- RuleID
0x00reserved (DECIDED 2026-09-18):0x00is not a valid RuleID and is not a gap/heartbeat sentinel. Legal IDs are1..255. Config rejects 0; engine rejects ID 0; TCP and InfluxPublish(0)emit nothing. A received0x00is a fault — reconnect and reconcile over Modbus. Recorded indocs/RBE_V1_DRAFT.md. - Subscriber language (2026-09-18): Draft, examples, comments, and fixtures no longer treat a plant controller as "the" RBE client. Remaining historical notes call that lab what it was: one subscriber.
- Add an unchanged-legacy-YAML regression test verifying old
notifybehavior and Modbus/Raw Ingest response compatibility. Legacynotifyand RBE cannot coexist in one configuration; document migration. - Resolve Influx timestamp semantic difference: legacy notify captures commit timestamp; RBE Influx currently timestamps asynchronously at processing. Validate metadata/schema migration (
mma_write_eventsversusmma_rbe, source/source-IP fields) with actual consumers. - Review/lock RBE contract and update configuration docs; retain
MMA_Notification_Engine_LOCKED.mduntil approved cutover. - Keep examples application-neutral (holding registers via Modbus and input registers via Raw Ingest). Started on
feature/rbe-tcp-v1examples/rbe-tcp.yaml. - Complete remaining release verification as appropriate: sustained latency distribution (p95/p99), reconnection/overflow and live Influx test if Influx is in scope. Keep RBE independent of any particular consumer application.
References: feature branch, test report, draft contract.
This issue marks an achieved functional-testing checkpoint, not a native GitHub Milestone object or production authorization.
Metadata
Metadata
Assignees
Labels
No labels
Activity
Merge RBE TCP v1 feature into main
tamzrod commentedon Sep 18, 2026
Item 1 closed: RuleID
0x00is reserved (option A). Not a legal event, not a gap marker. Legal IDs stay1..255. Draft section recorded indocs/RBE_V1_DRAFT.md. No runtime change; code already matched this.tamzrod commentedon Sep 18, 2026
Language pass on
feature/rbe-tcp-v1: RBE subscribers are generic TCP clients. A plant controller is one use case. Draft,examples/rbe-tcp.yaml, comments intcp.go/influx.go, e2e fixture ids, and issue text updated.mainnot touched.