Historian H2 follow-ups: CLI historyread --events, AdminUI capability matrix (no picker), Periodic vs PerEntry default mismatch #776
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 the Lane H2 historian remediation (#746) — its commit messages say these were "filed", but no Gitea issues existed:
historyread --eventsmode, which the B2 over-the-wire test asked for.Periodic(100 ms)the code default, but Hostappsettings.jsonsets"CommitMode": "PerEntry", docker-dev defaults PerEntry, andProgram.cs:~319falls back to PerEntry on a bad value — effective behaviour is unchanged. Decide the intended default (Periodic trades ≤100 ms of crash loss for throughput) and align code/config/docs.Item 1 done on master
380ec541:historyread --events(HistoryReadEvents on an event notifier; --fields with EventType in the default list, --of-type OfType filter; can't combine with --modified/--aggregate; follows continuation points up to --max; a Bad status fails the command). New HistoryReadEventsAsync on the shared client service + session adapter; Client.CLI 168, Client.Shared 240, Client.UI 130; over-the-wire test against the in-process server (default fields non-null, OfType filters, invalid where-clause → BadEventFilterInvalid). Docs: Client.CLI.md, Historian.md. Still open: item 2 (AdminUI capability matrix — no backend picker exists) and item 3 (Periodic vs PerEntry commit-mode default) are decisions.Item 3 fixed on master
c5df43d5: theContinuousHistorizationOptions.CommitModecode default is nowPerEntry(DefaultCommitMode), andProgram.cs's bad-value fallback goes through the sameResolveCommitMode(), so code, Host appsettings, docker-dev and the fallback all agree. Effective behaviour is unchanged (it was already PerEntry everywhere).Periodicis documented as the opt-in that accepts up toCommitIntervalMsof crash loss in exchange for throughput (docs/Historian.md). Tests: the defaults test now pins PerEntry, and a new test checks that a garbage value falls back to the options default. Setting the default back to Periodic fails both. Release build 0 warnings; Runtime 982, Host 247, OpcUaServer.IntegrationTests 132.Item 1 was done earlier (
380ec541). Still open: item 2, an owner decision: add a read-only historian backend/capability panel in the AdminUI, or drop the item. Recommendation: drop it. The backend is config-only, and the capability matrix already lives in docs/Historian.md.Owner decision 2026-11-09: item 2 (AdminUI historian capability panel) dropped — the backend is config-only and the capability matrix lives in docs/Historian.md. Items 1 and 3 are done (
380ec541,c5df43d5). Closing.