Skip to content

Fix Index Analysis banners, Settings help placement and the estimated-plan card title (#6653) - #6669

Merged
erikdarlingdata merged 3 commits into
devfrom
fix/6653-viewer-banners-labels
Oct 24, 2026
Merged

erikdarlingdata merged 3 commits into
devfrom
fix/6653-viewer-banners-labels

Conversation

@erikdarlingdata

@erikdarlingdata erikdarlingdata commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Claude posting for Erik Darling.

Closes #6653.

Why

Three small Viewer defects: Index Analysis showed the "uptime under 14 days, Unused Index findings may be premature" banner beside the "dedupe-only mode, unused indexes were NOT flagged" banner, which contradict each other; the help paragraphs for "Capture execution plans" and "Query Store history backfill" sat under the "Query Store fetch top N" help at the bottom of the Data Collection box; and the estimated-plan card was titled "Predicted Runtime" although it holds compile facts.

What changes

  • IndexCleanupAnalysisResult.ShowUptimeCaveat (Common) = UptimeWarning && !DedupeOnlyApplied. The Viewer's BuildIndexAnalysisBanners reads it, so with dedupe-only in effect only the dedupe banner shows. The same pair existed in the get_finops index_analysis notes (the web page shows them): the tool now reads the same rule, and index-analysis.js counts the leading notices with it. The raw uptime_warning field on the payload is unchanged. Lite has no Index Analysis twin.
  • SettingsWindow.xaml: each help paragraph moved directly under its own checkbox (Capture execution plans, Query Store history backfill), both indented as the backfill one was.
  • PlanDisplayText.RuntimeSummaryTitle: the estimated-plan title is "Plan properties" ("Runtime Summary" is kept when QueryTimeStats exists). This helper is shared with Lite through PerformanceMonitor.Ui. Its comment said it matched PerformanceStudio@40ade29 (E7), which titled the card "Predicted Runtime"; this is a deliberate departure from that commit and the comment says so.

Test plan

  • FinOpsIndexAnalysisViewTests: uptime-only keeps the uptime note first; uptime plus dedupe-only leaves out the uptime note (3 notes, dedupe first, raw uptime_warning still true); a theory over the four flag combinations of ShowUptimeCaveat (the Viewer's banner decision). The old combined-notes test was replaced by these two.
  • Viewer4570Tests updated to pin "Plan properties".
  • Darling: *FinOpsIndexAnalysisViewTests*, *Viewer4570Tests*, *ViewerIndexAnalysisTests*, *Settings*, *PlanDisplayText*, *Census*, *Ratchet*: Total 812, Failed 0, Skipped 14 (live classes without a rig).
  • Lite: *Census*, *Ratchet*, *Plan*: Total 291, Failed 0.
  • Not revert-proved by running the old code: the new notes test asserts 3 notes where the old rule gave 4, and ShowUptimeCaveat did not exist before.
  • The XAML move and the web script change were not run in a window or browser (no click-through); CI decides the rest.

CHANGELOG entry

SECTION: Fixed
ENTRY:

CI fixes

Claude posting for Erik Darling.

  • FinOpsIndexAnalysisGoldenLiveTests (both tests): the fixture was stale, the code is right. The PR added the computed IndexCleanupAnalysisResult.ShowUptimeCaveat. The golden fixture serializes the whole result, so the output gained a "ShowUptimeCaveat": false line the fixture lacked (the first difference, right after OnlyApplied). I regenerated Darling/Darling.Tests/Fixtures/FinOpsIndexAnalysis/golden.json with DARLING_WRITE_GOLDEN=1. The diff is exactly two added ShowUptimeCaveat lines (the result and the per-server copy); no notes text changed. The dedupe-only behaviour stands as reviewed.
  • DarlingStartWithNoServersLiveTests.TheCollectionLoop_StartsWithAnEmptyServerList_...: not changed. It passes locally on a throwaway PostgreSQL (run together with the golden class: 4 tests, only the 2 golden ones failed before the regeneration). The PR's diff touches no collection loop, store migration or config code (Viewer UI, Common model, PlanAnalysis text, one MCP tool note, tests), so it cannot reach this test. The CI failure looks like a flake; I could not fetch the leg 9/16 log to confirm the failure text.
  • Verified after the fixture change: FinOpsIndexAnalysisGoldenLiveTests, DarlingStartWithNoServersLiveTests, *IndexAnalysis*, IndexCleanupAnalyzerTests, Viewer4570Tests, every *Census* and *Ratchet* class: Total 690, Failed 0. Not run: the full suite and pre-push.sh (CI decides).
  • The push also carries a merge of current origin/dev into the branch.

@erikdarlingdata
erikdarlingdata marked this pull request as ready for review October 24, 2026 03:27
.concat((data.databases || []).map(rollupRow));
const lead = (data.uptime_warning ? 1 : 0) + (data.dedupe_only_applied ? 1 : 0);
/* #6653: the notes lead with the uptime caveat only when dedupe-only is not in effect (the tool leaves it out beside the dedupe notice). */
const lead = (data.uptime_warning && !data.dedupe_only_applied ? 1 : 0) + (data.dedupe_only_applied ? 1 : 0);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking: correct as written, and the arithmetic matches the tool's note order at DarlingMcpFinOpsTools.IndexAnalysis.cs:242-244 for all four flag combinations — but nothing fails if the two drift. finops-index-analysis-limit-harness.mjs:97-98 hardcodes uptime_warning: false, dedupe_only_applied: false in every one of its six payloads, so this line is exercised only on the lead = 0 path; a wrong lead here would either bury the dedupe notice inside the collapsed "Analyzer notes (N)" details or promote n1 to a top-level notice strip, and FinOpsIndexAnalysisLimitBehaviourTests would stay green.

The harness already captures notice text (noticeTexts), so a both-flags-true step asserting the dedupe strip is a top-level notice and the analyzer notes sit in the details would cover it. Alternatively, have the payload carry the caveat count so the page reads it instead of re-deriving the rule in a second language.

var stmt = Statement();
Assert.Null(stmt.QueryTimeStats);
Assert.Equal("Predicted Runtime", PlanDisplayText.RuntimeSummaryTitle(stmt));
Assert.Equal("Plan properties", PlanDisplayText.RuntimeSummaryTitle(stmt));

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking (naming): the method is still RuntimeSummaryTitle_NoQueryTimeStats_IsPredictedRuntime while the assertion now pins "Plan properties". After this PR that test name is the only remaining "Predicted Runtime" string in the C# tree (grep -rn "Predicted Runtime" otherwise hits only docs/changelog/3.9.md:141), so the name points at the title it no longer asserts. ..._IsPlanProperties would keep the grep honest.

/// </summary>
public static string RuntimeSummaryTitle(PlanStatement statement) =>
statement.QueryTimeStats == null ? "Predicted Runtime" : "Runtime Summary";
statement.QueryTimeStats == null ? "Plan properties" : "Runtime Summary";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking (UI copy): every sibling card title in the plan viewer is Title Case — "Server Context" (PerformanceMonitor.Ui/PlanViewerControl.xaml:94), "Runtime Summary" (:115), "Missing Index Suggestions" (:137), "Parameters" (:163), "Wait Stats" (:188), "Operator Properties" (:379) — so "Plan properties" is the one sentence-case title in the strip, and it sits beside an existing "Operator Properties" card. "Plan Properties" would match both conventions; the rename itself reads right for what BuildRuntimeSummaryRows emits when QueryTimeStats is null (DOP/Serial, Compile, Cached plan size, Memory grant — PlanDisplayText.cs:163-235).

/// the dedupe notice the caveat describes findings that are not there and contradicts it. Both the Viewer's banners and the
/// get_finops notes (which the web page shows) read this one rule; <see cref="UptimeWarning"/> itself stays the raw fact.
/// </summary>
public bool ShowUptimeCaveat => UptimeWarning && !DedupeOnlyApplied;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking, and not a live defect — but the doc's own "or requested" branch is the one case where this rule drops a true statement without a replacement.

IndexCleanupAnalyzer.cs:87 sets dedupeOnly = options.DedupeOnly || uptime <= 7. On the uptime branch the suppression is self-repairing: the dedupe notice itself says "server uptime is 7 days or less", so the reader still learns the uptime is short. On the requested branch with uptime of 8–13 days, UptimeWarning is true and DedupeOnlyApplied is true, so the only thing shown is a notice asserting "(server uptime is 7 days or less)" — false for that server — while the accurate "under 14 days, usage data may be incomplete" line is suppressed. The rollup grid's workload counters (user_seeks/user_scans/user_lookups) are still the incomplete ones.

Unreachable from either shipped Darling surface today: the single options builder both the viewer and get_finops go through hardcodes DedupeOnly = false (Darling/PerformanceMonitor.Darling.Storage/FinOps/DarlingFinOpsIndexAnalysisReader.cs:273, pinned by ViewerIndexAnalysisTests.cs:321). Since this property is public API in .Common, worth either saying that in the doc ("safe because the dedupe notice carries the uptime fact on the auto branch") or dropping the parenthetical reason from IndexAnalysisDedupeNote so the notice never claims an uptime it did not measure.

@claude

claude Bot commented Oct 24, 2026

Copy link
Copy Markdown

Two notes on files the diff does not touch but the change reaches. Neither is blocking.

1. FinOpsIndexAnalysisViewSizeTests is now describing a fixture it no longer builds — and the test-plan filters did not run it.

Darling/Darling.Tests/FinOpsIndexAnalysisViewSizeTests.cs:56 sets UptimeWarning = true, DedupeOnlyApplied = true, and the class doc at :18-23 says the worst-case default response carries "both caveat notes and the analyzer's full note list". After this PR that fixture produces one caveat note, not two, so the sentence is wrong.

The assertions still hold, and the fixture is still the real worst case: DefaultResponse_WithThe DatabaseCap_FitsTheResponseBudget asserts Bytes(json) <= 30720, and the body only shrinks (~160 bytes, the uptime note). Because ShowUptimeCaveat makes the two notes mutually exclusive, the maximum is now whichever note is longer, and that is the dedupe note (181 chars vs 139) — which is the one this fixture keeps. So the pin remains honest; only its prose needs a word.

Worth re-running, though: the test plan's Darling filters are *FinOpsIndexAnalysisViewTests*, *Viewer4570Tests*, *ViewerIndexAnalysisTests*, *Settings*, *PlanDisplayText*, *Census*, *Ratchet*. FinOpsIndexAnalysisViewSizeTests contains none of those substrings (...ViewSizeTests ≠ ...ViewTests), so the 812 almost certainly did not include the one class whose fixture this change alters.

2. docs/changelog/3.9.md:141 now describes a title that no longer ships.

That released entry for [#4590] reads: "It's titled "Predicted Runtime" for an estimated-only plan…". The right fix is the [Unreleased] entry this PR's body already drafts — a shipped entry is history and should not be rewritten — so this is only a flag for whoever archives the entry at the release cut, in case they want the new entry to name the old title explicitly (it does: "The card … that held compile facts under "Predicted Runtime" is now "Plan properties""). Nothing to change here.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: LGTM

Claims

  • VERIFIED — IndexCleanupAnalysisResult.ShowUptimeCaveat (Common) = UptimeWarning && !DedupeOnlyApplied — PerformanceMonitor.Common/IndexCleanupModels.cs:481, beside the raw UptimeWarning at :470; the record is never serialized wholesale (every consumer projects it), so no payload gains a key.
  • VERIFIED — the Viewer's BuildIndexAnalysisBanners reads it, so with dedupe-only in effect only the dedupe banner shows — Darling/PerformanceMonitor.Darling.Viewer/FinOpsTab.IndexAnalysis.cs:75, dedupe banner's own if untouched at :82.
  • VERIFIED — the get_finops index_analysis notes now read the same rule — DarlingMcpFinOpsTools.IndexAnalysis.cs:242; note order unchanged (caveats, then result.Notes) at :242-244.
  • VERIFIED — index-analysis.js counts the leading notices with it — index-analysis.js:160; the arithmetic matches the tool's note count on all four flag combinations (inline comment covers drift risk).
  • VERIFIED — the raw uptime_warning payload field is unchanged — DarlingMcpFinOpsTools.IndexAnalysis.cs:253 still assigns result.UptimeWarning, and the new notes test asserts it is still true with the note gone.
  • VERIFIED — "Lite has no Index Analysis twin" — Lite runs the real proc on the monitored server (Lite/Services/LocalDataService.FinOps.IndexAnalysis.cs:42, SqlCommand("dbo.sp_IndexCleanup")) and never builds an IndexCleanupAnalysisResult; a repo-wide grep for UptimeWarning/uptime_warning/ShowUptimeCaveat has zero Lite hits.
  • VERIFIED — each Settings help paragraph moved directly under its own checkbox — SettingsWindow.xaml:89-98: capture-plans checkbox then its help, backfill checkbox then its help; the top-N Grid and its help stay at :116-127.
  • VERIFIED — both indented as the backfill one was — both are now Margin="24,2,0,0"; the capture-plans paragraph was Margin="0,4,0,0" before the move.
  • VERIFIED — "Plan properties" for an estimated plan, "Runtime Summary" kept when QueryTimeStats exists — PerformanceMonitor.PlanAnalysis/PlanDisplayText.cs:85.
  • VERIFIED — the helper is shared with Lite through PerformanceMonitor.Ui — single call site PerformanceMonitor.Ui/PlanViewerControl.Properties.cs:1603, and both SKUs reference that project (Lite/PerformanceMonitorLite.csproj:61, PerformanceMonitor.Darling.Viewer.csproj:51), so the rename lands on both at once.
  • VERIFIED — the card "holds compile facts", not a predicted runtime — BuildRuntimeSummaryRows gates Elapsed/CPU:Elapsed/CPU on stats != null (PlanDisplayText.cs:163-202), so a null-QueryTimeStats card is DOP-or-Serial, Compile, Cached plan size and Memory grant (:204-235).
  • VERIFIED — the test-plan description of FinOpsIndexAnalysisViewTests (uptime-only keeps the note first; uptime + dedupe-only drops it at 3 notes, dedupe first, uptime_warning still true; a theory over the four combinations; the old combined test replaced by the two) — FinOpsIndexAnalysisViewTests.cs:139-174, and the diff removes Notes_AreUptimeThenDedupeThenAnalyzerNotes with its Assert.Equal(4, notes.Length).
  • UNVERIFIED — Darling "Total 812, Failed 0, Skipped 14" — needs dotnet test on .NET 10 (viewer and Lite target net10.0-windows); a read-only tree cannot produce a count. The filter list also does not match FinOpsIndexAnalysisViewSizeTests, whose fixture this change alters — see the top-level comment.
  • UNVERIFIED — Lite "*Census*, *Ratchet*, *Plan*: Total 291, Failed 0" — same reason.
  • UNVERIFIED — "the XAML move and the web script change were not run in a window or browser" — the author's own unchecked box; the XAML hunk is two self-contained <TextBlock .../> elements moved inside one StackPanel, well-formed on inspection, but WPF layout and the rendered notice strip need a running app.

Riskiest lines

  1. Darling/PerformanceMonitor.Darling.Service/wwwroot/js/pages/finops/index-analysis.js:160 — lead must equal the number of caveat notes the tool emitted; off by one either way buries the dedupe notice inside the collapsed "Analyzer notes (N)" details or promotes the first analyzer note to a prominent strip — UNCOVERED: finops-index-analysis-limit-harness.mjs:97-98 hardcodes uptime_warning: false, dedupe_only_applied: false in all six payloads, so FinOpsIndexAnalysisLimitBehaviourTests only exercises lead = 0.
  2. PerformanceMonitor.Common/IndexCleanupModels.cs:481 — the one rule both surfaces read; inverted or widened it silences a caveat that applies or restores the contradiction #6653 reports — covered by Notes_LeaveOutTheUptimeCaveat_WhenDedupeOnlyIsInEffect and ShowUptimeCaveat_IsTheUptimeWarning_OnlyWhenDedupeOnlyIsNotInEffect.
  3. Darling/PerformanceMonitor.Darling.Viewer/FinOpsTab.IndexAnalysis.cs:75 — the Viewer banner decision, the surface #6653 was filed against — UNCOVERED by anything that draws the banner (FinOpsTab is net10.0-windows WPF and builds Border/TextBlock directly, so no unit test reaches BuildIndexAnalysisBanners); the predicate it reads is covered by the theory above, and NoteConstants_EqualTheViewersBannerStrings only pins the two strings as source text, which is not coverage.

Traps near this diff

  • "Lite and Darling ship in parity (CONTRIBUTING's two-store rule): a fix to one SKU's reader, tool, alert or description without the counterpart's is a finding, not a nit" — does not apply — Lite's Index Analysis executes dbo.sp_IndexCleanup on the monitored server (Lite/Services/LocalDataService.FinOps.IndexAnalysis.cs:42) and has no IndexCleanupAnalysisResult, so there is no Lite caveat pair to fix; the Settings move brings Darling to Lite's existing shape (Lite/Windows/SettingsWindow.xaml:68-72 already puts that help under its checkbox); the title rename is in shared code both SKUs read through PerformanceMonitor.Ui/PlanViewerControl.Properties.cs:1603.
  • "Two copies of one definition pinned EQUAL to each other fail only after BOTH have drifted (#3684). Alias, do not copy." — does not apply — the shape the trap names is a test pinning copy A to copy B; nothing pins index-analysis.js:160 to DarlingMcpFinOpsTools.IndexAnalysis.cs:242, and the JS mirror predates this diff ((uptime ? 1 : 0) + (dedupe ? 1 : 0)), which this hunk keeps in step rather than forks. Drift risk raised as a non-blocking inline comment with two concrete options.
  • "Never answer a trap with a test that reads source text or asserts how code is spelled" — does not apply — all three tests touched are behaviour tests: two build a real payload through BuildIndexAnalysisPayload and read notes (FinOpsIndexAnalysisViewTests.cs:140,155), the theory evaluates the property (:173), and Viewer4570Tests.cs:32 calls RuntimeSummaryTitle. No source-text pin added.
  • "A total_* assigned from a .Count is a count of the page unless the set is provably whole" / "truncated = rows.Count >= limit" — do not apply — no count or cut on this payload changed: recommendation_count, truncated, database_count, databases_truncated are untouched at DarlingMcpFinOpsTools.IndexAnalysis.cs:258-262, and notes has never been a paged or truncated list.

Divergence (blind read vs PR body)

Two places, both minor, neither contradicting a claim the body makes.

The body lists the tests it added but does not mention that the change also alters what an unchanged test builds: FinOpsIndexAnalysisViewSizeTests.cs:56 sets both flags, so the size pin's fixture drops from two caveat notes to one and its class doc at :18-23 ("both caveat notes and the analyzer's full note list") stops being true. The assertion survives and the fixture is still the real worst case (the dedupe note is the longer of the two) — but that class is the one the test-plan filters do not match. Detail in the top-level comment.

"index-analysis.js counts the leading notices with it" is accurate but reads as if the page consumes the rule; it re-derives it from the two booleans in a second language, and the existing Node harness pins both false, so the new branch ships with no behaviour test. The unchecked "not run in a window or browser" box covers the manual half of that, not the automated half.

Reviewer checklist

  • Run FinOpsIndexAnalysisViewSizeTests (the test-plan filters miss it, and this change alters the fixture it measures) — expect the budget test to pass with ~160 bytes more headroom.
  • Open the Darling Viewer against a server with uptime of 7 days or less and confirm the Index Analysis strip shows the dedupe banner alone, then one with uptime between 8 and 13 days and confirm the uptime banner is still there — the WPF banner builder cannot be unit-tested.
  • Load the web Index Analysis tab for a dedupe-only server and confirm the dedupe notice renders as a top-level strip with the analyzer notes behind "Analyzer notes (N)", N not off by one.
  • Open Darling Settings → Collection in a window and confirm the two moved help paragraphs sit under their checkboxes at the 24px indent and the box's scroll height still looks right.
  • Open an estimated-only plan in both the Darling Viewer and Lite and check the retitled card reads well beside "Operator Properties" (casing note on PlanDisplayText.cs:85).

@erikdarlingdata
erikdarlingdata enabled auto-merge (squash) October 24, 2026 05:42
@claude

claude Bot commented Oct 24, 2026

Copy link
Copy Markdown

Follow-up pass (120436f..2d509bb). This range is a merge of origin/dev (728e267, not the author's change — left alone) plus one real commit, 2d509bb, whose entire diff is:

Darling/Darling.Tests/Fixtures/FinOpsIndexAnalysis/golden.json | 2 ++

Both added lines are "ShowUptimeCaveat": false, inserted right after "DedupeOnlyApplied" — the correct declaration-order slot per IndexCleanupModels.cs:481 (Recommendations, DatabaseRollups, OverallRollup, UptimeWarning, DedupeOnlyApplied, ShowUptimeCaveat, Notes), since FinOpsIndexAnalysisGoldenLiveTests.WriteValue walks public properties ordered by MetadataToken.

Checked both are the only places that needed it: IndexCleanupAnalysisResult is serialized wholesale only via the two "analysis" sections the test writes (top-level and longUptime); ProjectRecommendations/ProjectRollups produce row types that don't carry the property. grep -n "DedupeOnlyApplied" golden.json returns exactly 2 hits, both now paired with ShowUptimeCaveat, and the computed values check out by hand: (true, true) → false, (false, false) → false.

No logic, test, or production code changed in this commit — just the stale fixture catching up to the computed property the earlier reviewed commits added. LGTM.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: LGTM

Claims

  • VERIFIED — "the fixture was stale, the code is right" — git diff 728e267fb..2d509bb01 -- Darling/Darling.Tests/Fixtures/FinOpsIndexAnalysis/golden.json touches only this file; no production code changed in the commit.
  • VERIFIED — "the output gained a ShowUptimeCaveat: false line the fixture lacked (the first difference, right after OnlyApplied)" — both added lines sit directly after "DedupeOnlyApplied" at golden.json:388 and :954, matching the property's declaration order in IndexCleanupModels.cs:470-481.
  • VERIFIED — "the diff is exactly two added ShowUptimeCaveat lines (the result and the per-server copy); no notes text changed" — git diff --stat for the commit shows 2 insertions(+), nothing else; both "Notes" blocks are byte-identical to before.
  • VERIFIED — "the dedupe-only behaviour stands as reviewed" — no behaviour code is in this commit's diff, so nothing to re-review.
  • VERIFIED — "The PR's diff touches no collection loop, store migration or config code" — confirmed by the same stat (one JSON fixture file only).
  • UNVERIFIED — "Verified after the fixture change: ... Total 690, Failed 0" and the DarlingStartWithNoServersLiveTests pass claim — both are live dotnet test runs against PostgreSQL; a read-only tree cannot execute them.
  • VERIFIED — "The push also carries a merge of current origin/dev into the branch" — gh pr view 6669 --json commits shows 728e267, "Merge remote-tracking branch 'origin/dev' into fix/6669-ci", between the two reviewed-and-this commit.

Riskiest lines

  1. Darling/Darling.Tests/Fixtures/FinOpsIndexAnalysis/golden.json:388 — wrong literal here would make the golden test pass on a broken ShowUptimeCaveat or fail on a correct one — covered by FinOpsIndexAnalysisGoldenLiveTests.IndexAnalysisReads_MatchGoldenFixture_ThroughTheViewer (and the storage-reader twin), both live tests that recompute the value and byte-compare it to this file.
  2. Darling/Darling.Tests/Fixtures/FinOpsIndexAnalysis/golden.json:954 — same risk, the longUptime.analysis copy — covered by the same two tests (both sections are asserted in one Assert.Equal).
  3. (none further) — the commit touches no other line; no third risk to name.

Traps near this diff

  • "Ruling (#5833): tests are load-bearing... never answer a trap with a test that reads source text or asserts how code is spelled" — does not apply — the golden tests are behaviour tests (they run the real viewer/storage reader against a seeded Postgres and byte-compare the serialized result); this commit only updates the comparison fixture, it adds no new pin.
  • "Two copies of one definition pinned EQUAL to each other fail only after BOTH have drifted (#3684). Alias, do not copy." — does not apply — the two ShowUptimeCaveat lines are independent fixture copies of two different seeded scenarios (short- and long-uptime servers), not two copies of one definition pinned against each other.
  • "Lite and Darling ship in parity" — does not apply — this fixture is Darling-only (IndexCleanupAnalysisResult has no Lite equivalent, as established in the prior full review); nothing here needs a Lite counterpart.

Divergence (blind read vs PR body)

None — the body's "CI fixes" account (stale fixture, exactly two added lines, no notes text changed, no behaviour change) matches the diff on every claim graded above.

Reviewer checklist

  • Run FinOpsIndexAnalysisGoldenLiveTests against a live Postgres (DARLING_TEST_PG set) to confirm the regenerated fixture now matches — a read-only tree cannot execute it.

@erikdarlingdata
erikdarlingdata merged commit d157118 into dev Oct 24, 2026
25 of 26 checks passed
@erikdarlingdata
erikdarlingdata deleted the fix/6653-viewer-banners-labels branch October 24, 2026 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant