8000 Milestone checkpoint: RBE end-to-end functional validation complete (pre-merge review pending) · Issue #17 · tamzrod/mma2 · GitHub
[go: up one dir, main page]

Skip to content

Milestone checkpoint: RBE end-to-end functional validation complete (pre-merge review pending) #17

Open

Description

@tamzrod

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 ./..., and go 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 0x00 reserved (DECIDED 2026-09-18): 0x00 is not a valid RuleID and is not a gap/heartbeat sentinel. Legal IDs are 1..255. Config rejects 0; engine rejects ID 0; TCP and Influx Publish(0) emit nothing. A received 0x00 is a fault — reconnect and reconcile over Modbus. Recorded in docs/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 notify behavior and Modbus/Raw Ingest response compatibility. Legacy notify and 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_events versus mma_rbe, source/source-IP fields) with actual consumers.
  • Review/lock RBE contract and update configuration docs; retain MMA_Notification_Engine_LOCKED.md until approved cutover.
  • Keep examples application-neutral (holding registers via Modbus and input registers via Raw Ingest). Started on feature/rbe-tcp-v1 examples/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.

Activity

  1. added a commit that references this issue on Sep 18, 2026
  2. tamzrod commented on Sep 18, 2026

    @tamzrod
    OwnerAuthor

    Item 1 closed: RuleID 0x00 is reserved (option A). Not a legal event, not a gap marker. Legal IDs stay 1..255. Draft section recorded in docs/RBE_V1_DRAFT.md. No runtime change; code already matched this.

  3. tamzrod commented on Sep 18, 2026

    @tamzrod
    OwnerAuthor

    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 in tcp.go/influx.go, e2e fixture ids, and issue text updated. main not touched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0