Skip to content

[lifecycle-RSK] RSK-05: Add the divergence comparison and a metric #1795

Description

@edelauna

Tracking

Context

Shadow mode must report disagreement. Before any read flips, the kernel must agree with the fields on real traffic. A rejected event is also a divergence, because after a flip the kernel would drop that write. Some windows in the code are known races. The design doc lists them under "Known code races".

Developer Notes

Exit criteria: a forced divergence in a test produces one log line and one metric increment. A forced R-3 window (an abort during the checkAutoApproval await, before #1803) produces a tagged mismatch, not an untagged one.

Reversibility: additive observability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions