docs: fill missing XML docs and strip tracking IDs from src comments

Clears CommentChecker findings in src/ (3,280 -> 209, the remainder being false
positives like PLC-5/IEEE-754/M0.0) by adding missing summaries/params/returns,
normalising inheritdoc usage, and removing Gitea/review tracking IDs while keeping
the rationale they annotated. Comment-only: comment-stripped sources are identical
to the parent commit.
This commit is contained in:
Joseph Doherty
2026-10-15 06:14:58 -04:00
parent ebcbd81fca
commit 826312befe
430 changed files with 4434 additions and 3923 deletions
@@ -51,7 +51,7 @@ namespace ZB.MOM.WW.OtOpcUa.Driver.Mqtt;
/// lookup; the linear wildcard scan runs only when a wildcard tag actually exists.
/// </para>
/// <para>
/// <b>Sparkplug seam.</b> P1 ingests plain topics only. Sparkplug B (Task 21) decodes a
/// <b>Sparkplug seam.</b> P1 ingests plain topics only. Sparkplug B decodes a
/// protobuf payload and resolves metrics by the stable
/// <c>(group, node, device, metricName)</c> tuple rather than by topic; it belongs in its own
/// handler alongside this one, feeding the same <see cref="OnDataChange"/> +
@@ -220,7 +220,7 @@ public sealed class MqttSubscriptionManager
/// reset <see cref="Sparkplug.SparkplugIngestor.AttachTo"/> performs, and for the same reason:
/// this manager <i>outlives</i> a session rebuild. <c>MqttDriver.AdoptOptions</c> only
/// replaces it when the ingest identity changed, so a driver-host reconnect (ShutdownAsync +
/// InitializeAsync, #527's watchdog path) and a <c>ReinitializeAsync</c> that changes only the
/// InitializeAsync, the comms-loss watchdog path) and a <c>ReinitializeAsync</c> that changes only the
/// endpoint/credentials both re-attach <i>this</i> instance to a brand-new broker session.
/// <c>_subscribedTopics</c> is a claim about the session that has just gone: carried across,
/// the host's post-reconnect re-subscribe resolves an empty pending set, issues no SUBSCRIBE
@@ -245,8 +245,8 @@ public sealed class MqttSubscriptionManager
/// <summary>
/// Marks every already-observed reference <c>BadNoCommunication</c>, <b>keeping its last
/// value</b>, and publishes the change — the driver's answer to a lost broker session
/// (archreview 05/STAB-18 shape a). Wired to <see cref="MqttConnection.ConnectionLost"/> by
/// value</b>, and publishes the change — the driver's answer to a lost broker session.
/// Wired to <see cref="MqttConnection.ConnectionLost"/> by
/// <see cref="AttachTo"/>; public so tests (and Sparkplug's ingestor) can drive the edge
/// directly.
/// </summary>
@@ -405,7 +405,7 @@ public sealed class MqttSubscriptionManager
_handleByRawPath[def.Name] = handle;
}
// Initial push (05/STAB-18 shape b): every ref this driver has already observed is republished
// Initial push: every ref this driver has already observed is republished
// onto the new handle before any broker traffic. A poll driver gets this free — PollGroupEngine
// runs the first poll of a new subscription with forceRaise: true — and CalculationDriver does
// it explicitly; MQTT did not, so a node reseeded BadWaitingForInitialData by an address-space
@@ -812,7 +812,7 @@ public sealed class MqttSubscriptionManager
// timestamp — and only the notification is skipped. "Cached but not raised" is already a valid
// state on this path (see Raise: an authored-but-unsubscribed tag does exactly that).
//
// What makes this suppression SAFE is the pair of edge behaviours around it (05/STAB-18):
// What makes this suppression SAFE is the pair of edge behaviours around it:
// PushObservedSnapshots re-delivers the cached snapshot on every (re)subscribe, and
// OnConnectionLost stales every observed ref to BadNoCommunication — so the reconnect's
// retained replay of an unchanged payload differs in STATUS and is not suppressed. Without
@@ -853,7 +853,7 @@ public sealed class MqttSubscriptionManager
/// <summary>
/// Republishes the cached snapshot of every already-observed reference in
/// <paramref name="defs"/> — the push-model equivalent of <c>PollGroupEngine</c>'s
/// <c>forceRaise: true</c> on the first poll of a new subscription (05/STAB-18 shape b).
/// <c>forceRaise: true</c> on the first poll of a new subscription.
/// </summary>
/// <remarks>
/// A never-observed reference is skipped: its cached status is
@@ -1019,7 +1019,7 @@ public sealed class MqttSubscriptionManager
return _parsed;
}
/// <inheritdoc/>
/// <summary>Releases the parsed JSON document held by this payload.</summary>
public void Dispose()
{
_doc?.Dispose();