R2-04: Data & Audit Backbone + KPI rollups round-2 fixes (12 tasks, 1 EF migration) #10

Closed
dohertj2 wants to merge 0 commits from r2-plan04 into main
Owner

Round-2 architecture-review fixes — PLAN-R2-04 (Data & Audit Backbone + KPI rollups), all 12 tasks incl. the High (R1) rollup-backfill bound. Source: archreview/04-data-audit-backbone.md.

TDD throughout; per-task pathspec commits; build 0/0; targeted + MSSQL suites green (infra up, no SkippableFact skipped).

High R1 spine (T1–T4):

  • T1 29c12869 untracked projected fold fetch (R2)
  • T2 a1c7c4ef GetLatestRollupHourAsync watermark seam
  • T3 350d5301 slice rollup backfill into bounded 24h folds that yield to periodic folds
  • T4 7b95ef37 backfill skips/shrinks to the rollup watermark on failover restarts

Rate-presentation + purge + hygiene (T5–T12):

  • T5 54417e1a Rate series sum-per-bucket in the bucketer (R3)
  • T6 9a1b160e query service applies catalog aggregation — one unit across raw/rollup boundary
  • T7 1c8b2bc7 trend charts state per-bucket-total semantics (docs)
  • T8 cd93ad39 promote catalog metric literals to shared constants (R4)
  • T9 439dee52 classify failover fold-race pass loss as self-healing Information (R5)
  • T10 3d6973cc filtered IX_SiteCalls_Terminal index — EF migration 20260713142234_AddSiteCallsTerminalIndex + idempotent SQL script (R6)
  • T11 8f46b6ce time-sliced SiteCalls terminal purge (R6)
  • T12 c573d8ca retention loop absorbs shutdown cancellation (R7)

Note: contains the round-2 EF migration (the only one). Merge-order this vs main's snapshot; no other round-2 branch touches the ConfigDB model snapshot. Part of the round-2 initiative (8 plans / 86 tasks).

Round-2 architecture-review fixes — **PLAN-R2-04 (Data & Audit Backbone + KPI rollups)**, all 12 tasks incl. the **High (R1)** rollup-backfill bound. Source: `archreview/04-data-audit-backbone.md`. TDD throughout; per-task pathspec commits; build 0/0; targeted + MSSQL suites green (infra up, no SkippableFact skipped). **High R1 spine (T1–T4):** - **T1** `29c12869` untracked projected fold fetch (R2) - **T2** `a1c7c4ef` `GetLatestRollupHourAsync` watermark seam - **T3** `350d5301` slice rollup backfill into bounded 24h folds that yield to periodic folds - **T4** `7b95ef37` backfill skips/shrinks to the rollup watermark on failover restarts **Rate-presentation + purge + hygiene (T5–T12):** - **T5** `54417e1a` Rate series sum-per-bucket in the bucketer (R3) - **T6** `9a1b160e` query service applies catalog aggregation — one unit across raw/rollup boundary - **T7** `1c8b2bc7` trend charts state per-bucket-total semantics (docs) - **T8** `cd93ad39` promote catalog metric literals to shared constants (R4) - **T9** `439dee52` classify failover fold-race pass loss as self-healing Information (R5) - **T10** `3d6973cc` filtered `IX_SiteCalls_Terminal` index — **EF migration** `20260713142234_AddSiteCallsTerminalIndex` + idempotent SQL script (R6) - **T11** `8f46b6ce` time-sliced SiteCalls terminal purge (R6) - **T12** `c573d8ca` retention loop absorbs shutdown cancellation (R7) **Note:** contains the round-2 EF migration (the only one). Merge-order this vs main's snapshot; no other round-2 branch touches the ConfigDB model snapshot. Part of the round-2 initiative (8 plans / 86 tasks).
dohertj2 added 12 commits 2026-07-13 10:30:51 -04:00
Author
Owner

Merged to main via the r2-integration fast-forward (main @ 1930f19b, pushed to origin). All commits from this branch are in main; the two integration-surfaced test fixes (IntegrationTests NodeName host-boot config, compile-cache assertion relax) landed on main as well. Closing — content fully integrated.

Merged to main via the r2-integration fast-forward (main @ 1930f19b, pushed to origin). All commits from this branch are in main; the two integration-surfaced test fixes (IntegrationTests NodeName host-boot config, compile-cache assertion relax) landed on main as well. Closing — content fully integrated.
dohertj2 closed this pull request 2026-07-13 11:48:37 -04:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/ScadaBridge#10