docs(comments): strip internal task/milestone/bundle bookkeeping from code comments
Remove project bookkeeping citations from shipped code comments across the solution: hyphenated task IDs (WP-14, StoreAndForward-025), milestone/task/ issue refs (M3, Task 4, Audit Log #23, #21), Bundle X task-bundle labels, and C/D/K/S/T phase labels. Comment text only — no code logic, string/log literals, or XML-doc structure changed. Genuine descriptions are preserved (only the citation is stripped), and technical lookalikes are retained (UTF-8, SHA-256, T00:00:00, M365, UTC-5, pre-C4/pre-C5 schema versions). Flagged by the new CommentChecker TaskReferenceInComment / TrackingReferenceInComment checks plus targeted grep passes; full solution builds clean, append-only guard tests pass.
This commit is contained in:
@@ -6,8 +6,8 @@ using ZB.MOM.WW.ScadaBridge.Commons.Types.Kpi;
|
||||
namespace ZB.MOM.WW.ScadaBridge.HealthMonitoring.Kpi;
|
||||
|
||||
/// <summary>
|
||||
/// Site Health (#11) <see cref="IKpiSampleSource"/> for the M6 "KPI History &
|
||||
/// Trends" backbone. Unlike the other M6 sample sources — which each query a
|
||||
/// Site Health <see cref="IKpiSampleSource"/> for the "KPI History &
|
||||
/// Trends" backbone. Unlike the other sample sources — which each query a
|
||||
/// central repository — this one reads the in-memory
|
||||
/// <see cref="ICentralHealthAggregator"/> state, snapshotting the latest
|
||||
/// <see cref="ZB.MOM.WW.ScadaBridge.Commons.Messages.Health.SiteHealthReport"/>
|
||||
@@ -27,16 +27,16 @@ namespace ZB.MOM.WW.ScadaBridge.HealthMonitoring.Kpi;
|
||||
/// The aggregator is registered as a singleton (its state is shared, immutable,
|
||||
/// and safe to hand straight to callers); this source is nonetheless registered
|
||||
/// DI-scoped for consistency with the recorder's per-tick scope and the other
|
||||
/// M6 sample sources. A scoped consumer resolving a singleton dependency is the
|
||||
/// sample sources. A scoped consumer resolving a singleton dependency is the
|
||||
/// normal DI lifetime relationship and introduces no captive-dependency issue.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public sealed class SiteHealthKpiSampleSource : IKpiSampleSource
|
||||
{
|
||||
// ── Metric catalog (the M6-agreed metric-name strings for this source) ──
|
||||
// ── Metric catalog (the agreed metric-name strings for this source) ──
|
||||
// Declaration order matches the emission order in AddSiteSnapshot. Charted metrics
|
||||
// share the public Commons catalog so source + UI trend page key off one symbol
|
||||
// (#178); the uncharted internal metrics stay private here.
|
||||
// share the public Commons catalog so source + UI trend page key off one symbol;
|
||||
// the uncharted internal metrics stay private here.
|
||||
private const string MetricConnectionsUp = "connectionsUp";
|
||||
private const string MetricConnectionsDown = KpiMetrics.SiteHealth.ConnectionsDown;
|
||||
private const string MetricScriptErrors = KpiMetrics.SiteHealth.ScriptErrors;
|
||||
|
||||
Reference in New Issue
Block a user