mbproxy: strip historical phase/wave/plan references from source comments
Comments described the *history* of how the code arrived (phase numbers, wave IDs, review IDs, dated TODOs) instead of what it does today. That scaffolding rotted as the codebase evolved. Cleaned 60 source files + .gitignore; behaviour unchanged (387/387 tests still pass). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -156,10 +156,10 @@ public sealed class ReloadValidatorTests
|
||||
Assert.Contains(errors, e => e.Contains("non-empty"));
|
||||
}
|
||||
|
||||
// ── Phase 12 (W2.10) — Cache.AllowLongTtl gate ──────────────────────────────────────
|
||||
// ── Cache.AllowLongTtl gate ─────────────────────────────────────────────────────────
|
||||
|
||||
/// <summary>
|
||||
/// W2 — per-tag CacheTtlMs > 60_000 without Cache.AllowLongTtl is rejected.
|
||||
/// Per-tag CacheTtlMs > 60_000 without Cache.AllowLongTtl is rejected.
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void Validate_PerTagCacheTtl_Above60s_Without_AllowLongTtl_Fails()
|
||||
@@ -181,7 +181,7 @@ public sealed class ReloadValidatorTests
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// W2 — same value passes when AllowLongTtl is true (operator opt-in).
|
||||
/// Same value passes when AllowLongTtl is true (operator opt-in).
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void Validate_PerTagCacheTtl_Above60s_With_AllowLongTtl_Passes()
|
||||
@@ -203,9 +203,9 @@ public sealed class ReloadValidatorTests
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// W2 — per-PLC DefaultCacheTtlMs > 60_000 inherited by a tag with null CacheTtlMs is
|
||||
/// caught by the resolved-value check even if the per-PLC default check itself passes
|
||||
/// (it doesn't, but this validates the defensive resolved re-check from W2.10).
|
||||
/// Per-PLC DefaultCacheTtlMs > 60_000 inherited by a tag with null CacheTtlMs is
|
||||
/// caught by the resolved-value check even if the per-PLC default check itself
|
||||
/// passes (it doesn't, but this validates the defensive resolved re-check).
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void Validate_ResolvedTtl_FromPerPlcDefault_AboveCap_Fails()
|
||||
@@ -233,7 +233,7 @@ public sealed class ReloadValidatorTests
|
||||
Assert.Contains(errors, e => e.Contains("60_000"));
|
||||
}
|
||||
|
||||
// ── Phase 12 (W2.18) — ConnectionOptions validation ─────────────────────────────────
|
||||
// ── ConnectionOptions validation ────────────────────────────────────────────────────
|
||||
|
||||
[Fact]
|
||||
public void Validate_ZeroBackendConnectTimeoutMs_Fails()
|
||||
|
||||
Reference in New Issue
Block a user