You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(versioning): close gaps surfaced by the smoke drill
Running the §9.4 smoke drill end-to-end uncovered three real defects
that the unit suite did not catch:
- RuleVersionSubscriber recorded a duplicate UPSTREAM row whenever the
registry echoed back a no-op change identical to the latest ledger
row (typically right after BOOTSTRAP). Now dedupes upstream events
whose content hash already matches the current head, with an explicit
test in versioning_test.go.
- writeVersioningResp mapped every bizerror to HTTP 200/UnknownError;
bizerror.InvalidArgument (eg. empty rollback reason) now returns
HTTP 400 with its original code so the frontend can act on it.
Covered by a new handler/rule_version_test.go.
- The 409 VERSION_CONFLICT toast auto-dismissed after the default
duration; users could miss the Reload button entirely. Pinned with
duration: 0 so the notification stays until acknowledged.
0 commit comments