Joseph Doherty
|
639e331db1
|
test+docs(m5): M5.7 — de-date 2 EndToEnd purge tests (closes #52); document T3-T8 in Component-AuditLog/-CLI/README/CLAUDE
Tests: anchor SeedOccurredAt() to a fixed thresholdAnchor (2026-01-20) and compute
RetentionDays dynamically (UtcNow - anchor + 1d) so the threshold always sits near
Jan 20 2026, between the Jan-15 "old" seed (purged) and Apr-15/Jun-15 "kept" seeds.
Seed dates stay within the explicit pf_AuditLog_Month boundary range (Jan 2026 –
Dec 2027) — relative-from-now offsets landed before 2026-01-01 (the catch-all
partition, invisible to GetPartitionBoundariesOlderThanAsync). Both tests confirmed
passing; all 284 AuditLog tests green.
Docs:
- Component-AuditLog.md: per-channel retention overrides (T3, PerChannelRetentionDays
+ bounded DELETE + AuditLogPurge:ChannelPurgeBatchSize); ParentExecutionId tag-cascade
now spans alarm-triggered + nested CallScript/CallShared + inbound→routed (T4, "no
further spawn points deferred"); per-node stuck KPIs for Notification Outbox +
Site Call Audit (T6); T7 structured response-capture increments (request headers in
Extra.requestHeaders, AuditInboundCeilingHits counter, per-method SkipBodyCapture);
T8 CLI audit tree; T1 hash-chain + T2 Parquet explicitly marked deferred to v1.x.
- Component-CLI.md + README.md: document audit tree --execution-id <guid> and
audit backfill-source-node --sentinel/--before/--batch with exact options verified
against AuditCommands.cs; update Interactions to list new endpoints.
- CLAUDE.md: update audit-log design-decision bullets for T3 per-channel retention,
T4 tag-cascade complete, T6 per-node KPIs, T7 inbound capture increments, T8 tree
command; clarify T1/T2 remain deferred to v1.x.
|
2026-06-16 22:26:09 -04:00 |
|
Joseph Doherty
|
7b0b9c7365
|
refactor: rename ScadaLink → ZB.MOM.WW.ScadaBridge (code + projects + namespaces)
Solution + 23 src projects + 26 test projects renamed; folders, csproj,
namespaces, and ScadaLinkDbContext/ScadaBridgeDbContext class updated.
ActorSystem "scadalink" → "scadabridge", Akka seed-node URLs migrated.
SQL roles/logins, LDAP domains, CLI command name, and CLI config dir
(~/.scadalink → ~/.scadabridge) also renamed.
Build green; 5 Host.Tests fail awaiting SQL login rename in next commit.
Pre-existing StaleTagMonitor timing flakes unchanged.
Rename script committed at tools/rename-to-scadabridge.sh.
|
2026-05-28 09:37:45 -04:00 |
|