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:
@@ -9,7 +9,7 @@ namespace ZB.MOM.WW.OtOpcUa.Host.Logging;
|
||||
/// reproduced it via handle contention on one path, where <c>RollingFileSink</c> logs the
|
||||
/// lock-out to SelfLog and quietly falls through to the next name in sequence.
|
||||
///
|
||||
/// ⚠️ It is NOT, however, what Gitea #561 turned out to be. That investigation concluded from
|
||||
/// ⚠️ It is NOT, however, what the reported 0-byte production log turned out to be. That investigation concluded from
|
||||
/// <c>Get-ChildItem</c> that production's log was 0 bytes for six weeks; opening the file showed
|
||||
/// 4.66 MB of correct output. See <see cref="MeasureFamilyBytes"/> for the Windows metadata
|
||||
/// behaviour behind the false reading — the same trap this class must not fall into, since a
|
||||
@@ -89,6 +89,7 @@ public static class LogPipelineDiagnostics
|
||||
/// </summary>
|
||||
/// <param name="configuration">The host configuration carrying <c>Serilog:WriteTo</c>.</param>
|
||||
/// <param name="emitMarker">Emits one event through the live pipeline (synchronous sinks flush before returning).</param>
|
||||
/// <returns>A warning describing the silent sink, or <see langword="null"/> when the check passes.</returns>
|
||||
public static string? CheckFileSinkGrowth(IConfiguration configuration, Action emitMarker)
|
||||
{
|
||||
try
|
||||
@@ -137,6 +138,7 @@ public static class LogPipelineDiagnostics
|
||||
/// useless when the file sink is the broken part, but it reaches the console sink and any
|
||||
/// OTel export.
|
||||
/// </summary>
|
||||
/// <param name="warning">The warning text to write.</param>
|
||||
public static void ReportFailure(string warning) => SelfLog.WriteLine("{0}", warning);
|
||||
|
||||
/// <summary>
|
||||
@@ -153,7 +155,7 @@ public static class LogPipelineDiagnostics
|
||||
/// size-at-open — typically 0, with <c>LastWriteTime == CreationTime</c> — for the entire life
|
||||
/// of the handle. Measuring that way makes this check declare every healthy sink silent at
|
||||
/// boot: instrumentation that manufactures the exact failure it exists to detect. It also
|
||||
/// produced the false 0-byte reading that made Gitea #561 look like a six-week production
|
||||
/// produced the false 0-byte reading that made that report look like a six-week production
|
||||
/// logging outage when the file in fact held 4.66 MB of correct output.
|
||||
///
|
||||
/// <see cref="FileShare.ReadWrite"/> is required to open the file at all while the sink holds
|
||||
|
||||
Reference in New Issue
Block a user