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
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-ups from #59/#43:
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.IsMesReportableis not inRevisionHashServiceorDiffService, so flipping it neither marks instances stale nor shows in diffs — apply #59's true-only trick.docs/components/AuditLog.mddoesn't list the Cluster and ScriptTrace channels/kinds (only Security was added to the requirements doc).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.
Status 2026-11-10: all code items are on main — computed-alarm
IsMesReportablein RevisionHashService + DiffService (3b0c2b3b), UI badge (b540d8ac), CSV column (62fe1e68), docs (47af424c). Only remaining item: apply migration20261109200211_AddNativeAlarmSourceMesReportableon DEV/QA (deploy; pair it with the #107 coordinated migration window).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.