Skip to content

Add the missing CHANGELOG entry for #1667 - #1672

Merged
erikdarlingdata merged 2 commits into
devfrom
feature/1667-changelog-and-view-smoke
Jul 26, 2026
Merged

Add the missing CHANGELOG entry for #1667#1672
erikdarlingdata merged 2 commits into
devfrom
feature/1667-changelog-and-view-smoke

Conversation

@erikdarlingdata

@erikdarlingdata erikdarlingdata commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Follow-up to #1667, which merged without an [Unreleased] entry.

Records the behaviour change alongside the fix: for that one pivoted row the sql_variant's base type goes from binary(8) to nvarchar(20), so a caller doing CONVERT(varbinary(8), metric_value) needs adjusting. In practice the old value was garbled and therefore unusable — which is the bug — but it is a consumer-visible contract change and shouldn't ship silently.

The other follow-up I proposed is deliberately NOT here

My review of #1667 suggested adding a smoke SELECT per report.* view to CI, on the grounds that .github/sql/ci_validate_installation.sql only checks OBJECT_ID(...) IS NULL and never executes the views. I'm dropping that, for two reasons.

It would not have worked. I tested it against SQL Server 2022 with a minimal reproduction of the #1635 bug class — a bit column compared to N'OFF' inside a view:

Check Result
SELECT TOP (0) on an empty table passes silently
SELECT TOP (1) on an empty table passes silently
SELECT TOP (1) with one row present Msg 245 — caught

CI validates a fresh install, so every collector table is empty and the error never fires. Catching this class needs representative seeded rows across all 43 views, not a smoke select. My review claim that "a single SELECT TOP (1) per reporting view would close both" was wrong.

And it protects deprecated code. These views live in install/, which serves the retired Full Dashboard — no longer built into release artifacts, bug-fix-only. Building new CI infrastructure for it is the wrong investment, and the cheap version doesn't even work.

The gap is real and is now described accurately on #1660, rather than half-closed with something that would have given false confidence.

🤖 Generated with Claude Code

The merged fix had no [Unreleased] entry. Records the behaviour change as well
as the fix: that one row's sql_variant base type goes from binary(8) to
nvarchar(20), so anyone querying the view directly and converting to varbinary
needs to adjust -- though the old value was garbled and therefore unusable,
which is the bug being fixed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@erikdarlingdata
erikdarlingdata merged commit be76343 into dev Jul 26, 2026
5 checks passed
@erikdarlingdata
erikdarlingdata deleted the feature/1667-changelog-and-view-smoke branch July 26, 2026 14:21
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