MES-reportable follow-ups: apply migration on DEV/QA; computed flag missing from revision hash/diff; no UI badge; CSV import; AuditLog channel docs #102

Closed
opened 2026-11-09 15:17:56 -05:00 by dohertj2 · 3 comments
Owner

Follow-ups from #59/#43:

  • Deploy gate: migration 20261109200211_AddNativeAlarmSourceMesReportable (ScadaBridge main, #59) must be applied on DEV vd03 and QA vq03/vq04 with the next deploy — like register row 126 for migrations 56/57. Tested on SQLite only.
  • Computed-alarm IsMesReportable is not in RevisionHashService or DiffService, so flipping it neither marks instances stale nor shows in diffs — apply #59's true-only trick.
  • No UI badge shows MES-reportable for native (or computed) alarms yet (also #60).
  • The CLI CSV bulk import has no MES column and resets native-binding overrides to inherit.
  • docs/components/AuditLog.md doesn't list the Cluster and ScriptTrace channels/kinds (only Security was added to the requirements doc).
Follow-ups from #59/#43: - **Deploy gate:** migration `20261109200211_AddNativeAlarmSourceMesReportable` (ScadaBridge main, #59) must be applied on DEV vd03 and QA vq03/vq04 with the next deploy — like register row 126 for migrations 56/57. Tested on SQLite only. - Computed-alarm `IsMesReportable` is not in `RevisionHashService` or `DiffService`, so flipping it neither marks instances stale nor shows in diffs — apply #59's true-only trick. - No UI badge shows MES-reportable for native (or computed) alarms yet (also #60). - The CLI CSV bulk import has no MES column and resets native-binding overrides to inherit. - `docs/components/AuditLog.md` doesn't list the Cluster and ScriptTrace channels/kinds (only Security was added to the requirements doc).
dohertj2 added the type:followuppriority:p3 labels 2026-11-09 15:17:56 -05:00
Author
Owner

Items 2–5 done on main: (2) computed-alarm IsMesReportable in RevisionHashService + DiffService, true-only (a test pins false hashes as before; hash/diff tests fail without the change); (3) MES badge in the shared AlarmStateBadges (Alarm Summary + Debug View live rows) and the template Native Alarm Sources list (2 bUnit tests; TemplateEdit list badge untested — heavy page); (4) CSV bulk import gains an optional 5th MesReportable column (blank/true/false; bad value = line error; 4-column files still work — the UI keeps the stored flag, but a CLI 4-column import still resets the override to inherit, see follow-up); (5) docs/components/AuditLog.md lists all 8 channels and their kinds (the old 'four channels' text also omitted SecuredWrite and Security). Item 1 (apply migration 20261109200211_AddNativeAlarmSourceMesReportable on DEV/QA) stays open as a deploy gate. Evidence (after rebase): slnx 0 warnings/0 errors; TemplateEngine, Commons, CLI, CentralUI passed.

Items 2–5 done on main: (2) computed-alarm IsMesReportable in RevisionHashService + DiffService, true-only (a test pins false hashes as before; hash/diff tests fail without the change); (3) MES badge in the shared AlarmStateBadges (Alarm Summary + Debug View live rows) and the template Native Alarm Sources list (2 bUnit tests; TemplateEdit list badge untested — heavy page); (4) CSV bulk import gains an optional 5th MesReportable column (blank/true/false; bad value = line error; 4-column files still work — the UI keeps the stored flag, but a CLI 4-column import still resets the override to inherit, see follow-up); (5) docs/components/AuditLog.md lists all 8 channels and their kinds (the old 'four channels' text also omitted SecuredWrite and Security). **Item 1 (apply migration 20261109200211_AddNativeAlarmSourceMesReportable on DEV/QA) stays open as a deploy gate.** Evidence (after rebase): slnx 0 warnings/0 errors; TemplateEngine, Commons, CLI, CentralUI passed.
Author
Owner

Status 2026-11-10: all code items are on main — computed-alarm IsMesReportable in RevisionHashService + DiffService (3b0c2b3b), UI badge (b540d8ac), CSV column (62fe1e68), docs (47af424c). Only remaining item: apply migration 20261109200211_AddNativeAlarmSourceMesReportable on DEV/QA (deploy; pair it with the #107 coordinated migration window).

Status 2026-11-10: all code items are on main — computed-alarm `IsMesReportable` in RevisionHashService + DiffService (`3b0c2b3b`), UI badge (`b540d8ac`), CSV column (`62fe1e68`), docs (`47af424c`). **Only remaining item: apply migration `20261109200211_AddNativeAlarmSourceMesReportable` on DEV/QA** (deploy; pair it with the #107 coordinated migration window).
dohertj2 added the blocked label 2026-11-10 08:43:37 -05:00
Author
Owner

Closing: all code items were on main by 2026-11-10; migration 20261109200211_AddNativeAlarmSourceMesReportable is APPLIED on DEV vd03 (deploy 424db155, 2026-11-11). Applying it on QA vq03/vq04 is tracked in the coordinated migration window #107.

Closing: all code items were on main by 2026-11-10; migration 20261109200211_AddNativeAlarmSourceMesReportable is APPLIED on DEV vd03 (deploy 424db155, 2026-11-11). Applying it on QA vq03/vq04 is tracked in the coordinated migration window #107.
Sign in to join this conversation.